Advertisement

03.12.2004 at 12:07PM PST, ID: 20917206
[x]
Attachment Details

Can't Start Apache

Asked by savvior in FreeBSD

Tags: httpd, apache, listening, start

docs# apachectl restart
httpd not running, trying to start
(48)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs


There is no httpd.pid in the logs directory.  

I may have installed apache twice by accident. I would assume this has something to do with the problem.

My co-lo facillity support team wants lots of $$ to get this straightened up.  They said the apache webserver must be removed and reinstalled. I signed up for this site on the reccomendation of a friend. So I wanted to try here first before shelling out the green.

All of this was working fine yesterday, I am not sure what happened. Also I have tried rebooting as well and I have also tried httpd -k graceful etc....

BTW I am running FreeBSD

Here is some other info.. not sure if it is useful or not

docs# nslookup -q=txt -class=CHAOS version.bind. 0
Server:  ns1.adc-labs.com
Address:  63.148.11.14

version.bind    text = "9.2.1"

docs# netstat -A inet -lnp and lsof -i tcp:443
netstat: kvm not available
Active Internet connections
Socket   Proto Recv-Q Send-Q  Local Address      Foreign Address    (state)
d5d3adc0 tcp4       0      0  savvior-web..ssh   host-216-153-188.3 ESTABLISHED
netstat: kvm not available
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
d6fb2d20 stream      0      0        0 d6fb2dc0        0        0
d6fb2dc0 stream      0      0        0 d6fb2d20        0        0
d6fb2e60 dgram       0      0        0 d6f84f00        0 d6fb2f00
d6fb2f00 dgram       0      0        0 d6f84f00        0        0
d6f84f00 dgram       0      0 d6f7ec40        0 d6fb2e60        0 /var/run/log
docs# lsof -i tcp:443 and lsof -i tcp:80
lsof: Command not found.
docs# ps -ax | grep http
  225  p0  S+     0:00.00 grep http
  134 con  I+     0:00.04 /usr/local/sbin/httpd -k start -DSSL
docs# /usr/local/sbin/httpd -k stop
httpd (no pid file) not running
docs# /usr/local/sbin/httpd -k start
(48)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs

docs#


Start Free Trial
[+][-]03.12.2004 at 10:38PM PST, ID: 10586657

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: FreeBSD
Tags: httpd, apache, listening, start
Sign Up Now!
Solution Provided By: gheist
Participating Experts: 2
Solution Grade: C
 
 
[+][-]03.15.2004 at 06:33AM PST, ID: 10597389

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.10.2004 at 07:24AM PDT, ID: 12027026

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32