[BlueOnyx:14618] Re: server name is not reflected

sasahide sasahide at m1.interq.or.jp
Thu Feb 13 11:09:01 -05 2014


Hi Michael,

> Please run a "tail -f /var/log/messages" while you change the host and
> domain name in the GUI through "System Settings" / "TCP/IP".

I came to the following results.

-----------------------
Feb 14 00:23:01 localhost cced(smd)[2376]: client 5:[49:2056]: SET  1 
"gateway" "=" "192.168.2.254" "domainname" "=" "example.com" "dns" "=" 
"&127.0.0.1&" "hostname" "=" "server"
Feb 14 00:23:02 localhost cced(smd)[2376]: client 
5:handlers/base/dns/dns_generate.pl: SET  1 . DNS dirty = 0
Feb 14 00:23:02 localhost cced(smd)[2376]: client 
5:handlers/base/dns/dns_generate.pl: SET succeeded
Feb 14 00:23:02 localhost cced(smd)[2376]: handler 
handlers/base/email/hostname.pl failed
Feb 14 00:23:02 localhost cced(smd)[2376]: client 5:[49:2056]: SET failed

[root at localhost admin]# ll /etc/sysconfig/network
-rw-r--r-- 1 root root 75 Feb 13 01:09 /etc/sysconfig/network

[root at localhost admin]# cat /etc/sysconfig/network
FORWARD_IPV4=false
GATEWAY=192.168.2.254
HOSTNAME=localhost
NETWORKING=yes

[root at localhost admin]# ll /etc/sysconfig/network-scripts/ifcfg-eth0
-rwxr-xr-x 1 root root 359 Feb 13 01:09 
/etc/sysconfig/network-scripts/ifcfg-eth0

[root at localhost admin]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# /etc/sysconfig/network-scripts/ifcfg-eth0
# generated by pperld /usr/sausalito/handlers/base/network/rewrite-ifcfg.pl
#
# 2.device = eth0
# 2.ipaddr = 192.168.2.118
# 2.netmask = 255.255.255.0
# 2.enabled = 192.168.2.118
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
BROADCAST=192.168.2.255
NETWORK=192.168.2.0
NETMASK=255.255.255.0
IPADDR=192.168.2.118
USERCTL=no

[root at localhost admin]# ll /etc/resolv.conf
-rw-r--r-- 1 root root 210 Feb 13 01:09 /etc/resolv.conf

[root at localhost admin]# cat /etc/resolv.conf
# /etc/resolv.conf
# Auto-generated file.  Keep your customizations at the bottom of this file.
nameserver 127.0.0.1
search localhost
domain localhost
#END of auto-generated code.  Customize beneath this line.
------------------------

Regards,
Hiroyuki






More information about the Blueonyx mailing list