0
Shinken通過pip
安裝在virtualenv
:AttributeError:'Config'對象在啓動shinken-arbiter時沒有屬性'http_backend'?
sudo /opt/shinken/bin/pip install -e git+https://github.com/naparuba/shinken.git#egg=shinken
一切順利,直到最後一步:
sudo /opt/shinken/bin/shinken-arbiter -d -c /opt/shinken/etc/nagios.cfg -c /opt/shinken/etc/shinken-specific.cfg
[1385534688] Critical : I got an unrecoverable error. I have to exit
[1385534688] Critical : You can log a bug ticket at https://github.com/naparuba/shinken/issues/new to get help
[1385534688] Critical : Exception trace follows: Traceback (most recent call last):
File "/opt/shinken/src/shinken/shinken/daemons/arbiterdaemon.py", line 563, in main
self.load_config_file()
File "/opt/shinken/src/shinken/shinken/daemons/arbiterdaemon.py", line 467, in load_config_file
self.http_backend = self.conf.http_backend
AttributeError: 'Config' object has no attribute 'http_backend'
Traceback (most recent call last):
File "/opt/shinken/bin/shinken-arbiter", line 8, in <module>
execfile(__file__)
File "/opt/shinken/src/shinken/bin/shinken-arbiter", line 118, in <module>
daemon.main()
File "/opt/shinken/src/shinken/shinken/daemons/arbiterdaemon.py", line 563, in main
self.load_config_file()
File "/opt/shinken/src/shinken/shinken/daemons/arbiterdaemon.py", line 467, in load_config_file
self.http_backend = self.conf.http_backend
AttributeError: 'Config' object has no attribute 'http_backend'
arbiterdaemon.py
:https://github.com/naparuba/shinken/blob/master/shinken/daemons/arbiterdaemon.py
- 的Python 2.7.6
- PIP 1.4.1來回米/opt/shinken/lib/python2.7/site-packages(Python 2.7版)
- 進研仲裁器:1.4
你應該報告這在github上(如果你還沒有)。 –