What is the server model?
If possible connect to the console to watch for any error messages.
Alter /etc/syslog.conf to include *.debug in the line that points to /var/adm/messages then restart syslogd.
I use this:
Code:
## Log everything, include syslog internal timestams (mark), but ignore
## auth and mail because they are handled later in the file.
*,mark.debug;auth,mail.none /var/adm/messages
If you use that be sure to take out the space between .none and /var and insert a single TAB
To have apache start on boot put the apachectl command into an executable script and save it to /etc/rc3.d/S99mywebsite
Quote:
Originally Posted by rcmrulzz
Hello people,
My solaris server is rebooting, not sure how!!! Which log should I look in to? I checked /var/adm/messages and dmesg also. How do I check older dmesg logs? I checked lastlog and also ran the last command. Nothing useful pointing to why server rebooted.
Also when server reboots I want apache to also come up with it? For eg: I can give ./apachectl -k start in a startup script. Where is the startup script for the OS?
Thanks in advance... 
|