ran

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-09-24 21:29 PDT
Interesting ports on wsip-xxx-xxx-xxx-xxx.sd.sd.cox.net (xxx.xxxx.xxx.xxx):
PORT   STATE  SERVICE
80/tcp closed http

ran

[EMAIL PROTECTED] /]#   grep "^Listen" /etc/httpd/conf/httpd.conf
Listen 80

ran 
vi /etc/httpd/conf/httpd.conf

but couldnt figure out how to edit
Listen 80
to Listen 8880

Thanks,
Michael




----------------------------------------> Date: Mon, 24 Sep 2007 20:22:47 
-0700> From: [EMAIL PROTECTED]> To: [email protected]> Subject: Re: 
httpd wont start>> Michael Lynch wrote:>> Jim,>> Rebooted same problem>>>> 
[EMAIL PROTECTED] sbin]# ./apachectl graceful>> httpd not running, trying to 
start>> (98)Address already in use: make_sock: could not bind to address 
72.214.18.70:80>> no listening sockets available, shutting down>> Unable to 
open logs>>>> tried netstat -antp>>>> [EMAIL PROTECTED] sbin]# netstat -antp>> 
Active Internet connections (servers and established)>> Proto Recv-Q Send-Q 
Local Address Foreign Address State PID/Program name>> tcp 0 0 127.0.0.1:2208 
0.0.0.0:* LISTEN 2249/hpiod>> tcp 0 0 0.0.0.0:875 0.0.0.0:* LISTEN 
1965/rpc.statd>> tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 2800/vino-server>> tcp 0 
0 0.0.0.0:111 0.0.0.0:* LISTEN 1944/portmap>> tcp 0 0 127.0.0.1:25 0.0.0.0:* 
LISTEN 2315/sendmail: acce>> tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN 
2254/python>> tcp 0 0 :::22 :::* LISTEN 2280/sshd>> tcp 0 0 ::1:631 :::* LISTEN 
2266/cupsd>>>>>> But what is interesting is during reboot eth0 failed to 
initialize because>> xxx.xxx.xxx.xxx is assigned to another host>> I had to go 
in through network GUI and reactivate eth0>> Even though all the ip and dns ifo 
was still there>>>> Puzzling! :-(>> I thought of a couple other things:>> 
Running> nmap localhost -p80> (You can do yum install nmap if you don't have 
nmap)> (even better if you could run mmap of x.x.x.x -p80 from another box)> It 
should report something like> 80/tcp closed> If this reports 80 is open, then 
maybe you have been hacked and netstat> is a bogus program hiding the open port 
80.>> If ok so far,> grep "^Listen" /etc/httpd/conf/httpd.conf>> I expect to 
see> Listen 80>> Anything else and we should stop and ask why.>> If it is 80, I 
might try editing that file (as root) to change that line to> Listen 8880> and 
then try starting httpd, and see if the error message changes (or> goes 
away).>> Regards,> ..jim>> --> [email protected]> 
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to