Page 1 of 1

Ubuntu 10.04 XAMPP Apache will not start

PostPosted: 21. November 2010 22:42
by steveyoung
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?

[Solved] Ubuntu 10.04 XAMPP Apache will not start

PostPosted: 24. November 2010 22:14
by steveyoung
No replies so I solved the problem by removing XAMPP and installing the lamp-server.

I would have liked to try XAMPP but.......................

Ubuntu 10.04 XAMPP MySQL will not start

PostPosted: 20. December 2010 15:01
by phuocngan
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

Re: Ubuntu 10.04 XAMPP MySQL will not start

PostPosted: 23. December 2010 03:41
by ennosuke
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 ;)

Re: Ubuntu 10.04 XAMPP Apache will not start

PostPosted: 16. September 2011 22:57
by compilable
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 !! :)