syslogd not logging anything to /var/adm/syslog/syslog.log (600 Views)
Reply
Occasional Advisor
Percy Glaves
Posts: 20
Registered: ‎09-29-2005
Message 1 of 7 (600 Views)
Accepted Solution

syslogd not logging anything to /var/adm/syslog/syslog.log

In HPUX 11.0 when starting syslogd I get the following message:
"unknown priority name "log" no such device or address"

I've check /etc/syslog.conf nothing seems bad in there (unless maybe a hidden character) and pipe /dev/log is also OK.

Nothing is ever printed to syslog.log file even though is properly specified in /etc/syslog.conf

Any hints on were to look? Thanks for your advice and help.
Honored Contributor
Robert-Jan Goossens
Posts: 7,384
Registered: ‎04-04-2000
Message 2 of 7 (600 Views)

Re: syslogd not logging anything to /var/adm/syslog/syslog.log

Hi,

could you verify if there is a tab between the colomns ?
*.info;mail.none /var/adm/syslog/syslog.log

Regards,
Robert-Jan
Honored Contributor
spex
Posts: 1,367
Registered: ‎05-14-1996
Message 3 of 7 (600 Views)

Re: syslogd not logging anything to /var/adm/syslog/syslog.log

It sounds like you have a syntax error in /etc/syslog.conf.

PCS
Occasional Advisor
Percy Glaves
Posts: 20
Registered: ‎09-29-2005
Message 4 of 7 (600 Views)

Re: syslogd not logging anything to /var/adm/syslog/syslog.log

there are only spaces between the columns

Percy
Honored Contributor
spex
Posts: 1,367
Registered: ‎05-14-1996
Message 5 of 7 (600 Views)

Re: syslogd not logging anything to /var/adm/syslog/syslog.log

Could you post or attach syslog.conf?
Occasional Advisor
Percy Glaves
Posts: 20
Registered: ‎09-29-2005
Message 6 of 7 (600 Views)

Re: syslogd not logging anything to /var/adm/syslog/syslog.log

copied an /etc/syslog.conf file from another workstation, then it worked fine.

only difference I could see between the two files was that there were spaces instead of tabs between the columns. Maybe this was the problem.

thanks for the help
Honored Contributor
spex
Posts: 1,367
Registered: ‎05-14-1996
Message 7 of 7 (600 Views)

Re: syslogd not logging anything to /var/adm/syslog/syslog.log

You're welcome.

'diff old_syslog.conf syslog.conf' to check for differences between the two.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.