Closed Zenuncl closed 8 years ago
你的 mysql 是事先已经安装好的 ? 可能是这种情况, 处理的不太好。 可能要加一个选项处理这种情况。
你可以先把 https://github.com/ftao/vpn-deploy-playbook/blob/master/roles/db/tasks/main.yml#L15-L18 这部分先注释掉吧。
嗯,我发现是这个地方的问题,删除掉就好了。 现在遇到新问题,在ocserv启动的时候报错
NOTIFIED: [ocserv | restart ocserv] *******************************************
failed: [localhost] => {"failed": true}
msg: FAILED: attempted to kill ocserv with sig SIGTERM but it wasn't running
ocserv: ERROR (already started)
FATAL: all hosts have already failed -- aborting
NOTIFIED: [ocserv | restart ocserv] *******************************************
FATAL: no hosts matched or all hosts have already failed -- aborting
FATAL: all hosts have already failed -- aborting
NOTIFIED: [ocserv | restart ocserv] *******************************************
FATAL: no hosts matched or all hosts have already failed -- aborting
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/openconnect.retry
已解决...
这个可能是第一次, 进程还不存在? 我测试一下。
谢谢,现在好了...
consider this issue resolved
应该是MySQL链接出错,但是密码已经写进去了,还有哪里不对?MysQL是已经装好了的