Error on XAMPP start

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Error on XAMPP start

Postby lksferrari » 10. August 2017 14:23

Hello, I'm learning about webserver by my own. And I just installed Xamp 5.6.31 for linux ( https://www.apachefriends.org/pt_br/download.html ), but when I try to it turn on:

root@debian:/home/debian# /opt/lampp/lampp start
Starting XAMPP for Linux 5.6.31-0...
XAMPP: Starting Apache.../opt/lampp/share/xampp/xampplib: linha 22: netstat: comando não encontrado
/opt/lampp/share/xampp/xampplib: linha 22: netstat: comando não encontrado
fail.
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://www.apachefriends.org/f/
Last 10 lines of "/opt/lampp/logs/error_log":
tail: não foi possível abrir '/opt/lampp/logs/error.log' para leitura: Arquivo ou diretório não encontrado
XAMPP: Starting MySQL.../opt/lampp/share/xampp/xampplib: linha 22: netstat: comando não encontrado
ok.
XAMPP: Starting ProFTPD.../opt/lampp/share/xampp/xampplib: linha 22: netstat: comando não encontrado
ok.

What should I do?
lksferrari
 
Posts: 2
Joined: 10. August 2017 13:34
XAMPP version: 5.6.31
Operating System: Debian 9

Re: Error on XAMPP start

Postby Nobbie » 10. August 2017 17:58

lksferrari wrote:What should I do?


Install the missing tools:

Code: Select all
# sudo apt-get install net-tools
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Error on XAMPP start

Postby lksferrari » 11. August 2017 03:00

Seems like it helped with some errors, but it still not working, when I read the error_log on /opt/lampp/logs/error_log there is this lines:

(98)Address already in use: AH00073: make_sock: unable to listen for connections on address [::]:80
(98)Address already in use: AH00073: make_sock: unable to listen for connections on address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
(98)Address already in use: AH00073: make_sock: unable to listen for connections on address [::]:80
(98)Address already in use: AH00073: make_sock: unable to listen for connections on address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
(98)Address already in use: AH00073: make_sock: unable to listen for connections on address [::]:80
(98)Address already in use: AH00073: make_sock: unable to listen for connections on address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs

Don't know how to solve this.
lksferrari
 
Posts: 2
Joined: 10. August 2017 13:34
XAMPP version: 5.6.31
Operating System: Debian 9

Re: Error on XAMPP start

Postby Nobbie » 11. August 2017 12:43

It seems you have already running another webserver. Run a process scan ("ps -fe" as root for example or "top" etc.) and look for process like apache or apache2 or httpd. Stop any webserver before starting Xampp and/or de-install other webserver.

Or start the Debian Software Manager (or similar, i dont know Debian well) and look if there is already an Apache installation on your machine.

Or use netstat program in a terminal to find out which program occupies port 80:

Code: Select all
netstat -pln


You can also try lsof instead:

Code: Select all
lsof -i -P


Finally you really should get more indepent and make use of Google. All of this can easily be found in Google, at least i found it in Google for you. Simply enter your questions into Google and scan for usefull answers.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Error on XAMPP start

Postby jomp » 14. November 2022 22:25

For me doing:

sudo /etc/init.d/apache2 stop

after install net tools

worked fine.
jomp
 
Posts: 1
Joined: 14. November 2022 22:20
XAMPP version: 8.1.2
Operating System: ubuntu 22.04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests