Operating System - Tru64 Unix
1752785 Members
6085 Online
108789 Solutions
New Discussion юеВ

No Console login

 
Steven L Guberman
Occasional Advisor

No Console login

The machine as a DS20L running Tru64 5.1A with
the latest firmware and NHD5. The boot terminates with : "The system is ready" and then halts without displaying a login request so it is not possible to login as console. However, if the boot is setup to go to single user mode, followed by the command: init 3, the boot will terminate with the login request. Note that the console is set to serial. After the boot terminates without the login request, I am able to login as root via the ethernet connection. How can I get the console login request after a complete boot?
8 REPLIES 8
Martin Moore
HPE Pro

Re: No Console login

I've seen this happen when the "initdefault" entry in /etc/inittab is missing or incorrect. This is usually the first non-comment line in the file and should look like this:

is:3:initdefault:

Martin
I work for HPE
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details

Accept or Kudo

Steven L Guberman
Occasional Advisor

Re: No Console login

Thanks Martin for your response. I checked the
/etc/inittab file and it does have the line that you mentioned in the first position.

Since the ds20L does not support a graphics interface I am wondering if the setup of this machine is leading to a request for an X window display (at login) which it cannot display. Any comments?
Martin Moore
HPE Pro

Re: No Console login

You could check the setting of the SRM variable "CONSOLE". It should be set to serial. Either do "show console" at the SRM prompt, or if Tru64 is running, do "consvar -g console" as root.

Martin
I work for HPE
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details

Accept or Kudo

Steven L Guberman
Occasional Advisor

Re: No Console login

Thanks again Martin. I have confirmed with
"consvar -g console" that the console is set to
serial.
Vladimir Fabecic
Honored Contributor

Re: No Console login

Please send output of:

# cat /etc/inittab
# ls /sbin/rc3.d
In vino veritas, in VMS cluster
Steven L Guberman
Occasional Advisor

Re: No Console login

Here is the output of cat /etc/inittab without
the commented lines:

is:3:initdefault:
ss:Ss:wait:/sbin/rc0 shutdown < /dev/console > /dev/console 2>&1
s0:0:wait:/sbin/rc0 off < /dev/console > /dev/console 2>&1
fs:23:wait:/sbin/bcheckrc < /dev/console > /dev/console 2>&1
kls:Ss:sysinit:/sbin/kloadsrv < /dev/console > /dev/console 2>&1
hsd:Ss:sysinit:/sbin/hotswapd < /dev/console > /dev/console 2>&1
sysconfig:23:wait:/sbin/init.d/autosysconfig start < /dev/console > /dev/consol1
update:23:wait:/sbin/update > /dev/console 2>&1
smsync:23:wait:/sbin/sysconfig -r vfs smoothsync-age=30 > /dev/null 2>&1
smsyncS:Ss:wait:/sbin/sysconfig -r vfs smoothsync-age=0 > /dev/null 2>&1
it:23:wait:/sbin/it < /dev/console > /dev/console 2>&1
kmk:3:wait:/sbin/kmknod > /dev/console 2>&1
s2:23:wait:/sbin/rc2 < /dev/console > /dev/console 2>&1
s3:3:wait:/sbin/rc3 < /dev/console > /dev/console 2>&1
cons:1234:respawn:/usr/sbin/getty console console vt100

Below is the output of ls /sbin/rc3.d
S00.50ip6host S11route S22prpasswd S50insightd S65lpd
S00cniffd S12gateway S25preserve S53advfsd S75acct
S00fnetrain S13rwho S30rmtmpfiles S55inetd S80crashdc
S00inet S14settime S36presto S56dhcp S90ws
S01quota S15named S40sendmail S57cron S95xlogin
S04uucp S18nis S45xntpd S58lat S97evm
S08startlmf S19nfs S46timed S59lsm S98smauth
S09syslog S20nfsmount S49snmpd S60motd S99admincheck
S10binlog S21audit S50collect S63write S99smsd

Many thanks for your help.
Martin Moore
HPE Pro

Re: No Console login

Nothing jumps out at me in that list.

Perhaps the console boot flags are wrong? Check this with "consvar -g boot_osflags". It should be A for a normal boot to multi-user.

Martin
I work for HPE
A quick resolution to technical issues for your HPE products is just a click away HPE Support Center
See Self Help Post for more details

Accept or Kudo

Rob Leadbeater
Honored Contributor

Re: No Console login

Hi,

You could try running "fuser /dev/console" to see what processes are running on the console device, then check that those processes are as expected... (/usr/sbin/getty)

Cheers,

Rob