[Unit]
Description=XAMPP
[Service]
ExecStart=/opt/lampp/lampp
Socket=xampp.socket
[Install]
WantedBy=multi-user.target
StandardOutput=null
[Unit]
Description=XAMPP
After=multi-user.target
[Service]
ExecStartPre=-/bin/echo 'Starting xampp'
ExecStart=/etc/init.d/lampp start
[Install]
WantedBy=multi-user.target
systemctl --system daemon-reload
systemctl start xampp.service
Sep 3 18:00:12 linux systemd[1]: syslog.service: Supervising process 1016 which is not our child. We'll most likely not notice when it exits.
Sep 3 18:00:30 linux echo[6252]: Starting xampp
Sep 3 18:00:30 linux lampp[6255]: Starte XAMPP fuer Linux 1.7.4...
Sep 3 18:00:30 linux lampp[6255]: XAMPP: Starte Apache mit SSL (und PHP5)...
Sep 3 18:00:31 linux lampp[6255]: XAMPP: Starte MySQL...
Sep 3 18:00:31 linux lampp[6255]: /etc/rc.status: Zeile 57: /dev/stderr: Kein passendes Gerät bzw. keine passende Adresse gefunden
Sep 3 18:00:32 linux lampp[6255]: XAMPP: Starte ProFTPD...
Sep 3 18:00:32 linux proftpd[6708]: linux.leoni.daheim - ProFTPD 1.3.3d (maint) (built Tue Dec 21 2010 17:14:16 CET) standalone mode STARTUP
Sep 3 18:00:32 linux lampp[6255]: XAMPP fuer Linux gestartet.
Sep 3 18:00:32 linux proftpd[6708]: linux.leoni.daheim - ProFTPD killed (signal 15)
Sep 3 18:00:32 linux proftpd[6708]: linux.leoni.daheim - ProFTPD 1.3.3d standalone mode SHUTDOWN
systemctl status xampp.service
xampp.service - XAMPP
Loaded: loaded (/etc/systemd/system/multi-user.target.wants/xampp.service)
Active: inactive (dead) since Mon, 03 Sep 2012 18:00:33 +0200; 7min ago
Process: 6255 ExecStart=/etc/init.d/lampp start (code=exited, status=0/SUCCESS)
Process: 6252 ExecStartPre=/bin/echo Starting xampp (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/xampp.service
systemd hat ein eigenes Log-File ... *grübel* ... bei mir nicht.spoensche schrieb:Was sagen die Logs vom Systemd?
admine schrieb:systemd hat ein eigenes Log-File ... *grübel* ... bei mir nicht.spoensche schrieb:Was sagen die Logs vom Systemd?
Ich seh dazu nur etwas in der messages :???:
http://www.linux-club.de/viewtopic.php?p=734585#p734585spoensche schrieb:Was siehst du den in der messages?
Warum verwendest du XAMPP und nicht die openSUSE Pakete?admine schrieb:Code:Sep 3 18:00:12 linux systemd[1]: syslog.service: Supervising process 1016 which is not our child. We'll most likely not notice when it exits. Sep 3 18:00:30 linux echo[6252]: Starting xampp Sep 3 18:00:30 linux lampp[6255]: Starte XAMPP fuer Linux 1.7.4... Sep 3 18:00:30 linux lampp[6255]: XAMPP: Starte Apache mit SSL (und PHP5)... Sep 3 18:00:31 linux lampp[6255]: XAMPP: Starte MySQL... Sep 3 18:00:31 linux lampp[6255]: /etc/rc.status: Zeile 57: /dev/stderr: Kein passendes Gerät bzw. keine passende Adresse gefunden Sep 3 18:00:32 linux lampp[6255]: XAMPP: Starte ProFTPD... Sep 3 18:00:32 linux proftpd[6708]: linux.leoni.daheim - ProFTPD 1.3.3d (maint) (built Tue Dec 21 2010 17:14:16 CET) standalone mode STARTUP Sep 3 18:00:32 linux lampp[6255]: XAMPP fuer Linux gestartet. Sep 3 18:00:32 linux proftpd[6708]: linux.leoni.daheim - ProFTPD killed (signal 15) Sep 3 18:00:32 linux proftpd[6708]: linux.leoni.daheim - ProFTPD 1.3.3d standalone mode SHUTDOWN
Sieht so aus:spoensche schrieb:Mir ist folgendes aufgefallen:
Code:/etc/rc.status: Zeile 57: /dev/stderr: Kein passendes Gerät bzw. keine passende Adresse gefunden
Bei dir ist etwas verbogen. Normalerweise ist /dev/stderr ein Symlink auf /dev/fd/2. Überprüfe mal die Logs vom Udev
lrwxrwxrwx 1 root root 4 Sep 5 17:16 /dev/stderr -> fd/2
.
.
lrwxrwxrwx 1 root root 13 Sep 5 17:16 fd -> /proc/self/fd/
Da ist mir grad aufgefallen, dass es diese Meldung nicht nur zu XAMPP gibt, sondern auch zu ntp. Allerdings startet ntp ohne Probleme.admine schrieb:Sieht so aus:spoensche schrieb:Mir ist folgendes aufgefallen:
Bei dir ist etwas verbogen. Normalerweise ist /dev/stderr ein Symlink auf /dev/fd/2. Überprüfe mal die Logs vom UdevCode:/etc/rc.status: Zeile 57: /dev/stderr: Kein passendes Gerät bzw. keine passende Adresse gefunden
Code:lrwxrwxrwx 1 root root 4 Sep 5 17:16 /dev/stderr -> fd/2 lrwxrwxrwx 1 root root 13 Sep 5 17:16 fd -> /proc/self/fd/
Sieht für mich so aus, wie du es meinst.
linux kernel: 2.048598] udevd[102]: starting version 173
Macht keine Änderung ... dachte ich mir aber schon ... schade.admine schrieb:@panamajo
ProFTP brauch ich nicht und hab es aus dem Startscript verbannt.
Jetzt reboot ... mal schaun.
Ich würde dringend zur Verwendung der openSUSE Pakete raten. Die sind einfach besser auf die Distribution abgestimmt, gerade bei systemd ist das ein Gefuddel.admine schrieb:ProFTP brauch ich nicht und hab es aus dem Startscript verbannt.
Nö, will ich nicht.panamajo schrieb:Ich würde dringend zur Verwendung der openSUSE Pakete raten. Die sind einfach besser auf die Distribution abgestimmt, gerade bei systemd ist das ein Gefuddel.
Außerdem hast du dann für jeden Service ein eigenes Startskript.