Cannot start XAMPP for Linux

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

Cannot start XAMPP for Linux

Postby colinsa » 20. March 2013 19:28

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?
colinsa
 
Posts: 3
Joined: 20. March 2013 19:15
Operating System: Windows 7

Re: Cannot start XAMPP for Linux

Postby colinsa » 20. March 2013 20:15

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.
colinsa
 
Posts: 3
Joined: 20. March 2013 19:15
Operating System: Windows 7

Re: Cannot start XAMPP for Linux

Postby colinsa » 20. March 2013 20:26

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)
colinsa
 
Posts: 3
Joined: 20. March 2013 19:15
Operating System: Windows 7

Re: Cannot start XAMPP for Linux

Postby JonB » 21. March 2013 13:15

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 23 guests