Sponsored Content
Operating Systems Solaris Flarcreate question (/etc/hosts missing) Post 302106027 by hcclnoodles on Tuesday 6th of February 2007 05:55:56 AM
Old 02-06-2007
Flarcreate question (/etc/hosts missing)

Hi there

I have created a flash archive using flarcreate and rolled out via jumpstart and everything seems fine, however when I roll out the archive to another box, everything is fine apart from the /etc/hosts file which is the same as the masters hosts file (i.e. it still has the original hostname and IP for the
master) and as such the network interface doesn't come up

The strange thing is, the following files have been set with the new hostname successfully ....its just the /etc/hosts file that hasn't changed

/etc/hostname
/etc/hostname.hme0
/etc/net/ticlts/hosts
/etc/net/ticotssord/hosts
/etc/net/ticots/hosts

This obviously has the effect of the cloned box trying to come up with the masters IP and hostname, but failing to do so because the above files were correctly populated with the hostname given by jumpstart

The command I used to create the archive was

Flarcreate -n "Solaris 8 build" -c /data/archive.flar

I did actually have this working fine a while back, but I lost the complete flarcreate command I used.Is there anything glaringly obvious that is casing the /etc/hosts file to remain

Any help would be greatly appreciated
Gary
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

hosts.allow & hosts.deny

Hi! Im trying to use host.allow & host.deny to resrtic access to my sun machine, but it doesnt seem to work... I want to allow full access from certain IPīs (ssh,http,ftp,etc...) but deny all kind of conections from outsideworld, the way that im doing that is: hosts.allow ALL:127.0.0.1... (2 Replies)
Discussion started by: Sorrento
2 Replies

2. Solaris

flarcreate

found my notes got it flarcreate -n jumpstart -x /jumpstart/flash /jumpstart/flash/jumpstart.flar i think this will omit that directory and save it there correct? (3 Replies)
Discussion started by: deaconf19
3 Replies

3. Solaris

System copy with flarcreate

Hi, i'm trying to make a system copy from one server to another (solaris 9), they have the same configuration. I've tried to create a flash archive using the flarcreate but the flash file size is 5.06 approx. and the method the flarcreate is using is CPIO and he cannot handle sizes over 4 GB. Is... (2 Replies)
Discussion started by: pasalagua
2 Replies

4. Solaris

/etc/inet/hosts modification question

HI, IF i modify /etc/inet/hosts file, do I need to reboot the box? (1 Reply)
Discussion started by: mokkan
1 Replies

5. Solaris

UFS filesystem mounted on 2 hosts question

I have two Unix (Solaris) hosts that are both attached to our SAN. They are both presented with the same luns. What I want to do is have the same UFS filesystem mounted on both hosts at the same time. What I am trying to accomplish is creating a zone that will reside on both hosts but only... (2 Replies)
Discussion started by: beaker457
2 Replies

6. Solaris

flarcreate help.

Hi, I have to clone a system and i would like to use flarcreate. My question is regarding excluding some NFS mounts and some directories under /. If somebody have done this earlier please advice on the following procedure. Create a file like /exclude_list and put the following lines in it ... (1 Reply)
Discussion started by: uxadmin007
1 Replies

7. Solaris

Cloning with flarcreate .... and back

Hello Forum, I'd like to clone a Solaris 10 System. Well, I read a lot about flarcreate. Anyway I only read how to _create a flash archive by using flarcreate. But I don't know how to copy the data back to another harddisk from an ar:confused:chive to get a second runing system. ... (4 Replies)
Discussion started by: borsti007
4 Replies

8. AIX

aix tcp wrappers hosts.allow hosts.deny?

hi all just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box. it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames. the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies

9. IP Networking

Newbie BIND DNS question: resolving upstream hosts?

Old skool UNIX and Linux geek here, but newbie to the world of DNS and bind. I've recently been tasked with replacing our DNS infrastructure, currently on Windows, with a RHEL based solution. And I assume that means using bind, which I've not used before. Here's my question: Suppose our company... (3 Replies)
Discussion started by: lupin..the..3rd
3 Replies

10. Solaris

How to copy a tar file on a series of remote hosts and untar it on those hosts?

Am trying to copy a tar file onto a series of remote hosts and untar it at the destination. Need to do this without having to do multiple ssh. Actions to perform within a single ssh session via shell script - copy a file - untar at destination (remote host) OS : Linux RHEL6 (3 Replies)
Discussion started by: sankasu
3 Replies
HOST.CONF(5)						    Linux System Administration 					      HOST.CONF(5)

NAME
host.conf - resolver configuration file DESCRIPTION
The file /etc/host.conf contains configuration information specific to the resolver library. It should contain one configuration keyword per line, followed by appropriate configuration information. The keywords recognized are order, trim, multi, nospoof, and reorder. These keywords are described below. order This keyword specifies how host lookups are to be performed. It should be followed by one or more lookup methods, separated by com- mas. Valid methods are bind, hosts, and nis. trim This keyword may be listed more than once. Each time it should be followed by a single domain name, with the leading dot. When set, the resolv+ library will automatically trim the given domain name from the end of any hostname resolved via DNS. This is intended for use with local hosts and domains. (Related note: trim will not affect host- names gathered via NIS or the hosts file. Care should be taken to ensure that the first hostname for each entry in the hosts file is fully qualified or non-qualified, as appropriate for the local installation.) multi Valid values are on and off. If set to on, the resolv+ library will return all valid addresses for a host that appears in the /etc/hosts file, instead of only the first. This is off by default, as it may cause a substantial performance loss at sites with large hosts files. nospoof Valid values are on and off. If set to on, the resolv+ library will attempt to prevent hostname spoofing to enhance the security of rlogin and rsh. It works as follows: after performing a host address lookup, resolv+ will perform a hostname lookup for that address. If the two hostnames do not match, the query will fail. spoofalert If this option is set to on and the nospoof option is also set, resolv+ will log a warning of the error via the syslog facility. The default value is off. reorder Valid values are on and off. If set to on, resolv+ will attempt to reorder host addresses so that local addresses (i.e., on the same subnet) are listed first when a gethostbyname(3) is performed. Reordering is done for all lookup methods. The default value is off. FILES
/etc/host.conf Resolver configuration file /etc/resolv.conf Resolver configuration file /etc/hosts Local hosts database SEE ALSO
gethostbyname(3), hostname(7), resolv+(8), named(8) Debian GNU/Linux 1997-01-02 HOST.CONF(5)
All times are GMT -4. The time now is 07:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy