Domainname lost after reboot on RHEL4 ?

Florent Gilain florent.gilain at direct-energie.com
Thu Jan 11 03:23:29 CST 2007


Ok, you're right, i have no NIS here...

Thanks

Florent 

-----Message d'origine-----
De : linux-poweredge-bounces at dell.com
[mailto:linux-poweredge-bounces at dell.com] De la part de J. Epperson
Envoyé : mercredi 10 janvier 2007 18:58
À : linux-poweredge at dell.com
Objet : RE: Domainname lost after reboot on RHEL4 ?

Are you running NIS and have a NIS/YP domainname set?  "domainname" is a NIS
command, but the stuff you're checking to troubleshoot is DNS related.  Use
"dnsdomainname" to check the DNS domain.

On Wed, January 10, 2007 11:24, Florent Gilain wrote:
>  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...
>> >

_______________________________________________
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



More information about the Linux-PowerEdge mailing list