My orginal question is below. In brief, I had asked why syslogd was using
the wrong hostname, and
why one couldn't get a CDE login from the system console graphics head.
Thanks to:
"Partin, Kevin S" <Kevin.Partin_at_SW.Boeing.com>
"Leonard, Roger" <rleonard_at_cvty.com>
"Dr. Tom Blinn" <tpb_at_doctor.zk3.dec.com>
"Ken Lawrence"
<lawrence_at_hl.wes.army.mil>
There were several things wrong with the system configuration:
1. though the machine name had been changed via the hostname field in
/etc/rc.config,
a new kernel configuration file had not been generated and a new kernel not
built. Thus, the
running kernel still had the ident information from the old hostname.
2. /etc/hosts had wrong data, and the resolver configuration had been removed.
So, /etc/hosts was updated to be correct, bindsetup was run to set up the
proper resolver
configuration, and a new kernel config file was created by simply copying
the old one to a
file with the name of the new hostname and editing to ident field to be
correct.
Then a doconfig -c NEWHOSTNAME, mv the new kernel, and reboot.
Thanks gentlemen.
The original question:
On a 2100 running v4.0d with patchkit 3, the /etc/rc.config file has the
hostname defined as:
HOSTNAME="sampleprod"
When the system boots the messages in /var/adm/messages, and the
/var/adm/syslog.dated file contain lines
like:
Jul 22 18:13:56 SAMPLENY1 automount
...
The machines name used to be SAMPLENY1 until the /etc/rc.config file was
changed.
Also, root can log into a pty session via telnet, but not onto the graphics
head. That is, only a "blue screen" login at the system
console works.
The system has adfvs file systems, /var inside of /usr, and no LSM.
Two questions:
1. Is there anything that keeps the init sequence from setting the hsotname
to that specified in /etc/rc.config?
2. Is there a relationship between the hostname syslogd is using and the
inability to do a full cde login at the console?
I'll summarize.
Thanks and regards
+--------------------------------------+
Bruce B. Platt, Ph.D.
Comport Consulting Corporation
78 Orchard Street, Ramsey, NJ 07446
Phone: 201-236-0505 Fax: 201-236-1335
bbp_at_comport.com, bruce_at_ bruce.platt_at_
OR, bruce_at_bbplatt.com
+---------------------------------------------------------+
Bruce B. Platt, Ph.D. Vice-President
Comport Consulting Corporation
78 Orchard Street
Ramsey, NJ 07446
Phone: 201-236-0505 Fax: 201-236-1335
bbp_at_comport.com, bruce.platt_at_comport.com, bruce_at_comport.com
OR, bruce_at_bbplatt.com
Received on Fri Jul 23 1999 - 20:50:49 NZST