l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2010 Aug 18 02:48

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[no subject]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]

In sites.enabled:

   ServerAdmin p@dirac.org
   ServerName  www.dirac.org
   ServerAlias dirac.org

   # Indexes + Directory Root.
   DirectoryIndex index.html
   DocumentRoot /var/www/

   # Logfiles
   ErrorLog  /var/log/apache2/dirac.org.error
   CustomLog //var/log/apache2/dirac.org.access combined

The default enabled site starts off as:

   ServerAdmin p@dirac.org
   DocumentRoot /var/www
   . . .

Any ideas what could be preventing this from working?


Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I set up Apache2 on home Kubuntu box.=A0=A0 I defined one named virtual hos=
t in addition to &quot;default&quot; that came with the installation.=A0 Wh=
en I try to access the server from work, Firefox responds with &quot;The co=
nnection timed out&quot;.<br>
<br>When I run tcpdump -i eth0 tcp port 80, I see the incoming request from=
 work to <a href=3D"http://www.dirac.org";>http://www.dirac.org</a>:<br><br>=
14:30:42.219003 IP ny-131.foo.com.33188 &gt; satan.www: Flags [S], seq 3646=
786876, win 64512, options [mss 1460,nop,nop,sackOK], length 0<br>
<br>I also see (what looks to be) the outgoing packets from satan to work:<=
br><br>14:30:42.219027 IP satan.www &gt; ny-131.foo.com.33188: Flags [S.], =
seq 2741002130, ack 3646786877, win 5840, options [mss 1460,nop,nop,sackOK]=
, length 0<br>
<br>However, *nothing* is getting written to the logs:<br><br>-rw-r----- 1 =
root root=A0=A0 0 2010-08-10 12:21 access.log<br>-rw-r----- 1 root root=A0=
=A0 0 2010-08-10 12:21 dirac.org.access<br>-rw-r----- 1 root root=A0=A0 0 2=
010-08-10 12:21 dirac.org.error<br>
-rw-r----- 1 root root 330 2010-08-10 12:21 error.log<br><br><br>The file e=
rror.log doesn&#39;t have anything interesting in it:<br><br><br>[Tue Aug 1=
0 12:21:00 2010] [notice] Apache/2.2.12 (Ubuntu) PHP/5.2.10-2ubuntu6.4 with=
 Suhosin-Patch mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal op=
[Tue Aug 10 12:21:00 2010] [info] Server built: Mar=A0 9 2010 21:20:44<br>[=
Tue Aug 10 12:21:00 2010] [debug] prefork.c(1013): AcceptMutex: sysvsem (de=
fault: sysvsem)<br><br><br>From the lack of entries in the log file, it loo=
ks like Apache isn&#39;t seeing the incoming request.=A0 However, tcpdump s=
eems to be showing otherwise.=A0 Port 80 is forwarded to the Linux box by t=
he router.<br>
<br>In sites.enabled:<br><br>&lt;VirtualHost <a href=3D"
9:80"></a>&gt;<br>=A0=A0 ServerAdmin <a href=3D"mailto:p@di=
rac.org">p@dirac.org</a><br>=A0=A0 ServerName=A0 <a href=3D"http://www.dira=
=A0=A0 ServerAlias <a href=3D"http://dirac.org";>dirac.org</a><br><br>=A0=A0=
 # Indexes + Directory Root.<br>=A0=A0 DirectoryIndex index.html<br>=A0=A0 =
DocumentRoot /var/www/<br><br>=A0=A0 # Logfiles<br>=A0=A0 ErrorLog=A0 /var/=
=A0=A0 CustomLog //var/log/apache2/dirac.org.access combined<br>&lt;/Virtua=
lHost&gt;<br><br>The default enabled site starts off as:<br><br>&lt;Virtual=
Host <a href=3D"";></a>&gt;<br>=A0=A0=
 ServerAdmin <a href=3D"mailto:p@dirac.org";>p@dirac.org</a><br>
=A0=A0 DocumentRoot /var/www<br>=A0=A0 . . .<br>&lt;/VirtualHost&gt;<br><br=
><br>Any ideas what could be preventing this from working?<br><br>Thanks,<b=


Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

vox-tech mailing list


LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!