Page 1 of 1

localhost/xampp is down :(

PostPosted: 25. July 2006 01:49
by kaseiffert
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?

PostPosted: 25. July 2006 01:54
by Wiedmann
The current permissions and ownerships for
this directory: "/opt/lampp/htdocs/xampp/"
and this file: "/opt/lampp/htdocs/xampp/lang.tmp"
:?:

PostPosted: 25. July 2006 04:07
by kaseiffert
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)

PostPosted: 25. July 2006 13:44
by kaseiffert
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.

PostPosted: 25. July 2006 15:01
by kaseiffert
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....

PostPosted: 25. July 2006 15:30
by Wiedmann
there has to be an easier way....

Delete all and make a new XAMPP installation ;-)

PostPosted: 25. July 2006 15:44
by kaseiffert
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?

PostPosted: 25. July 2006 16:28
by kaseiffert
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?