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