1835116 Members
4673 Online
110076 Solutions
New Discussion

Re: Log enable

 
gogleboy
Occasional Advisor

Log enable

Hi,
i want to enable all logs in HP-UX 11i so could you please tell me what need to enable and how to enable

Thanks
NAnda
4 REPLIES 4
OFC_EDM
Respected Contributor

Re: Log enable

That's a big question.

The main log is the syslog. It should be on by default.

Look in /var/adm/syslog for *.log files.

The syslog.log file is the main bucket for information.

Do a tail -10 syslog.log and see if you have current entries.

As well do a ps -ef | grep -i syslogd and see to see if the daemon is running.

You'll see other logs in there as well such as mail.log.
The Devil is in the detail.
OFC_EDM
Respected Contributor

Re: Log enable

Read the man pages as well

http://docs.hp.com/en/B2355-90692/syslogd.1M.html

The Devil is in the detail.
Ganesan R
Honored Contributor

Re: Log enable

Hi,

Could you specific of which log you want to enable?

By default most of logs like syslog, mail log, cron log, event log should have enabled.
Best wishes,

Ganesh.
Jaime Bolanos Rojas.
Honored Contributor

Re: Log enable

gogleboy,

By trusting a system, and enable auditing you will be able to capture a lot of information on a system in log files, the question here is do you really want to do that? What is it that you want to log, there are too many logs, and just by logging for the sake of it, it does not mean that you will have the time to read and understand all the logs.

Regards,

Jaime.
Work hard when the need comes out.