Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2014-10-02 23:46:25,381 [noc.main.launcher] [noc-sync#0] Daemon started as PID 60053
- 2014-10-02 23:46:26,385 [noc.lib.debug] UNHANDLED EXCEPTION (2014-10-02 23:46:26.382772)
- Working directory: /opt/noc
- <type 'exceptions.AttributeError'>
- 'DaemonData' object has no attribute 'logname'
- START OF TRACEBACK
- ------------------------------------------------------------------------
- File: /opt/noc/main/launcher.py (Line: 234)
- Function: run
- 227 pid, status = os.waitpid(d.pid, os.WNOHANG)
- 228 except OSError:
- 229 pid = 0
- 230 status = 0
- 231 if pid == d.pid:
- 232 self.logger.info(
- 233 "%s daemon is terminated with status %d",
- 234 ==> d.logname, os.WEXITSTATUS(status)
- 235 )
- 236 d.pid = None
- 237 time.sleep(1)
- 238 t = time.time()
- 239 if self.crashinfo_uid is not None and t - last_crashinfo_check > 10:
- 240 # Fix crashinfo's permissions
- Variables:
- status = 256
- d = <DaemonData noc-sync>
- self = <noc.main.launcher.Launcher object at 0x8007a9690>
- pid = 60053
- last_crashinfo_check = 1412279185.379477
- t = 1412279186.382379
- ------------------------------------------------------------------------
- File: /opt/noc/lib/daemon/base.py (Line: 385)
- Function: guarded_run
- 378
- 379 def guarded_run(self):
- 380 """
- 381 Run daemon and catch common exceptions
- 382 :return:
- 383 """
- 384 try:
- 385 ==> self.run()
- 386 except KeyboardInterrupt:
- 387 pass
- 388 except MemoryError:
- 389 self.logger.error("Out of memory. Exiting.")
- 390 except SystemExit:
- 391 self.logger.info("Exiting")
- Variables:
- self = <noc.main.launcher.Launcher object at 0x8007a9690>
- ------------------------------------------------------------------------
- END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment