Apache fails.

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

Apache fails.

Postby joose790 » 03. January 2014 00:03

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?
Joser
joose790
 
Posts: 1
Joined: 28. September 2013 22:59
Operating System: Ubuntu 12.04

Re: Apache fails.

Postby Altrea » 03. January 2014 00:41

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 24 guests