Visit Our UNIX and Linux User Community


Web server cannot starting


 
Thread Tools Search this Thread
Operating Systems Solaris Web server cannot starting
# 1  
Old 08-24-2011
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
Code:
[ 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

Code:
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

Last edited by pludi; 08-25-2011 at 04:26 AM..
# 2  
Old 08-24-2011
post the last 100 lines of the apache2.log
# 3  
Old 08-24-2011
i've just got this

Code:
[ 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

Last edited by pludi; 08-25-2011 at 04:27 AM..
# 4  
Old 08-24-2011
see the logfile specified in the svc -l output
# 5  
Old 08-24-2011
i've this error

Code:
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

Last edited by pludi; 08-25-2011 at 04:27 AM..
# 6  
Old 08-24-2011
logfile /var/svc/log/network-http:apache2.log
# 7  
Old 08-24-2011
i just have this error
Code:
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

Last edited by pludi; 08-25-2011 at 04:27 AM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #521
Difficulty: Medium
0b110010000001 = 2^11 + 2^10 + 2^7 + 2^0
True or False?

5 More Discussions You Might Find Interesting

1. Web Development

Starting Web Application on Jboss

Hello, I installed Jboss EAP 6 on a remote Linux server in standalone mode, and deployed a HelloWorld war file successfully. Opened a browser on my PC and pointed to http://127.0.0.1:8080/filename. I can see “Hello World!” on my browser. However, if the browser points to http://server's... (3 Replies)
Discussion started by: learnix
3 Replies

2. Web Development

What are web design programming steps starting with HTML?

I'm studying web design and I would like to know the stages to knowing what you will ultimately need to know when entering this profession. With HTML being the step one and the basics, to I think XHTML and Css, being two, what's next? JavaScript? MySQL? Can some one provide an ordered list of... (5 Replies)
Discussion started by: Anna Hussie
5 Replies

3. AIX

Starting web-based system manager?

How does one initiate this? (1 Reply)
Discussion started by: NycUnxer
1 Replies

4. UNIX for Dummies Questions & Answers

Web Server - uploading Frontpage web - will there be problems??

hiya All, New to this Web site stuff. Will be installing Fedora's latest O/S (including Apache) - onto a spare PC Then... Gulp... setting up a Web server. Designing a Web site using WINDOWS FRONT PAGE 2002: * Simply easiest/quickiest way to knock up a basic site. * There won't be... (6 Replies)
Discussion started by: marty 600
6 Replies

5. UNIX for Dummies Questions & Answers

Dynamic web pages for Unix Web Server

Hi, my company is considering a new development of our web site, which used to run on Apachi over Solaris. The company who is going to do this for us knows only about developing it in ASP. I guess this means we'll have to have another ISS server on NT for these dynamic pages :( What are... (5 Replies)
Discussion started by: me2unix
5 Replies

Featured Tech Videos