[root@localhost ~]# service wdapache restart
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:8080
no listening sockets available, shutting down
Unable to open logs
MySQL Query Error:insert into wd_loginlog(name,passwd,lip,ltime,state) values('admin','********\','123.0.0.150','1365904141',1)
这个是登入会在数据库的表插入登入日志,插入出错了。尝试清空日志表。
[root@localhost ~]# service wdapache restart
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:8080
no listening sockets available, shutting down
Unable to open logs
这个是端口被占用的意思
执行
for i in `lsof -i:8080 |awk '{print $2}' |grep -v "PID"`;do kill -9 $i;done;service wdapache start