Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

XAMPP: Stopping Apache…not running.XAMPP: Stopping MySQL…not running.

It seems like XAMPP is trying to stop Apache and MySQL, but it’s indicating that they are not running. This message typically occurs when XAMPP detects that Apache and MySQL are not currently active processes.

Error :-

Restarting XAMPP for Linux 8.1.25-0...
XAMPP: Stopping Apache...not running.
XAMPP: Stopping MySQL...not running.
XAMPP: Stopping ProFTPD...not running.
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.

Solutions:-

sudo /opt/lampp/lampp status

Output:-

Version: XAMPP for Linux 8.1.25-0
Apache is not running.
MySQL is running.
ProFTPD is not running.
sudo lsof -i :80
root@ip-172-31-41-118:/opt# sudo lsof -i :80
COMMAND     PID     USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
apache2 2691659     root    4u  IPv6 12227001      0t0  TCP *:http (LISTEN)
apache2 2748703 www-data    4u  IPv6 12227001      0t0  TCP *:http (LISTEN)
apache2 2748704 www-data    4u  IPv6 12227001      0t0  TCP *:http (LISTEN)

Now kill the pid using below command

sudo kill 2748703

Next to restart the apache server

sudo /opt/lampp/lampp restart

Now its working

Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.

Related Posts

ERROR 1153 (08S01) at line 1041: Got a packet bigger than ‘max_allowed_packet’ bytes

Error:- Solution Open below file And put the below code Next restart the server.

Allowed memory size of 1098907648 bytes exhausted (tried to allocate 390399640 bytes)

Its error coming bacause The “Allowed memory size exhausted” error in PHP indicates that your script has attempted to use more memory than the limit allowed by…

List of MySQL Query Performance in Laravel ?

In this tutorial we’re going to learn what are the steps for impoving the MySQL Query performance in Laravel. 1. What is Chunk function ? The chunk method in…

Using of Chunk function increase the Mysql query performance ?

What is Chunk function ? The chunk method in Laravel is primarily designed to help with memory efficiency rather than directly improving MySQL query performance. It allows…

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x