HP-UX how to get all of the syslog


 
Thread Tools Search this Thread
Operating Systems HP-UX HP-UX how to get all of the syslog
# 1  
Old 08-03-2012
HP-UX how to get all of the syslog

Hi,
I want to get all of the syslog,which is under the catalogue of var/adm/syslog,in order to do something about correlation analysis.
But for days,I can not find anything about that,who can help me?
Thank you very much!
# 2  
Old 08-03-2012
syslog.log is a file. It gets rotated out through a sequence of names, if log rotation has been set up (I made these names up because I do not know what your sysadmin did):
Code:
syslog.log is the current file
syslog.0  
syslog.1
syslog.....syslog.n

I do not know how your sysadmin set up log rotatation. Plus the sysadmin can specify that syslog is named something else. If you have no rotation or toher setups the syslog.log file gets overwritten at bootup. And so it is usually really large.


What is your problem, do you get an error? Unless your sysadmin is really paranoid, all of those logs should be readable. Please post the command you used and the output or error.
# 3  
Old 08-03-2012
By default there is no syslog rotation.

Every time you restart syslog (or machine for that matter), syslogd (/sbin/init.d/syslogd) init script will mv the current syslog to OLDsyslog.log in /var/adm/syslog/ directory, and create a new one.

Hope that helps
Regards
Peasant.
# 4  
Old 08-03-2012
@zhaoyy
Please rephrase post #1 in better English. The post does not make sense. Can you post and example?
# 5  
Old 08-05-2012
fault information in hp-ux

Thanks for answers. Because of my poor English, maybe I describe not clearly. I want to know where I can get all of the fault information in HP-UX, and the detailed description about this fault information.
# 6  
Old 08-06-2012
Please mention what version of HP-UX you have.
Are you a trained administrator or someone new to HP-UX?

Please give examples of what you want to know. We still do not understand your question.

If you have a support contract, it may be easier to talk to HP in your own language.
# 7  
Old 08-06-2012
HP-UX fault information

Thanks for answer. I want something just like the AIX’s ‘Error Record Template Repository in HP-UX, so I can find some relationship between the fault information. This is meanings I want to get all of problems write to the var/adm/syslog/syslog.log that the system may be happened. The version of HP-UX is 11i.

Last edited by zhaoyy; 08-06-2012 at 10:01 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. AIX

Cannot send syslog event from AIX 6.1 to RHEL Syslog server

Hi everyone, I am trying to configure AIX 6.1 using syslogd to send syslog event to syslog server configured on RHEL. However, RHEL never receives the events. I have tried to redirect the syslog event on AIX to a local file and successful. Only forwarding to remote server fails. Firewall... (10 Replies)
Discussion started by: michael_hoang
10 Replies

2. Solaris

Which are the available entries to forward syslog in syslog.conf?

Hi Community Which are the available entries to forward syslog in syslog.conf i have put *.err;kern.debug;daemon.notice;mail.crit;user.alert;user.emerg;kern.notice;auth.notice;kern.warning @172.16.200.50 and it's not going through.giving error message like below: syslogd:... (2 Replies)
Discussion started by: bentech4u
2 Replies
Login or Register to Ask a Question