/etc/rc.d/goagent: line 9: stat_busy: command not found

其他Linux/Unix/BSD/OSX等发行版讨论
回复
132811
帖子: 194
注册时间: 2010-04-20 21:19
系统: ArchLinux
来自: My gtalk:a132811@
联系:

/etc/rc.d/goagent: line 9: stat_busy: command not found

#1

帖子 132811 » 2012-11-04 15:41

怎么解决呀?

$ sudo /etc/rc.d/goagent start
[sudo] password for hilo:
/etc/rc.d/goagent: line 4: /etc/rc.d/functions: No such file or directory
/etc/rc.d/goagent: line 9: stat_busy: command not found
/etc/rc.d/goagent: line 17: add_daemon: command not found
/etc/rc.d/goagent: line 18: stat_done: command not found

=========================
看最新的archlinux wiki中,很多配置都不在rc.conf中设置了.https://wiki.archlinux.org/index.php/In ... %E6%96%87)
我也是昨天新装的,默认连/etc/rc.conf ,/etc/rc.d/functions都没有,我记得原来的wiki还让写rc.conf加network-manager这些daemon呢,现在默认都自动启动了.
http://hilojack.sinaapp.com
i3 M370(2.4G)/500G/8G/OpenGL:Gallium 0.4 on nvidia 3100M
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: /etc/rc.d/goagent: line 9: stat_busy: command not found

#2

帖子 cuihao » 2012-11-04 15:43

代码: 全选

sudo systemctl start goagent.service
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
132811
帖子: 194
注册时间: 2010-04-20 21:19
系统: ArchLinux
来自: My gtalk:a132811@
联系:

Re: /etc/rc.d/goagent: line 9: stat_busy: command not found

#3

帖子 132811 » 2012-11-04 15:49

@cuihao兄

代码: 全选

[hilo@hilo ~]$ sudo systemctl start goagent.service
[hilo@hilo ~]$ ps aux|grep goagent
hilo     26178  0.0  0.0  13500  1072 pts/2    S+   18:48   0:00 grep --color=auto goagent
没有进程??127.0.0.1:8087也无响应..
http://hilojack.sinaapp.com
i3 M370(2.4G)/500G/8G/OpenGL:Gallium 0.4 on nvidia 3100M
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: /etc/rc.d/goagent: line 9: stat_busy: command not found

#4

帖子 cuihao » 2012-11-04 15:53

goagent是python脚本,自然没有进程。

代码: 全选

cuihao@cuihao-arch ~ $ ps -aux | grep python
root      3057  0.0  0.2  96236 11832 ?        Ss   15:43   0:00 python2 /opt/goagent/local/proxy.py
cuihao    3482  0.0  0.0  13756  1028 pts/1    S+   15:52   0:00 grep --color=auto python
用不了的话,十有八九是配置错误。可以自己执行 /opt/goagent/local/proxy.py 看看错误信息。
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
132811
帖子: 194
注册时间: 2010-04-20 21:19
系统: ArchLinux
来自: My gtalk:a132811@
联系:

Re: /etc/rc.d/goagent: line 9: stat_busy: command not found

#5

帖子 132811 » 2012-11-04 16:02

的确是配置问题,appid我没有改.改了后就有python进程了. 多谢崔浩同学!
再问下,archlinuxcn的irc是这个吧irc.freenode.net/6667?
怎么我连不上了?这几天gtalk也挂了.
http://hilojack.sinaapp.com
i3 M370(2.4G)/500G/8G/OpenGL:Gallium 0.4 on nvidia 3100M
头像
cuihao
帖子: 4793
注册时间: 2008-07-24 11:33
来自: 郑州
联系:

Re: /etc/rc.d/goagent: line 9: stat_busy: command not found

#6

帖子 cuihao » 2012-11-04 16:09

哦,没怎么去过。我的xchat抽风已久。
求人不如求它仨: 天蓝的Wiki 屎黄的Wiki 绿
Site: CUIHAO.TK    Twitter: @cuihaoleo
Machine: Athlon64 X2 5200+ / 2x2GB DDR2-800 / GeForce GTS 450
AD: ~まだ見ぬ誰かの笑顔のために~
回复