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

CRIT reaped unknown pid #11

Open
lc3t35 opened this issue Dec 27, 2015 · 0 comments
Open

CRIT reaped unknown pid #11

lc3t35 opened this issue Dec 27, 2015 · 0 comments

Comments

@lc3t35
Copy link

lc3t35 commented Dec 27, 2015

Nothing is reachable on localhost, here are the logs

docker logs 15552a2f76d8
2015-12-27 16:28:56,211 CRIT Supervisor running as root (no user in config file)
2015-12-27 16:28:56,211 WARN Included extra file "/etc/supervisor/conf.d/shinken-scheduler.conf" during parsing
2015-12-27 16:28:56,211 WARN Included extra file "/etc/supervisor/conf.d/watch_shinken_config.conf" during parsing
2015-12-27 16:28:56,211 WARN Included extra file "/etc/supervisor/conf.d/shinken-broker.conf" during parsing
2015-12-27 16:28:56,211 WARN Included extra file "/etc/supervisor/conf.d/ntpd.conf" during parsing
2015-12-27 16:28:56,211 WARN Included extra file "/etc/supervisor/conf.d/shinken-reactionner.conf" during parsing
2015-12-27 16:28:56,212 WARN Included extra file "/etc/supervisor/conf.d/shinken-arbiter.conf" during parsing
2015-12-27 16:28:56,212 WARN Included extra file "/etc/supervisor/conf.d/nginx.conf" during parsing
2015-12-27 16:28:56,212 WARN Included extra file "/etc/supervisor/conf.d/shinken-receiver.conf" during parsing
2015-12-27 16:28:56,212 WARN Included extra file "/etc/supervisor/conf.d/shinken-poller.conf" during parsing
2015-12-27 16:28:56,236 INFO RPC interface 'supervisor' initialized
2015-12-27 16:28:56,236 WARN cElementTree not installed, using slower XML parser for XML-RPC
2015-12-27 16:28:56,236 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2015-12-27 16:28:56,236 INFO supervisord started with pid 1
2015-12-27 16:28:57,239 INFO spawned: 'ntpd' with pid 6
2015-12-27 16:28:57,240 INFO spawned: 'shinken-receiver' with pid 7
2015-12-27 16:28:57,242 INFO spawned: 'shinken-reactionner' with pid 8
2015-12-27 16:28:57,249 INFO spawned: 'nginx' with pid 9
2015-12-27 16:28:57,259 INFO spawned: 'shinken-poller' with pid 10
2015-12-27 16:28:57,272 INFO spawned: 'shinken-arbiter' with pid 11
2015-12-27 16:28:57,281 INFO spawned: 'watch_shinken_config' with pid 12
2015-12-27 16:28:57,283 INFO spawned: 'shinken-scheduler' with pid 13
2015-12-27 16:28:57,292 INFO spawned: 'shinken-broker' with pid 15
2015-12-27 16:28:58,344 INFO success: ntpd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-27 16:28:58,344 INFO success: shinken-receiver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-27 16:28:58,344 INFO success: shinken-reactionner entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-27 16:28:58,344 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-27 16:28:58,344 INFO success: shinken-poller entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-27 16:28:58,344 INFO success: shinken-arbiter entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-27 16:28:58,344 INFO success: watch_shinken_config entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-27 16:28:58,344 INFO success: shinken-scheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-27 16:28:58,344 INFO success: shinken-broker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2015-12-27 16:29:54,057 CRIT reaped unknown pid 142)

and from shinken (I've exported /var/log/shinken too)
reactionnerd.log

[1451233738] INFO: [Shinken] Shinken 2.4
[1451233738] INFO: [Shinken] Copyright (c) 2009-2014:
[1451233738] INFO: [Shinken] Gabes Jean ([email protected])
[1451233738] INFO: [Shinken] Gerhard Lausser, [email protected]
[1451233738] INFO: [Shinken] Gregory Starck, [email protected]
[1451233738] INFO: [Shinken] Hartmut Goebel, [email protected]
[1451233738] INFO: [Shinken] License: AGPL
[1451233738] INFO: [Shinken] Trying to initialize additional groups for the daemon
[1451233738] WARNING: [Shinken] Cannot call the additional groups setting with initgroups (Operation not permitted)
[1451233738] INFO: [Shinken] Stale pidfile exists at invalid literal for int() with base 10: '' (/var/run/shinken/reactionnerd.pid). Reusing it.
[1451233738] INFO: [Shinken] Opening HTTP socket at http://0.0.0.0:7769
[1451233738] INFO: [Shinken] Initializing a CherryPy backend with 8 threads
[1451233738] INFO: [Shinken] Using the local log file '/var/log/shinken/reactionnerd.log'
[1451233739] INFO: [Shinken] Starting HTTP daemon
[1451233739] INFO: [Shinken] Modules directory: /var/lib/shinken/modules
[1451233739] INFO: [Shinken] Modules directory: /var/lib/shinken/modules
[1451233739] INFO: [Shinken] Waiting for initial configuration
[1451233741] INFO: [Shinken] [reactionner-master] Init connection with scheduler-master at http://localhost:7768/ (3s,120s)
[1451233741] INFO: [Shinken] [reactionner-master] Connection OK with scheduler scheduler-master
[1451233741] INFO: [Shinken] [reactionner-master] Using max workers: 15
[1451233741] INFO: [Shinken] [reactionner-master] Using min workers: 1
[1451233741] INFO: [Shinken] We have our schedulers: {0: {'wait_homerun': {}, 'data_timeout': 120, 'name': u'scheduler-master', 'hard_ssl_name_check': False, 'uri': u'http://localhost:7768/', 'actions': {}, 'instance_id': 0, 'running_id': 1451233737.7663794, 'timeout': 3, 'address': u'localhost', 'active': True, 'use_ssl': False, 'push_flavor': 955504, 'port': 7768, 'con': <shinken.http_client.HTTPClient object at 0x2782990>}}
[1451233741] WARNING: [Shinken] Cannot import pickle-retention-file-scheduler..module : 'module' object has no attribute 'objects'
[1451233741] WARNING: [Shinken] Trying to load '/var/lib/shinken/modules/pickle-retention-file-scheduler' as an (very-)old-style shinken "module" : by adding its path to sys.path. This can be (very) bad in case of name conflicts within the files part of /var/lib/shinken/modules/pickle-retention-file-scheduler and others top-level python modules; I'll try to limit that.
[1451233741] ERROR: [Shinken] Could not import bare 'module.py' from /var/lib/shinken/modules/pickle-retention-file-scheduler : 'module' object has no attribute 'objects'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/shinken/modulesmanager.py", line 114, in try_very_bad_load
    return importlib.import_module('module')
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/var/lib/shinken/modules/pickle-retention-file-scheduler/module.py", line 38, in <module>
    shinken.objects.command.CommandCall = CommandCall
AttributeError: 'module' object has no attribute 'objects'
[1451233741] INFO: [Shinken] Correctly loaded auth-htpasswd as an old-new-style shinken module :|
[1451233741] INFO: [Shinken] Correctly loaded booster-nrpe as an old-new-style shinken module :|
[1451233741] INFO: [Shinken] Correctly loaded webui as an old-new-style shinken module :|
[1451233741] INFO: [Shinken] Correctly loaded sqlitedb as an old-new-style shinken module :|
[1451233741] INFO: [Shinken] Correctly loaded dummy_broker_external as an old-new-style shinken module :|
[1451233741] INFO: [Shinken] Correctly loaded dummy_arbiter as an old-new-style shinken module :|
[1451233741] INFO: [Shinken] Correctly loaded dummy_poller as an old-new-style shinken module :|
[1451233741] INFO: [Shinken] Correctly loaded dummy_broker as an old-new-style shinken module :|
[1451233741] INFO: [Shinken] Correctly loaded dummy_scheduler as an old-new-style shinken module :|
[1451233741] INFO: [Shinken] I correctly loaded the modules: []
[1451233742] INFO: [Shinken] [reactionner-master] Allocating new fork Worker: 0

pollerd.log

[1451233738] INFO: [Shinken] Shinken 2.4
[1451233738] INFO: [Shinken] Copyright (c) 2009-2014:
[1451233738] INFO: [Shinken] Gabes Jean ([email protected])
[1451233738] INFO: [Shinken] Gerhard Lausser, [email protected]
[1451233738] INFO: [Shinken] Gregory Starck, [email protected]
[1451233738] INFO: [Shinken] Hartmut Goebel, [email protected]
[1451233738] INFO: [Shinken] License: AGPL
[1451233738] INFO: [Shinken] Trying to initialize additional groups for the daemon
[1451233738] WARNING: [Shinken] Cannot call the additional groups setting with initgroups (Operation not permitted)
[1451233738] INFO: [Shinken] Stale pidfile exists at invalid literal for int() with base 10: '' (/var/run/shinken/pollerd.pid). Reusing it.
[1451233738] INFO: [Shinken] Opening HTTP socket at http://0.0.0.0:7771
[1451233738] INFO: [Shinken] Initializing a CherryPy backend with 8 threads
[1451233738] INFO: [Shinken] Using the local log file '/var/log/shinken/pollerd.log'
[1451233738] INFO: [Shinken] Starting HTTP daemon
[1451233739] INFO: [Shinken] Modules directory: /var/lib/shinken/modules
[1451233739] INFO: [Shinken] Modules directory: /var/lib/shinken/modules
[1451233739] INFO: [Shinken] Waiting for initial configuration
[1451233742] INFO: [Shinken] [poller-master] Init connection with scheduler-master at http://localhost:7768/ (3s,120s)
[1451233742] INFO: [Shinken] [poller-master] Connection OK with scheduler scheduler-master
[1451233742] INFO: [Shinken] [poller-master] Using max workers: 1
[1451233742] INFO: [Shinken] [poller-master] Using min workers: 1
[1451233742] INFO: [Shinken] We have our schedulers: {0: {'wait_homerun': {}, 'data_timeout': 120, 'name': u'scheduler-master', 'hard_ssl_name_check': False, 'uri': u'http://localhost:7768/', 'actions': {}, 'instance_id': 0, 'running_id': 1451233737.7663794, 'timeout': 3, 'address': u'localhost', 'active': True, 'use_ssl': False, 'push_flavor': 955504, 'port': 7768, 'con': <shinken.http_client.HTTPClient object at 0x109e950>}}
[1451233742] INFO: [Shinken] [poller-master] Got module: nrpe_poller 
[1451233742] INFO: [Shinken] Correctly loaded pickle-retention-file-scheduler as an old-new-style shinken module :|
[1451233742] INFO: [Shinken] Correctly loaded auth-htpasswd as an old-new-style shinken module :|
[1451233742] INFO: [Shinken] Correctly loaded booster-nrpe as an old-new-style shinken module :|
[1451233742] INFO: [Shinken] Correctly loaded webui as an old-new-style shinken module :|
[1451233742] INFO: [Shinken] Correctly loaded sqlitedb as an old-new-style shinken module :|
[1451233742] INFO: [Shinken] Correctly loaded dummy_broker_external as an old-new-style shinken module :|
[1451233742] INFO: [Shinken] Correctly loaded dummy_arbiter as an old-new-style shinken module :|
[1451233742] INFO: [Shinken] Correctly loaded dummy_poller as an old-new-style shinken module :|
[1451233742] INFO: [Shinken] Correctly loaded dummy_broker as an old-new-style shinken module :|
[1451233742] INFO: [Shinken] Correctly loaded dummy_scheduler as an old-new-style shinken module :|
[1451233742] INFO: [Shinken] [NRPEPoller] Get a nrpe poller module for plugin booster-nrpe
[1451233742] INFO: [Shinken] Trying to init module: booster-nrpe
[1451233742] INFO: [Shinken] [NRPEPoller] Initialization of the nrpe poller module
[1451233742] INFO: [Shinken] I correctly loaded the modules: [booster-nrpe]
[1451233743] INFO: [Shinken] [poller-master] Allocating new fork Worker: 0
[1451233743] INFO: [Shinken] [poller-master] Allocating new nrpe_poller Worker: 1
[1451233743] INFO: [Shinken] [NRPEPoller] Module started!
[1451234010] ERROR: [Shinken] Fail launching command: /usr/lib/nagios/plugins/check_memory -w 90 -c 95 [Errno 8] Exec format error False
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