The following reply was made to PR config/3306; it has been noted by GNATS.
From: Dirk-Willem van Gulik <[EMAIL PROTECTED]>
To: Sriram Kaushik <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: config/3306: Not able to start up HTTPD server
Date: Wed, 28 Oct 1998 18:44:02 +0100 (MET)
On 28 Oct 1998, Sriram Kaushik wrote:
>
> >Number: 3306
> >Category: config
> >Synopsis: Not able to start up HTTPD server
> >Confidential: no
> >Severity: critical
> >Priority: medium
> >Responsible: apache
> >State: open
> >Class: sw-bug
> >Submitter-Id: apache
> >Arrival-Date: Wed Oct 28 09:30:00 PST 1998
> >Last-Modified:
> >Originator: [EMAIL PROTECTED]
> >Organization:
> apache
> >Release: Apache 1.3
> >Environment:
> SunOC Sparc 4.1.3_U1 2 sun4m
> >Description:
>
> I have been using Apache server pretty successfully. TOday the machine was
> rebooted and as usual I wanted to start the Apache server and as usual I
> gave the
> following command :
>
> ./httpd -d <dir>
>
> But to my surprise found that the server was not started ( Gave a ps and
> found
> no httpd server running ). Then tried and again and again it resulted in the
> same result. Server not started. So went to the Logs file and found the
> following
> meesage :
>
> [Web Oct 28 11:05:11 1998] [crit] (48)Address already in use: make_sock:
> could
> not bind to port 1080.
> Well this means that the port 1080 has already been used ?
Yes, that is what it means.
Try doing a
ps -ax
and see if you are running any deamons (such as a sockd deamon perhaps) or
if there is anything left from a previous incarnation of apache.
Using
netstat -na | grep 1080
would also help, you can see if the kernel things if there is anything
on that port.
That is the most likeley cause.
Dw.
> But when I have started the server only now how can the port be already in
> use ?
> >How-To-Repeat:
> Well the problem is repeatable only by me since its a server start problem.
> >Fix:
> Nopes. I tried to see if the port 1080 is free but dint know how to get hold
> of the port 1080. Its critical to run this on this port as there are lots of
> dependencies and hence cant change the port 1080.
> >Audit-Trail:
> >Unformatted:
> [In order for any reply to be added to the PR database, ]
> [you need to include <[EMAIL PROTECTED]> in the Cc line ]
> [and leave the subject line UNCHANGED. This is not done]
> [automatically because of the potential for mail loops. ]
> [If you do not include this Cc, your reply may be ig- ]
> [nored unless you are responding to an explicit request ]
> [from a developer. ]
> [Reply only with text; DO NOT SEND ATTACHMENTS! ]
>
>
>
>