The upgrade program carefully tried to upgrade one of your configuration files. In order to upgrade the file, the program had to edit some lines you had already changed. Seeing as nobody wants to lose valuable configuration information, the upgrade program decided not to change the file but save a copy of the new file in addition to the original one. You may get three error messages while starting XAMPP: |
|
Your Linux system is too old. XAMPP needs a newer Linux distribution that uses the glibc 2.1 version.
What's the secret about "Error 1"?tail -2 /opt/lampp/logs/error_logand
cat /opt/lampp/logs/apachestart.logIf you now see "Invalid argument: Could not set permissions on ssl_mutex" or "Invalid argument: Unable to create scoreboard" please take a look at answers below. If you see another error message please email it to me. Maybe we can solve the problem together. My email address is oswald@apachefriends.org.
Apache doesn't seems to start. What can I do?
What do I do if the error message is "Invalid argument: Could not set permissions on ssl_mutex"?
|
In this case you have to change the Group directive (about line 318) in /opt/lampp/etc/httpd.conf.
You should find there something like:
|
Change the "..." to "nobody", "nogroup" or #-1. One of these three possibilities should work.
What do I do if the error message is "Invalid argument: Unable to create scoreboard"?
|
In this case you have to remove the hash (#) in front of the Scoreboard directive (about line 71) in /opt/lampp/etc/httpd.conf.
There, you should find something like:
|
Simply remove the hash at the beginning of this line:
|
Now this error message should not bother you anymore.
What do I do if the error message is »Invalid argument: Configuration failed«?
Solution:
Simply call the following command (Please use copy&paste. The ` characters are mandatory):
echo 127.0.0.1 `hostname` >> /etc/hosts
This will fix the configuation error of your system and the »Configuration failed« error should dissapear.
What do I do if the error message is »The configuration file now needs a secret passphrase (blowfish_secret)« shows up?
Solution:
Edit config.inc.php at line 60. You find this file in the phpmyadmin directory of your XAMPP installation. The line should look like this:
|
Enter in this line a password-like word or phrase, for example:
|
That's all. You should now be able to use phpMyAdmin in the same way as before.
What do I do if the error message is »cannot restore segment prot after reloc: Permission denied«?Solution:
At the moment I only know one solution - deactivating SELinux:
|
Now XAMPP works fine again. If you know a better solution, please email me. I'm no SELinux expert and the only I know about SELinux is how to disable it. ;)
After I rebooted my Linux box XAMPP stopped running! How can I fix this?There is no real standard way to configure the boot process of a Linux system, but most of them should allow you to start XAMPP at boot time using the following steps.
If your system didn't provide /etc/rc.d/rc3.d please try also /etc/init.d/rc3.d and /etc/rc3.d.
ln -s /opt/lampp/lampp S99lampp
ln -s /opt/lampp/lampp K01lampp
ln -s /opt/lampp/lampp /etc/init.d/lampp
And than use the runlevel editor (expert mode) from YaST to activate XAMPP for the specific runlevels.
How can I make my XAMPP installation more secure?Simply type the following command (as root) to start a simple security check:
/opt/lampp/lampp security
Now you should see the following dialog on your screen (user input is highlighted):
LAMPP: Quick security check...
LAMPP: Your LAMPP pages are NOT secured by a password.
LAMPP: Do you want to set a password? [yes] yes (1)
LAMPP: Password: ******
LAMPP: Password (again): ******
LAMPP: Password protection active. Please use 'lampp' as user name!
LAMPP: MySQL is accessable via network.
LAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes] yes
LAMPP: Turned off.
LAMPP: Stopping MySQL...
LAMPP: Starting MySQL...
LAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
LAMPP: Do you want to set a password? [yes] yes
LAMPP: Password: ******
LAMPP: Password (again): ******
LAMPP: Setting new MySQL pma password.
LAMPP: Setting phpMyAdmin's pma password to the new one.
LAMPP: MySQL has no root passwort set!!!
LAMPP: Do you want to set a password? [yes] yes
LAMPP: Write the passworde somewhere down to make sure you won't forget it!!!
LAMPP: Password: ******
LAMPP: Password (again): ******
LAMPP: Setting new MySQL root password.
LAMPP: Setting phpMyAdmin's root password to the new one.
LAMPP: The FTP password is still set to 'lampp'.
LAMPP: Do you want to change the password? [yes] yes
LAMPP: Password: ******
LAMPP: Password (again): ******
LAMPP: Reload ProFTPD...
LAMPP: Done.
(1) Setting a password will protect the XAMPP demo pages (http://localhost/xampp/) using this password. The user name is 'lampp'!
After calling this command your XAMPP installation should be "secure". For my part I've no idea what else could be insecure.
How do I activate eAccelerator?To activate eAccelerator simply find the following lines in your /opt/lampp/etc/php.ini:
|
Remove the semicolon at the beginning of each line and restart XAMPP. eAccelerator is now active. For more information
about eAccelerator, check the eAccelerator home page:
http://eaccelerator.net.
How do I activate the OCI8/Oracle extension for PHP?To activate the OCI8/Oracle extension for PHP please execute the following command:
/opt/lampp/lampp oci8The following dialog will start:
|
Now the extension should be active. I have only had a few chances to test this feature, so please report if this worked for you or not: oswald@apachefriends.org.
XAMPP runs, but none of the images are shown?#EnableMMAP off #EnableSendfile offRemove the # in both lines and restart your Apache. Now you got all your images back.
How do I backup/restore my XAMPP system?| Warning: The backup and restore functionality is still under development and may not work correctly.
Attention: There is a small but annoying bug in version 1.4.2 of XAMPP. Please take a look |
Step 1: Creating the backupCreate the backup by calling:
/opt/lampp/lampp backup Where secret is your MySQL root password. This command will create the following output:
Step 2: Take care of your backuped dataThe file /opt/lampp/backup/xampp-backup-22-01-04.sh (in the example above) contains your backuped data. Get this file to a save place.Step 3: Restore your backuped dataOn the new machine you need the same version of XAMPP as on your original/source machine.Call (as root): sh xampp-backup-22-01-04.sh You shoud see something like this:
That's all. As you can read you may need to restart XAMPP. It should work perfectly (I tested it many times) but remember it's a beta feature.
|
Author:
Kai 'Oswald' SeidlerLast modification: Thu 15 May 2008 06:47:36 PM CEST © 2002-2008 Apache Friends |