Thursday, 13 October 2011

XAMPP – “Another daemon is already running” issue

When you try to start the xampp1.7.4 server from the terminal it is showing

cluster3-desktop lampp # /opt/lampp/lampp start
Starting XAMPP for Linux 1.7.4...
XAMPP: Another web server daemon is already running.
XAMPP: Starting MySQL...
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.

To  solve this problem you only have to type: 
sudo /etc/init.d/apache2 stop

The web server will be stopped now.

cluster3-desktop lampp # sudo /etc/init.d/apache2 stop
 * Stopping web server apache2                                                  apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
 ... waiting
cluster3-desktop lampp # /opt/lampp/lampp start
Starting XAMPP for Linux 1.7.4...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: XAMPP-MySQL is already running.
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.