Apache/2.2.13 : Starting httpd: (98)Address already in use:
Apache/2.2.13 : Starting httpd: (98)Address already in use:
am 02.04.2010 18:22:05 von Ravi Roy
--00504502cb155408cf048343617d
Content-Type: text/plain; charset=ISO-8859-1
Hi
I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is that when I
try to start and stop it using "sudo /etc/rc.d/init.d/httpd start / stop /
restart"
It gives me the following, I googgled a lot but could not really find a
solution.
1.Command : $ sudo /etc/rc.d/init.d/httpd start
Error Message :
Starting httpd: (98)Address already in use: make_sock: could not bind to
address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
2. Command : $ sudo /etc/rc.d/init.d/httpd stop
Error message :
Stopping httpd: [FAILED]
3.Command : $sudo /etc/rc.d/init.d/httpd restart
Error message :
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to
address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
Can sombody help me on this please?
Thanks!
-RR
--00504502cb155408cf048343617d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi
=A0
I installed=A0Apache/2.2.13 (Unix) on CentOS 5.4.=A0My prolbem is that=
when I try to start and stop it=A0using "sudo /etc/rc.d/init.d/httpd =
start / stop / restart"
It gives me the following, I googgled a lot=
but could not really find a solution.
=A0
1.Command : $ sudo /etc/rc.d/init.d/httpd start
=A0
Error Message :
=A0
Starting httpd: (98)Address already in use: make_sock: could not bind =
to address
no listening soc=
kets available, shutting down
Unable to open logs
=
=A0=
=A0=
[FAILED]
=A0
2. Command : $ sudo /etc/rc.d/init.d/httpd stop
=A0
Error message :
=A0
Stopping httpd: =
=A0=
[FAILED]
=A0
3.Command : $sudo /etc/rc.d/init.d/httpd restart
=A0
Error message :
=A0
Stopping httpd: =
=A0=
[FAILED]
Starting httpd: (98)Address already in use: make_sock: could n=
ot bind to address
no liste=
ning sockets available, shutting down
Unable to open logs
=A0=
=A0=
[FAILED]
Can sombody help me on this please?
=A0
Thanks!
=A0
-RR
--00504502cb155408cf048343617d--
Re: Apache/2.2.13 : Starting httpd: (98)Address alreadyin use: make_sock: could not bind to address
am 02.04.2010 18:27:28 von Nilesh Govindrajan
On 04/02/10 21:52, Ravi Roy wrote:
> Hi
> I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is that when
> I try to start and stop it using "sudo /etc/rc.d/init.d/httpd start /
> stop / restart"
> It gives me the following, I googgled a lot but could not really find a
> solution.
> 1.Command : $ sudo /etc/rc.d/init.d/httpd start
> Error Message :
> Starting httpd: (98)Address already in use: make_sock: could not bind to
> address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
> [FAILED]
> 2. Command : $ sudo /etc/rc.d/init.d/httpd stop
> Error message :
> Stopping httpd: [FAILED]
> 3.Command : $sudo /etc/rc.d/init.d/httpd restart
> Error message :
> Stopping httpd: [FAILED]
> Starting httpd: (98)Address already in use: make_sock: could not bind to
> address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
> [FAILED]
> Can sombody help me on this please?
> Thanks!
> -RR
Some other process is already running at port number 80. Use netstat
-ltnp | grep ':80' to get the process name and pid.
--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मà¥à¤°à¤¾ à¤à¤¾à¤°à¤¤ महान !
मम à¤à¤¾à¤°à¤¤: महतà¥à¤¤à¤® à¤à¤µà¤¤à¥ !
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
Re: Apache/2.2.13 : Starting httpd: (98)Address already
am 02.04.2010 21:24:58 von Eric Covener
> Is he really running port 80 on 0.0.0.0 - or is that his edit to
> obscure his real IP number? If he can't identify another process
> occupying port 80, he may want to take a closer look at his Apache
> configuration file.
0.0.0.0 means all IPV4 addresses/interfaces on the system.
--
Eric Covener
covener@gmail.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
Re: Apache/2.2.13 : Starting httpd: (98)Address alreadyin use: make_sock: could not bind to address
am 02.04.2010 22:09:46 von Reese
On 02-Apr-10 11:27, Nilesh Govindarajan wrote:
> On 04/02/10 21:52, Ravi Roy wrote:
>> address 0.0.0.0:80
>> no listening sockets available, shutting down
>> Unable to open logs
>> [FAILED]
>> Can sombody help me on this please?
>> Thanks!
>> -RR
>
> Some other process is already running at port number 80. Use netstat
> -ltnp | grep ':80' to get the process name and pid.
Is he really running port 80 on 0.0.0.0 - or is that his edit to
obscure his real IP number? If he can't identify another process
occupying port 80, he may want to take a closer look at his Apache
configuration file.
Reese
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
Re: Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address
am 03.04.2010 02:05:49 von Reese
On 02-Apr-10 14:24, Eric Covener wrote:
>> Is he really running port 80 on 0.0.0.0 - or is that his edit to
>> obscure his real IP number? If he can't identify another process
>> occupying port 80, he may want to take a closer look at his Apache
>> configuration file.
>
> 0.0.0.0 means all IPV4 addresses/interfaces on the system.
Huh, I thought it would/should have reported the IP number assigned to
the machine. But then, Apache probably doesn't care what the IP number
is, does it? I'll have to read up on that.
Reese
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
mod_disk_cache -> How big do we set the cache?
am 03.04.2010 02:20:07 von Geoff Millikan
------=_NextPart_000_0012_01CAD288.BD3C95D0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Question: What are the rules of thumb for setting the size of the cache?
Fact: The memory usage on the server is below for reference.
Fact: htcacheclean will continuously prune the cache to a certain size.
Fact: When the cache got to 587,692 items taking up 2.2GB of disk space I
started getting this error, "(103)Software caused connection abort: cache:
error returned while trying to return disk cached data"
Fact: I already read the manual, "Determining how frequently to run
htcacheclean and what target size to use for the cache is somewhat complex
and trial and error may be needed to select optimal values."
http://httpd.apache.org/docs/2.1/caching.html#disk
shell> free -m
total used free shared buffers cached
Memo: 15425 14644 781 0 1046 8867
-/+ buffers/cache: 4731 10694
Swap: 1983 0 1983
shell> cat /proc/meminfo
MemTotal: 15796044 kB
MemFree: 794144 kB
Buffers: 1071256 kB
Cached: 9080128 kB
SwapCached: 0 kB
Active: 10197176 kB
Inactive: 4076964 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 15796044 kB
LowFree: 794144 kB
SwapTotal: 2031608 kB
SwapFree: 2031544 kB
Dirty: 908 kB
Writeback: 0 kB
AnonPages: 4122388 kB
Mapped: 32604 kB
Slab: 651948 kB
PageTables: 46564 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 9929628 kB
Committed_AS: 8145084 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 2164 kB
VmallocChunk: 34359735859 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
------=_NextPart_000_0012_01CAD288.BD3C95D0
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH AQAAoIIL4TCCAj0w
ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYD VQQGEwJVUzEXMBUG
A1UEChMOVmVyaVNpZ24sIE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kdWFsIFN1YnNjcmliZXIgQ0EgLSBHMgIQK5ws4fyrLtMyHckTgW39QTAN BgkqhkiG9w0BAQEF
AASBgHMejfLk8Rou23PT1GxvOZTgwzqoDihxhk5P0scQHgFTLrZxvlkohGaR uwoMHRHj2YKmyN3/
XFB3jFXhTPE9IAa+0DFn7orfrDfN9pxUi7f8zGRyu3mVb9+oIQH0lxgAbvNj e3xxyHl0wUIeKHRO
DOJUi4TDEDo+62vOsKei5fajAAAAAAAA
------=_NextPart_000_0012_01CAD288.BD3C95D0--
Re: Apache/2.2.13 : Starting httpd: (98)Address already
am 03.04.2010 04:23:30 von Ravi Roy
--00504502cc6227c07204834bc88c
Content-Type: text/plain; charset=ISO-8859-1
On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindarajan wrote:
> On 04/02/10 21:52, Ravi Roy wrote:
>
>> Hi
>> I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is that when
>> I try to start and stop it using "sudo /etc/rc.d/init.d/httpd start /
>> stop / restart"
>> It gives me the following, I googgled a lot but could not really find a
>> solution.
>> 1.Command : $ sudo /etc/rc.d/init.d/httpd start
>> Error Message :
>> Starting httpd: (98)Address already in use: make_sock: could not bind to
>> address 0.0.0.0:80 >
>>
>>
>> no listening sockets available, shutting down
>> Unable to open logs
>> [FAILED]
>> 2. Command : $ sudo /etc/rc.d/init.d/httpd stop
>> Error message :
>> Stopping httpd: [FAILED]
>> 3.Command : $sudo /etc/rc.d/init.d/httpd restart
>> Error message :
>> Stopping httpd: [FAILED]
>> Starting httpd: (98)Address already in use: make_sock: could not bind to
>> address 0.0.0.0:80 >
>>
>>
>> no listening sockets available, shutting down
>> Unable to open logs
>> [FAILED]
>> Can sombody help me on this please?
>> Thanks!
>> -RR
>>
>
> Some other process is already running at port number 80. Use netstat -ltnp
> | grep ':80' to get the process name and pid.
>
Thanks Nilesh, netstat reveals the following :
tcp 0 0 :::80
:::* LISTEN 2056/httpd
Strange thing I notice is that start / stop / restart fails, but service
is still started, I am just curious if service is failed to start (as error
message explains) how come it is started at the first place?
To my view a command 'stop / restart' should kill a started process and
free the port '80' and next initialization should get the port without any
error.
My http configuration have 'Listen 80'
Not much into linux stuff. Forgive me if I am wrong somehere and correct
me please.
Thanks for your help.
- RR
--00504502cc6227c07204834bc88c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindara=
jan
<lists@itech7.=
com> wrote:
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
On 04/02/10 21:52, Ravi Roy wrote:
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
Hi
I installed Apache/2.2.13 (Unix) on CentOS 5.4. My =
prolbem is that when
I try to start and stop it using "sudo /etc/rc=
..d/init.d/httpd start /
stop / restart"
It gives me the followin=
g, I googgled a lot but could not really find a
solution.
1.Command : $ sudo /etc/rc.d/init.d/httpd start
Error Messa=
ge :
Starting httpd: (98)Address already in use: make_sock: could not bi=
nd to
address
0.0.0.=
0:80 <
http://0.0.0.0:8=
0>=20
no listening sockets available, shutting down
Unab=
le to open logs
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[FAILED]
=
2. Command : $ sudo /etc/rc.d/init.d/httpd stop
Error message :
Stopping httpd: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0[FAILED]
3.Command : $sudo /etc/rc.d/init.d/=
httpd restart
Error message :
Stopping httpd: =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[FAILED]
>Starting httpd: (98)Address already in use: make_sock: could not bind to
r>
address =
<>=
=20
no listening sockets available, shutting down
Unab=
le to open logs
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[FAILED]
=
Can sombody help me on this please?
Thanks!
-RR
Some other process is already running at port number=
80. Use netstat -ltnp | grep ':80' to get the process name and pid=
..
=A0
=A0 Thanks Nilesh, netstat reveals the following :
=A0
=A0 tcp =A0 0 =A0 0 :::80 =A0=
=A0 :::* =
=A0 LISTEN =A0=
2056/httpd
=A0
=A0 Strange thing I notice is that start / stop / restart fails,=
but service is still started, I am just curious if service is failed to st=
art (as error message explains) how come it is started=A0at the first place=
?=A0
=A0 To my view a=A0command 'stop / restart' should kill =
a started process and free the port '80' and next initialization sh=
ould get the=A0 port without any error.
=A0
=A0 My http configuration have 'Listen 80'=A0
=A0
=A0 Not much into linux stuff. Forgive me if I am wrong somehere=
and correct me please.
=A0
=A0Thanks for your help.
=A0
=A0 - RR
=A0
--00504502cc6227c07204834bc88c--
Re: Apache/2.2.13 : Starting httpd: (98)Address alreadyin use: make_sock: could not bind to address
am 03.04.2010 05:43:22 von Nilesh Govindrajan
On 04/03/10 07:53, Ravi Roy wrote:
>
>
> On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindarajan
> > wrote:
>
> On 04/02/10 21:52, Ravi Roy wrote:
>
> Hi
> I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is
> that when
> I try to start and stop it using "sudo /etc/rc.d/init.d/httpd
> start /
> stop / restart"
> It gives me the following, I googgled a lot but could not really
> find a
> solution.
> 1.Command : $ sudo /etc/rc.d/init.d/httpd start
> Error Message :
> Starting httpd: (98)Address already in use: make_sock: could not
> bind to
> address 0.0.0.0:80
> >
>
> no listening sockets available, shutting down
> Unable to open logs
> [FAILED]
> 2. Command : $ sudo /etc/rc.d/init.d/httpd stop
> Error message :
> Stopping httpd: [FAILED]
> 3.Command : $sudo /etc/rc.d/init.d/httpd restart
> Error message :
> Stopping httpd: [FAILED]
> Starting httpd: (98)Address already in use: make_sock: could not
> bind to
> address 0.0.0.0:80
> >
>
> no listening sockets available, shutting down
> Unable to open logs
> [FAILED]
> Can sombody help me on this please?
> Thanks!
> -RR
>
>
> Some other process is already running at port number 80. Use netstat
> -ltnp | grep ':80' to get the process name and pid.
>
> Thanks Nilesh, netstat reveals the following :
> tcp 0 0 :::80
> :::* LISTEN 2056/httpd
> Strange thing I notice is that start / stop / restart fails, but
> service is still started, I am just curious if service is failed to
> start (as error message explains) how come it is started at the first
> place?
> To my view a command 'stop / restart' should kill a started process
> and free the port '80' and next initialization should get the port
> without any error.
> My http configuration have 'Listen 80'
> Not much into linux stuff. Forgive me if I am wrong somehere and
> correct me please.
> Thanks for your help.
> - RR
>
Try using the /sbin/service command instead of this.
Also, your httpd is self compiled or installed using yum ?
And did you make any alterations (or created) /etc/rc.d/init.d/httpd ?
--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मà¥à¤°à¤¾ à¤à¤¾à¤°à¤¤ महान !
मम à¤à¤¾à¤°à¤¤: महतà¥à¤¤à¤® à¤à¤µà¤¤à¥ !
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
Re: Apache/2.2.13 : Starting httpd: (98)Address already
am 03.04.2010 06:08:17 von Ravi Roy
--00504502c62ee236d304834d3ef0
Content-Type: text/plain; charset=ISO-8859-1
On Sat, Apr 3, 2010 at 9:13 AM, Nilesh Govindarajan wrote:
> On 04/03/10 07:53, Ravi Roy wrote:
>
>>
>>
>> On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindarajan
>> > wrote:
>>
>> On 04/02/10 21:52, Ravi Roy wrote:
>>
>> Hi
>> I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is
>> that when
>> I try to start and stop it using "sudo /etc/rc.d/init.d/httpd
>> start /
>> stop / restart"
>> It gives me the following, I googgled a lot but could not really
>> find a
>> solution.
>> 1.Command : $ sudo /etc/rc.d/init.d/httpd start
>> Error Message :
>> Starting httpd: (98)Address already in use: make_sock: could not
>> bind to
>> address 0.0.0.0:80 <
>> http://0.0.0.0:80
>> >
>>
>>
>> no listening sockets available, shutting down
>> Unable to open logs
>>
>> [FAILED]
>> 2. Command : $ sudo /etc/rc.d/init.d/httpd stop
>> Error message :
>> Stopping httpd: [FAILED]
>> 3.Command : $sudo /etc/rc.d/init.d/httpd restart
>> Error message :
>> Stopping httpd: [FAILED]
>> Starting httpd: (98)Address already in use: make_sock: could not
>> bind to
>> address 0.0.0.0:80 <
>> http://0.0.0.0:80
>> >
>>
>>
>> no listening sockets available, shutting down
>> Unable to open logs
>>
>> [FAILED]
>> Can sombody help me on this please?
>> Thanks!
>> -RR
>>
>>
>> Some other process is already running at port number 80. Use netstat
>> -ltnp | grep ':80' to get the process name and pid.
>>
>> Thanks Nilesh, netstat reveals the following :
>> tcp 0 0 :::80
>> :::* LISTEN 2056/httpd
>> Strange thing I notice is that start / stop / restart fails, but
>> service is still started, I am just curious if service is failed to
>> start (as error message explains) how come it is started at the first
>> place?
>> To my view a command 'stop / restart' should kill a started process
>> and free the port '80' and next initialization should get the port
>> without any error.
>> My http configuration have 'Listen 80'
>> Not much into linux stuff. Forgive me if I am wrong somehere and
>> correct me please.
>> Thanks for your help.
>> - RR
>>
>>
> Try using the /sbin/service command instead of this.
>
> Also, your httpd is self compiled or installed using yum ?
>
> And did you make any alterations (or created) /etc/rc.d/init.d/httpd ?
>
>
> Thanks Nilesh,
I tried ;
command : sudo /sbin/service httpd restart
Error message :
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to
address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
I compiled httpd server is myself on CentOS 5.4, I did not make any
alterations to /etc/rc.d/init.d/httpd.
Thanks
-RR
--00504502c62ee236d304834d3ef0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On Sat, Apr 3, 2010 at 9:13 AM, Nilesh Govindara=
jan
<lists@itech7.=
com> wrote:
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
On 04/03/10 07:53, Ravi Roy wrote:
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<mailto:
_blank">lists@itech7.com>> wrote:
=A0 =A0On 04/02/10 21:52=
, Ravi Roy wrote:
=A0 =A0 =A0 =A0Hi
=A0 =A0 =A0 =A0I installed Ap=
ache/2.2.13 (Unix) on CentOS 5.4. My prolbem is
=A0 =A0 =A0 =A0that when
=A0 =A0 =A0 =A0I try to start and stop it using=
"sudo /etc/rc.d/init.d/httpd
=A0 =A0 =A0 =A0start /
=A0 =A0 =A0=
=A0stop / restart"
=A0 =A0 =A0 =A0It gives me the following, I goo=
ggled a lot but could not really
=A0 =A0 =A0 =A0find a
=A0 =A0 =A0 =A0solution.
=A0 =A0 =A0 =A01.Comma=
nd : $ sudo /etc/rc.d/init.d/httpd start
=A0 =A0 =A0 =A0Error Message :<=
br>=A0 =A0 =A0 =A0Starting httpd: (98)Address already in use: make_sock: co=
uld not
=A0 =A0 =A0 =A0bind to
=A0 =A0 =A0 =A0address
=3D"http://0.0.0.0/" target=3D"_blank">0.0.0.0:80 <
/0.0.0.0/" target=3D"_blank">http://0.0.0.0/> <
0.0.0.0/" target=3D"_blank">http://0.0.0.0:80
=A0 =A0 =A0 =A0<
http://0.0=
..0.0/>>=20
=A0 =A0 =A0 =A0no listening sockets available, sh=
utting down
=A0 =A0 =A0 =A0Unable to open logs
=A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[FAILED]
=A0 =A0 =A0 =A02. Comma=
nd : $ sudo /etc/rc.d/init.d/httpd stop
=A0 =A0 =A0 =A0Error message :
=A0 =A0 =A0 =A0Stopping httpd: =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0[FAILED]
=A0 =A0 =A0 =A03.Command : $sudo /etc/rc.d/init.d/httpd res=
tart
=A0 =A0 =A0 =A0Error message :
=A0 =A0 =A0 =A0Stopping httpd: =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0[FAILED]
=A0 =A0 =A0 =A0Starting httpd: (98)Address already in use: make_sock: could=
not
=A0 =A0 =A0 =A0bind to
=A0 =A0 =A0 =A0address
ttp://0.0.0.0/" target=3D"_blank">0.0.0.0:80 <
0.0/" target=3D"_blank">http://0.0.0.0/> <
..0/" target=3D"_blank">http://0.0.0.0:80
=A0 =A0 =A0 =A0<
http://0.0=
..0.0/>>=20
=A0 =A0 =A0 =A0no listening sockets available, sh=
utting down
=A0 =A0 =A0 =A0Unable to open logs
=A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[FAILED]
=A0 =A0 =A0 =A0Can somb=
ody help me on this please?
=A0 =A0 =A0 =A0Thanks!
=A0 =A0 =A0 =A0-RR
=A0 =A0Some other p=
rocess is already running at port number 80. Use netstat
=A0 =A0-ltnp | =
grep ':80' to get the process name and pid.
=A0 Thanks Niles=
h, netstat reveals the following :
=A0 =A0 tcp =A0 =A0 =A0 =A00 =A0 =A0 =A00 :::80
:::* =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0LISTEN =A0 =A0 =A02056/httpd
=A0 =A0 Strange=
thing I notice is that start / stop / restart fails, but
service is sti=
ll started, I am just curious if service is failed to
start (as error message explains) how come it is started at the first
pl=
ace?
=A0 =A0 To my view a command 'stop / restart' should kill a=
started process
and free the port '80' and next initialization =
should get the =A0port
without any error.
=A0 =A0 My http configuration have 'Listen 80'=
;
=A0 =A0 Not much into linux stuff. Forgive me if I am wrong somehere a=
nd
correct me please.
=A0 =A0 Thanks for your help.
=A0 - RR
r>
Try using the /sbin/service command instead of this.
Also, your =
httpd is self compiled or installed using yum ?
And did you make any=
alterations (or created) /etc/rc.d/init.d/httpd ?
Thanks Nilesh,
=A0
I tried ;=A0
=A0
command : sudo /sbin/service httpd restart
=A0
Error message :
=A0
Stopping httpd: =
=A0=
[FAILED]
Starting httpd: (98)Address already in use: make_sock: could n=
ot bind to address
no liste=
ning sockets available, shutting down
Unable to open logs
=A0=
=A0=
[FAILED]
I compiled=A0httpd server is myself on CentOS 5.4, I did not make any =
alterations to /etc/rc.d/init.d/httpd.
=A0
Thanks
=A0
-RR
--00504502c62ee236d304834d3ef0--
Re: Apache/2.2.13 : Starting httpd: (98)Address alreadyin use: make_sock: could not bind to address
am 03.04.2010 06:25:40 von Nilesh Govindrajan
On 04/03/10 09:38, Ravi Roy wrote:
>
>
> Try using the /sbin/service command instead of this.
>
> Also, your httpd is self compiled or installed using yum ?
>
> And did you make any alterations (or created) /etc/rc.d/init.d/httpd ?
>
>
> Thanks Nilesh,
> I tried ;
> command : sudo /sbin/service httpd restart
> Error message :
> Stopping httpd: [FAILED]
> Starting httpd: (98)Address already in use: make_sock: could not bind to
> address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
> [FAILED]
> I compiled httpd server is myself on CentOS 5.4, I did not make any
> alterations to /etc/rc.d/init.d/httpd.
> Thanks
> -RR
>
Check if rpm -q httpd gives some response ?
If it does, you've found the bug. There are two versions of httpd
installed in your OS.
One is compiled by you and one installed by yum.
Now what is happening that, your compiled version I suppose located at
/usr/local/apache2, is started somehow, whereas the yum version isn't
running.
Now when you try to issue commands to apache using /etc/rc.d scripts or
the service command, it will try to start apache from /usr/sbin instead
of /usr/local/apache2/bin and that's why you are getting this error.
Your apache (compiled) daemon is already listening on port 80, and the
init script tries to bind it.
The only solution to this is you remove yum's edition using:
yum remove httpd
This _will_ remove /etc/rc.d/init.d/httpd as well.
You will have to use /usr/local/apache2/bin/apachectl to control the
apache daemon.
--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मà¥à¤°à¤¾ à¤à¤¾à¤°à¤¤ महान !
मम à¤à¤¾à¤°à¤¤: महतà¥à¤¤à¤® à¤à¤µà¤¤à¥ !
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
Re: Apache/2.2.13 : Starting httpd: (98)Address already
am 03.04.2010 06:42:19 von Ravi Roy
--000e0cd154a4973aa404834db8aa
Content-Type: text/plain; charset=ISO-8859-1
On Sat, Apr 3, 2010 at 9:55 AM, Nilesh Govindarajan wrote:
> On 04/03/10 09:38, Ravi Roy wrote:
>
>
>>
>>
>> Try using the /sbin/service command instead of this.
>>
>> Also, your httpd is self compiled or installed using yum ?
>>
>> And did you make any alterations (or created) /etc/rc.d/init.d/httpd ?
>>
>>
>> Thanks Nilesh,
>> I tried ;
>> command : sudo /sbin/service httpd restart
>> Error message :
>> Stopping httpd: [FAILED]
>> Starting httpd: (98)Address already in use: make_sock: could not bind to
>> address 0.0.0.0:80 >
>>
>>
>> no listening sockets available, shutting down
>> Unable to open logs
>> [FAILED]
>> I compiled httpd server is myself on CentOS 5.4, I did not make any
>> alterations to /etc/rc.d/init.d/httpd.
>> Thanks
>> -RR
>>
>>
> Check if rpm -q httpd gives some response ?
>
> If it does, you've found the bug. There are two versions of httpd installed
> in your OS.
>
> One is compiled by you and one installed by yum.
>
> Now what is happening that, your compiled version I suppose located at
> /usr/local/apache2, is started somehow, whereas the yum version isn't
> running.
>
> Now when you try to issue commands to apache using /etc/rc.d scripts or the
> service command, it will try to start apache from /usr/sbin instead of
> /usr/local/apache2/bin and that's why you are getting this error. Your
> apache (compiled) daemon is already listening on port 80, and the init
> script tries to bind it.
>
> The only solution to this is you remove yum's edition using:
>
> yum remove httpd
>
> This _will_ remove /etc/rc.d/init.d/httpd as well.
>
> You will have to use /usr/local/apache2/bin/apachectl to control the apache
> daemon.
>
>
>
>
Thanks Nilsesh again for quick response.
Command : sudo rpm -q httpd
Response :
httpd-2.2.3-31.el5.centos.4
yes you are right; my compiled version is installed under
/usr/local/Apache2
I will remove the compiled version and let you know the results.
Thanks again!
-RR
--000e0cd154a4973aa404834db8aa
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On Sat, Apr 3, 2010 at 9:55 AM, Nilesh Govindara=
jan
<lists@itech7.=
com> wrote:
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On 04/03/10 09:38, Ravi Roy wrot=
e:
<snip>
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
=A0 =A0Try using the /sbin/service command instea=
d of this.
=A0 =A0Also, your httpd is self compiled or installed usi=
ng yum ?
=A0 =A0And did you make any alterations (or created) /etc/r=
c.d/init.d/httpd ?
Thanks Nilesh,
I tried ;
command : sudo /sbin/service httpd r=
estart
Error message :
Stopping httpd: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[FAILED]
Star=
ting httpd: (98)Address already in use: make_sock: could not bind to
address =
<>=
=20
no listening sockets available, shutting down
Unab=
le to open logs
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0[FAILED]
=
I compiled httpd server is myself on CentOS 5.4, I did not make any
alterations to /etc/rc.d/init.d/httpd.
Thanks
-RR
kquote>
Check if rpm -q httpd gives some response ?
If it does, y=
ou've found the bug. There are two versions of httpd installed in your =
OS.
One is compiled by you and one installed by yum.
Now what is hap=
pening that, your compiled version I suppose located at /usr/local/apache2,=
is started somehow, whereas the yum version isn't running.
Now when you try to issue commands to apache using /etc/rc.d scripts or the=
service command, it will try to start apache from /usr/sbin instead of /us=
r/local/apache2/bin and that's why you are getting this error. Your apa=
che (compiled) daemon is already listening on port 80, and the init script =
tries to bind it.
The only solution to this is you remove yum's edition using:
>yum remove httpd
This _will_ remove /etc/rc.d/init.d/httpd as well.=
You will have to use /usr/local/apache2/bin/apachectl to control th=
e apache daemon.=20
=A0
=A0Thanks Nilsesh again for quick response.
=A0
=A0 Command : sudo rpm -q httpd
=A0
Response :
httpd-2.2.3-31.el5.centos.4
=A0
yes you are right; my compiled version is installed under=A0 /usr/loca=
l/Apache2
I will remove the compiled version and let you know the results.
Thanks again!
=A0
-RR
--000e0cd154a4973aa404834db8aa--
Re: Apache/2.2.13 : Starting httpd: (98)Address alreadyin use: make_sock: could not bind to address
am 03.04.2010 06:58:30 von Nilesh Govindrajan
On 04/03/10 10:12, Ravi Roy wrote:
>
>
> On Sat, Apr 3, 2010 at 9:55 AM, Nilesh Govindarajan
> > wrote:
>
> On 04/03/10 09:38, Ravi Roy wrote:
>
>
>
>
> Try using the /sbin/service command instead of this.
>
> Also, your httpd is self compiled or installed using yum ?
>
> And did you make any alterations (or created)
> /etc/rc.d/init.d/httpd ?
>
>
> Thanks Nilesh,
> I tried ;
> command : sudo /sbin/service httpd restart
> Error message :
> Stopping httpd: [FAILED]
> Starting httpd: (98)Address already in use: make_sock: could not
> bind to
> address 0.0.0.0:80
> >
>
> no listening sockets available, shutting down
> Unable to open logs
> [FAILED]
> I compiled httpd server is myself on CentOS 5.4, I did not make any
> alterations to /etc/rc.d/init.d/httpd.
> Thanks
> -RR
>
>
> Check if rpm -q httpd gives some response ?
>
> If it does, you've found the bug. There are two versions of httpd
> installed in your OS.
>
> One is compiled by you and one installed by yum.
>
> Now what is happening that, your compiled version I suppose located
> at /usr/local/apache2, is started somehow, whereas the yum version
> isn't running.
>
> Now when you try to issue commands to apache using /etc/rc.d scripts
> or the service command, it will try to start apache from /usr/sbin
> instead of /usr/local/apache2/bin and that's why you are getting
> this error. Your apache (compiled) daemon is already listening on
> port 80, and the init script tries to bind it.
>
> The only solution to this is you remove yum's edition using:
>
> yum remove httpd
>
> This _will_ remove /etc/rc.d/init.d/httpd as well.
>
> You will have to use /usr/local/apache2/bin/apachectl to control the
> apache daemon.
>
>
> Thanks Nilsesh again for quick response.
> Command : sudo rpm -q httpd
> Response :
> httpd-2.2.3-31.el5.centos.4
> yes you are right; my compiled version is installed under
> /usr/local/Apache2
> I will remove the compiled version and let you know the results.
> Thanks again!
> -RR
Do not remove the compiled version !
The version provided by CentOS is very old and *may* contain a lot of
security holes and other bugs.
Keep softwares up to date, so that you don't fall prey to hackers.
--
Nilesh Govindarajan
Site & Server Administrator
www.itech7.com
मà¥à¤°à¤¾ à¤à¤¾à¤°à¤¤ महान !
मम à¤à¤¾à¤°à¤¤: महतà¥à¤¤à¤® à¤à¤µà¤¤à¥ !
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
Re: Apache/2.2.13 : Starting httpd: (98)Address already
am 03.04.2010 08:18:58 von Charan
--000e0cd29a70686d5604834f136e
Content-Type: text/plain; charset=ISO-8859-1
I remember this has happened to me once. if there is SELinux, disable it and
try again
Thanks,
Charan
On Fri, Apr 2, 2010 at 9:08 PM, Ravi Roy wrote:
>
>
> On Sat, Apr 3, 2010 at 9:13 AM, Nilesh Govindarajan wrote:
>
>> On 04/03/10 07:53, Ravi Roy wrote:
>>
>>>
>>>
>>> On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindarajan
>>> > wrote:
>>>
>>> On 04/02/10 21:52, Ravi Roy wrote:
>>>
>>> Hi
>>> I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is
>>> that when
>>> I try to start and stop it using "sudo /etc/rc.d/init.d/httpd
>>> start /
>>> stop / restart"
>>> It gives me the following, I googgled a lot but could not really
>>> find a
>>> solution.
>>> 1.Command : $ sudo /etc/rc.d/init.d/httpd start
>>> Error Message :
>>> Starting httpd: (98)Address already in use: make_sock: could not
>>> bind to
>>> address 0.0.0.0:80 <
>>> http://0.0.0.0:80
>>> >
>>>
>>>
>>> no listening sockets available, shutting down
>>> Unable to open logs
>>>
>>> [FAILED]
>>> 2. Command : $ sudo /etc/rc.d/init.d/httpd stop
>>> Error message :
>>> Stopping httpd:
>>> [FAILED]
>>> 3.Command : $sudo /etc/rc.d/init.d/httpd restart
>>> Error message :
>>> Stopping httpd:
>>> [FAILED]
>>> Starting httpd: (98)Address already in use: make_sock: could not
>>> bind to
>>> address 0.0.0.0:80 <
>>> http://0.0.0.0:80
>>> >
>>>
>>>
>>> no listening sockets available, shutting down
>>> Unable to open logs
>>>
>>> [FAILED]
>>> Can sombody help me on this please?
>>> Thanks!
>>> -RR
>>>
>>>
>>> Some other process is already running at port number 80. Use netstat
>>> -ltnp | grep ':80' to get the process name and pid.
>>>
>>> Thanks Nilesh, netstat reveals the following :
>>> tcp 0 0 :::80
>>> :::* LISTEN 2056/httpd
>>> Strange thing I notice is that start / stop / restart fails, but
>>> service is still started, I am just curious if service is failed to
>>> start (as error message explains) how come it is started at the first
>>> place?
>>> To my view a command 'stop / restart' should kill a started process
>>> and free the port '80' and next initialization should get the port
>>> without any error.
>>> My http configuration have 'Listen 80'
>>> Not much into linux stuff. Forgive me if I am wrong somehere and
>>> correct me please.
>>> Thanks for your help.
>>> - RR
>>>
>>>
>> Try using the /sbin/service command instead of this.
>>
>> Also, your httpd is self compiled or installed using yum ?
>>
>> And did you make any alterations (or created) /etc/rc.d/init.d/httpd ?
>>
>>
>> Thanks Nilesh,
>
> I tried ;
>
> command : sudo /sbin/service httpd restart
>
> Error message :
>
> Stopping httpd: [FAILED]
> Starting httpd: (98)Address already in use: make_sock: could not bind to
> address 0.0.0.0:80
> no listening sockets available, shutting down
> Unable to open logs
> [FAILED]
> I compiled httpd server is myself on CentOS 5.4, I did not make any
> alterations to /etc/rc.d/init.d/httpd.
>
> Thanks
>
> -RR
>
>
--000e0cd29a70686d5604834f136e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
I remember this has happened to me once. if there is SELinux, disable it an=
d try again
Thanks,
Charan
On Fri, Apr 2, 2010 at 9:08 PM, Ravi Roy=
<ravi.aroy@gma=
il.com> wrote:
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Sat, Apr 3,=
2010 at 9:13 AM, Nilesh Govindarajan
<
to:lists@itech7.com" target=3D"_blank">lists@itech7.com> wrot=
e:
0px 0.8ex;border-left:#ccc 1px solid">
On 04/03/10 07:53, Ravi Roy wrote:
0px 0.8ex;border-left:#ccc 1px solid">
On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindarajan <
f=3D"mailto:lists@itech7.com" target=3D"_blank">lists@itech7.com
iv>
<mailto:
lists=
@itech7.com>> wrote:
=A0 =A0On 04/02/10 21:52, Ravi Roy wr=
ote:
=A0 =A0 =A0 =A0Hi
=A0 =A0 =A0 =A0I installed Apache/2.2.13 (=
Unix) on CentOS 5.4. My prolbem is
=A0 =A0 =A0 =A0that when
=A0 =A0 =A0 =A0I try to start and stop it using=
"sudo /etc/rc.d/init.d/httpd
=A0 =A0 =A0 =A0start /
=A0 =A0 =A0=
=A0stop / restart"
=A0 =A0 =A0 =A0It gives me the following, I goo=
ggled a lot but could not really
=A0 =A0 =A0 =A0find a
=A0 =A0 =A0 =A0solution.
=A0 =A0 =A0 =A01.Comma=
nd : $ sudo /etc/rc.d/init.d/httpd start
=A0 =A0 =A0 =A0Error Message :<=
br>=A0 =A0 =A0 =A0Starting httpd: (98)Address already in use: make_sock: co=
uld not
=A0 =A0 =A0 =A0bind to
=A0 =A0 =A0 =A0address
0.0.0.=
0:80 <
http://0.0.0.0/<=
/a>> <http://0.0.0.0:80=
=A0 =A0 =A0 =A0<
http://0.0=
..0.0/>>=20
=A0 =A0 =A0 =A0no listening sockets available, shutting down
r>=A0 =A0 =A0 =A0Unable to open logs
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0[FAILED]
=A0 =A0 =A0 =A02. Command : $ sudo /=
etc/rc.d/init.d/httpd stop
=A0 =A0 =A0 =A0Error message :
=A0 =A0 =A0 =A0Stopping httpd: =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0[FAILED]
=A0 =A0 =A0 =A03.Command : $sudo /etc/rc.d/init.d/httpd res=
tart
=A0 =A0 =A0 =A0Error message :
=A0 =A0 =A0 =A0Stopping httpd: =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0[FAILED]
=A0 =A0 =A0 =A0Starting httpd: (98)Address already in use: make_sock: could=
not
=A0 =A0 =A0 =A0bind to
=A0 =A0 =A0 =A0address
ttp://0.0.0.0/" target=3D"_blank">0.0.0.0:80 <
0.0/" target=3D"_blank">http://0.0.0.0/> <
..0/" target=3D"_blank">http://0.0.0.0:80
=A0 =A0 =A0 =A0<
http://0.0=
..0.0/>>=20
=A0 =A0 =A0 =A0no listening sockets available, shutting down
r>=A0 =A0 =A0 =A0Unable to open logs
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0[FAILED]
=A0 =A0 =A0 =A0Can sombody help me o=
n this please?
=A0 =A0 =A0 =A0Thanks!
=A0 =A0 =A0 =A0-RR
=A0 =A0Some other p=
rocess is already running at port number 80. Use netstat
=A0 =A0-ltnp | =
grep ':80' to get the process name and pid.
=A0 Thanks Niles=
h, netstat reveals the following :
=A0 =A0 tcp =A0 =A0 =A0 =A00 =A0 =A0 =A00 :::80
:::* =A0 =A0 =A0 =A0 =A0=
=A0 =A0 =A0 =A0 =A0 =A0 =A0LISTEN =A0 =A0 =A02056/httpd
=A0 =A0 Strange=
thing I notice is that start / stop / restart fails, but
service is sti=
ll started, I am just curious if service is failed to
start (as error message explains) how come it is started at the first
pl=
ace?
=A0 =A0 To my view a command 'stop / restart' should kill a=
started process
and free the port '80' and next initialization =
should get the =A0port
without any error.
=A0 =A0 My http configuration have 'Listen 80'=
;
=A0 =A0 Not much into linux stuff. Forgive me if I am wrong somehere a=
nd
correct me please.
=A0 =A0 Thanks for your help.
=A0 - RR
r>
Try using the /sbin/service command instead of this.
Also, your =
httpd is self compiled or installed using yum ?
And did you make any=
alterations (or created) /etc/rc.d/init.d/httpd ?
Thanks Nilesh,
=A0
I tried ;=A0
=A0
command : sudo /sbin/service httpd restart
=A0
Error message :
=A0
Stopping httpd: =
=A0=
[FAILED]
Starting httpd: (98)Address already in use: =
make_sock: could not bind to address
=3D"_blank">0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
=A0=
=A0=
[FAILED]
I compiled=A0httpd server is myself on CentOS 5.4, I did not make any =
alterations to /etc/rc.d/init.d/httpd.
=A0
Thanks
=A0
-RR
--000e0cd29a70686d5604834f136e--
Re: Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to addres
am 03.04.2010 10:59:38 von Nick Kew
On 2 Apr 2010, at 17:22, Ravi Roy wrote:
> 1.Command : $ sudo /etc/rc.d/init.d/httpd start
> =20
> Error Message :
> =20
> Starting httpd: (98)Address already in use: make_sock: could not bind =
to address 0.0.0.0:80
You might have another instance running, in which case you should
check your packager's documentation, or go to your distro's support =
list.
The other possibility is that you have more than one Listen directive
for port 80. Then the first one starts listening, and the second causes
an error.
--=20
Nick Kew=
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See 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
Re: Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to addres
am 03.04.2010 13:32:55 von alin vasile
--0-1122188204-1270294375=:18646
Content-Type: text/plain; charset=us-ascii
Are you sure that you have the permisson to listen on port 80?
________________________________
From: Ravi Roy
To: users@httpd.apache.org
Sent: Sat, April 3, 2010 7:08:17 AM
Subject: Re: [users@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error
On Sat, Apr 3, 2010 at 9:13 AM, Nilesh Govindarajan wrote:
On 04/03/10 07:53, Ravi Roy wrote:
>
>
>>
>>On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindarajan
>>
>>> wrote:
>>
>> On 04/02/10 21:52, Ravi Roy wrote:
>>
>> Hi
>> I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is
>>>> that when
>> I try to start and stop it using "sudo /etc/rc.d/init.d/httpd
>> start /
>> stop / restart"
>> It gives me the following, I googgled a lot but could not really
>>>> find a
>> solution.
>> 1.Command : $ sudo /etc/rc.d/init.d/httpd start
>> Error Message :
>> Starting httpd: (98)Address already in use: make_sock: could not
>> bind to
>> address 0.0.0.0:80
>>>> >
>>
>>
>>
>> no listening sockets available, shutting down
>> Unable to open logs
>> [FAILED]
>> 2. Command : $ sudo /etc/rc.d/init.d/httpd stop
>>>> Error message :
>> Stopping httpd: [FAILED]
>> 3.Command : $sudo /etc/rc.d/init.d/httpd restart
>> Error message :
>> Stopping httpd: [FAILED]
>>>> Starting httpd: (98)Address already in use: make_sock: could not
>> bind to
>> address 0.0.0.0:80
>>>> >
>>
>>
>>
>> no listening sockets available, shutting down
>> Unable to open logs
>> [FAILED]
>> Can sombody help me on this please?
>>>> Thanks!
>> -RR
>>
>>
>> Some other process is already running at port number 80. Use netstat
>> -ltnp | grep ':80' to get the process name and pid.
>>
>> Thanks Nilesh, netstat reveals the following :
>>>> tcp 0 0 :::80
>>:::* LISTEN 2056/httpd
>> Strange thing I notice is that start / stop / restart fails, but
>>service is still started, I am just curious if service is failed to
>>>>start (as error message explains) how come it is started at the first
>>place?
>> To my view a command 'stop / restart' should kill a started process
>>and free the port '80' and next initialization should get the port
>>>>without any error.
>> My http configuration have 'Listen 80'
>> Not much into linux stuff. Forgive me if I am wrong somehere and
>>correct me please.
>> Thanks for your help.
>> - RR
>>
>>
>Try using the /sbin/service command instead of this.
>
>Also, your httpd is self compiled or installed using yum ?
>
>And did you make any alterations (or created) /etc/rc.d/init.d/httpd ?
>
>
>
Thanks Nilesh,
I tried ;
command : sudo /sbin/service httpd restart
Error message :
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
I compiled httpd server is myself on CentOS 5.4, I did not make any alterations to /etc/rc.d/init.d/httpd.
Thanks
-RR
--0-1122188204-1270294375=:18646
Content-Type: text/html; charset=us-ascii
Are you sure that you have the permisson to listen on port 80?
From: Ravi Roy <ravi.aroy@gmail.com>
To: users@httpd.apache.org
Sent: Sat, April 3, 2010 7:08:17 AM
Subject: Re: [users@httpd] Apache/2.2.13 : Starting httpd: (
98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error
On Sat, Apr 3, 2010 at 9:13 AM, Nilesh Govindarajan
<> wrote:
On 04/03/10 07:53, Ravi Roy wrote:
On Fri, Apr 2, 2010 at 9:57 PM, Nilesh Govindarajan <
<mailto:>> wrote:
On 04/02/10 21:52, Ravi Roy wrote:
Hi
I installed Apache/2.2.13 (Unix) on CentOS 5.4. My prolbem is
that when
I try to start and stop it using "sudo /etc/rc.d/init.d/httpd
start /
stop / restart"
It gives me the following, I googgled a lot but could not really
find a
solution.
1.Command : $ sudo /etc/rc.d/init.d/httpd start
Error Message :
Starting httpd: (98)Address already in use: make_sock: could not
bind to
address
<>>
no listening sockets available, shutting down
Unable to open logs
[FAILED]
2. Command : $ sudo /etc/rc.d/init.d/httpd stop
Error message :
Stopping httpd: [FAILED]
3.Command : $sudo /etc/rc.d/init.d/httpd restart
Error message :
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not
bind to
address
<>>
no listening sockets available, shutting down
Unable to open logs
[FAILED]
Can sombody help me on this please?
Thanks!
-RR
Some other process is already running at port number 80. Use netstat
-ltnp | grep ':80' to get the process name and pid.
Thanks Nilesh, netstat reveals the following :
tcp 0 0 :::80
:::* LISTEN 2056/httpd
Strange thing I notice is that start / stop / restart fails, but
service is still started, I am just curious if service is failed to
start (as error message explains) how come it is started at the first
place?
To my view a command 'stop / restart' should kill a started process
and free the port '80' and next initialization should get the port
without any error.
My http configuration have 'Listen 80'
Not much into linux stuff. Forgive me if I am wrong somehere and
correct me please.
Thanks for your help.
- RR
Try using the /sbin/service command instead of this.
Also, your httpd is self compiled or installed using yum ?
And did you make any alterations (or created) /etc/rc.d/init.d/httpd ?
Thanks Nilesh,
I tried ;
command : sudo /sbin/service httpd restart
Error message :
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address
no listening sockets available, shutting down
Unable to open logs
[FAILED]
I compiled httpd server is myself on CentOS 5.4, I did not make any alterations to /etc/rc.d/init.d/httpd.
Thanks
-RR
--0-1122188204-1270294375=:18646--
Re: Apache/2.2.13 : Starting httpd: (98)Address already
am 03.04.2010 16:40:12 von Ravi Roy
--000e0cd5cdc8cb56750483561236
Content-Type: text/plain; charset=ISO-8859-1
On Sat, Apr 3, 2010 at 5:02 PM, alin vasile wrote:
> Are you sure that you have the permisson to listen on port 80?
>
User logged in (current user) in the system is part of sudoers. I think
that is sufficient ?
Thanks.
-RR
--000e0cd5cdc8cb56750483561236
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On Sat, Apr 3, 2010 at 5:02 PM, alin vasile
n dir=3D"ltr"><
alinachegalat=
i@yahoo.com> wrote:
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
serif">
serif">Are you sure that you have the permisson to listen on port 80?
=
div>
=A0
=A0
=A0User logged in (current user) in the system=A0is part of=A0sudoers.=
I think that is sufficient ?
=A0Thanks.
-RR
--000e0cd5cdc8cb56750483561236--
Re: Apache/2.2.13 : Starting httpd: (98)Address already
am 03.04.2010 16:50:50 von Ravi Roy
--000e0cd5f6dcd607f50483563848
Content-Type: text/plain; charset=ISO-8859-1
On Sat, Apr 3, 2010 at 8:10 PM, Ravi Roy wrote:
>
>
> On Sat, Apr 3, 2010 at 5:02 PM, alin vasile wrote:
>
>> Are you sure that you have the permisson to listen on port 80?
>>
>
>
> User logged in (current user) in the system is part of sudoers. I think
> that is sufficient ?
> Thanks.
> -RR
>
Also, current user is also mentioned in httpd.conf Apache :
user username
group groupname
Thanks
-RR
--000e0cd5f6dcd607f50483563848
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
=A0
Also, current user is also=A0mentioned=A0in httpd.conf=A0Apache=A0:
iv>
=A0
user username
group groupname
=A0
Thanks
-RR
=A0
=A0
=A0
--000e0cd5f6dcd607f50483563848--
Re: Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to addres
am 03.04.2010 17:05:02 von alin vasile
--0-571722140-1270307102=:66149
Content-Type: text/plain; charset=us-ascii
yes, should be enough.
have you tried killing the running process that listens to that port and start apache again?
________________________________
From: Ravi Roy
To: users@httpd.apache.org
Sent: Sat, April 3, 2010 5:50:50 PM
Subject: Re: [users@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error
On Sat, Apr 3, 2010 at 8:10 PM, Ravi Roy wrote:
>
>
>On Sat, Apr 3, 2010 at 5:02 PM, alin vasile wrote:
>
>Are you sure that you have the permisson to listen on port 80?
>>
>
>
> User logged in (current user) in the system is part of sudoers. I think that is sufficient ?
> Thanks.
>-RR
Also, current user is also mentioned in httpd.conf Apache :
user username
group groupname
Thanks
-RR
--0-571722140-1270307102=:66149
Content-Type: text/html; charset=us-ascii
yes, should be enough.
have you tried killing the running process that listens to that port and start apache again?
From: Ravi Roy <ravi.aroy@gmail.com>
To: users@httpd.apache.org
Sent: Sat, April 3, 2010 5:50:50 PM
Subj
ect: Re: [users@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error
On Sat, Apr 3, 2010 at 8:10 PM, Ravi Roy
<> wrote:
On Sat, Apr 3, 2010 at 5:02 PM, alin vasile
<> wrote:
Are you sure that you have the permisson to listen on port 80?
User logged in (current user) in the system is part of sudoers. I think that is sufficient ?
Thanks.
-RR
Also, current user is also mentioned in httpd.conf Apache :
user username
group groupname
Thanks
-RR
--0-571722140-1270307102=:66149--
Re: Apache/2.2.13 : Starting httpd: (98)Address already
am 04.04.2010 11:29:52 von Ravi Roy
--001636e1f911d05542048365dad8
Content-Type: text/plain; charset=ISO-8859-1
On Sat, Apr 3, 2010 at 8:35 PM, alin vasile wrote:
> yes, should be enough.
>
> have you tried killing the running process that listens to that port and
> start apache again?
>
Yes, tried, but same error.
Thanks!
-RR
--001636e1f911d05542048365dad8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On Sat, Apr 3, 2010 at 8:35 PM, alin vasile
n dir=3D"ltr"><
alinachegalat=
i@yahoo.com> wrote:
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
serif">
yes, should be enough.
have you tried killing the running proce=
ss that listens to that port and start apache again?
<=
/blockquote>
=A0
Yes, tried, but same error.
=A0
Thanks!
-RR
--001636e1f911d05542048365dad8--
Re: Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to addres
am 04.04.2010 12:30:11 von alin vasile
--0-975987404-1270377011=:16741
Content-Type: text/plain; charset=us-ascii
so you killed the existing process that listens to 80 and started again. now you can see that a process listens to 80?
also please check if the log directories configured in httpd.conf exist and the apache user has permission to write in them.
________________________________
From: Ravi Roy
To: users@httpd.apache.org
Sent: Sun, April 4, 2010 12:29:52 PM
Subject: Re: [users@httpd] Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error
On Sat, Apr 3, 2010 at 8:35 PM, alin vasile wrote:
yes, should be enough.
>
>have you tried killing the running process that listens to that port and start apache again?
>
Yes, tried, but same error.
Thanks!
-RR
--0-975987404-1270377011=:16741
Content-Type: text/html; charset=us-ascii
so you killed the existing process that listens to 80 and started again. now you can see that a process listens to 80?
also please check if the log directories configured in httpd.conf exist and the apache user has permission to write in them.
From: Ravi Roy <ravi.aroy@gmail.com>
To: users@httpd.apache.o
rg
Sent: Sun, April 4, 2010 12:29:52 PM
Subject: Re: [users@httpd]
Apache/2.2.13 : Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 error
On Sat, Apr 3, 2010 at 8:35 PM, alin vasile
<> wrote:
yes, should be enough.
have you tried killing the running process that listens to that port and start apache again?
Yes, tried, but same error.
Thanks!
-RR
--0-975987404-1270377011=:16741--
htcacheclean
am 06.04.2010 17:21:06 von Geoff Millikan
------=_NextPart_000_01EE_01CAD562.1A7D21C0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
How big do we set our mod_disk_cache cache? 100 Megs? 1 Gig?
"Determining how frequently to run htcacheclean and what target size to use
for the cache is somewhat complex and trial and error may be needed to
select optimal values."
http://httpd.apache.org/docs/2.1/caching.html#disk
------=_NextPart_000_01EE_01CAD562.1A7D21C0
Content-Type: application/x-pkcs7-signature;
name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="smime.p7s"
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH AQAAoIIL4TCCAj0w
ggGmAhEAzbp/VvDf5LxU/iKss3KqVTANBgkqhkiG9w0BAQIFADBfMQswCQYD VQQGEwJVUzEXMBUG
A1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsTLkNsYXNzIDEgUHVibGlj IFByaW1hcnkgQ2Vy
dGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNOTYwMTI5MDAwMDAwWhcNMjgwODAx MjM1OTU5WjBfMQsw
CQYDVQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xNzA1BgNVBAsT LkNsYXNzIDEgUHVi
bGljIFByaW1hcnkgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwgZ8wDQYJKoZI hvcNAQEBBQADgY0A
MIGJAoGBAOUZv22jVmEtmUhx9mfeuY3rt56GgAqRDvo4Ja9GiILlc6igmyRd DR/MZW4MsNBWhBiH
mgabEKFz37RYOWtuwfYV1aioP6oSBo0xrH+wNNePNGeICc0UEeJORVZpH3gC gNrcR5EpuzbJY1zF
4Ncth3uhtzKwezC6Ki8xqu6jZ9rbAgMBAAEwDQYJKoZIhvcNAQECBQADgYEA TD+4i8Zo3+5DMw5d
6abLB4RNejP/khv0Nq3YlSI2aBFsfELM85wuxAc/FLAPT/+Qknb54rxK6Y/N oIAK98Up8YIiXbix
3YEjo3slFUYweRb46gVLlH8dwhzI47f0EEA8E8NfH1PoSOSGtHuhNbB7Jbq4 046rPzidADQAmPPR
cZQwggTMMIIDtKADAgECAhArnCzh/Ksu0zIdyROBbf1BMA0GCSqGSIb3DQEB BQUAMIHdMQswCQYD
VQQGEwJVUzEXMBUGA1UEChMOVmVyaVNpZ24sIEluYy4xHzAdBgNVBAsTFlZl cm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