Solution for another daemon running

Posted: September 29, 2011 in Linux Stuff

If you are encountered following error while starting your localhost. I came up with a soluton without any hassle

sandeep@rtcamp:~$ sudo /opt/lampp/lampp startStarting XAMPP for Linux 1.7.4…
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.

Solution: Stop your other services
TO DO SO
TO Stop another web server daemon
sudo /etc/init.d/apache2 stop

To Stop another MySQL daemon
sudo /etc/init.d/mysql stop

To Stop another FTP daemon
sudo /etc/init.d/ftp stop

Restart your localhost
sudo /etc/opt/lampp/lampp restart

Advertisements
Comments
  1. prathap says:

    /etc/init.d/mysql stop
    bash: /etc/init.d/mysql: No such file or directory

    :/home/prathap# sudo /etc/init.d/FTP stop
    sudo: /etc/init.d/FTP: command not found

    • Hey Pratap,
      You need to use lower case just to highlight FTP I capitalized it ;), anyways sorry for that.
      You can use command mentioned below to stop or start ftp service.
      /etc/init.d/ftp stop
      /etc/init.d/ftp start

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s