I can neither start Apache nor MySQL

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

I can neither start Apache nor MySQL

Postby jaguaranthony » 25. April 2016 19:47

➜ ~ sudo /opt/lampp/lampp startapache
[sudo] password for jaguar:
XAMPP: Starting Apache...fail.
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.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
jaguaranthony
 
Posts: 1
Joined: 21. April 2016 13:39
XAMPP version: 5.6.19
Operating System: ubuntu

Re: I can neither start Apache nor MySQL

Postby Xamppingaround » 07. June 2016 09:10

I had a similar problem in CentOS, could not start the services with the command line, but if you go to the folder where you installed Apache, Mysql, Php,....there should be an executing file called "Manager-Linux.run", double click on it and select the "Manage Servers" tab, then at the bottom you should have a button called "Start All", click on it and wait a few seconds, they should start....
Xamppingaround
 
Posts: 19
Joined: 20. July 2012 19:06
XAMPP version: Bitnami
Operating System: Windows Vista/CentOS6.8

Re: I can neither start Apache nor MySQL

Postby Nobbie » 07. June 2016 19:38

jaguaranthony wrote: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


As you can see (or *should* see), there is bug in that shell script. They mixed up the filenames "error_log" and "error.log". Simply fix that error in the script (look onto your harddisk, whether error.log or error_log is the correct name).
Nobbie
 
Posts: 8772
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests