Web server cannot starting

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)

can anyone give some advice to fix this problem?

thanks

cheers
audi_99

post the last 100 lines of the apache2.log

i've just got this

[ Aug 24 16:12:52 Disabled. ]
[ 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. ]
bash-3.00# cat /var/svc/log/network-http\:apache2.log 
[ Aug 24 16:12:52 Disabled. ]
[ 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. ]

is there any error log directory in solaris 10?

thanks

cheers audi_99

see the logfile specified in the svc -l output

i've this error

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)

is there any error?

thanks
cheers audi_99

logfile /var/svc/log/network-http:apache2.log

i just have this error

bash-3.00# cat /var/svc/log/network-http\:apache2.log 
[ Aug 24 16:12:52 Disabled. ]
[ 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. ]
bash-3.00# 

thanks
cheers audi_99

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.

the configuration apache is still on /etc/apache2/httpd.conf

i think everything is normal, but i dont know what's the problem? or maybe any dependency for apache is missing.

do you know how to check dependecy software on solaris 10.

For checking dependencies:

svcs -d svc:/network/http:apache2 

For checking dependents:

svcs -D svc:/network/http:apache2 

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

cheers audi_99