I am facing the below issue while starting the xampp on linux box.
I am able to start the mysql and proFPD but i couldn't satrt the apache.
It showing another webserver is already running.
XAMPP: Starting Apache fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL already running.
XAMPP: Starting ProFTPD already running.
- if you start lampp and are fetching apache starting issue run below
command
sudo /etc/init.d/apache2 stop && sudo /opt/lampp/lampp start
Seems like you have httpd daemon running already.
Go to terminal and type service httpd stop
Then try starting XAMPP
Related
I am trying to make a webserver on my raspberryPI to run laravel application. I installed php7.2 and nginx. Everything was working well, I was able to see default Laravel page on my computer, so the webserver worked. Unfortunately, after rebooting raspberry the file php7.2-fpm.sock is not created and running sudo service php7.2-fpm restart does not work. It doesnt show any errors, just freezes and I have to click ctrl+c. What is interesting, after a while the above command starts working, the file php7.2-fpm.sock is created and the server works. How can I fix this bug? I need webserver to start automatically after booting raspberryPI.
My /etc/php/7.2/fpm/pool.d/www.conf file:
listen = /var/run/php/php7.2-fpm.sock
When I'm trying to launch XAMPP control panel, In the 'Manage Servers' section is is shown that 'Apache Web Server' is Stopped and it does not start. when l run the command line it says that another server is running. So how to find and stop that already running server.
TERMINAL:
Starting XAMPP for Linux 7.2.1-0...
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...ok.
Might be You are having another instance of apache2 running on your system, so first stop it, run following command and then restart xampp:
sudo /etc/init.d/apache2 stop
I'm facing an issue where I can't restart the apache server or starting it. The error says "There was an error while performing the operation". I don't know what causing this problem.
Maybe someone can help me to solve this problem ?
Thank you.
EDIT::
OS Distro: CentOS 6 64bit
Apache Version: Apache/2.2.31 (Unix) DAV/2 mod_ssl/2.2.31 OpenSSL/1.0.1u mod_wsgi/4.4.22 Python/2.7.11
I just reboot my vps and then normally work again.
So maybe it because there is some config is not correct.
First, check the is there any service running on port 80 by executing the following command
lsof -i:80
if you found anything just kill it by
kill -9(processid)
Now run the following command to restart the apache:
service httpd restart
This command will work for both Centos as well as ubuntu.
if still not starting the apache then you can check the apache log located at
/var/log/apache/
I can't start apache because I have this error "Apache web server is already running".
I go this code "sudo /opt/lampp/lampp start"
and I obtain:
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
have just done:
sudo apt-get remove apache2
But it doesn't resolve my problem. I modify apache port at 81. Anyone can help me?
This work for me
on command line,
ps ax | grep httpd
and
kill -9 [PID]
sudo /opt/lampp/lampp restart
Try this.....
$sudo /etc/init.d/apache2 stop
$sudo /etc/init.d/mysql stop (may be failed, don't worry, move further)
$sudo /etc/init.d/proftpd stop
I have installed xaamp on mac min..if i start it from clicking start in manage-os x its not starting apache or mysql server..
but if writing this code in terminal
sudo /Applications/XAMPP/xamppfiles/bin/apachectl start
sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start
I tried by changing ports of config file but didn't work.