Ubuntu 10.04 XAMPP Apache will not start

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

Ubuntu 10.04 XAMPP Apache will not start

Postby steveyoung » 21. November 2010 22:42

I have a PC running 64-bit Ubuntu 10.04 on which I want to install XAMPP. I have used the howto here http://ubuntuforums.org/showthread.php?t=223410 but whatever I do I cannot get the Apache server to run. When I input the command
Code: Select all
 sudo /opt/lampp/lampp start
everything seems to work and there are no warnings but on directing a browser to localhost there is an "unable to connect" message. On typing
Code: Select all
sudo /opt/lampp/lampp stop
I get the following message which shows that Apache was never started:
Code: Select all
Stopping XAMPP for Linux 1.5.3a...
XAMPP: XAMPP-Apache is not running.
XAMPP: Stopping MySQL...
XAMPP: Stopping ProFTPD...
XAMPP stopped.


At first I simply stopped the other Apaches server but eventually I completely removed any other Apache instances with the command
Code: Select all
apt-get remove --purge apache2 apache2-common apache2-mpm-prefork apache2-utils ssl-cert
but still the XAMPP Apache will not start.

The only errors in the /opt/lampp/logs/error.log are:

Code: Select all
[Sun Nov 21 20:42:02 2010] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Sun Nov 21 20:42:02 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sun Nov 21 20:42:02 2010] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?


Can anyone offer any advice on why the XAMPP Apache will not start?
steveyoung
 
Posts: 2
Joined: 21. November 2010 22:34

[Solved] Ubuntu 10.04 XAMPP Apache will not start

Postby steveyoung » 24. November 2010 22:14

No replies so I solved the problem by removing XAMPP and installing the lamp-server.

I would have liked to try XAMPP but.......................
steveyoung
 
Posts: 2
Joined: 21. November 2010 22:34

Ubuntu 10.04 XAMPP MySQL will not start

Postby phuocngan » 20. December 2010 15:01

I typed sudo /opt/lampp/lampp start
Result...

Starting XAMPP for Linux 1.7.4-beta3...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

Why?? Help me
phuocngan
 
Posts: 1
Joined: 20. December 2010 14:46

Re: Ubuntu 10.04 XAMPP MySQL will not start

Postby ennosuke » 23. December 2010 03:41

phuocngan wrote:I typed sudo /opt/lampp/lampp start
Result...

Starting XAMPP for Linux 1.7.4-beta3...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

Why?? Help me


Try this:

sudo /etc/init.d/apache2 stop

sudo /opt/lampp/lampp start

Bye ;)
ennosuke
 
Posts: 1
Joined: 23. December 2010 03:39

Re: Ubuntu 10.04 XAMPP Apache will not start

Postby compilable » 16. September 2011 22:57

I also had the same problem under XAMPP for Linux 1.5.3 and after googling for a while I was able to find a wayout.

By default Apache server has started in mod_ssl mode. We can simply uncomment the below line in
configuration file : /opt/lampp/etc/httpd.conf

Code: Select all
# LoadModule ssl_module modules/mod_ssl.so


Note: Commenting the above line will disable the SSL from the server which can be leads to security problems.

Read more:
http://stackoverflow.com/questions/2643462/setting-up-ssl-on-a-local-xampp-apache-serv

Cheers !! :)
compilable
 
Posts: 1
Joined: 16. September 2011 22:54


Return to XAMPP for Linux

Who is online

Users browsing this forum: sapabt and 4 guests