localhost/xampp is down :(

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

localhost/xampp is down :(

Postby kaseiffert » 25. July 2006 01:49

I get the following error when trying to load the xampp pages within my lampp instalation.

Code: Select all
Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: Permission denied in /opt/lampp/htdocs/xampp/index.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/xampp/index.php:2) in /opt/lampp/htdocs/xampp/index.php on line 4


I was messing with file permissions and ownerships in another directory under /opt, but I don't remember doing anything with the /opt/lampp directories.

What should I look for? How do I fix this?
kaseiffert
 
Posts: 9
Joined: 23. September 2005 17:36
Location: Webster, NY, USA

Postby Wiedmann » 25. July 2006 01:54

The current permissions and ownerships for
this directory: "/opt/lampp/htdocs/xampp/"
and this file: "/opt/lampp/htdocs/xampp/lang.tmp"
:?:
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby kaseiffert » 25. July 2006 04:07

Wiedmann wrote:The current permissions and ownerships for
this directory: "/opt/lampp/htdocs/xampp/"
and this file: "/opt/lampp/htdocs/xampp/lang.tmp"
:?:


currently (having changed them several times...)

/opt/lampp/htdocs/xampp/ =root dwrxr-x (1200755)

/opt/lampp/htdocs/xampp/lang.tmp =root -rw------ (600)
kaseiffert
 
Posts: 9
Joined: 23. September 2005 17:36
Location: Webster, NY, USA

Postby kaseiffert » 25. July 2006 13:44

ok having taken the clue and fixed the lang.tmp file the xampp pages show up again... but clickon on phpmyadmin brings the following.

Code: Select all
Existing configuration file (./config.inc.php) is not readable.


I am trying to track down that....

Can I recursivly fix permissions? or do I need to track down each of these one at a time.
kaseiffert
 
Posts: 9
Joined: 23. September 2005 17:36
Location: Webster, NY, USA

Postby kaseiffert » 25. July 2006 15:01

Ok tracked down and fixed the "config.inc.php" now I get this error when clicking on phpmyadmin on the xampp page.

Code: Select all
Error

MySQL said: 
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)


Xampp status lists the MySQL database as DEACTIVATED as well.


arrrg... HELP!? :D

there has to be an easier way....
kaseiffert
 
Posts: 9
Joined: 23. September 2005 17:36
Location: Webster, NY, USA

Postby Wiedmann » 25. July 2006 15:30

there has to be an easier way....

Delete all and make a new XAMPP installation ;-)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby kaseiffert » 25. July 2006 15:44

Wiedmann wrote:
there has to be an easier way....

Delete all and make a new XAMPP installation ;-)


I had thought of that, but I will lose my MySQL database, which includes my wordpress blog :( its backed but only from last week some time, I'd rather not lose 10 to 20 posts.

Can I install over the top, rather than delete?
kaseiffert
 
Posts: 9
Joined: 23. September 2005 17:36
Location: Webster, NY, USA

Postby kaseiffert » 25. July 2006 16:28

ok reinstalled... a clean install claims that MySQL is DEACTIVATED how do I fix?

MySQL is working, it just doesn't display in the XAMPP status page.

password issue?
kaseiffert
 
Posts: 9
Joined: 23. September 2005 17:36
Location: Webster, NY, USA


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests