LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-12-2005, 07:52 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Rep: Reputation: 52
apache2 no socket


New to Debian Sarge 3.1 and its Apache2 configuration.
Can anyone help with the problem described below?

lt:/home/rene# /etc/init.d/apache2 stop
Stopping web server: Apache2 ... no pidfile found! not running?.
lt:/home/rene# /etc/init.d/apache2 start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
lt:/home/rene#

Thank you for your help.

Last edited by rblampain; 12-12-2005 at 07:55 AM.
 
Old 12-12-2005, 07:58 AM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Quote:
Originally Posted by rblampain
lt:/home/rene# /etc/init.d/apache2 start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address [::]:80
Looks like you've got something else serving on port 80.
Try this as an example:
Code:
# netstat -tap | grep www
tcp        0      0 *:www                   *:*                     LISTEN     30383/apache2
 
Old 12-12-2005, 09:50 PM   #3
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
Thank you. Here is the result.
My knowledge is not good enough to make sense of it.

lt:/home/rene# netstat -tap | grep www
tcp 0 0 *:www *:* LISTEN 3 740/apache-perl
tcp 0 0 192.168.1.13:35059 72.14.203.104:www ESTABLISHED2 420/mozilla-bin
tcp 0 0 192.168.1.13:35058 72.14.203.104:www ESTABLISHED2 420/mozilla-bin
 
Old 12-12-2005, 11:07 PM   #4
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Quote:
Originally Posted by rblampain
tcp 0 0 *:www *:* LISTEN 3 740/apache-perl
OK, so you already have a webserver running.
My guess would be that you have apache 1.x installed.
Are you sure you want that?
Either stop/kill the server and/or uninstall it.
 
Old 12-13-2005, 10:00 PM   #5
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 11
Posts: 1,288

Original Poster
Rep: Reputation: 52
Yes, that was the problem, I Installed Apache1.3.perl thinking I was installing a module for Apache2 (failing to read properly what I was doing).

Thank you for the help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2.0.52, t1lib-5.0.2, php-apache2-5.0.2 wizard7423 Slackware 2 04-04-2011 08:09 PM
Apache2 apache2-common WebDav timgerr Linux - Networking 1 08-25-2005 09:41 PM
how to uninstall apache2 which is installed by emerge apache2 flybirdlong Linux - Software 1 07-17-2004 11:46 AM
A little help with apache2 FearPasion710 Linux - Software 1 10-12-2003 06:07 PM
Apache2 help! FearPasion710 Linux - General 3 10-04-2003 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration