Operating Systems > Linux and UNIX
apache
Master of Reality:
there is something listening on my "http" port, i dont know what it is though. i did "netstat -a | grep http" it didnt show anything either time i did "netstat -a | grep www" i also did just "netstat -a" i looked at all the connections and it shows something listening on my http port.
voidmain:
You should be able to do a "netstat -p" and get the PID of the process that has port 80 open. When you know the PID then do a "ps auxwww | grep <PID>" (replace <PID> with the actual PID number from the netstat output). This should answer that question.
[ May 08, 2002: Message edited by: VoidMain ]
Master of Reality:
netstat -p doesnt show the port numbers. It also doesnt show all the programs connected to the internet (it doesnt show squid).
I tried "netstat -p | grep www" and netstat -p | grep http" (http and www are the same, arent they?) neither of those showed any programs.
Apache still says that the port is already in use and i cant figure out why.
I definatly do not have any ipchains doing anything to that port.
I dont have any other programs running other than squid.
voidmain:
Yes, on the newer RedHat's it would show up as http and not www. If nothing shows up when you run that command (as root) then you definately have a problem with httpd.conf. Did you change the config file at all? Comment out all the "Listen" and "Bind*" tags if you modified them and see if Apache will start. Understand that the logs are your friend. *error_log and /var/log/messages especially.
Master of Reality:
someone try to go to http://chatroom.fuckmicrosoft.com
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version