Re: CDE/Network problem



Basil,

There seems to be a number of problems with this setup. Here's a way
you may want to try to correct them:

(1) It is unhealthy to have two "localhost" lines in /etc/hosts. Find a
nice hostname other than "localhost" and set it as your hostname using
"smitty hostname". When done, clean up /etc/hosts, it should look
something similar (you set "sweetie" for hostname):

localhost 127.0.0.1
sweetie 192.168.0.166

(2) Since you have no working DNS server that resolves your FQDN,
remove (or rename) the /etc/resolv.conf file. This practically
eliminates the need to have a valid /etc/netsvc.conf, so we can forget
about that.

(3) Reboot. Normally this would not be necessary, AIX is not Windows, a
restart of X11 would be enough, but I am no X11 expert I don't know
which processes should be killed and restarted. I never use X11. :)

And no, logout and login root is very far from being the same as a
"shutdown -r". The former just reloads the user settings of root, while
the latter reinitializes the entire OS including devices.

.



Relevant Pages

  • Re: problem regarding setting DISPLAY env variable and hostname
    ... The hostname is not specified. ... 127.0.0.1 localhost xenon ... It prints a lot information about the current display. ... the virtual console that you start X11 in. ...
    (freebsd-questions)
  • Re: telnet on local LAN question (progress?)
    ... chalupa.localdomain chalupa localhost.localdomain localhost localhost4 ... having some strange names in your mail headers. ... And not just with Linux boxes. ... worked find when the hostname was entered on the 127.0.0.1 line but some ...
    (Fedora)
  • Re: (was Re: setting FQDN in /etc/hosts)
    ... There should be a space before the word localhost, ... the hostname command will tell you what ... 503 Leafnode must have a unique fully-qualified domain name. ... ## This is the NNTP server leafnode fetches its news from. ...
    (news.software.readers)
  • Re: domain name
    ... I never had a problem with the hostname. ... troubles when the host is a server on the 'Net with a static IP and ... Seems to me it should return "localhost" in that case, ... configuration internally consistent with a private configuration in ...
    (Debian-User)
  • Re: HP-UX / VUE trouble
    ... The correct hostname is in /etc/src.sh. ... gateway and the definition of localhost as well. ... mserve allow 127.0.0.1 unknown mysystemname mysystemname.domain localhost ... in spc and mserve allow. ...
    (comp.sys.hp.hpux)