当前位置:论坛首页 > Linux面板 > 求助

【待反馈】无法启动web服务

发表在 Linux面板2023-5-12 08:58 [复制链接] 1 2606

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:宝塔最新版
系统版本:ubuntu22.04
问题描述:无法启动web服务
相关截图(日志、错误):

启动失败:(98)Address already in use: AH00072: make_sock: could not bind to address [::]:20779(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:20779no listening sockets available, shutting downAH00015: Unable to open logs我的服务器宝塔面板是https://148.100.76.36:20779









[Thu May 11 06:24:38.937449 2023] [ssl:warn] [pid 72554:tid 4396060961728] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache][Thu May 11 06:24:38.937511 2023] [lbmethod_heartbeat:notice] [pid 72554:tid 4396060961728] AH02282: No slotmem from mod_heartmonitor[Thu May 11 06:24:38.956294 2023] [mpm_event:notice] [pid 72554:tid 4396060961728] AH00489: Apache/2.4.56 (Unix) OpenSSL/1.1.1o configured -- resuming normal operations[Thu May 11 06:24:38.956314 2023] [core:notice] [pid 72554:tid 4396060961728] AH00094: Command line: '/www/server/apache/bin/httpd'[Thu May 11 06:26:50.041261 2023] [mpm_event:notice] [pid 72554:tid 4396060961728] AH00493: SIGUSR1 received.  Doing graceful restart[Thu May 11 06:26:50.046871 2023] [ssl:warn] [pid 72554:tid 4396060961728] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache][Thu May 11 06:26:50.046906 2023] [lbmethod_heartbeat:notice] [pid 72554:tid 4396060961728] AH02282: No slotmem from mod_heartmonitor[Thu May 11 06:26:50.047064 2023] [mpm_event:notice] [pid 72554:tid 4396060961728] AH00489: Apache/2.4.56 (Unix) OpenSSL/1.1.1o configured -- resuming normal operations[Thu May 11 06:26:50.047068 2023] [core:notice] [pid 72554:tid 4396060961728] AH00094: Command line: '/www/server/apache/bin/httpd'[Thu May 11 06:27:28.955724 2023] [mpm_event:notice] [pid 72554:tid 4396060961728] AH00493: SIGUSR1 received.  Doing graceful restart[Thu May 11 06:27:28.961641 2023] [ssl:warn] [pid 72554:tid 4396060961728] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache][Thu May 11 06:27:28.961680 2023] [lbmethod_heartbeat:notice] [pid 72554:tid 4396060961728] AH02282: No slotmem from mod_heartmonitor[Thu May 11 06:27:28.961838 2023] [mpm_event:notice] [pid 72554:tid 4396060961728] AH00489: Apache/2.4.56 (Unix) OpenSSL/1.1.1o configured -- resuming normal operations[Thu May 11 06:27:28.961841 2023] [core:notice] [pid 72554:tid 4396060961728] AH00094: Command line: '/www/server/apache/bin/httpd'[Thu May 11 06:28:07.140211 2023] [mpm_event:notice] [pid 72554:tid 4396060961728] AH00493: SIGUSR1 received.  Doing graceful restart[Thu May 11 06:28:07.146712 2023] [ssl:warn] [pid 72554:tid 4396060961728] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache][Thu May 11 06:28:07.146753 2023] [lbmethod_heartbeat:notice] [pid 72554:tid 4396060961728] AH02282: No slotmem from mod_heartmonitor[Thu May 11 06:28:07.146959 2023] [mpm_event:notice] [pid 72554:tid 4396060961728] AH00489: Apache/2.4.56 (Unix) OpenSSL/1.1.1o configured -- resuming normal operations[Thu May 11 06:28:07.146962 2023] [core:notice] [pid 72554:tid 4396060961728] AH00094: Command line: '/www/server/apache/bin/httpd'[Thu May 11 06:29:16.051362 2023] [mpm_event:notice] [pid 72554:tid 4396060961728] AH00493: SIGUSR1 received.  Doing graceful restart[Thu May 11 06:29:16.057931 2023] [ssl:warn] [pid 72554:tid 4396060961728] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache][Thu May 11 06:29:16.057977 2023] [lbmethod_heartbeat:notice] [pid 72554:tid 4396060961728] AH02282: No slotmem from mod_heartmonitor[Thu May 11 06:29:16.058228 2023] [mpm_event:notice] [pid 72554:tid 4396060961728] AH00489: Apache/2.4.56 (Unix) OpenSSL/1.1.1o configured -- resuming normal operations[Thu May 11 06:29:16.058231 2023] [core:notice] [pid 72554:tid 4396060961728] AH00094: Command line: '/www/server/apache/bin/httpd'[Thu May 11 06:29:29.444697 2023] [mpm_event:notice] [pid 72554:tid 4396060961728] AH00493: SIGUSR1 received.  Doing graceful restart(98)Address already in use: AH00072: make_sock: could not bind to address [::]:20779(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:20779[Thu May 11 06:29:29.448046 2023] [mpm_event:alert] [pid 72554:tid 4396060961728] no listening sockets available, shutting down[Thu May 11 06:29:29.448048 2023] [:emerg] [pid 72554:tid 4396060961728] AH00019: Unable to open logs, exiting[Thu May 11 06:54:48.724908 2023] [ssl:warn] [pid 1738:tid 4396053621696] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache][Thu May 11 06:54:48.731001 2023] [lbmethod_heartbeat:notice] [pid 1738:tid 4396053621696] AH02282: No slotmem from mod_heartmonitor[Thu May 11 06:54:48.731052 2023] [core:warn] [pid 1738:tid 4396053621696] AH00098: pid file /www/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?[Thu May 11 06:54:48.756356 2023] [mpm_event:notice] [pid 1738:tid 4396053621696] AH00489: Apache/2.4.56 (Unix) OpenSSL/1.1.1o configured -- resuming normal operations[Thu May 11 06:54:48.756379 2023] [core:notice] [pid 1738:tid 4396053621696] AH00094: Command line: '/www/server/apache/bin/httpd'[Thu May 11 06:54:56.345231 2023] [mpm_event:notice] [pid 1738:tid 4396053621696] AH00494: SIGHUP received.  Attempting to restart[Thu May 11 06:54:56.364883 2023] [ssl:warn] [pid 1738:tid 4396053621696] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache][Thu May 11 06:54:56.364920 2023] [lbmethod_heartbeat:notice] [pid 1738:tid 4396053621696] AH02282: No slotmem from mod_heartmonitor[Thu May 11 06:54:56.368015 2023] [mpm_event:notice] [pid 1738:tid 4396053621696] AH00489: Apache/2.4.56 (Unix) OpenSSL/1.1.1o configured -- resuming normal operations[Thu May 11 06:54:56.368023 2023] [core:notice] [pid 1738:tid 4396053621696] AH00094: Command line: '/www/server/apache/bin/httpd'[Thu May 11 07:22:46.916200 2023] [ssl:warn] [pid 1745:tid 4395901578176] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache][Thu May 11 07:22:46.916586 2023] [lbmethod_heartbeat:notice] [pid 1745:tid 4395901578176] AH02282: No slotmem from mod_heartmonitor[Thu May 11 07:22:46.916630 2023] [core:warn] [pid 1745:tid 4395901578176] AH00098: pid file /www/server/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?[Thu May 11 07:22:46.975701 2023] [mpm_event:notice] [pid 1745:tid 4395901578176] AH00489: Apache/2.4.56 (Unix) OpenSSL/1.1.1o configured -- resuming normal operations[Thu May 11 07:22:46.975727 2023] [core:notice] [pid 1745:tid 4395901578176] AH00094: Command line: '/www/server/apache/bin/httpd'[Thu May 11 07:22:56.958758 2023] [mpm_event:notice] [pid 1745:tid 4395901578176] AH00494: SIGHUP received.  Attempting to restart[Thu May 11 07:22:57.051773 2023] [ssl:warn] [pid 1745:tid 4395901578176] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache][Thu May 11 07:22:57.051840 2023] [lbmethod_heartbeat:notice] [pid 1745:tid 4395901578176] AH02282: No slotmem from mod_heartmonitor[Thu May 11 07:22:57.055223 2023] [mpm_event:notice] [pid 1745:tid 4395901578176] AH00489: Apache/2.4.56 (Unix) OpenSSL/1.1.1o configured -- resuming normal operations[Thu May 11 07:22:57.055236 2023] [core:notice] [pid 1745:tid 4395901578176] AH00094: Command line: '/www/server/apache/bin/httpd'

apache和nginx都无法启动

apache和nginx都无法启动
使用道具 举报 只看该作者 回复
发表于 2023-5-12 09:44:21 | 显示全部楼层
您好,apache启动提示(98)Address already in use: AH00072: make_sock: could not bind to address [::]:20779(98)Address already in use错误是有进程占用了20779端口,所以导致apache无法正常启动。可使用下面命令查看具体占用此端口的进程,您可将使用到20779端口的进程修改为其他端口,或者将您网站所使用的20779端口更改为其他端口
  1. netstat -anltp | grep 20779
复制代码


其次Nginx无法启动的问题,是因为您有安装到第三方的免费Nginx防火墙导致的,此问题是因为没有Lua模块问题没有加载到所以无法读取的Lua配置。如您需要使用到第三方Nginx免费防火墙,您可以尝试将Nginx卸载,使用编译模式尝试安装。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表