Operating System - HP-UX
1826106 Members
4855 Online
109690 Solutions
New Discussion

Re: Logfile /var/adm/sulog doesn't exist.

 
SOLVED
Go to solution
sycncs
Advisor

Logfile /var/adm/sulog doesn't exist.

Hi Guys
I have this error message -

Logfile /var/adm/sulog doesn't exist. Treating as empty. The logfile doesn't exist. This message is reported only when the logfile
encapsulator starts up and this feature is enabled for this logfile source.
Non-existent files are always treated as empty.

Why am I getting this error? Was it something that has been changed? My server is running on 10.20.

Your advice is appreciated in advance.
3 REPLIES 3
T G Manikandan
Honored Contributor
Solution

Re: Logfile /var/adm/sulog doesn't exist.

just check whether CLEAN_ADM in /etc/rc.config.d/clean is set to 1

If so then the sulog will be moved as OLDsulog during the system reboot.

But still you make a point as sulog is not there.

Can you just try doing a su like
$su

check whether the sulog is created automatically.


Revert
S.K. Chan
Honored Contributor

Re: Logfile /var/adm/sulog doesn't exist.

The control parameter in /etc/rc.config/clean called CLEAN_ADM will determine if the sulog file is "clean up" during a system reboot. Clean up meaning, it'll be moved to a file called OLDsulog. Executing an su command would recreate the sulog file. In you case CLEAN_ADM must have been set to 1 (enable).
sycncs
Advisor

Re: Logfile /var/adm/sulog doesn't exist.

Thank you guys. The problem is solved!