四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区
標題:
[BUG反饋]
wdCP v3.2.21 計劃任務"WEB重啟"執(zhí)行之后所有網(wǎng)站不能訪問
[打印本頁]
作者:
shaokeyinyue
時間:
2018-6-7 06:17
標題:
wdCP v3.2.21 計劃任務"WEB重啟"執(zhí)行之后所有網(wǎng)站不能訪問
#!/bin/bash
# wdcp tools
#
# author wdlinux
# url
http://cd-genova.com
tld="/www/wdlinux/wdcp/logs"
[ ! -d $tld ] && mkdir -p $tld
tlf=$tld/task.log
netstat -lnpt | grep nginx && killall -9 nginx && service nginxd start && date >> $tlf && echo "nginx restart success" >> $tlf
netstat -lnpt | grep httpd && killall -9 httpd && service httpd start && date >> $tlf && echo "apache restart success" >> $tlf && exit 0
date >> $tlf && echo "web restart fail" && exit 1
以上是WDCP自帶的網(wǎng)站重啟腳本,不知道哪邊有問題,請技術人員看下!
計劃任務
"WEB重啟"執(zhí)行之后網(wǎng)站不能訪問, 需要手動在"系統(tǒng)管理-->服務重啟"中執(zhí)行web重啟才可以重新打開網(wǎng)站, 請教管理員和各位高手, 這是什么原因, 如何解決.
作者:
lzh370
時間:
2018-8-9 09:56
同樣問題,樓主解決了嗎?
作者:
wangyouworld
時間:
2018-8-10 11:05
本帖最后由 wangyouworld 于 2018-8-10 11:10 編輯
看下啟動失敗的報錯日志。
nginx 的在,cd /www/wdlinux/nginx/logs/
像Centos的,可以使用
service nginxd restart
service httpd restart
即可。
歡迎光臨 WDlinux官方論壇 (http://cd-genova.com/bbs/)
Powered by Discuz! 7.2