0
votes

I Installed XAMPP Linux 1.8.2 and tried to start server(/opt/lampp/lampp start) which is responding like this

Starting XAMPP for Linux 1.8.2-2...
XAMPP: Starting Apache...fail.
XAMPP:  Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...fail.
XAMPP:  Another FTP daemon is already running.

and i can't open localhost,xampp,phpmyadmin etc.

I already have older version of xampp in opt directory which i have renamed to lampp-bk and newer version is like lampp.

Thanks in advance.

2

2 Answers

0
votes

This problem is due to port conflict.you can solve this by doing this process first stop apach2 if it running by following command

sudo service apache2 stop

then try starting it by command

sudo /opt/lampp/lampp start

if does not resolve change ur port no by this way

open httpd.conf in.lampp search for line listen 80

Change it to

listen 0.0.0.0:2145

and to httpd-ssl.conf change listen 443 to

listen 0.0.0.0:16443

Then open /opt/lampp/lampp

Check for line 80 to 2145 and line 443 to 16443

Then start lamp again

it will success

in browser open localhost;2145

0
votes

You need to kill processes that are running on these ports, if it says that apache is already running it means that you have another daemon running on port 80 to see which process running on port 80 execute sudo netstat -tunap | grep :80 you need to see the source IP on port 80 and not the destination. you can kill these process with sudo kill -s 9 pid replace pid with the right process id if you have problem with ssl you need to change the port 80 with 443