Apache and MySQL Not Running

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

Apache and MySQL Not Running

Postby pankaj » 16. December 2010 10:29

Hi!
I have installed XAMPP 1.5.5 in Ubuntu 10.10 but after starting XAMPP using
Code: Select all
sudo /opt/lampp/lampp start
its showing XAMPP started, but actually MySQL and Apache are not running. The reason I installed an earlier version XAMPP is vBulletin 3.6.8 is not supported by XAMPP 1.7.3
Can anyone please help me regarding that? :?:
Tek Soup - A Complete Technical Solution
Money 9 - PPC, SEO, SEM, Investment Blog
pankaj
 
Posts: 8
Joined: 16. December 2010 10:23
Location: Kolkata, INDIA
Operating System: MAC OS X 10.7.2 and Windows 7

Re: Apache and MySQL Not Running

Postby greno » 16. December 2010 22:37

Show us how you tell if Apache and MySQL are not running.

-Gerry
greno
 
Posts: 54
Joined: 04. October 2006 19:25

Re: Apache and MySQL Not Running

Postby pankaj » 17. December 2010 01:47

Well,
Please checkout the screenshots I have attached with. After starting XAMPP successfully I'm getting server not found error! Also I have checked the process manager but there is no such processes running!
Image
Image
Tek Soup - A Complete Technical Solution
Money 9 - PPC, SEO, SEM, Investment Blog
pankaj
 
Posts: 8
Joined: 16. December 2010 10:23
Location: Kolkata, INDIA
Operating System: MAC OS X 10.7.2 and Windows 7

Re: Apache and MySQL Not Running

Postby greno » 17. December 2010 17:51

Are you installing on Ubuntu 64-bit? There have been some problems running on 64-bit. You can search the forum for those.

Otherwise have you checked to see if there are apache processes running?

ps -ef | grep httpd

-Gerry
greno
 
Posts: 54
Joined: 04. October 2006 19:25

Re: Apache and MySQL Not Running

Postby pankaj » 18. December 2010 08:33

greno wrote:Are you installing on Ubuntu 64-bit? There have been some problems running on 64-bit. You can search the forum for those.

Otherwise have you checked to see if there are apache processes running?

ps -ef | grep httpd

-Gerry

No, I'm using Ubuntu 10.10 32 Bit version. When I executed
Code: Select all
ps -ef | grep httpd
I got these results...
pankaj 1837 1697 0 13:01 pts/0 00:00:00 grep --color=auto httpd
Tek Soup - A Complete Technical Solution
Money 9 - PPC, SEO, SEM, Investment Blog
pankaj
 
Posts: 8
Joined: 16. December 2010 10:23
Location: Kolkata, INDIA
Operating System: MAC OS X 10.7.2 and Windows 7

Re: Apache and MySQL Not Running

Postby greno » 18. December 2010 16:48

Ok, you don't have any Apache processes running.

Try starting apache manually from a terminal and see if there are any error messages that might provide some clues. And check under /opt/lampp/logs for the error_log and access_log and see if anything is in there.

Code: Select all
$ sudo /opt/lampp/bin/httpd


-Gerry
greno
 
Posts: 54
Joined: 04. October 2006 19:25

Re: Apache and MySQL Not Running

Postby pankaj » 19. December 2010 04:46

Thank you for response! After using
Code: Select all
sudo /opt/lampp/bin/httpd
Apache was started but when I hit http://localhost/xampp or http://localhost/phpmyadmin its showing this message -
Image
also I have checked the error log, here is the details of those two files:
error_log
[Sat Dec 18 12:59:49 2010] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Sat Dec 18 12:59:49 2010] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Sat Dec 18 12:59:49 2010] [warn] RSA server certificate CommonName (CN) `localhost' does NOT match server name!?
[Sun Dec 19 08:52:32 2010] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Sun Dec 19 08:52:32 2010] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Dec 19 08:52:32 2010] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 19 08:52:32 2010] [notice] Digest: done
[Sun Dec 19 08:52:33 2010] [notice] Apache/2.2.3 (Unix) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8d mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7 configured -- resuming normal operations

access_log
::1 - - [19/Dec/2010:08:53:46 +0530] "GET /phpmyadmin HTTP/1.1" 301 396
::1 - - [19/Dec/2010:08:53:46 +0530] "GET /phpmyadmin/ HTTP/1.1" 200 5974
::1 - - [19/Dec/2010:08:53:56 +0530] "GET /xampp HTTP/1.1" 301 391
::1 - - [19/Dec/2010:08:53:56 +0530] "GET /xampp/ HTTP/1.1" 200 821
::1 - - [19/Dec/2010:08:54:04 +0530] "GET /xampp/index.php HTTP/1.1" 200 821
::1 - - [19/Dec/2010:09:12:40 +0530] "GET /xampp/ HTTP/1.1" 200 821


What to do?
:?:
Tek Soup - A Complete Technical Solution
Money 9 - PPC, SEO, SEM, Investment Blog
pankaj
 
Posts: 8
Joined: 16. December 2010 10:23
Location: Kolkata, INDIA
Operating System: MAC OS X 10.7.2 and Windows 7

Re: Apache and MySQL Not Running

Postby greno » 19. December 2010 16:59

It looks like Apache does not recognize the .phtml file type.

Try adding:
AddType application/x-httpd-php .php .phtml

into your /opt/lampp/etc/httpd.conf file.

Restart Apache.

See if that helps. If not, you'll have to find out why your installation is not recognizing .phtml file types.


-Gerry
greno
 
Posts: 54
Joined: 04. October 2006 19:25

Re: Apache and MySQL Not Running

Postby pankaj » 20. December 2010 01:56

I have added this line at the end of the httpd.conf file.
Code: Select all
AddType application/x-httpd-php .php .phtml
but still giving me trouble and showing the same dialog box.
:P
Tek Soup - A Complete Technical Solution
Money 9 - PPC, SEO, SEM, Investment Blog
pankaj
 
Posts: 8
Joined: 16. December 2010 10:23
Location: Kolkata, INDIA
Operating System: MAC OS X 10.7.2 and Windows 7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests