Operating System - HP-UX
1823986 Members
4583 Online
109667 Solutions
New Discussion юеВ

syslog: getty: cannot open "console". errno: 6

 
George_Dodds
Honored Contributor

syslog: getty: cannot open "console". errno: 6

Scenario we have 2 d270's running 10.20 in a service gaurd cluster.

Node 1 keeps failing

When i check the OLDsyslog (I rebooted to fix it)i see

Sep 9 21:31:21 cbilmpn1 ftpd[15089]: User bmpadma logged out
Sep 9 16:37:50 cbilmpn1 syslog: getty: cannot open "console". errno: 6

The timestamp seems to have went back 5 hours as well.

On searchimg the error it mostly seems like a hardware issue with the core i/o but when i checked Tombstones there were no i/o errors.

I cant see a problem in gettydefs or innittab.

Any ideas?

7 REPLIES 7
U.SivaKumar_2
Honored Contributor

Re: syslog: getty: cannot open "console". errno: 6

Hi,

Recycle the power of console and mux.
If the error repeats , try changing Mux/Console.

regards,

U.SivaKumar.
Innovations are made when conventions are broken
George_Dodds
Honored Contributor

Re: syslog: getty: cannot open "console". errno: 6

The console is connected to serial 1 on the back of the server.

Ta

George
Bill Hassell
Honored Contributor

Re: syslog: getty: cannot open "console". errno: 6

Check for the device file:

ll /dev/console
crw--w--w- 1 root tty 0 0x000000 Sep 1 22:40 /dev/console

It may have been deleted accidently. Check also for /dev/tty too.


Bill Hassell, sysadmin
George_Dodds
Honored Contributor

Re: syslog: getty: cannot open "console". errno: 6

Hi Bill

Both files are there.

crw--w--w- 1 root sys 0 0x000000 Sep 10 10:16 /dev/console

crw-rw-rw- 1 bin bin 207 0x000000 Sep 10 12:40 /dev/tty
George_Dodds
Honored Contributor

Re: syslog: getty: cannot open "console". errno: 6

PS these are D370's not D270's as stated.

Ta

George
Bill McNAMARA_1
Honored Contributor

Re: syslog: getty: cannot open "console". errno: 6

grep console /etc/inittab
It works for me (tm)
George_Dodds
Honored Contributor

Re: syslog: getty: cannot open "console". errno: 6

#grep console /etc/inittab

ioin::sysinit:/sbin/ioinitrc >/dev/console 2>&1

tape::sysinit:/sbin/mtinit > /dev/console 2>&1

muxi::sysinit:/sbin/dasetup /dev/console 2>&1 # mux init

brc1::bootwait:/sbin/bcheckrc /dev/console 2>&1 # fsck, etc.

link::wait:/sbin/sh -c "/sbin/rm -f /dev/syscon; /sbin/ln /dev/systty /dev/sysco
n" >/dev/console 2>&1

sqnc::wait:/sbin/rc /dev/console 2>&1 # system init

powf::powerwait:/sbin/powerfail >/dev/console 2>&1 # powerfail

cons:123456:respawn:/usr/sbin/getty console console # system console