我安装了http://code.google.com/p/google-mobwrite/wiki/Daemonmobwrite,但是当我尝试运行它时,守护进程不会启动,它会返回以下信息:(有什么建议吗?)
root@mobs:~/mobwrite/daemon# python2.4 mobwrite_daemon.py
Traceback (most recent call last):
File "mobwrite_daemon.py", line 728, in ?
main()
File "mobwrite_daemon.py", line 703, in main
mobwrite_core.CFG.initConfig(ROOT_DIR + "lib/mobwrite_config.txt")
AttributeError: 'module' object has no attribute 'CFG'
root@mobs:~/mobwrite/daemon# nohup python2.4 mobwrite_daemon.py
nohup: ignoring input and appending output to `nohup.out'
root@mobs:~/mobwrite/daemon# ps waux |grep mobwrite
root 1202 0.0 0.2 6156 668 pts/0 S+ 18:35 0:00 grep --color=au to mobwrite
最佳答案
回到你未压缩的目录,对我来说它叫做mobbwrite_daemon。然后需要将目录lib及其所有内容复制到运行守护程序的目录中。那就行了。
关于php - 暴民写问题-守护程序将无法启动,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10566425/