security fix problem

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

security fix problem

Postby friend223 » 16. December 2007 16:43

hello people, I'm really new here.
I've just installed xampp 1.6.4 on ubuntu gutsy (linux). I got this error when starting:
Code: Select all
/opt/lampp/lampp: line 74: arch: command not found.

I fixed it by:
Code: Select all
replacing arch by uname -m in ligne 74 and sudo gedit /bin/arch "uname -m" and sudo chmod +x /bin/arch

now I start my server with:
Code: Select all
sudo /opt/lampp/lampp start

it works fine.
I start the security check with:
Code: Select all
sudo /opt/lampp/lampp security

Code: Select all
XAMPP: MySQL is accessable via network.
XAMPP: Normaly that's not recommended. Do you want me to turn it off? [yes] yes
XAMPP: Turned off.
XAMPP: Stopping MySQL...
XAMPP: Starting MySQL...

It seems that mysql would be secured now, but the next time I checked it, it was just open again. So I got not no errors or warnings, but mysql still stays open via network.
Posts: 2
Joined: 16. December 2007 16:28

Postby skuipers » 17. December 2007 12:06

Posts: 99
Joined: 21. January 2005 16:27
Location: The Netherlands

Postby friend223 » 17. December 2007 17:34

The second one is unsafe and has a red icon, "mysql is accessible from network". The other four have a green icon.
I get the hint to execute: "/opt/lampp/lampp security"
Posts: 2
Joined: 16. December 2007 16:28

Postby TheMusicGuy » 19. December 2007 02:51

My situation is nearly identical to yours. (Using Ubuntu 7.10) The only difference is that instead of modifying a XAMPP script I put a script at /usr/local/bin.

Code: Select all
uname -m

I figured that if xampp needed the arch command there were bound to be other things that needed it as well. :)

I, too, am unable to make the MySQL-network-off thing work. But, you might want to look at this topic: ... l+security

I haven't tried it yet, but it looks good.
Smart drinks. (These are not smart drinks.)
These are smart drinks. (These are definitely not smart drinks.)
Have another round. (Don't.)
- H*R
Posts: 1
Joined: 19. December 2007 02:42

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests