1753767 Members
5627 Online
108799 Solutions
New Discussion

System startup messages

 
SOLVED
Go to solution
Mark Parsons
Valued Contributor

System startup messages

Hi,

 

We have an HP11.11 server that I rebooted last night. Do the messages that appear on the "console" when going into single-user mode / multi-user mode get written to a logfile anywhere?

 

Kind Regards,

 

Mark P.

4 REPLIES 4
Patrick Wallek
Honored Contributor
Solution

Re: System startup messages

There are a couple of places to look for messages, once the system is up again:

 

For shut down messages -- /var/adm/syslog/OLDsyslog.log & /etc/rc.log.old

 

For start up messages -- /var/adm/syslog/syslog.log and /etc/rc.log

Steven E. Protter
Exalted Contributor

Re: System startup messages

Shalom,

Always a good idea to boot from the console. That way if something unforeseen happens for example the boot hangs, you can see what happens.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: System startup messages

Some of the console messages may still be in the MP logs.

Bill Hassell
Honored Contributor

Re: System startup messages

When you are in single user mode, all your normal logfiles do not exist. The filesystems such as /var are not mounted. You can see the console messages while you are in single user but you will have to save them in a file using dmesg, something like this:

 

    /sbin/dmesg > /dmesg.log

 

Otherwise, when you reboot, you will see the reboot console messages.

 

Now if what you really want is the list of commands given during single user mode, you can look at .sh_history, probably in /.sh_history or /root/.sh_history. There is no way to log what is displayed on the screen (in single user mode) except to use a PC and capture the text locally.



Bill Hassell, sysadmin