XAMPP can't start

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

XAMPP can't start

Postby Chaos96 » 27. February 2012 15:28

I just installed ubuntu today, and I'm trying to get xampp installed. When I try to start lampp I get this stuff in terminal:

Code: Select all
Starting XAMPP for Linux 1.7.7...
/opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: No such file or directory
XAMPP: Starting Apache with SSL ...
/opt/lampp/bin/apachectl: 102: /opt/lampp/bin/httpd: not found
XAMPP: Error 127! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum http://community.apachefriends.org/f/
XAMPP: Starting MySQL...
/opt/lampp/bin/mysql.server: 256: /opt/lampp/bin/my_print_defaults: not found
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP: /opt/lampp/lampp: line 333: /opt/lampp/sbin/proftpd: No such file or directory
XAMPP: Error 127! Couln't start ProFTPD!
XAMPP for Linux started.


It says it's unable to locate a bunch of files, but I've checked and they are there. I have no clue what's wrong.

Any help is appreciated.

Thanks.
Chaos96
 
Posts: 4
Joined: 27. February 2012 15:26
Operating System: Linux/Windows

Re: XAMPP can't start

Postby JonB » 27. February 2012 16:14

A. - did you install LAMPP as root?

B. - did you start LAMPP as root?

Code: Select all
su
password
/opt/lampp/lampp start

OR

Code: Select all
sudo /opt/lampp/lampp start


C. did you change ownership of the files in /opt/lampp???

8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: XAMPP can't start

Postby Chaos96 » 27. February 2012 18:20

JonB wrote:A. - did you install LAMPP as root?

B. - did you start LAMPP as root?

Code: Select all
su
password
/opt/lampp/lampp start

OR

Code: Select all
sudo /opt/lampp/lampp start


C. did you change ownership of the files in /opt/lampp???

8)


I just uninstalled, and reinstalled it as root (Wasn't sure if I had done that the first time), and it's still not working. I get the same errors as I had in the original post.

EDIT: I'm not at all familiar with ubuntu, so if you could further explain what you mean by "change ownership" that would be great.
Chaos96
 
Posts: 4
Joined: 27. February 2012 15:26
Operating System: Linux/Windows

Re: XAMPP can't start

Postby Chaos96 » 28. February 2012 22:30

Today, I decided to reattempt running it, and it no longer has the httpd error. Now it has this error:

Code: Select all
XAMPP: Starting MySQL...
Warning: World-writable config file '/opt/lampp/etc/my.cnf' is ignored
XAMPP: Couldn't start MySQL!


Again, any help is appreciated.
Chaos96
 
Posts: 4
Joined: 27. February 2012 15:26
Operating System: Linux/Windows

Re: XAMPP can't start

Postby JonB » 28. February 2012 22:47

Looks like an SElinux issue

These are fixes that keep SE Linux intact -

XAMPP: Error 127

http://www.linuxquestions.org/questions ... rt-791248/

http://forums.fedoraforum.org/showthread.php?t=234459

If you are only doing development work, you could just relax SE Linux to 'reporting only' mode -

Try the first tip on this page:

http://www.crypt.gen.nz/selinux/disable_selinux.html


Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests