Guest User

Untitled

a guest
Oct 2nd, 2014
186
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2014-10-02 23:46:25,381 [noc.main.launcher] [noc-sync#0] Daemon started as PID 60053
  2. 2014-10-02 23:46:26,385 [noc.lib.debug] UNHANDLED EXCEPTION (2014-10-02 23:46:26.382772)
  3. Working directory: /opt/noc
  4. <type 'exceptions.AttributeError'>
  5. 'DaemonData' object has no attribute 'logname'
  6. START OF TRACEBACK
  7. ------------------------------------------------------------------------
  8. File: /opt/noc/main/launcher.py (Line: 234)
  9. Function: run
  10. 227 pid, status = os.waitpid(d.pid, os.WNOHANG)
  11. 228 except OSError:
  12. 229 pid = 0
  13. 230 status = 0
  14. 231 if pid == d.pid:
  15. 232 self.logger.info(
  16. 233 "%s daemon is terminated with status %d",
  17. 234 ==> d.logname, os.WEXITSTATUS(status)
  18. 235 )
  19. 236 d.pid = None
  20. 237 time.sleep(1)
  21. 238 t = time.time()
  22. 239 if self.crashinfo_uid is not None and t - last_crashinfo_check > 10:
  23. 240 # Fix crashinfo's permissions
  24. Variables:
  25. status = 256
  26. d = <DaemonData noc-sync>
  27. self = <noc.main.launcher.Launcher object at 0x8007a9690>
  28. pid = 60053
  29. last_crashinfo_check = 1412279185.379477
  30. t = 1412279186.382379
  31. ------------------------------------------------------------------------
  32. File: /opt/noc/lib/daemon/base.py (Line: 385)
  33. Function: guarded_run
  34. 378
  35. 379 def guarded_run(self):
  36. 380 """
  37. 381 Run daemon and catch common exceptions
  38. 382 :return:
  39. 383 """
  40. 384 try:
  41. 385 ==> self.run()
  42. 386 except KeyboardInterrupt:
  43. 387 pass
  44. 388 except MemoryError:
  45. 389 self.logger.error("Out of memory. Exiting.")
  46. 390 except SystemExit:
  47. 391 self.logger.info("Exiting")
  48. Variables:
  49. self = <noc.main.launcher.Launcher object at 0x8007a9690>
  50. ------------------------------------------------------------------------
  51. END OF TRACEBACK
RAW Paste Data