- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Log file for startup processes
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
02-12-2004 07:21 PM
02-12-2004 07:21 PM
Where is the file for the start-up processes (rc..) which also includes the messages for volume mounts (using LVM)?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 01:57 AM
02-13-2004 01:57 AM
Re: Log file for startup processes
are you looking for /etc/rc.log?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 02:03 AM
02-13-2004 02:03 AM
Re: Log file for startup processes
try looking in:
/var/log/messages
/var/log/boot.log
/var/log/dmesg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 02:05 AM
02-13-2004 02:05 AM
Re: Log file for startup processes
You can put your own startup scripts in /etc/rc.d/rc.local
RedHat has them there.
Some distributions may put them in a different place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 02:10 AM
02-13-2004 02:10 AM
Re: Log file for startup processes
Yes, I was looking rc.log, but discovered that it is only included on HP systems, which is not the case here (surprise!). The logs in /var/log didn't seem to give me the information I wanted. Someone just told me I should be content with dmesg. The problem was that a volume didn't get dismaounted at shutdown because the mountpoint of the volume, /opt/ was getting written to. I thought I could find out which process it was by looking at the mount process log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 02:13 AM
02-13-2004 02:13 AM
Re: Log file for startup processes
wrong forum..
agree with Jeffrey, there is also a command dmesg.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 02:46 AM
02-13-2004 02:46 AM
Re: Log file for startup processes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 02:58 AM
02-13-2004 02:58 AM
Re: Log file for startup processes
You may replace for example rc"1-6".d in /etc/inittab with your own scripts which then calls:
rc"1-6".d | tee /tmp/rc1d.log
You would have to make a copy of tee to /sbin
does that make sense to anyone?
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2004 03:52 AM
02-13-2004 03:52 AM
Solutionon my system there is a file called /var/log/boot.omsg which contains all messages from the last boot/shutdown cycle. If there is anything usefull displayed at shutdown you should be able to find it there. One thing you might try is to include an lsof in the shutdown script dismounting the disks to get information on the process hogging the disk.
Greetings, Martin