Apache can't bind

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Apache can't bind

Postby recordista » 08. September 2006 02:09

I have a mail package with its own httpd which binds to two of my three IP addresses. I've edited /opt/lampp/etc/httpd.conf so that apache is binding only to the unused IP address, yet I still get

XAMPP: Another web server daemon is already running.

whenever I try to start XAMPP.

Running an netstat -l shows bindings only to the two addresses expected.



Thoughts?
recordista
 
Posts: 5
Joined: 08. September 2006 01:59

Postby recordista » 08. September 2006 03:12

Manually starting httpd binds to the expected address. This looks like an issue with the XAMPP scripts not understanding the httpd.conf file?
recordista
 
Posts: 5
Joined: 08. September 2006 01:59

Postby recordista » 19. September 2006 20:16

Any suggestions on this?
recordista
 
Posts: 5
Joined: 08. September 2006 01:59

Postby Izzy » 20. September 2006 03:56

2 apache servers on the same port is a no no. Change the listening port on one of them.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby recordista » 20. September 2006 04:48

There is only one apache server, and it is configured to bind only to the address which the mailserver does not bind on port 80 or 443. Again, starting apache with its own default script works fine, but the XAMPP script does not start httpd.
recordista
 
Posts: 5
Joined: 08. September 2006 01:59

Postby bradpeabody » 08. October 2006 07:40

Looks like the simple solution is to just edit the "lampp" script to change the ports to match your changes in httpd.conf and/or httpd-ssl.conf.

Just open the "lampp" file and do a search for 80 and then 443 - you'll see what I mean - you just change it to match your new port number and you're set (doesn't address the issue of doing this with multiple IPs, xampp on one and something else on the other - but works great if you want to just use a different port).
bradpeabody
 
Posts: 1
Joined: 08. October 2006 07:29

Postby recordista » 08. October 2006 19:23

Thanks, but there's no use in picking nonstandard ports--need to use 80 and 443.
recordista
 
Posts: 5
Joined: 08. September 2006 01:59


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests