- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /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
Forums
Discussions
Discussions
Discussions
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
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
08-07-2005 03:20 PM
08-07-2005 03:20 PM
/etc/shutdownlog shows reboot entry by the user who had logged in and logged out of the server almost 2 months back. We could not find any record for him with last command on the reboot day. We know that reboot was done by the other user.
Please help.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 03:47 PM
08-07-2005 03:47 PM
Re: /etc/shutdownlog
Please check these following files before jugde who that rebooted your server:
1. /var/adm/crash
2. /etc/shutdownlog
3. /var/tombstones/ts99
4. /var/opt/resmon/log/event.log
If there is nothing indication that come from the above files , then it is probably because of a power failure occured for a short time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 04:02 PM
08-07-2005 04:02 PM
Re: /etc/shutdownlog
I checked all the files and there is nothing special observed. We know that our collegue reboot the server. His name could be found with last command. But /etc/shutdownlog refers to another user name who logged in/out 2 months back. How is it possible to reboot the server without logging in?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 04:03 PM
08-07-2005 04:03 PM
Re: /etc/shutdownlog
Please check .sh_history for commands that run by user.
#vi .sh_hystory then Esc-Shift-G to go the end of line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 04:30 PM
08-07-2005 04:30 PM
Re: /etc/shutdownlog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2005 10:10 PM
08-07-2005 10:10 PM
Re: /etc/shutdownlog
Otherwise check the /var/adm/sulog and /var/adm/syslog/OLDsyslog.log for any su activity prior to the shutdown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 12:05 PM
08-08-2005 12:05 PM
Re: /etc/shutdownlog
I have checked .sh_history, /var/adm/syslog/OLDsyslog.log, /var/adm/sulog, /var/adm/OLDsulog...
Nowhere I can find that user entry for the reboot day. I am sure that other user did shutdown the system as his name can be found in all other files other than /etc/shutdownlog. It was scheduled reboot done by my teammate. I doubt this may be the bug with OS.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 04:15 PM
08-08-2005 04:15 PM
Re: /etc/shutdownlog
Which are all the otherfiles you are seeing. Is it your application logs or OS logs.
I seen couple of times where /etc/*tmp database/files got corrupted, which is caused by a telnetd daemon.
See for the these patches documentation for more information
11.00 -- PHNE_24762
11.11 -- PHNE_24829
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 04:28 PM
08-08-2005 04:28 PM
Re: /etc/shutdownlog
Have u done any ignite restore to this server after the recent shutdown. If the ignite copy is older than ur previous shutdown date then there will be no info in any of the root disk files.
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 05:36 PM
08-08-2005 05:36 PM
Re: /etc/shutdownlog
See for the these patches documentation for more information
11.00 -- PHNE_24762
11.11 -- PHNE_24829
Hi,
Ignite recovery is not done on this server. I checked syslog, sulog and wtmp with last command and also shutdown broadcast message. I doubt corrupt /etc/*tmp as wtmp is showing correct info and /etc/shutdownlog is showing wrong entry. I am wondering what other thing can write a wrong entry into /etc/shutdownlog?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 06:55 PM
08-08-2005 06:55 PM
SolutionI done a tusc to the shutdown process.
shutdown -ry gets userid from the getuid() system call and its a "Real-user-ID of the calling process"
it will update the /etc/shutdownlog after this message "System shutdown time has arrived"
Incase if you are sure of the following, i don't see any other issues why shutdownlog will write a different username than actual user.
a. User who's name is there in shutdownlog, was the realuser but shutdown command was run by the other user using su command
b. there is no corruption in the /etc/utmp and /var/adm/wtmp
c. Both users are not having the same UID
Incase if all the above is not helpful to you, can you duplicate the problem once again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 07:18 PM
08-08-2005 07:18 PM
Re: /etc/shutdownlog
Another point to add is the username displayed in /etc/shutdownlog had logged in/out of the system almost 2 months back.
The user issued shutdown command from telnet session by doing su - and monitored it on GSP console. No where wrong entry username relates to shutdown process.
We can not duplicate the problem as the system is in Production environment.
We want to make sure if there is any bug in the OS.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2005 07:30 PM
08-08-2005 07:30 PM
Re: /etc/shutdownlog
What is the username is showing in shutdownlog?
What is the username who actually performed the shutdown(which you would like to see in shutdownlog)?
From which user, he done su to shutdown the server ?
Do you have duplicate UID's in your /etc/passwd?
I don't think any issues with OS. I nerver heard of this issue before?