页次: 1
# systemctl status -l goagent
● goagent.service - GoAgent Service
Loaded: loaded (/usr/lib/systemd/system/goagent.service; enabled)
Active: failed (Result: exit-code) since Tue 2014-04-29 18:47:00 CST; 4s ago
Process: 2759 ExecStart=/usr/share/goagent/local/goagent (code=exited, status=1/FAILURE)
Main PID: 2759 (code=exited, status=1/FAILURE)
Apr 29 18:47:00 localhost goagent[2759]: File "/usr/lib/python2.7/ConfigParser.py", line 305, in read
Apr 29 18:47:00 localhost goagent[2759]: self._read(fp, filename)
Apr 29 18:47:00 localhost goagent[2759]: File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
Apr 29 18:47:00 localhost goagent[2759]: raise MissingSectionHeaderError(fpname, lineno, line)
Apr 29 18:47:00 localhost goagent[2759]: ConfigParser.MissingSectionHeaderError: File contains no section headers.
Apr 29 18:47:00 localhost goagent[2759]: file: /usr/share/goagent/local/goagent.user.ini, line: 1
Apr 29 18:47:00 localhost goagent[2759]: 'appid=my_appid\n'
Apr 29 18:47:00 localhost goagent[2759]: Exception KeyError: KeyError(140553727822896,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
Apr 29 18:47:00 localhost systemd[1]: goagent.service: main process exited, code=exited, status=1/FAILURE
Apr 29 18:47:00 localhost systemd[1]: Unit goagent.service entered failed state.
# cat /etc/goagent
appid=my_appid
按wiki上的说法应该就是在/etc/goagent里面填啊……可是不成功
我现在每次都是改/usr/share/goagent/local/goagent.ini……
离线
facebook跟youtube,这两个只是被dns污染, 没完全禁掉
离线
配置文件没有写节(section)名。例如:
[gae]
appid = xxx
离线
仙子眼睛犀利ConfigParser.MissingSectionHeaderError: File contains no section headers.
离线
配置文件没有写节(section)名。例如:
[gae] appid = xxx
啊……原来还要写上这个……仙子是厉害。
离线
页次: 1