Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on clean install on centos 5 #320

Closed
clofresh opened this issue Dec 28, 2012 · 1 comment
Closed

Error on clean install on centos 5 #320

clofresh opened this issue Dec 28, 2012 · 1 comment

Comments

@clofresh
Copy link
Contributor

Agent started up fine, but had a syntax error message in the log:

Running Transaction
  Installing     : vixie-cron                                               1/5 
  Installing     : sysstat                                                  2/5 
  Installing     : pexpect                                                  3/5 
  Installing     : python-uuid                                              4/5 
  Installing     : datadog-agent-base                                       5/5Datadog agent is NOT running[WARNING]
Starting Datadog agent: No handlers could be found for logger "agent"
Traceback (most recent call last):
  File "/usr/share/datadog/agent/agent.py", line 237, in ?
    sys.exit(main())
  File "/usr/share/datadog/agent/agent.py", line 169, in main
    agentConfig = get_config()
  File "/usr/share/datadog/agent/config.py", line 175, in get_config
    config_path = get_config_path(cfg_path, os_name=getOS())
  File "/usr/share/datadog/agent/config.py", line 141, in get_config_path
    sys.stderr.write("Please supply a configuration file at %s or in the directory where the agent is currently deployed.\n" % exc.message)
AttributeError: PathNotFound instance has no attribute 'message'
Traceback (most recent call last):
  File "/usr/share/datadog/agent/dogstatsd.py", line 299, in ?
    sys.exit(main())
  File "/usr/share/datadog/agent/dogstatsd.py", line 262, in main
    reporter, server = init(config_path, use_watchdog=True, use_forwarder=opts.use_forwarder)
  File "/usr/share/datadog/agent/dogstatsd.py", line 226, in init
    c = get_config(parse_args=False, cfg_path=config_path, init_logging=True)
  File "/usr/share/datadog/agent/config.py", line 175, in get_config
    config_path = get_config_path(cfg_path, os_name=getOS())
  File "/usr/share/datadog/agent/config.py", line 141, in get_config_path
    sys.stderr.write("Please supply a configuration file at %s or in the directory where the agent is currently deployed.\n" % exc.message)
AttributeError: PathNotFound instance has no attribute 'message'
[FAILED]
@clofresh
Copy link
Contributor Author

Fixed in 3.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant