Portál AbcLinuxu, 10. května 2025 13:17
service apache2 status ● apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2) Active: failed (Result: exit-code) since Út 2015-04-28 21:25:25 CEST; 1h 31min ago Process: 3409 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE) dub 28 21:25:25 server apache2[3409]: Starting web server: apache2 failed! dub 28 21:25:25 server apache2[3409]: The apache2 instance did not start within 20 seconds. Please read the log files to discover problems ... (warning). dub 28 21:25:25 server systemd[1]: apache2.service: control process exited, code=exited status=1 dub 28 21:25:25 server systemd[1]: Failed to start LSB: Apache2 web server. dub 28 21:25:25 server systemd[1]: Unit apache2.service entered failed state.Za pripadne rady predem diky.
... důvod, proč ti to dělá co to dělá bude asi podobný jako u mě tadyTo asi nebola tá správna linka, či hej?
systemctl status $PID
. Nebo ho najdi ve výstupu systemd-cgls
.)
● apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2) Active: active (running) since St 2015-04-29 17:05:34 CEST; 17h ago Process: 18288 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS) Process: 7352 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SUCCESS) Process: 18326 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS) CGroup: /system.slice/apache2.service ├─ 7441 /usr/sbin/apache2 -k start ├─ 7442 /usr/sbin/apache2 -k start ├─ 8493 /usr/sbin/apache2 -k start ├─ 8502 /usr/sbin/apache2 -k start ├─ 8506 /usr/sbin/apache2 -k start ├─ 8509 /usr/sbin/apache2 -k start ├─15889 /usr/sbin/apache2 -k start ├─16722 /usr/sbin/apache2 -k start ├─16767 /usr/sbin/apache2 -k start ├─18342 /usr/sbin/apache2 -k start └─27926 /usr/sbin/apache2 -k start dub 30 06:25:18 server apache2[7352]: Reloading web server: apache2. Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.Asi to bylo jen v nejakem pochybnem stavu, snad to uz bude makat bez problemu.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.