httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav.hamil...@comcast.net
Subject Re: [users@httpd] Unable to start Apache 2.0.45 without internet connection
Date Sat, 17 May 2003 02:38:07 GMT
Jeff,

When I try 127.0.0.1:80, I get the same message:
[Fri May 16 20:55:04 2003] [crit] (OS 10038)Socket operation on non-socket:
make_sock: for address 127.0.0.1:80, apr_socket_opt_set: (SO_KEEPALIVE)
no listening sockets available, shutting down
Unable to open logs

When I try Listen 50000, I get the following:
When I try 10.10.1.6:80, I get the same message:
[Fri May 16 20:56:05 2003] [crit] (OS 10038)Socket operation on non-socket:
make_sock: for address 0.0.0.0:50000, apr_socket_opt_set: (SO_KEEPALIVE)
no listening sockets available, shutting down
Unable to open logs

Apache doesn't really seem to care what I put for Listen, it always tells me
that there are no listening sockets available,
and that it is shutting down.  If it helps, I can provide my httpd.conf
file, but I've really only changed the Listen and
ServerName properties.  Does the ServerName matter?  It doesn't seem to
affect anything currently.

Listen 127.0.0.1:80
ServerName 10.10.1.6

Thanks,
David Hamilton


----- Original Message -----
From: "Jeff Cohen" <support@gej-it.com>
To: <users@httpd.apache.org>
Sent: Friday, May 16, 2003 8:12 PM
Subject: RE: [users@httpd] Unable to start Apache 2.0.45 without internet
connection


What happens if you use Listen 127.0.0.1:80 or Listen 50000 ??

Jeff Cohen
Jeff@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!

> -----Original Message-----
> From: dav.hamilton@comcast.net [mailto:dav.hamilton@comcast.net]
> Sent: Friday, May 16, 2003 4:04 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Unable to start Apache 2.0.45 without internet
> connection
>
> Thomas,
> Thanks for your reply.  Here is what I get from route print:
>
> C:\WINDOWS\Desktop>route print
> Active Routes:
> Network Address          Netmask      Gateway Address        Interface
> Metric
> 0.0.0.0                                0.0.0.0          10.1.1.1
> 10.10.1.6       1
> 10.0.0.0                          255.0.0.0        10.10.1.6
> 10.10.1.6       1
> 10.10.1.6            255.255.255.255        127.0.0.1
127.0.0.1
> 1
> 10.255.255.255  255.255.255.255        10.10.1.6              10.10.1.6
> 1
> 127.0.0.0                        255.0.0.0        127.0.0.1
> 127.0.0.1       1
> 224.0.0.0                        224.0.0.0        10.10.1.6
> 10.10.1.6       1
> 255.255.255.255  255.255.255.255      10.10.1.6              10.10.1.6
> 1
>
> I only use Ethernet connections, so I don't have the dial-up networking
even
> installed on any of my machines.
> I also made sure that Apache 1.3.27 was not running at the time, and
> retested with the same results.
> However, when I start Apache 1.3.27 up, it works correctly every time
> without an internet connection, which is the strangest part.
>
> Does anyone else running Windows 98 get a similar problem if they start up
> Windows 98 without an internet connection and try starting Apache 2.0.45?
> I've just switched back to working with Apache 1.3.27, but I had really
been
> hoping to use Apache 2.0.45.
>
> ----- Original Message -----
> From: "Thomas Strike" <striket@pacbell.net>
> To: <users@httpd.apache.org>
> Sent: Friday, May 16, 2003 1:56 PM
> Subject: Re: [users@httpd] Unable to start Apache 2.0.45 without internet
> connection
>
>
> > Here is my train of thaught that may help in troubleshooting your
problem.
> >
> > From: <dav.hamilton@comcast.net>
> >
> > > With Apache 2.0.45 for Windows 98, if I try to use Apache without an
> > > internet connection, I receive the following message and Apache fails
to
> > > start:
> > > no listening sockets available, shutting down
> > > Unable to open logs
> >
> > Take this error message litterally.
> > Apache2 can't find any available routes to bind to on port 80.
> >
> > > This is with the settings:
> > > #Listen 80 - Listen disabled
> > > ServerName localhost
> >
> > I believe that without the listen statement set in the config file,
> > the default is that Apache listens to all available IP connections on
port
> > 80.
> > The same as "Listen 80"
> >
> > > If I try ServerName localhost:80 it gives the same result, and if I
try
> > > Listen 80, or Listen localhost:80, or Listen 127.0.0.1:80, I receive
the
> > > following error and Apache fails to start:
> > > [Fri May 16 06:21:48 2003] [crit] (OS 10038)Socket operation on
> > non-socket:
> > > make_sock: for address 127.0.0.1:80, apr_socket_opt_set:
(SO_KEEPALIVE)
> no
> > > listening sockets available, shutting down
> > > Unable to open logs
> >
> > SEE BELOW
> >
> > > With Apache 2.0, can you use it without an internet connection?
> > > I've searched the web, the manual, all of the suggested bugtraq
> searches,
> > > but I'm still not able to figure out what I'm doing wrong
> > > and can't find anyone else who has mentioned this problem.
> >
> > Apache2 seems not to be able to find an available port 80 on any
> > active IP addresses that is specified in the config file.  Therefore.
> > I would turn to the Networking configuration in Win98.  It may be
> > that Network routes in Win98 are not present when there are
> > no active network devices on line.  But then, Why can you ping
> > the localhost and Apache2 can't find it: Unless you happened to
> > be connected through Dialup Networking at the time.
> >
> > First, I would try "route print" in a DOS window to see if in fact the
> > localhost route is present in your machine while you are off line.
> >
> > Network Address     Network      Gateway     Interface    Metric
> >              127.0.0.0   255.0.0.0     127.0.0.1   127.0.0.1
1
> >
> > The other probability is that some program in your system has
> > already glombed onto port 80 on your LocalHost address such
> > as your last install of Apache still being active.
> >
> > Cheers,
> > Tom S.
> > http://www.SleepyValley.net/me
> >
> >
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message