Page 1 of 1

Cannot start XAMPP for Linux

PostPosted: 20. March 2013 19:28
by colinsa
Ok, not a master at linux by any stretch. This is what I'm doing. I have a linux box that I'm trying to get mediawiki setup on but XAMPP will not run, please see below:

Starting XAMPP for Linux 1.8.1...
XAMPP: Another web server daemon is already running.
XAMPP: Another MySQL daemon is already running.
XAMPP: Another FTP daemon is already running.
XAMPP for Linux started.

I've tried stopping the process using the "/opt/lampp/lampp stop" command and restarting with no luck. I need all three of these services running and I have no idea what to do next. Can someone please help?

Re: Cannot start XAMPP for Linux

PostPosted: 20. March 2013 20:15
by colinsa
Got the ProFTPD backup by restarting the linux box but the web server and MySQL are still acting up. Still getting the same messages from my previous post for them.

Re: Cannot start XAMPP for Linux

PostPosted: 20. March 2013 20:26
by colinsa
And she's backup and running. Here's what I did:

1) Restart the Linux box
2) Run "/opt/lampp/lampp start" (This got ProFTPD backup and running but Apache and MySQL were still acting up)
3) Run "service mysql stop" (This got MySQL back)
4) Run "/opt/lampp/lampp restart" (Apache was still acting up, to test)
5) Run "sudo /etc/init.d/apache2 stop" (This got my Apache backup)
6) Run "/opt/lampp/lampp restart" (Everything is backup and running properly)

Re: Cannot start XAMPP for Linux

PostPosted: 21. March 2013 13:15
by JonB
There's also that very straight-forward - "sudo /opt/lampp/lampp stop"

There a whole repertoire of XAMPP/lamp command line options. Most are on this page:
http://www.apachefriends.org/en/xampp-linux.html

/opt/lamp/lampp is actually a bash script. You should read through it so see all things it can do. (like restorable backups for instance) :mrgreen:

Additionally and Important -

3) Run "service mysql stop" (This got MySQL back)
4) Run "/opt/lampp/lampp restart" (Apache was still acting up, to test)
5) Run "sudo /etc/init.d/apache2 stop" (This got my Apache backup


UNLESS you created 'starts' in your init.d or init.local for the XAMPP installed Apache and MySQL - this may indicate that your distribution had a pre-built LAMP stack already running (which you probably should disable if you want smooth sailing).

Good Luck
8)