Domainname lost after reboot on RHEL4 ?

Florent Gilain florent.gilain at direct-energie.com
Wed Jan 10 10:24:19 CST 2007


 Hum, it's already here...

[root at s-oracle-bak ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=s-oracle-bak.mydomain.local

Curious

Florent

-----Message d'origine-----
De : Jeroen Wunnink [mailto:jeroen at easyhosting.nl] 
Envoyé : mercredi 10 janvier 2007 16:27
À : Florent Gilain; linux-poweredge at lists.us.dell.com
Objet : RE: Domainname lost after reboot on RHEL4 ?

Look in the /etc/sysconfig/network file, that line should be in there.
If it's not in there, just add it there, it should stick upon a reboot then.

Just put something like HOSTNAME=mydomane.local

At 16:16 10-1-2007, you wrote:
>Here is its content :
>
>[root at s-oracle-bak ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
>DEVICE=eth0
>BOOTPROTO=none
>HWADDR=00:13:72:39:12:51
>ONBOOT=yes
>NETMASK=255.255.255.0
>IPADDR=10.168.123.16
>USERCTL=no
>PEERDNS=yes
>GATEWAY=10.168.123.1
>IPV6INIT=no
>
>Florent
>
>-----Message d'origine-----
>De : Adam Williams [mailto:awilliam at mdah.state.ms.us]
>Envoyé : mercredi 10 janvier 2007 15:24 À : Florent Gilain Cc : 
>linux-poweredge at lists.us.dell.com
>Objet : Re: Domainname lost after reboot on RHEL4 ?
>
>in /etc/sysconfig/network-scripts/ifcfg-eth* do you have a HOSTNAME= or 
>DHCP_HOSTNAME= line, or in /etc/hosts do you have your_ip hostname host?
>
>Florent Gilain wrote:
> > Hi all,
> >
> > On my new PE 2950 under RHEL4 ES 64 bits, when i run the command 
> > "domainname" it returns me "none".
> >
> > If i ussue the command "domainname mydomane.local" and reboot the 
> > server, it is lost.
> >
> > What should i do to keep my domainame after reboot ? I haven't this 
> > problem on my other servers...
> >
> > Thanks
> >
> > Florent
> >
> > _______________________________________________
> > Linux-PowerEdge mailing list
> > Linux-PowerEdge at dell.com
> > http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> > Please read the FAQ at http://lists.us.dell.com/faq
> >
> >
> >
>
>
>_______________________________________________
>Linux-PowerEdge mailing list
>Linux-PowerEdge at dell.com
>http://lists.us.dell.com/mailman/listinfo/linux-poweredge
>Please read the FAQ at http://lists.us.dell.com/faq



Met vriendelijke groet,

Jeroen Wunnink,
EasyHosting B.V. Systeembeheerder
systeembeheer at easyhosting.nl

telefoon:+31 (035) 6285455              Postbus 48
fax: +31 (035) 6838242                  3755 ZG Eemnes

http://www.easyhosting.nl
http://www.easycolocate.nl





More information about the Linux-PowerEdge mailing list