FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 02-18-2009, 08:36 PM
Florian Kulzer
 
Default apache error

On Wed, Feb 18, 2009 at 16:29:14 -0500, Paul Cartwright wrote:
> On Wed February 18 2009, ss11223 wrote:
> > When I see socket already in use it usually means that apache is
> > already running.
> >
> > check with "ps -A | grep apache"
> >
> > and then
> >
> > "killal apache2" and try again

[...]

> # killall apache2
> apache2: no process killed
>
> # /etc/init.d/apache2 restart
> Restarting web server: apache2(98)Address already in use: make_sock: could not
> bind to address [::]:80
> (98)Address already in use: make_sock: could not bind to address [::]:80
> (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!

Try these commands to see which process is bound to port 80:

lsof -i :80
netstat -plant | grep ':80 '

(Netstat will only show you the process name and ID if you run it as
root.)

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-18-2009, 09:20 PM
Paul Cartwright
 
Default apache error

On Wed February 18 2009, Florian Kulzer wrote:
> > (98)Address already in use: make_sock: could not bind to address [::]:80
> > (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!
>
> Try these commands to see which process is bound to port 80:
>
> lsof -i :80
> netstat -plant | grep ':80 '

actually, I almost figured that out, I also setup nginx on port 80:
# lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
nginx 23139 root 6u IPv4 4859411 TCP *:www (LISTEN)
nginx 23140 www-data 6u IPv4 4859411 TCP *:www (LISTEN)
nginx 23141 www-data 6u IPv4 4859411 TCP *:www (LISTEN)

so I killed nginx, but still got the same error, so I changed apache to port
8000. Nothing else is using that port:
# netstat -plant | grep ':8000 '
paulandcilla:/etc/apache2# lsof -i :8000
paulandcilla:/etc/apache2#

yet still..
# /etc/init.d/apache2 restart
Restarting web server: apache2(98)Address already in use: make_sock: could not
bind to address [::]:8000

this still doesn't answer my original question of how to actually remove all
the config files for apache, and basically start over.

--
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-18-2009, 09:35 PM
Florian Kulzer
 
Default apache error

On Wed, Feb 18, 2009 at 17:20:43 -0500, Paul Cartwright wrote:

[...]

> this still doesn't answer my original question of how to actually remove all
> the config files for apache, and basically start over.

dpkg -S /etc/apache2

will list all packages that have files in /etc/apache2. Purge all these
packages, remove whatever additional files you may have put into
/etc/apache2 (e.g. in sites-available), reinstall the apache packages
that you need.

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-21-2009, 09:20 AM
Chris Bannister
 
Default apache error

On Wed, Feb 18, 2009 at 05:20:43PM -0500, Paul Cartwright wrote:
> this still doesn't answer my original question of how to actually remove all
> the config files for apache, and basically start over.

Please read the man page of your preferred package manager. It explains
how to remove a package *and* its configuration files.


--
Chris.
======
I contend that we are both atheists. I just believe in one fewer god
than you do. When you understand why you dismiss all the other
possible gods, you will understand why I dismiss yours.
-- Stephen F Roberts


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-22-2012, 07:49 AM
Luigi Rosa
 
Default Apache error

I have a VMware virtual machine with CentOS 6 32bit updated to the lates patches

Yesterday Apache started to give this error:


[Tue May 22 09:46:07 2012] [error] (38)Function not implemented:
apr_socket_accept: (client socket)
[Tue May 22 09:46:08 2012] [error] (38)Function not implemented:
apr_socket_accept: (client socket)
[Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
apr_socket_accept: (client socket)
[Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
apr_socket_accept: (client socket)
[Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
apr_socket_accept: (client socket)
[Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
apr_socket_accept: (client socket)
[Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
apr_socket_accept: (client socket)
[Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
apr_socket_accept: (client socket)
[Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
apr_socket_accept: (client socket)
[Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
apr_socket_accept: (client socket)


Any suggestion about this?



Ciao,
luigi

--
/
+--[Luigi Rosa]--


An idealist is one who, on noticing that roses smell better than a cabbage,
concludes that it will also make better soup.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-22-2012, 01:01 PM
Bob Hoffman
 
Default Apache error

On 5/22/2012 3:49 AM, Luigi Rosa wrote:
> (38)Function not implemented
https://www.google.com/search?q=+%2838%29Function+not+implemented+apache
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-22-2012, 01:03 PM
Bob Hoffman
 
Default Apache error

On 5/22/2012 3:49 AM, Luigi Rosa wrote:
> I have a VMware virtual machine with CentOS 6 32bit updated to the lates patches
>
> Yesterday Apache started to give this error:
>
>
> [Tue May 22 09:46:07 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:08 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
>
>
> Any suggestion about this?
>
>
>
> Ciao,
> luigi
>
my guess is this is a non base package apache install or you changed
something in the settings.
you updated the kernel a few days ago and now an issue with file locking.
that is what I got from the threads I read...
I don't know about your set up though.

keep plugging away, whatever it is should be simple to fix once you find it.
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-22-2012, 01:14 PM
Johnny Hughes
 
Default Apache error

On 05/22/2012 02:49 AM, Luigi Rosa wrote:
> I have a VMware virtual machine with CentOS 6 32bit updated to the lates patches
>
> Yesterday Apache started to give this error:
>
>
> [Tue May 22 09:46:07 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:08 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
> [Tue May 22 09:46:09 2012] [error] (38)Function not implemented:
> apr_socket_accept: (client socket)
>
>
> Any suggestion about this?
>

Did you update any packages ... we released a new nfs-utils package
yesterday.

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-22-2012, 02:26 PM
Luigi Rosa
 
Default Apache error

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bob Hoffman said the following on 22/05/12 15:01:

>> (38)Function not implemented

> https://www.google.com/search?q=+%2838%29Function+not+implemented+apache


Googled for two days before writing on this list.

Everything I found was about Gentoo compilation errors, old Suse issues and
apr installation issues

Needless to say, I already reinstalled Apache and apr and disabled many modules.



Ciao,
luigi

- --
/
+--[Luigi Rosa]--


Things should be made as simple as possible, but no simpler.
--Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+7ohwACgkQ3kWu7Tfl6ZQLbACdEpBFeXf+5C TYO4iZ+qID6mq5
Yy4AmwbjR/4HYbP9MUg8+dXL3sN5jk6v
=9v5H
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 05-22-2012, 02:52 PM
Luigi Rosa
 
Default Apache error

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bob Hoffman said the following on 22/05/12 15:03:
> On 5/22/2012 3:49 AM, Luigi Rosa wrote:
>> I have a VMware virtual machine with CentOS 6 32bit updated to the lates
>> patches
>>
>> Yesterday Apache started to give this error:
>>
>>
>> [Tue May 22 09:46:07 2012] [error] (38)Function not implemented:
>> apr_socket_accept: (client socket)

> my guess is this is a non base package apache install or you changed
> something in the settings. you updated the kernel a few days ago and now an
> issue with file locking. that is what I got from the threads I read... I
> don't know about your set up though.
>
> keep plugging away, whatever it is should be simple to fix once you find
> it.

Removed all php, apr and httpd packages

Removed /etc/httpd directory

Removed /var/www directory

Reinstalled with

yum install httpd php php-pear php-cli php-intl php-mysql php-imap
php-mbstring php-xml php-pdo php-gd php-common

Started apache (no config changes)


Still getting the same error.






Ciao,
luigi

- --
/
+--[Luigi Rosa]--


Bar Chart: A list of places to go when it's Miller time.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+7qDsACgkQ3kWu7Tfl6ZSQJACgjQx+HZ85a8 QwtWs9HCCkiHmM
6oUAnjqWdIh27pQKBMpRWBGq2tUES+oc
=7pDk
-----END PGP SIGNATURE-----
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 12:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org