Ich möchte xampp auf meinem Dreamplug betreiben, da das Betriebssystem auf einer SD-Karte läuft, habe ich mich wegen der häufigeren Schreibzugriffe dazu entschlossen xampp auf der angeschlossenen Festplatte betreiben.
Um dies zu erreichen, habe ich zuerst als Root ein
- Code: Select all
mkdir /media/media-server/opt
ein Verzeichnis angelegt.
Danach xampp in dieses opt Verzeicniss entpackt, und einen Link gesetzt.
- Code: Select all
ln -s /media/media-server/opt/lampp/ /opt/
Ein ls zeigt mir nun:
- Code: Select all
root@debian:~# ls -l /opt/lampp/
total 160
-rw-rw-r-- 1 root root 65212 Sep 19 10:50 RELEASENOTES
drwxr-xr-x 2 root root 12288 Sep 19 16:34 bin
drwxr-xr-x 2 root root 4096 Jul 14 2004 cgi-bin
drwxr-xr-x 3 root root 4096 Apr 13 2009 error
drwxr-xr-x 8 root root 4096 Sep 19 11:29 etc
drwxr-xr-x 4 nobody root 4096 Aug 27 2009 htdocs
drwxr-xr-x 3 root root 4096 May 30 2003 icons
-rwxr-xr-x 1 root root 15325 Sep 2 10:41 lampp
drwxr-xr-x 15 root root 12288 Sep 19 16:33 lib
drwxr-xr-x 2 root root 4096 Apr 26 2006 libexec
drwxr-xr-x 36 root root 4096 Aug 24 2009 licenses
drwxr-xr-x 2 root root 4096 Sep 2 10:57 logs
drwxr-xr-x 2 root root 4096 Sep 19 16:33 modules
drwxr-xr-x 10 root root 4096 Sep 16 15:03 phpmyadmin
drwxr-xr-x 2 root root 4096 Sep 19 16:34 sbin
drwxr-xr-x 39 root root 4096 Sep 19 16:33 share
drwxr-xr-x 3 root root 4096 Jan 18 2005 tmp
drwxr-xr-x 6 root root 4096 Sep 2 10:57 var
root@debian:~# ls -l /opt/lampp/
Nun versuche ich xampp zu starten:
- Code: Select all
root@debian:~# /opt/lampp/lampp start
Starting XAMPP for Linux 1.7.7...
/opt/lampp/share/lampp/phpstatus: line 4: /opt/lampp/bin/php: cannot execute binary file
XAMPP: Starting Apache with SSL ...
/opt/lampp/bin/httpd: 1: Syntax error: "(" unexpected
XAMPP: Error 2! 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/my_print_defaults: 1: Syntax error: "(" unexpected
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP: /opt/lampp/lampp: line 333: /opt/lampp/sbin/proftpd: cannot execute binary file
XAMPP: Error 126! Couln't start ProFTPD!
XAMPP for Linux started.
root@debian:~#
Nun stehe ich an, wie soll ich nun herausfinden, warum sich xampp nicht starten läst,
obwohl Ausführrechte gesetzt sind?
Vielen Dank im Voraus
Karl