Ask Your Question
0

Healthnmon NoSectionError error

asked 2013-06-26 04:29:06 -0600

Jobin gravatar image

I installed healthnmon by downloading the zip file from github and using setup python install on Ubuntu 12.04 already having grizzly and ceilometer installed on it.

After this when I did a healthnmon-manage db sync I got this error message:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/healthnmon-0.0.0-py2.7.egg/healthnmon/log.py", line 247, in healthnmon_manage_setup
    logging.config.fileConfig(CONF.healthnmon_manage_log_config)
  File "/usr/lib/python2.7/logging/config.py", line 70, in fileConfig
    formatters = _create_formatters(cp)
  File "/usr/lib/python2.7/logging/config.py", line 106, in _create_formatters
    flist = cp.get("formatters", "keys")
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
NoSectionError: No section: 'formatters'
Traceback (most recent call last):
  File "/usr/local/bin/healthnmon-manage", line 5, in <module>
    pkg_resources.run_script('healthnmon==0.0.0', 'healthnmon-manage')
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 499, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1235, in run_script
    execfile(script_filename, namespace, namespace)
  File "/usr/local/lib/python2.7/dist-packages/healthnmon-0.0.0-py2.7.egg/EGG-INFO/scripts/healthnmon-manage", line 317, in <module>
    main()
  File "/usr/local/lib/python2.7/dist-packages/healthnmon-0.0.0-py2.7.egg/EGG-INFO/scripts/healthnmon-manage", line 273, in main
    logging.healthnmon_manage_setup()
  File "/usr/local/lib/python2.7/dist-packages/healthnmon-0.0.0-py2.7.egg/healthnmon/log.py", line 247, in healthnmon_manage_setup
    logging.config.fileConfig(CONF.healthnmon_manage_log_config)
  File "/usr/lib/python2.7/logging/config.py", line 70, in fileConfig
    formatters = _create_formatters(cp)
  File "/usr/lib/python2.7/logging/config.py", line 106, in _create_formatters
    flist = cp.get("formatters", "keys")
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'

What can be done to fix this?

edit retag flag offensive close merge delete

Comments

Please leave a comment so that I know the reason for the downvote.

Jobin gravatar imageJobin ( 2013-06-26 04:40:25 -0600 )edit

I get the same error!

xiyoulaoyuanjia gravatar imagexiyoulaoyuanjia ( 2013-06-28 11:55:53 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-07-16 06:17:05 -0600

mayank0107 gravatar image

Please check if /var/log/healthnmon/ and /etc/healthnmon/ directory exists. If not, create them and try

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-06-26 04:29:06 -0600

Seen: 671 times

Last updated: Jul 16 '14