Служба xampp.service
не запускается автоматически, несмотря на то, что она включена. Похоже, что systemd убивает его после успешного запуска (?).
Он находится в /etc /systemd /system / и содержит следующее
[Unit]
Description=XAMPP
[Service]
ExecStart=/opt/lampp/lampp start
[Install]
WantedBy=multi-user.target
systemctl --failed
:
UNIT LOAD ACTIVE SUB DESCRIPTION
● xampp.service loaded failed failed XAMPP
systemctl status xampp.service
возвращает xampp.service :
● xampp.service - XAMPP
Loaded: loaded (/etc/systemd/system/xampp.service; enabled; vendor preset: disabled)
Active: failed (Result: timeout) since Mo 2016-11-21 02:04:10 CET; 4min 56s ago
Process: 459 ExecStart=/opt/lampp/lampp start (code=exited, status=0/SUCCESS)
Main PID: 459 (code=exited, status=0/SUCCESS)
Nov 21 02:02:40 tangboshi lampp[459]: XAMPP: Starting Apache...ok.
Nov 21 02:02:40 tangboshi lampp[459]: XAMPP: Starting MySQL...ok.
Nov 21 02:02:40 tangboshi proftpd[600]: tangboshi - ProFTPD 1.3.4c (maint) (built Fri Aug 26 2016 11:19:40 CEST) standalone mode STARTUP
Nov 21 02:02:40 tangboshi lampp[459]: XAMPP: Starting ProFTPD...ok.
Nov 21 02:02:40 tangboshi proftpd[600]: tangboshi - ProFTPD killed (signal 15)
Nov 21 02:04:10 tangboshi systemd[1]: xampp.service: State 'stop-sigterm' timed out. Killing.
Nov 21 02:04:10 tangboshi systemd[1]: xampp.service: Killing process 576 (mysqld_safe) with signal SIGKILL.
Nov 21 02:04:10 tangboshi systemd[1]: xampp.service: Killing process 737 (mysqld) with signal SIGKILL.
Nov 21 02:04:10 tangboshi systemd[1]: xampp.service: Unit entered failed state.
Nov 21 02:04:10 tangboshi systemd[1]: xampp.service: Failed with result 'timeout'.