On Saturday 01 December 2007, David Relson wrote:
> "/etc/init.d/apache2 start" runs without any output
>
> "/etc/init.d/apache2 status" then reports:
>
>      * status:  stopped
>
>     Looking up localhost
>     Making HTTP connection to localhost
>     Alert!: Unable to connect to remote host.
>
>     lynx: Can't access startfile http://localhost/server-status
>
> "/etc/init.d/apache2 configtest" seems happy:
>
>      * Checking Apache Configuration ...
>        [ ok ]
>
> "/etc/init.d/apache2 graceful" also seems happy
>
>      * Gracefully restarting apache2 ...
>        [ ok ]
>
> "/etc/init.d/apache2  modules" reports 49 modules plus "Syntax OK".
>
> Even with "start", "configtest", and "graceful" reporting no errors,
> apache isn't running.
>
> What am I overlooking?
>
> Regards,
>
> David
>
> FWIW, my cpu is an AMD 64 X2 5000, kernel is 2.6.22-gentoo-r9 (SMP),
> apache version is 2.2.6.>

I get the same result like you.  This is because I do not have a file called 
server-status: 

# ls -la /var/www/localhost/
total 6
drwxr-xr-x 6 apache apache  144 Aug  9 07:46 .
drwxr-xr-x 5 root   root    136 Aug 23 22:05 ..
drwxr-xr-x 2 apache apache  144 Oct 13 15:26 cgi-bin
drwxr-xr-x 3 apache apache  976 Aug  9 07:46 error
drwxr-xr-x 3 apache apache 1432 Oct 14 11:26 htdocs
drwxr-xr-x 3 apache apache 4600 Aug  9 07:46 icons

However, launching links on the server and going to the LAN IP address of the 
server I get the apache index.html page.
-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to