Wednesday 23 November 2011

how to start syslog in hp unix?

U can use the below command to start the syslog.

#/sbin/init.d/syslogd start

To stop

#/sbin/init.d/syslogd stop

If u have any problem in syslog ..like syslog is not working
u have to check below

1.Any space issue ..like /var got filled means chk the used space

#bdf /var/adm/syslog

then u have to clear some old files and then start the daemon again.
Once its started chk the below and confirm syslog is working fine

#ll /var/adm/syslog.log

#date ( compare the date)

or

# tail syslog.log

No comments:

Post a Comment