Skip to content
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.

pushmanager complains about lack of access to /var/log/api.*.log #19

Open
mrtyler opened this issue Jun 21, 2013 · 0 comments
Open

pushmanager complains about lack of access to /var/log/api.*.log #19

mrtyler opened this issue Jun 21, 2013 · 0 comments

Comments

@mrtyler
Copy link
Contributor

mrtyler commented Jun 21, 2013

troscoe@gitaux:/nail/web/pushmanager (master) $ make restart
serviceinit.d/pushmanager stop
StoppingWARNING:root:Can not load configuration from 'config.yaml'.
WARNING:root:Will try loading defaults from 'config.yaml.example'.
Traceback (most recent call last):
  File "pushmanager_api.py", line 40, in <module>
    app = PushManagerAPIApp()
  File "/nail/web/pushmanager/pushmanager/core/application.py", line 31, in __init__
    self.log = open(self.log_file, 'a+')
IOError: [Errno 2] No such file or directory: '/var/log/pushmanager/api.8843.log'
... [OK]
serviceinit.d/pushmanager start
StartingWARNING:root:Can not load configuration from 'config.yaml'.
WARNING:root:Will try loading defaults from 'config.yaml.example'.
Traceback (most recent call last):
  File "pushmanager_api.py", line 40, in <module>
    app = PushManagerAPIApp()
  File "/nail/web/pushmanager/pushmanager/core/application.py", line 31, in __init__
    self.log = open(self.log_file, 'a+')
IOError: [Errno 2] No such file or directory: '/var/log/pushmanager/api.8843.log'
... [OK]

The restart appears to work ok regardless.

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

No branches or pull requests

1 participant