Operating System - HP-UX
1823335 Members
3175 Online
109654 Solutions
New Discussion юеВ

Disaster message logging to syslog as well as console?

 
SOLVED
Go to solution
John Grover
Occasional Advisor

Disaster message logging to syslog as well as console?

I am getting messages on the console about every 3Hr 7Min 12.5sec regarding a NS_LS_DRIVER Disaster 1029, pid[ICS] ... Check cable for disconnection. I got this same error when I swapped the cable.

How can I get this message into the syslog so I don't have to go to the computer room to monitor it?

The regular frequency makes me think it may be environmental. We're trying to determine if the probelm is internal or external to the server. HP replaced the core I/O board yesterday because it apparently caused a painic and reboot over the weekend but I still get this message on the console.

Thanks,
John Grover
Systems and Database Admin
Lake Michigan College
5 REPLIES 5
Stefan Farrelly
Honored Contributor
Solution

Re: Disaster message logging to syslog as well as console?

Hmm. If its going to the console then its either an alert or emergency, but emergency messages go to syslog and the console, so it must be classed as an alert, which goes to the console and an email to root. Have you checked root email for copies of these ?

You can try adding an entry to /etc/syslog.conf
*.alert /var/adm/syslog/syslog.log

Then restart syslog (from /sbin/init.d/syslogd stop then start)..


Im from Palmerston North, New Zealand, but somehow ended up in London...
Paul Sperry
Honored Contributor

Re: Disaster message logging to syslog as well as console?

ns_ls_driver disaster are generated when your system does not have a terminator for the connection, verify your system - may be the terminator is lose.
Steven E. Protter
Exalted Contributor

Re: Disaster message logging to syslog as well as console?

Replace the Ethernet cable.

Check the switch port for errors.

If Hardware will do it, replace the NIC. If not, test the hell out of it so you can convince hardware to replace it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Zeev Schultz
Honored Contributor

Re: Disaster message logging to syslog as well as console?

I think you can config EMS to monitor LAN adapters.Check /etc/opt/resmon/lbin/moncheck
and /etc/opt/resmon/lbin/monconfig.EMS can
send e-mails and snmp traps.
It comes inside the OnlineDiag bundle :
swlist -l bundle OnlineDiag.

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
twang
Honored Contributor

Re: Disaster message logging to syslog as well as console?

dmesg looks in a system buffer for recently printed diagnostic messages and show on console.
It only takes recent alerts/errors from
buffer. once reboot dmesg will not display the same messages. But you can find those in
syslog.log by default.