1 |
On Saturday 01 December 2007, David Relson wrote: |
2 |
> "/etc/init.d/apache2 start" runs without any output |
3 |
> |
4 |
> "/etc/init.d/apache2 status" then reports: |
5 |
> |
6 |
> * status: stopped |
7 |
> |
8 |
> Looking up localhost |
9 |
> Making HTTP connection to localhost |
10 |
> Alert!: Unable to connect to remote host. |
11 |
> |
12 |
> lynx: Can't access startfile http://localhost/server-status |
13 |
> |
14 |
> "/etc/init.d/apache2 configtest" seems happy: |
15 |
> |
16 |
> * Checking Apache Configuration ... |
17 |
> [ ok ] |
18 |
> |
19 |
> "/etc/init.d/apache2 graceful" also seems happy |
20 |
> |
21 |
> * Gracefully restarting apache2 ... |
22 |
> [ ok ] |
23 |
> |
24 |
> "/etc/init.d/apache2 modules" reports 49 modules plus "Syntax OK". |
25 |
> |
26 |
> Even with "start", "configtest", and "graceful" reporting no errors, |
27 |
> apache isn't running. |
28 |
> |
29 |
> What am I overlooking? |
30 |
> |
31 |
> Regards, |
32 |
> |
33 |
> David |
34 |
> |
35 |
> FWIW, my cpu is an AMD 64 X2 5000, kernel is 2.6.22-gentoo-r9 (SMP), |
36 |
> apache version is 2.2.6.> |
37 |
|
38 |
I get the same result like you. This is because I do not have a file called |
39 |
server-status: |
40 |
|
41 |
# ls -la /var/www/localhost/ |
42 |
total 6 |
43 |
drwxr-xr-x 6 apache apache 144 Aug 9 07:46 . |
44 |
drwxr-xr-x 5 root root 136 Aug 23 22:05 .. |
45 |
drwxr-xr-x 2 apache apache 144 Oct 13 15:26 cgi-bin |
46 |
drwxr-xr-x 3 apache apache 976 Aug 9 07:46 error |
47 |
drwxr-xr-x 3 apache apache 1432 Oct 14 11:26 htdocs |
48 |
drwxr-xr-x 3 apache apache 4600 Aug 9 07:46 icons |
49 |
|
50 |
However, launching links on the server and going to the LAN IP address of the |
51 |
server I get the apache index.html page. |
52 |
-- |
53 |
Regards, |
54 |
Mick |