Operating System - HP-UX
1824218 Members
3424 Online
109669 Solutions
New Discussion юеВ

HOW CAN DISABLE, THE EVENTS IN SYSLOG.LOG ?

 
RAMON CUEVAS
Occasional Contributor

HOW CAN DISABLE, THE EVENTS IN SYSLOG.LOG ?

hello to all, I am Raymond, remove my MUX fisical of my Server, but now as I do him to disable the warnings that are sent at syslog.log, I do not want that itself me incremente of size the syslog.log, because i have small space my vol /var,
My Server is a HP 9000,
CLASS D210 HPUX 10.11

NOTE: I AM, TEST WHITH NEXT
syslogd -D
but not, I do not function, and continues registering in the syslog.log the absence of the MUX.

THANKS GENTLEMEN
5 REPLIES 5
Rick Garland
Honored Contributor

Re: HOW CAN DISABLE, THE EVENTS IN SYSLOG.LOG ?

Not entirely sure of your question, but I'll try.

Do an ioscan and you will see that there is NO_HW for the path that used to be the MUX. Use the command 'rmsf' to remove this entry.

A. Clay Stephenson
Acclaimed Contributor

Re: HOW CAN DISABLE, THE EVENTS IN SYSLOG.LOG ?

You would be better served to disable the getty's (probably) associated with the MUX port(s) in /etc/inittab and thus stop the messages. After editing /etc/inittab, issue an "init q" to reread the file.

If you want to change the behavior of syslogd then edit /etc/syslonf.conf and then stop and restart syslogd. You also have the option of changing the logfile to another location (perhaps a filesystem with more room) or setting up a symbolic link to do the same thing.
If it ain't broke, I can fix that.
Devender Khatana
Honored Contributor

Re: HOW CAN DISABLE, THE EVENTS IN SYSLOG.LOG ?

Hi,

Allthough not exactly sure with your question but it seems that the hardware you are mentioning is part of EMS monitoring. While trying to remove this you are getting the error in syslog.

If this is the case then the mentioned hardware can be removed from monitoring by resls command. man resls for details.

HTH,
Devender
Impossible itself mentions "I m possible"
Andrew Merritt_2
Honored Contributor

Re: HOW CAN DISABLE, THE EVENTS IN SYSLOG.LOG ?

Hi Ramon,
Can you post an example of the message you are seeing in syslog.log so we are clear what we are dealing with, especially if the recommendations above do not fix it?

Can you also confirm what version of HP-UX? I presume you meant 11.11?

Andrew
Muthukumar_5
Honored Contributor

Re: HOW CAN DISABLE, THE EVENTS IN SYSLOG.LOG ?

Change syslog.conf configuration file with the changes you need. You can also change event stroing location with that syslog.conf instead of syslog.log to some other /tmp/file.log

hth.
Easy to suggest when don't know about the problem!