1851408 Members
3031 Online
104058 Solutions
New Discussion

Re: Hp administration

 
bhanu
New Member

Hp administration

please tell me about the different log files
like sys log, user log , event log etc
5 REPLIES 5
ccc_1
New Member

Re: Hp administration

There are some good books on HP-UX that explain this in detail.
The more things change, the more they stay insane.
Devbinder Singh Marway
Valued Contributor

Re: Hp administration

Hi Bhanu, majority of the log files live in /var/adm for example :-
/var/adm/syslog/syslog.log - logs system messages.
/var/adm/messages - system diagnostics ( normally run dmesg and redirect output to messages from cron )
/var/adm/shutdownlog - lists informationabout when system was last shutdown , also lists panics
/etc/rc.log - when system boots the rc sripts run in /sbin/rc.0,1,etc..) logs in this file.

/var/adm/cron/log - details about con and at jobs .
/var/spool/lp/log,lpd.log - printing logs

You can also use the last command to check when user was logged in last , and mailx command for any mail messages.

HTH ..
Seek and you shall find
James R. Ferguson
Acclaimed Contributor

Re: Hp administration

Hi:

A good source of information about various log files is in the man(ual) pages. Here are some of the man pages that reference that the more common log files you might find interesting:

cron (1M) - /var/adm/cron/log

dmesg (1M) - /var/adm/messges

lpadmin (1M) - /var/adm/lp/ & /var/spool/lp

last - /var/adm/wtmp & /var/adm/btmp

rc (1M) - /etc/rc.log

syslogd (1M) - /var/adm/syslog/syslog.log

swinstall (1M) - /var/adm/sw/ [*BE VERY CAREFUL* in this directory -- this is the directory for your Installed Products Database (IPD)]

...JRF...
Manju Kampli
Trusted Contributor

Re: Hp administration

for cron job messages look in to /var/adm/cron/log file

system error messages (dmesg) /var/adm/messges

printer log /var/adm/lp/ & /var/spool/lp

login log /var/adm/wtmp & /var/adm/btmp

system startup message log /etc/rc.log

and most of the other error messages will be store in /var/adm/syslog/syslog.log file


Never stop "LEARNING"
Rick Garland
Honored Contributor

Re: Hp administration

The above posts provide very usefule info and they alone can keep you busy for some time.

There are additonal log files that the SysAdmin should be aware of as well. These are the log files that are used by various applications. Their locations may not always be in the same area as listed above but through the reading of the apps documentation you can find them.

These log files are not necessarily critical to the functioning of the HW but can be critical to the functioning of the application(s). They can also provide troubleshooting info as to the status of the application.

The system log files are critical indeed, but don't forget the application log files. They are not critical to the function of the system but they could be critical to the functioning of the business that relies on the applications.