Why does Server Admin not show Web anymore?

Dan Shoop shoop at iwiring.net
Wed Jan 17 16:19:26 PST 2007


At 10:48 PM +0100 1/17/07, Markus Ruggiero wrote:
>On 17.01.2007, at 20:36, Dan Shoop wrote:
>
>>At 5:29 PM +0100 1/17/07, Markus Ruggiero wrote:
>>
>>>I was playing with the Application Server in Tiger Server 10.4.8. 
>>>Just for a first test I startet it from ServerAdmin.app with the 
>>>setting "Tomcat only". This worked and I could access the default 
>>>page on port 8080. But then I had to run away because of some time 
>>>constraints, so I simply stopped the Application Service from 
>>>ServerAdmin.app and then realised that ServerAdmin.app showed Web 
>>>service as not available. So I cannot access any Apache config 
>>>from the ServerAdmin.app anymore, neither are there any logs 
>>>visible, not even a "Settings" tab and the Start Service button is 
>>>greyed out. However the server runs and is reachable from the 
>>>outside with everything. Even after a reboot of the server machine 
>>>the state is the same.
>>>
>>>What can cause ServerAdmin.app to not recognise the Web service 
>>>anymore and how can I fix this? Have not found anything in the 
>>>server docs.
>>>
>>
>>What does `apachectl --configtest` say?
>>
>
>It tells me that everything is OK
># apachectl configtest
>Processing config directory: /etc/httpd/sites/*.conf
>Processing config file: 
>/etc/httpd/sites/0001_192.168.56.101_80_rucotec.ch.conf
>Processing config file: 
>/etc/httpd/sites/0002_192.168.56.101_80_ruggiero.ch.conf
>Processing config file: 
>/etc/httpd/sites/0003_192.168.56.101_80_egge-muttenz.ch.conf
>Processing config file: 
>/etc/httpd/sites/0004_192.168.56.101_80_blindpromo.com.conf
>Processing config file: 
>/etc/httpd/sites/0005_192.168.56.101_80_it-teachers.ch.conf
>Processing config file: /etc/httpd/sites/virtual_host_global.conf
>[Wed Jan 17 22:39:16 2007] [warn] module WebObjects_module is 
>already loaded, skipping
>Syntax OK

Is it, in fact running? If not what does `apachectl start` do for you?

>>Is the Web service not listed in Server Admin or is it just failing 
>>to become active?
>>
>
>In the left pane where all the services are listed Web has a _dark_ 
>grey button. No started services have a lighter grey button, started 
>services are green. When I select the Web service in the right pane 
>detail view is shown. At the top it reads Web Service is: not 
>available. At the bottom there are only 3 tabs (Overview, Logs, and 
>Graphs) while the Configure tab is missing completely. At the very 
>top of the window in the button bar the Start Service button is 
>inactive (grayed out) and cannot be clicked.

This sounds ,ore like a problem with Server Admin than with your web 
server. Have you repaired permissions? Often the Server Admin files 
and modules get munged.

>May! what did I break here? I can manually start/stop Apache from 
>the command line and everything is fine.

Ah, then this isn't a web server problem but a Server Admin problem 
like I suspected. Again, try repairing permissions and/or make sure 
the module for the web in Server Admin is OK.

>  All the virtual hosts are reachable and everything looks good. Just 
>ServerAdmin.app does not see the service.

Because it's become lame.
-- 

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                      http://www.ustsvs.com/
shoop at iwiring.net                                http://www.iwiring.net/
1-714-363-1174

"The wise man doesn't give the right answers, he poses the right
questions." -- Claude Levi-Strauss

------------------------------------------------------------------------

iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.


More information about the MacOSX-admin mailing list