Help - Search - Members - Calendar
Full Version: Apache Problems With Redhat 6.2
Linuxhelp > Support > Technical Support
cyris
Hello! My Redhat 6.2 system came with apache 1.3x installed and I wanted to install apache 2x. The installation went great but I cannot seem to get apache 1.3x to stop binding to port 80. This is the error i get with running apache 2x from init.

(48)Address already in use: make_sock: could not bind to address 192.168.1.2:80
no listening sockets available, shutting down
Unable to open logs

I also get this error when i try to start apache manually

Netstat -a reveals this..sorry for just dumping this but I figure the more information the better. I dont see anything binded to port 80. any ideas?

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 232 192.168.1.2:ssh 192.168.1.101:3406 ESTABLISHED
tcp 0 0 192.168.1.2:1025 efnet.xs4all.nl:ircd ESTABLISHED
tcp 0 0 192.168.1.2:ssh 192.168.1.101:3401 ESTABLISHED
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
tcp 0 0 *:printer *:* LISTEN
tcp 0 0 *:linuxconf *:* LISTEN
tcp 0 0 *:finger *:* LISTEN
tcp 0 0 *:login *:* LISTEN
tcp 0 0 *:shell *:* LISTEN
tcp 0 0 *:telnet *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 *:auth *:* LISTEN
tcp 0 0 *:942 *:* LISTEN
tcp 0 0 *:1024 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
udp 0 0 *:ntalk *:*
udp 0 0 *:talk *:*
udp 0 0 *:940 *:*
udp 0 0 *:1024 *:*
udp 0 0 *:sunrpc *:*
raw 0 0 *:icmp *:* 7
raw 0 0 *:tcp *:* 7
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 0 [ ACC ] STREAM LISTENING 502 /dev/printer
unix 0 [ ACC ] STREAM LISTENING 592 /tmp/.font-unix/fs-1
unix 0 [ ACC ] STREAM LISTENING 552 /dev/gpmctl
unix 0 [ ] STREAM CONNECTED 177 @00000019
unix 5 [ ] DGRAM 417 /dev/log
unix 0 [ ] DGRAM 596
unix 0 [ ] DGRAM 537
unix 0 [ ] DGRAM 501
unix 0 [ ] DGRAM 440
unix 0 [ ] DGRAM 428

CODE
[/CODE][CODE]
cyris
sorry about the code there, dont know what happened. I would also like to add that I can stop apache 1.3x and that netstat -a is after i had removed apache 1.3x from init.
cyris
Got it. There was a problem with my httpd.conf.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.