标题:
[已解决]
WDCP面板打不开
[打印本页]
作者:
redpear
时间:
2016-8-17 11:52
标题:
WDCP面板打不开
本帖最后由 redpear 于 2016-8-17 12:12 编辑
下载
(309.75 KB)
2016-8-17 11:51
对应的错误文件为
#!/bin/sh
#
# wdcp - this script starts and stops the wdcp daemon
#
# chkconfig: - 85 15
# description: wdCP system
# processname: wdcp
# Url
http://www.wdlinux.cn
# Last Updated 2010.06.01
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ "$NETWORKING" = "no" ] && exit 0
wdcp="/www/wdlinux/wdcp/wdcp"
prog=$(basename $wdcp)
lockfile=/var/lock/subsys/wdcp
start() {
echo -n $"Starting $prog: "
$wdcp &
echo_success
retval=$?
echo
[ $retval -eq 0 ] && touch $lockfile
return $retval
}
stop() {
echo -n $"Stopping $prog: "
killproc wdcp >/dev/null 2>&1
echo_success
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
uninstall() {
stop
rm -fr /www/wdlinux/wdcp
rm -f /etc/rc.d/init.d/wdcp
}
rh_status() {
status $prog
}
rh_status_q() {
rh_status >/dev/null 2>&1
}
case "$1" in
start)
rh_status_q && exit 0
$1
;;
stop)
rh_status_q || exit 0
$1
;;
restart)
$1
;;
status)
rh_status
;;
uninstall)
$1
;;
*)
echo $"Usage: $0 {start|stop|status|restart}"
exit 2
esac
图片附件:
QQ截图20160817114915.jpg
(2016-8-17 11:51, 309.75 KB) / 下载次数 5007
http://www.wdlinux.cn/bbs/attachment.php?aid=6522&k=39b33c4a29c2689bf656153733f24b8e&t=1714746494&sid=raH1Y8
作者:
redpear
时间:
2016-8-17 12:12
解决了,
问题出现原因,可能是昨天在面板中点击了 升级,却没升级成功
ssh 中执行了 wget http://wdcp3.wdlinux.cn/down/update.sh && sh update.sh
这个命令 面板可以访问了
作者:
redpear
时间:
2016-9-5 10:08
这个命令 面板可以访问了
欢迎光临 WDlinux官方论坛 (http://www.wdlinux.cn/bbs/)
Powered by Discuz! 7.2