Pet*_*RGA 14 suse signals systemd services apache-httpd
运行时,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
Run Code Online (Sandbox Code Playgroud)
并且服务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
Run Code Online (Sandbox Code Playgroud)
在 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'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
34380 次 |
| 最近记录: |