Operating System - HP-UX
1820267 Members
2754 Online
109622 Solutions
New Discussion юеВ

permanently stopping selected error messages displayed on console.

 
Jagadesh
Frequent Advisor

permanently stopping selected error messages displayed on console.

iam getting repeated error messages displayed on console.
pls find the error message below.
"Apr 29 03:33:06 b2000a syslog: Legato Storage Manager media: (waiting) backup to
pool 'Default' waiting for 1 writable backup tape(s)"

I need to permanently stop the message displaying on console. How to go about in doing the same?

Thanks
Jagadesh
4 REPLIES 4
Sundar_7
Honored Contributor

Re: permanently stopping selected error messages displayed on console.

Jagadesh,

I was getting this message in my 11i workstation. Look for networker daemons running in the system and kill themm.

# /sbin/init.d/networker stop

I am not sure if networker has a configuration file in /etc/rc.config.d. If you could not find any, then remove the startup scripts S*networker from /sbin/rc2.d

Sundar

Learn What to do ,How to do and more importantly When to do ?
Sundar_7
Honored Contributor

Re: permanently stopping selected error messages displayed on console.

In general, you can edit /etc/syslog.conf to prevent the error messages getting displayed in the console.

man syslogd for the format.
Learn What to do ,How to do and more importantly When to do ?
Naveej.K.A
Honored Contributor

Re: permanently stopping selected error messages displayed on console.

Hi Jagadesh,

Got something like

*.info /dev/console
in /etc/syslog.conf

this could be one of the reason why the info is coming to the console. Change it to /var/adm/syslog/syslog.log.

restart the syslogd daemon.
kill -HUP `cat /var/run/syslog.pid`

with best wishes
Naveej
practice makes a man perfect!!!

Re: permanently stopping selected error messages displayed on console.

Hello Jagadesh,

Track with syslog.conf is OK.
From Legato Unix Admin guide ( page 273 - chapter 6 ) you can read as follow:

System Console Log
The UNIX system log displays messages passed from the NetWorker server.
When the NetWorker server is installed, it adds lines to the configuration log
file (syslog.conf). These tell the system log facility what types of notices to direct
to which file or user. For example:
daemon.notice /dev/console
daemon.notice /nsr/logs/messages
daemon.notice operator
local0.notice /nsr/logs/summary
local0.alert root, operator

Just comment out or delete /dev/console line and restart syslogd.

Hope it helps,
With regards,
Piotr