1833461 Members
2933 Online
110052 Solutions
New Discussion

Shutdown ??

 
SOLVED
Go to solution
Amit Dixit_2
Regular Advisor

Shutdown ??

Hi,
Please check the attached log and tell me
why the system went shutdown.

Also, What is that EMS MAJORWARNING and how
to check details for the same can i execute
the command given on the log at any
runlevel ?

Thanks
Amit
8 REPLIES 8
Jeroen Peereboom
Honored Contributor

Re: Shutdown ??

Amit,

no idea why your system shut down.
EMS is Event Monitoring System that monitors the hardware (or at least generates messages for hardware problems. You can run the command specified from all (?) runlevels, just be sure the filesystems needed are mounted.

JP.
Michael Tully
Honored Contributor

Re: Shutdown ??

Check the /etc/shutdownlog for any details.
Normally this message is not written to the syslog by default.
Anyone for a Mutiny ?
Con O'Kelly
Honored Contributor
Solution

Re: Shutdown ??

Hi Amit

There is not really enough detail in syslog.log to determine the cause of the system shutdown.

Firstly check /etc/shutdownlog for any entries. System panics will usually write to this file.

There should also be a crash dump in /var/adm/crash and there should also be some files in /var/tombstones that can used for analysis (eg ts99).

Analysing the reason for a system crash usually requires some in depth knowledge of HP-UX. If your system has crashed you should log a call with HP or whichever organisation provides support for your systems.

There are multiple reasons for system crashes such as hardware failures (HPMC)or software failures which initiate a system PANIC.

Post any entries from /etc/shutdownlog.

Cheers
Con
Amit Dixit_2
Regular Advisor

Re: Shutdown ??

Hi,
The file /etc/shutdownlog is having entry
11:39 Sun Jun 20, 2004. Halt:(by lcsweb4!root)

Does that means somebody has given HALT
command.

Thanks,
Amit
Con O'Kelly
Honored Contributor

Re: Shutdown ??

Yes that is telling you someone shutdown the system at 11:39 on Sun 20 June. Is this the last entry in /etc/shutdownlog??
It appears your system was also shutdown on June 25?? Check /var/adm/crash for entries.

Cheers
Con
Michael Tully
Honored Contributor

Re: Shutdown ??

Yes

That means somebody shutdown the system, not reboot. Check the crontab file for any entries. If you don't know who did it after not finding anything, change your root password, and check any entries in your sudo file and wait to see who complains.
Also have a look in the /var/adm/sulog for valid entries around the same time.
Anyone for a Mutiny ?
Amit Dixit_2
Regular Advisor

Re: Shutdown ??

Hi,
How can I disable shutdown from root and
create a different account to shutdown the
system.

Thanks,
Amit
Con O'Kelly
Honored Contributor

Re: Shutdown ??

Hi

Use the /etc/shutdown.allow file to permit other users to shutdown the system.

See man 1m shutdown for details on configuring /etc/shutdown.allow file.

Cheers
Con