Problem with instalation.

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

Problem with instalation.

Postby jaimenexo » 24. January 2012 14:52

Hi, I'm running a server for my first time, so I'm having some trouble.

I work on Ubuntu 10.04, Installed apache2 via "$sudo apt-get install apache2"

Then i did the steps listed here "http://www.apachefriends.org/en/xampp-linux.html"
At step 3, " /opt/lampp/lampp start " I get this error message:
Code: Select all
root@ks384669:~# /opt/lampp/lampp start
Starting XAMPP for Linux 1.7.7...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://community.apachefriends.org/f/
XAMPP: XAMPP-MySQL is already running.
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.


So:
Code: Select all
root@ks384669:~# tail -2 /opt/lampp/logs/error_log
no listening sockets available, shutting down
Unable to open logs


I open the log manually at /opt/lampp/logs error_log
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs


Then I go to /etc/apache2 ports_conf and changed 80 for 8765, got back to step one, repeat all and still get the error message
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs



Now I'm stuck, any help please?
jaimenexo
 
Posts: 1
Joined: 24. January 2012 14:42
XAMPP Version: 5.6.3
Operating System: Linux Ubuntu 10.04

Re: Problem with instalation.

Postby andybrookestar » 24. January 2012 16:46

hi

i'n no expert but basically xampp is a replacement for apache2; in other words you should have chosen one of them.

Apache2 uses port 80 and you have also now got xampp.Basically Apache2 has grabbed port 80. I'm on slackware 13.37 and i can tell you xampp is much easier than Apche2.Therefore one approach is to uninstall Apache2, then restart xampp and go to
http://localhost/ and see if welcome page comes up.

The only other thing to do is change the port xampp listens on.try the first approach first. As said above xampp does html and php

so does apache2, so theres no point in having both
andybrookestar
 
Posts: 3
Joined: 24. January 2012 15:50
XAMPP Version: 1.8.3-2
Operating System: slackware 13.37


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 2 guests