- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /etc/shutdownlog
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2002 08:30 PM
тАО01-28-2002 08:30 PM
On particular servers I admin, this log does not exist. ??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2002 08:51 PM
тАО01-28-2002 08:51 PM
Re: /etc/shutdownlog
I am not sure why yours doesn't. You could create a file by using the 'touch' command.
Example Contents are as follows:
Generally the entries made are
shutdown, reboots and reboots by a user.
05:04 Sun Dec 2, 2001. Reboot:
12:35 Fri Dec 7, 2001. Reboot: (by myname!root)
The first entry is an automatic reboot, the
second being a manual reboot by a 'root'
user.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2002 09:05 PM
тАО01-28-2002 09:05 PM
Re: /etc/shutdownlog
/etc/shutdownlog is generated by the reboot command.
man 1m reboot for more information.
Unless your system never performs a reboot (or shutdown), /etc/shutdownlog should exist on your system.
Check your root cron jobs in /var/spool/cron/crontabs/root for any job that performs "housekeeping" by removing /etc/shutdownlog.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2002 09:55 PM
тАО01-28-2002 09:55 PM
Re: /etc/shutdownlog
I wouldn't have ever noticed this "problem" if not for the fact that this was a fresh from factory L class.
shutdown appends the shutdownlog - BUT only if it exists.
Reboot doesn't appear to create it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2002 10:45 PM
тАО01-28-2002 10:45 PM
Re: /etc/shutdownlog
You are right indeed. reboot only appends to it. I have missed out the "(if it exists)" clause in its man page.
We had factory installs of HP-UX on our servers but we never encounter /etc/shutdownlog missing.
You might wish to alert your HP Problem Response Centre over there. The Ignite-UX image copy during factory defaults might possibly be misconfigured for your server.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 10:26 AM
тАО01-29-2002 10:26 AM
Re: /etc/shutdownlog
Some more explanation:
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=5b76573b0c474027a8/screen=ckiDisplayDocument?docId=200000058668862
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 10:31 AM
тАО01-29-2002 10:31 AM
Re: /etc/shutdownlog
Again, the /etc/shutdownlog can be recreated by 'tlinstall' command.
# rm /var/adm/shutdownlog
# /opt/upgrade/bin/tlinstall
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2002 07:41 PM
тАО01-29-2002 07:41 PM
Re: /etc/shutdownlog
Bill Hassell, sysadmin