Podczas działania service apache startwidzę w pliku dziennika ten wpis:
[mpm_event:notice] [pid 1906:tid XXX] AH00489: Apache/2.4.23 (Unix)
OpenSSL/1.0.2g PHP/7.0.9 configured -- resuming normal operations
[core:notice] [pid 1906:tid XXX] AH00094: Command line: '/usr/sbin/httpd'
[mpm_event:notice] [pid 1906:tid XXX] AH00492: caught SIGWINCH, shutting down gracefully
a usługa apachesię nie uruchamia? Mogę znaleźć w Internecie, co SIGWINCHoznacza [ Window size change], ale tak naprawdę nie pomaga mi to w tym przypadku.
Plik /etc/systemd/system/apache.service:
[Unit]
Description=The Apache Webserver [FaF Compiled]
After=network.target nss-lookup.target time-sync.target
Before=getty@tty1.service plymouth-quit.service xdm.service
[Service]
Type=notify
PrivateTmp=true
ExecStart=/usr/sbin/httpd -k start
ExecReload=/usr/sbin/httpd -k graceful
ExecStop=/usr/sbin/httpd -k graceful-stop
KillMode=mixed
[Install]
WantedBy=multi-user.target
Alias=httpd.service apache.service
Działa na SLES 12 SP1. Sam skompilowałem Apache. Uruchomienie go z apachectl -k startdziała idealnie i mogę uzyskać dostęp i uruchomić kod PHP.
Moje pytanie:
co robię źle, że apacheusługa się nie uruchamia. Włączyłem to za pomocą systemctl enable apache. To był wynik:
ln -s '/usr/lib/systemd/system/apache2.service' '/etc/systemd/system/httpd.service'
ln -s '/usr/lib/systemd/system/apache2.service' '/etc/systemd/system/apache.service'
ln -s '/usr/lib/systemd/system/apache2.service' '/etc/systemd/system/multi-user.target.wants/apache2.service'




SIGWINCHzginęło? Domyślną czynnością jest odrzucenie sygnału.