Using 22.04 on a laptop. I have XAMPP installed, but when I try to start XAMPP through Terminal, it says
Starting XAMPP for Linux 8.2.0-0... XAMPP: Starting Apache...fail. XAMPP: Another web server is already running. XAMPP: Starting MySQL...ok. I was puzzled because there is no reason Apache should be running on its own. So I shutdown the system and then started it again, and tried
sudo systemctl status apache2.service I got this and more saying Apache is running
● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor prese> Active: active (running) since Tue 2023-12-26 21:18:54 IST; 50s ago Docs: https://httpd.apache.org/docs/2.4/ Process: 1136 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SU> Main PID: 1292 (apache2) Tasks: 55 (limit: 27942) Memory: 7.8M CPU: 41ms CGroup: /system.slice/apache2.service ├─1292 /usr/sbin/apache2 -k start ├─1293 /usr/sbin/apache2 -k start └─1294 /usr/sbin/apache2 -k start Is it possible to find out which / what is starting Apache and using it? I couldn't find anything under startup applications other than Nvidia X Server Settings and SSH Key Agent.
Is it a security issue? Should I be worried? What should I do? Thanks.
Edit 1 :
I should add that this XAMPP is been in use on this laptop for around 6 months now. I used sudo /opt/lampp/lampp start 2 days before too without any issues. Suddenly today, XAMPP won't start and giving this issue. That is why I am confused.
Edit 2 :
I checked the logs and found this
Edit 3 :
$ apt-cache policy apache2 apache2: Installed: 2.4.52-1ubuntu4.7 Candidate: 2.4.52-1ubuntu4.7 Version table: *** 2.4.52-1ubuntu4.7 500 500 http://in.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 100 /var/lib/dpkg/status 2.4.52-1ubuntu4 500 500 http://in.archive.ubuntu.com/ubuntu jammy/main amd64 Packages 