Operating System - HP-UX
1752794 Members
5922 Online
108789 Solutions
New Discussion юеВ

Re: Nothing is getting logged on syslog OS is hpux 11.00

 
SOLVED
Go to solution
PRATHAP.S.R
Occasional Contributor

Nothing is getting logged on syslog OS is hpux 11.00

Hello experts

We do have a server loaded with hpux 11.00, where in the syslog is showing 0 bytes.

-rw-r--r-- 1 root root 0 Aug 14 02:20 syslog.log

i have restarted the syslogd couple of times..no help.
i could see the syslogd is running but no help.
root 20049 1 0 02:20:16 ? 0:00 /usr/sbin/syslogd -D

i have checked the /etc/syslog.conf file too, even tried copying from a diff working server and restarted the syslogd, still no help.

Thanks in advance for all your help.
Good answers will get 10 points without any reductions.

SRP...
6 REPLIES 6

Re: Nothing is getting logged on syslog OS is hpux 11.00

Have you checked that the filesystem with /var/adm/syslog directory in it (probably /var) isn't full?

HTH

Duncan

I am an HPE Employee
Accept or Kudo
sen_ux
Valued Contributor

Re: Nothing is getting logged on syslog OS is hpux 11.00

You may try replacing the syslog.conf with a fresh one from newconfig.
If that too doesn't work, you may have to go for a reboot.
Ivan Krastev
Honored Contributor

Re: Nothing is getting logged on syslog OS is hpux 11.00

Check also for syslogd patches for 11.00

regards,
ivan
SoorajCleris
Honored Contributor
Solution

Re: Nothing is getting logged on syslog OS is hpux 11.00

Hi,

you told you have restarted, is that successfully started?

# /sbin/init.d/syslogd start
System message logger started

is that running ?

# ps -ef|grep syslogd
root 740 1 0 Aug 11 ? 0:00 /usr/sbin/syslogd -D


check with

#logger asdfhaofhash

is that giving any error when you run the command logger?

check the syslog after using logger

At last if everything is "no"

Check this patch is installed,

PHCO_27847 , you may try it.

Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
PRATHAP.S.R
Occasional Contributor

Re: Nothing is getting logged on syslog OS is hpux 11.00

Thanks to all for your time.

Here i go...

1. /var is not full and /var/adm/syslog dir is present

2.I already tried replacing the syslog.conf file..no help

3. I do restarted the syslogd demon and it successfully started and sent a logger message, no errors here but still logs are not getting generated.

4.Patching and reboot will be my final option anyway not now.

Kindly let me know if anyone have anymore suggessions...

Hakki Aydin Ucar
Honored Contributor

Re: Nothing is getting logged on syslog OS is hpux 11.00

if the problem is not new, you can try to check config files for syslog setup if it is correct:

The following is a sample /etc/syslog.conf file.

mail.* /var/adm/syslog/mail.log
*.info /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root,boota
*.emerg @myhp