![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cannot telnet after restarting server | wipi | SUN Solaris | 2 | 08-17-2007 02:57 AM |
| Restarting the Spooler | Yorgy | UNIX for Dummies Questions & Answers | 0 | 09-29-2006 09:32 AM |
| shutting down/restarting oracle with the solaris server restart | krishan | SUN Solaris | 3 | 07-08-2005 07:25 AM |
| How to change Timezone without restarting teh server | krishan | SUN Solaris | 2 | 05-09-2005 06:36 PM |
| restarting a while loop | nhatch | UNIX for Dummies Questions & Answers | 5 | 07-25-2003 07:42 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
server restarting
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... |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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 To have apache start on boot put the apachectl command into an executable script and save it to /etc/rc3.d/S99mywebsite Quote:
|
|
#3
|
|||
|
|||
|
"My solaris server is rebooting, not sure how!!! "
Are you talking abt a system panic? I don't get you as why you're talking abt apache in the midst of server reboot issue. |
|
#4
|
||||
|
||||
|
server rebooting
Sorry abt that....i guess I was not clear enough
|
|
#5
|
|||
|
|||
|
Check the /etc/rc3.d/S50apache. Is it disabled? Any OS hardening done recently to start up apache? can you perform ps -ef |grep http? There will be 2 apache instances. One in /etc/init.d and /etc/rc3.d. Are you sure which you're asking abt really? Is the web service?
|
|||
| Google The UNIX and Linux Forums |