logans 发表于 2024-4-18 16:44:01

【已完成】linux nginx服务启动失败

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.1.0
系统版本:centos8
问题描述:nginx服务启动失败
相关截图(日志、错误):

logans 发表于 2024-4-18 16:45:35

执行
/etc/init.d/nginx start
journalctl -xe
的反馈
# journalctl -xe
-- The start-up result is done.
Apr 18 16:42:44 VM-0-6-centos systemd: Reached target Basic System.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Apr 18 16:42:44 VM-0-6-centos systemd: Reached target Default.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is done.
Apr 18 16:42:44 VM-0-6-centos systemd: Startup finished in 20ms.
-- Subject: User manager start-up is now complete
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- The user manager instance for user 0 has been started. All services queued
-- for starting have been started. Note that other services might still be starting
-- up or be started at any later time.
--
-- Startup of the manager took 20345 microseconds.
Apr 18 16:42:44 VM-0-6-centos systemd: Started User Manager for UID 0.
-- Subject: Unit user@0.service has finished start-up
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
--
-- Unit user@0.service has finished starting up.
--
-- The start-up result is done.
Apr 18 16:42:44 VM-0-6-centos sshd: pam_unix(sshd:session): session opened for user root by (uid=0)
Apr 18 16:42:46 VM-0-6-centos sshd: Received disconnect from 103.10.44.105 port 41578:11: Bye Bye
Apr 18 16:42:46 VM-0-6-centos sshd: Disconnected from authenticating user root 103.10.44.105 port 41578
Apr 18 16:42:47 VM-0-6-centos sshd: Connection closed by 14.63.166.251 port 43757
Apr 18 16:42:50 VM-0-6-centos sshd: Received disconnect from 43.153.71.29 port 43918:11: Bye Bye
Apr 18 16:42:50 VM-0-6-centos sshd: Disconnected from authenticating user root 43.153.71.29 port 43918

logans 发表于 2024-4-18 16:51:39

卸载了免费防火墙好了,这是什么原因,免费防火墙有问题吗

堡塔运维南一 发表于 2024-4-18 17:41:04

宝塔用户_benhbc 发表于 2024-4-18 16:51
卸载了免费防火墙好了,这是什么原因,免费防火墙有问题吗

应该是nginx和免费防火墙不兼容的问题,如果要使用免费防火墙的话把nginx换成1.22版本试试
页: [1]
查看完整版本: 【已完成】linux nginx服务启动失败