Page 1 of 1

Apache fails.

PostPosted: 03. January 2014 00:03
by joose790
I have this problem...

Code: Select all
sudo /opt/lampp/lampp start
Starting XAMPP for Linux 1.8.3-2...
XAMPP: Starting Apache...fail.
XAMPP:  Starting diagnose...
XAMPP:  Sorry, I've no idea what's going wrong.
XAMPP:  Please contact our forum http://community.apachefriends.org/f/
Last 10 lines of "/opt/lampp/logs/error_log":
tail: no se puede abrir «/opt/lampp/logs/error.log» para lectura: No existe el archivo o el directorio
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.


Code: Select all
sudo /opt/lampp/lampp stop
Stopping XAMPP for Linux 1.8.3-2...
XAMPP: Stopping Apache...not running.
XAMPP: Stopping MySQL...ok.
XAMPP: Stopping ProFTPD...ok.


When I open /opt/lampp/logs is not exists the error.log file, instead of that, is error_log, and it contains the following:
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs


... I have installed xampp on Ubuntu 12.04, and uninstalled apache2 before installing xampp. I don know what to do. Could someone help me solve this problem?

Re: Apache fails.

PostPosted: 03. January 2014 00:41
by Altrea
Check which program is using port 80 with the command
Code: Select all
lsof -i tcp:80

or
Code: Select all
sudo netstat -nlp


information from here: http://superuser.com/questions/42843/fi ... t-in-linux