hi guys
i try to start my web server on solaris 10 with T2000 server, i have been already start but the status always maintenace. when i check logfile i have this messages
[ Aug 24 16:12:52 Rereading configuration. ]
[ Aug 25 09:24:05 Enabled. ]
[ Aug 25 09:24:05 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ Aug 25 09:24:05 Method "start" exited with status 96 ]
[ Aug 25 09:27:06 Leaving maintenance because disable requested. ]
[ Aug 25 09:27:06 Disabled. ]
[ Aug 25 09:27:19 Enabled. ]
[ Aug 25 09:27:19 Executing start method ("/lib/svc/method/http-apache2 start") ]
[ Aug 25 09:27:19 Method "start" exited with status 96 ]
[ Aug 25 09:27:46 Rereading configuration. ]
when i exceute " svcs -l http" i have this output
fmri svc:/network/http:apache2
name Apache 2 HTTP server
enabled true
state maintenance
next_state none
state_time Thu Aug 25 09:27:19 2011
logfile /var/svc/log/network-http:apache2.log
restarter svc:/system/svc/restarter:default
contract_id
dependency require_all/error svc:/milestone/network:default (online)
dependency require_all/none svc:/system/filesystem/local:default (online)
dependency optional_all/error svc:/system/filesystem/autofs:default (online)
my bad. have not messed with Solaris 10 much. Where is your httpd.conf file? There should be an error_log defined in there. That is the real apache log.
I doubt, problem is with apache configuration. Because it is executing start method, but due to configuration issues, it may not be able to start. That's why disable is requested.
Have you modified apache config? Is it possible to restore apache configuration before modification?
Also check, if port 80 is in use or not.
netstat -an | grep "80"
Please reply if further troubleshooting is required.
thanks guys for all your support, the problem is solve. for your info
first think i do is modified the permision after i copy, becuase the default file config is httpd.conf.example ----> so i copy and i modify permision. after that i try to restart the service but the status is still maintenance, ok so i decide to to shutdown the machine. i'm waite for 1 hour then i turn on the machine again and i check again, the web server is already running dan working online.
that's what i can do, but i actually i realy thank you for all your supoort guys. i'm a new comers in solaris world.....once again thank you for all your support