运行时,service apache start
我在日志文件中看到以下条目:
[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
服务apache
无法启动?我可以在互联网上找到SIGWINCH
[ Window size change
]的含义,但在这种情况下并不能真正帮助我。
文件/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
在SLES 12 SP1上运行。我自己编译了Apache。以apachectl -k start
完美的方式启动它,我可以访问并运行PHP代码。
我的问题:apache
服务无法启动
,我在做什么错。我已启用systemctl enable apache
。这是输出:
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'
SIGWINCH
致命的?默认操作是放弃信号。