Page 1 of 1

I can neither start Apache nor MySQL

PostPosted: 25. April 2016 19:47
by jaguaranthony
➜ ~ 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

Re: I can neither start Apache nor MySQL

PostPosted: 07. June 2016 09:10
by Xamppingaround
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....

Re: I can neither start Apache nor MySQL

PostPosted: 07. June 2016 19:38
by Nobbie
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).