Core 4.0.8 / NDO2DB v2.0.0

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
mrmister
Posts: 6
Joined: Wed Nov 19, 2014 12:14 pm

Core 4.0.8 / NDO2DB v2.0.0

Post by mrmister »

short story - database is not being populated , after some time the error 'Error: max retries exceeded sending message to queue. Kernel queue parameters may neeed to be tuned. See README.' appears , i have adjusted tuning suitably and can not see any connections between my sql server and nagios server form either end.


the ndo2db daemon doesn't seem to do anything, More details below and how its setup

I can connect fine manually from this host / credentials / permission / firewalls have all been checked and confirmed good,

The only thing different about my setup is that the mysql install is on a separate server and uses a custom ip (custom ip is set in ndo2db.cfg)

Due to this i could not run the 'installdb' setup script as i cannot find a way to specify the port , if i used -h ipaddress:port it would see the whole string as a host name and i could not find a way around it - i then just imported the mysql.sql to setup the db , created the user , and assigned permissions - this is the only thing that wasnt setup quite as it should be , im not convinced its the issue though. The fact i can see no communication between this box and the mysql box at all while its running points out the problem - i see no connections on the network and nothing in mariadb log or the ndo2db log but have no idea where to look now


I can start ndo2db deamon and all says successful in nagios log and /var/log/messages log . i ran through the config files many times and im sure all is fine but nothing in db is populated.

I just cannot see any evidence of an attempted connection out from this server, monitoring connections i done see any communication at all - if i manually initiate a connection from command line using same details i see it straight away.


I get no errors until it has been running for some time,then i get ndo2db[14021]: Error: max retries exceeded sending message to queue. Kernel queue parameters may neeed to be tuned. See README.

I don't think that the tuning is the issue, initially i had errors regarding max bytes being used and i adjusted settings and everything looked good - but after a while with it not pushing anything to the db these messages must be backing up somewhere


log below shows restart of ndo2db then nagios

Code: Select all

Nov 19 17:43:54 nagiosserver systemd: Starting LSB: Nagios NDO2DB Initscript...
Nov 19 17:43:54 nagiosserver ndo2db: Starting ndo2db: done.
Nov 19 17:43:54 nagiosserver systemd: Started LSB: Nagios NDO2DB Initscript.
Nov 19 17:44:09 nagiosserver nagios: ndomod: Successfully reconnected to data sink!  0 items lost, 822 queued items to flush.
Nov 19 17:44:09 nagiosserver nagios: ndomod: Successfully flushed 822 queued items to data sink.
Nov 19 17:44:09 nagiosserver systemd: Stopping LSB: Starts and stops the Nagios monitoring server...
Nov 19 17:44:09 nagiosserver nagios: Stopping nagios:No lock file found in /usr/local/nagios/var/nagios.lock
Nov 19 17:44:09 nagiosserver systemd: nagios.service: control process exited, code=exited status=1
Nov 19 17:44:09 nagiosserver systemd: Unit nagios.service entered failed state.
Nov 19 17:44:09 nagiosserver systemd: Starting LSB: Starts and stops the Nagios monitoring server...
Nov 19 17:44:09 nagiosserver nagios: Warning: use_embedded_perl_implicitly is deprecated and will be removed.
Nov 19 17:44:09 nagiosserver nagios: Warning: enable_embedded_perl is deprecated and will be removed.
Nov 19 17:44:09 nagiosserver nagios: Warning: p1_file is deprecated and will be removed.
Nov 19 17:44:09 nagiosserver nagios: Warning: sleep_time is deprecated and will be removed.
Nov 19 17:44:09 nagiosserver nagios: Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Nov 19 17:44:09 nagiosserver nagios: Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
Nov 19 17:44:09 nagiosserver nagios: Nagios 4.0.8 starting... (PID=17472)
Nov 19 17:44:09 nagiosserver nagios: Local time is Wed Nov 19 17:44:09 UTC 2014
Nov 19 17:44:09 nagiosserver nagios: LOG VERSION: 2.0
Nov 19 17:44:09 nagiosserver nagios: qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
Nov 19 17:44:09 nagiosserver nagios: qh: core query handler registered
Nov 19 17:44:09 nagiosserver nagios: nerd: Channel hostchecks registered successfully
Nov 19 17:44:09 nagiosserver nagios: nerd: Channel servicechecks registered successfully
Nov 19 17:44:09 nagiosserver nagios: nerd: Channel opathchecks registered successfully
Nov 19 17:44:09 nagiosserver nagios: nerd: Fully initialized and ready to rock!
Nov 19 17:44:09 nagiosserver nagios: wproc: Successfully registered manager as @wproc with query handler
Nov 19 17:44:09 nagiosserver nagios: Starting nagios: done.
Nov 19 17:44:09 nagiosserver systemd: Started LSB: Starts and stops the Nagios monitoring server.
Nov 19 17:44:09 nagiosserver nagios: wproc: Registry request: name=Core Worker 17475;pid=17475
Nov 19 17:44:09 nagiosserver nagios: wproc: Registry request: name=Core Worker 17477;pid=17477
Nov 19 17:44:09 nagiosserver nagios: wproc: Registry request: name=Core Worker 17476;pid=17476
Nov 19 17:44:09 nagiosserver nagios: wproc: Registry request: name=Core Worker 17474;pid=17474
Nov 19 17:44:09 nagiosserver nagios: ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
Nov 19 17:44:09 nagiosserver nagios: ndomod: Successfully connected to data sink.  357 queued items to flush.
Nov 19 17:44:09 nagiosserver nagios: ndomod: Successfully flushed 357 queued items to data sink.
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for process data
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for timed event data
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for log data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for system command data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for event handler data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for notification data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for service check data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for host check data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for comment data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for downtime data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for flapping data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for program status data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for host status data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for service status data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for adaptive program data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for adaptive host data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for adaptive service data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for external command data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for aggregated status data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for retention data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for contact data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for contact notification data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for acknowledgement data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for contact status data'
Nov 19 17:44:09 nagiosserver nagios: ndomod registered for adaptive contact data'
Nov 19 17:44:09 nagiosserver nagios: Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
Nov 19 17:44:09 nagiosserver nagios: Warning: failure_prediction_enabled is obsoleted and no longer has any effect in host type objects (config file '/usr/local/nagios/etc/objects/templates.cfg', starting at line 52)
Nov 19 17:44:09 nagiosserver nagios: Warning: failure_prediction_enabled is obsoleted and no longer has any effect in service type objects (config file '/usr/local/nagios/etc/objects/templates.cfg', starting at line 169)
Nov 19 17:44:16 nagiosserver nagios: Successfully launched command file worker with pid 17492

can anyone provide any pointer where i can look , or is my configuration just not supported ?

any help much appreciated.

Thanks
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by sreinhardt »

To make things a bit more clear when reading back, you currently have:

nagios, ndomod, and ndo2db on one system
mysql on a separate system to house ndo2db and nagiosql data.

Let's start off with the easy stuff. Did you set a different password for the nagios mysql user than n@gweb? This is perfectly fine, but needs to be changed in the right places.
Also, when ndo2db, regardless of nagios being started or not, is started are you seeing a network connection being made and kept open to the mysql server?

Code: Select all

netstat -nao | grep 3306
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
mrmister
Posts: 6
Joined: Wed Nov 19, 2014 12:14 pm

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by mrmister »

Hi , thanks for the reply.

You are correct regarding the servers / services

I do have a separate SQL user which I have added to the config file

I haven't tried without nagios running, but looking at myphpadmin status I see no connection, I have also been using netstat to catch connection from both ends but I see nothing. I can't see a connection when running the ./installdb script (this allows the hostname:port string unlike the upgradedb command)

When ndo starts I don't even see a connection going out , I'm using a custom port so I just grep for the IP of the SQL server but nothing goes out to that address on any port unless I manually initiate it.

Is there any option in the installdb script that may affect the daemon in this way, I know from looking around there are options but I not sure what they are for, and any guides I have read have not included them, long shot but something I havnt explored fully.
Also for reference I'm using centos7 and its a fresh install.

Again thanks for your time.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by sreinhardt »

Have you also modified /usr/local/nagios/etc/ndo2db.cfg to match your ip, port, user, and pass? On ndo2db daemon (service nd2db ...) start you should by default see ndo attempt to connect to a local unix file socket. In addition to the above mentioned settings in this file, you will need to change socket_type=unix to socket_type=tcp. Once those are set, give ndo2db a restart with "service ndo2db restart". See if you get a connection attempt then.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
mrmister
Posts: 6
Joined: Wed Nov 19, 2014 12:14 pm

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by mrmister »

note - at this point i have removed teh broker config from nagios.cfg (please advise if removing this could affect the ndo daemon initiating a connection)

I did modify ndo2db.cfg with teh database server ip , port and the db username and password

there is another tcp port option which is set to 5668 by default but this is not used when connecting to external server i believe.

I have the socket type set to tcp in both ndomod and ndo2db cfg files ,

upon restart i see no attempted connection going out to the specified db IP , or to any IP using either the default or my custom sql port.

a bit more info

ndo2db staus info

Code: Select all

[root@nagiosserver home]# sudo systemctl status ndo2db
ndo2db.service - LSB: Nagios NDO2DB Initscript
   Loaded: loaded (/etc/rc.d/init.d/ndo2db)
   Active: active (running) since Fri 2014-11-21 09:40:37 UTC; 45s ago
  Process: 18896 ExecStop=/etc/rc.d/init.d/ndo2db stop (code=exited, status=0/SUCCESS)
  Process: 18905 ExecStart=/etc/rc.d/init.d/ndo2db start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/ndo2db.service
           └─18911 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

Nov 21 09:40:37 nagiosserver.online.local systemd[1]: Starting LSB: Nagios NDO2DB Initscript...
Nov 21 09:40:37 nagiosserver.online.local ndo2db[18905]: Starting ndo2db: done.
Nov 21 09:40:37 nagiosserver.online.local systemd[1]: Started LSB: Nagios NDO2DB Initscript.
Listening ports / sockets on my nagios server

Code: Select all

[root@nagiosserver home]# netstat -and|grep LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:199           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp6       0      0 ::1:25                  :::*                    LISTEN
tcp6       0      0 :::80                   :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
unix  2      [ ACC ]     STREAM     LISTENING     16387    /var/run/NetworkManager/private
unix  2      [ ACC ]     STREAM     LISTENING     756909   /usr/local/nagios/var/rw/nagios.qh
unix  2      [ ACC ]     STREAM     LISTENING     17438    /var/run/NetworkManager/private-dhcp
unix  2      [ ACC ]     STREAM     LISTENING     19469    private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     1365     /run/systemd/journal/stdout
unix  2      [ ACC ]     STREAM     LISTENING     11869    /run/lvm/lvmetad.socket
unix  2      [ ACC ]     STREAM     LISTENING     10861    /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     19472    private/bounce
unix  2      [ ACC ]     STREAM     LISTENING     19475    private/defer
unix  2      [ ACC ]     STREAM     LISTENING     19478    private/trace
unix  2      [ ACC ]     STREAM     LISTENING     19481    private/verify
unix  2      [ ACC ]     STREAM     LISTENING     19502    private/error
unix  2      [ ACC ]     STREAM     LISTENING     19505    private/retry
unix  2      [ ACC ]     STREAM     LISTENING     19508    private/discard
unix  2      [ ACC ]     STREAM     LISTENING     19511    private/local
unix  2      [ ACC ]     STREAM     LISTENING     19514    private/virtual
unix  2      [ ACC ]     STREAM     LISTENING     19517    private/lmtp
unix  2      [ ACC ]     STREAM     LISTENING     19520    private/anvil
unix  2      [ ACC ]     STREAM     LISTENING     19523    private/scache
unix  2      [ ACC ]     STREAM     LISTENING     13969    /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     13981    /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     19466    private/tlsmgr
unix  2      [ ACC ]     SEQPACKET  LISTENING     10938    /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     124312   /usr/local/nagios/var/rw/nagios.qh
unix  2      [ ACC ]     STREAM     LISTENING     18431    public/pickup
unix  2      [ ACC ]     STREAM     LISTENING     19459    public/cleanup
unix  2      [ ACC ]     STREAM     LISTENING     19462    public/qmgr
unix  2      [ ACC ]     STREAM     LISTENING     19484    public/flush
unix  2      [ ACC ]     STREAM     LISTENING     19499    public/showq
unix  2      [ ACC ]     STREAM     LISTENING     888135   /usr/local/nagios/var/ndo.sock
unix  2      [ ACC ]     STREAM     LISTENING     19487    private/proxymap
unix  2      [ ACC ]     STREAM     LISTENING     19490    private/proxywrite
unix  2      [ ACC ]     STREAM     LISTENING     19493    private/smtp
unix  2      [ ACC ]     STREAM     LISTENING     19496    private/relay

Im, still at a loss unfortunately
emislivec
Posts: 52
Joined: Tue Feb 25, 2014 10:06 am

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by emislivec »

mrmister wrote:I get no errors until it has been running for some time,then i get ndo2db[14021]: Error: max retries exceeded sending message to queue. Kernel queue parameters may neeed to be tuned. See README.

I don't think that the tuning is the issue, initially i had errors regarding max bytes being used and i adjusted settings and everything looked good - but after a while with it not pushing anything to the db these messages must be backing up somewhere
You're right that things are getting backed up. The "Kernel queue parameters may neeed to be tuned." is misleading in this case. What this does show is that ndomod is pushing data to ndo2db, ndo2db is reading and buffering its input, but it's not able to write to the DB so things are backing up. Giving more memory to the queue would just make it take longer to fill up.

Do you see a message from ndo2db in your syslog like "Error: Could not connect to MySQL database:" ? This should include the MySQL error message from a failed connection attempt.

A point of caution, ndo2db.cfg is sensitive to whitespace around the '=': use "db_host=somehost" not "db_host= somehost". It current'y wont strip the whitespace and this can cause problems later.

Also, is SELinux enforcing?
mrmister
Posts: 6
Joined: Wed Nov 19, 2014 12:14 pm

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by mrmister »

emislivec wrote: You're right that things are getting backed up. The "Kernel queue parameters may neeed to be tuned." is misleading in this case. What this does show is that ndomod is pushing data to ndo2db, ndo2db is reading and buffering its input, but it's not able to write to the DB so things are backing up. Giving more memory to the queue would just make it take longer to fill up.

Do you see a message from ndo2db in your syslog like "Error: Could not connect to MySQL database:" ? This should include the MySQL error message from a failed connection attempt.

A point of caution, ndo2db.cfg is sensitive to whitespace around the '=': use "db_host=somehost" not "db_host= somehost". It current'y wont strip the whitespace and this can cause problems later.

Also, is SELinux enforcing?
No errors in messages , just successes as posted above. I'm not even seeing a connection trying to go out.

Thanks for the tip on the config file, unfortunately its already accurate though.

selinux is enforcing, from experience if this blocks something it will show in the messages log, again I see nothing but I also tried disabling and no change.

I haven't had chance to work at it today , just try the suggested tips - still no luck.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by sreinhardt »

Let's go ahead and get way more information on what ndo is doing, than we likely need:

Code: Select all

cd /tmp
strace -o ndo2db_dump -ff /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
tar czf ndo2db.tar.gz ./ndo2db_dump.*
I'm not sure how happy selinux is going to be with that, but we really don't have a choice if other tools are not reporting things like network connections.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
mrmister
Posts: 6
Joined: Wed Nov 19, 2014 12:14 pm

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by mrmister »

I just tried to run this , not sure im doing it correctly.

I had to stop ndo2db to run this is that correct (socket bind error otherwise)

It dumped 5 files here is an example of one of the larger ones (which all have similar content)

Code: Select all

execve("/usr/local/nagios/bin/ndo2db", ["/usr/local/nagios/bin/ndo2db", "-c", "/usr/local/nagios/etc/ndo2db.cfg"], [/* 26 vars */]) = 0
brk(0)                                  = 0x1338000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58d1000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=33507, ...}) = 0
mmap(NULL, 33507, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7faff58c8000
close(3)                                = 0
open("/lib64/libnsl.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20A\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=113320, ...}) = 0
mmap(NULL, 2198200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff5499000
mprotect(0x7faff54af000, 2093056, PROT_NONE) = 0
mmap(0x7faff56ae000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7faff56ae000
mmap(0x7faff56b0000, 6840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7faff56b0000
close(3)                                = 0
open("/usr/lib64/mysql/libmysqlclient.so.18", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\324\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=3133512, ...}) = 0
mmap(NULL, 5237816, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff4f9a000
mprotect(0x7faff5277000, 2097152, PROT_NONE) = 0
mmap(0x7faff5477000, 118784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2dd000) = 0x7faff5477000
mmap(0x7faff5494000, 19512, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7faff5494000
close(3)                                = 0
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240l\0\0\0\0\0\0"..., 832) = 832
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58c7000
fstat(3, {st_mode=S_IFREG|0755, st_size=141616, ...}) = 0
mmap(NULL, 2208864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff4d7e000
mprotect(0x7faff4d94000, 2097152, PROT_NONE) = 0
mmap(0x7faff4f94000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7faff4f94000
mmap(0x7faff4f96000, 13408, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7faff4f96000
close(3)                                = 0
open("/lib64/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=90632, ...}) = 0
mmap(NULL, 2183688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff4b68000
mprotect(0x7faff4b7d000, 2093056, PROT_NONE) = 0
mmap(0x7faff4d7c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7faff4d7c000
close(3)                                = 0
open("/lib64/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260T\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1141552, ...}) = 0
mmap(NULL, 3150168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff4866000
mprotect(0x7faff4967000, 2093056, PROT_NONE) = 0
mmap(0x7faff4b66000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x100000) = 0x7faff4b66000
close(3)                                = 0
open("/lib64/libssl.so.10", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\203\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=445640, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58c6000
mmap(NULL, 2536656, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff45fa000
mprotect(0x7faff465c000, 2093056, PROT_NONE) = 0
mmap(0x7faff485b000, 45056, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x61000) = 0x7faff485b000
close(3)                                = 0
open("/lib64/libcrypto.so.10", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@~\6\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2004600, ...}) = 0
mmap(NULL, 4083576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff4215000
mprotect(0x7faff43d0000, 2097152, PROT_NONE) = 0
mmap(0x7faff45d0000, 155648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bb000) = 0x7faff45d0000
mmap(0x7faff45f6000, 16248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7faff45f6000
close(3)                                = 0
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=19512, ...}) = 0
mmap(NULL, 2109744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff4011000
mprotect(0x7faff4014000, 2093056, PROT_NONE) = 0
mmap(0x7faff4213000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7faff4213000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\34\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2107600, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58c5000
mmap(NULL, 3932736, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff3c50000
mprotect(0x7faff3e06000, 2097152, PROT_NONE) = 0
mmap(0x7faff4006000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b6000) = 0x7faff4006000
mmap(0x7faff400c000, 16960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7faff400c000
close(3)                                = 0
open("/lib64/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\265\5\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=991744, ...}) = 0
mmap(NULL, 3171360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff3949000
mprotect(0x7faff3a32000, 2093056, PROT_NONE) = 0
mmap(0x7faff3c31000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe8000) = 0x7faff3c31000
mmap(0x7faff3c3b000, 82976, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7faff3c3b000
close(3)                                = 0
open("/lib64/libgssapi_krb5.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\273\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=308008, ...}) = 0
mmap(NULL, 2398304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff36ff000
mprotect(0x7faff3746000, 2097152, PROT_NONE) = 0
mmap(0x7faff3946000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x47000) = 0x7faff3946000
close(3)                                = 0
open("/lib64/libkrb5.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`F\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=929144, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58c4000
mmap(NULL, 3012704, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff341f000
mprotect(0x7faff34ef000, 2097152, PROT_NONE) = 0
mmap(0x7faff36ef000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd0000) = 0x7faff36ef000
close(3)                                = 0
open("/lib64/libcom_err.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\25\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=15840, ...}) = 0
mmap(NULL, 2109928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff321b000
mprotect(0x7faff321e000, 2093056, PROT_NONE) = 0
mmap(0x7faff341d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7faff341d000
close(3)                                = 0
open("/lib64/libk5crypto.so.3", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0PG\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=214816, ...}) = 0
mmap(NULL, 2310640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff2fe6000
mprotect(0x7faff3018000, 2093056, PROT_NONE) = 0
mmap(0x7faff3217000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x31000) = 0x7faff3217000
mmap(0x7faff321a000, 496, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7faff321a000
close(3)                                = 0
open("/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360*\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=88720, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58c3000
mmap(NULL, 2184192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff2dd0000
mprotect(0x7faff2de5000, 2093056, PROT_NONE) = 0
mmap(0x7faff2fe4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7faff2fe4000
close(3)                                = 0
open("/lib64/libkrb5support.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\3405\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=58480, ...}) = 0
mmap(NULL, 2152008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff2bc2000
mprotect(0x7faff2bcf000, 2093056, PROT_NONE) = 0
mmap(0x7faff2dce000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7faff2dce000
close(3)                                = 0
open("/lib64/libkeyutils.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\25\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=15688, ...}) = 0
mmap(NULL, 2109720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff29be000
mprotect(0x7faff29c1000, 2093056, PROT_NONE) = 0
mmap(0x7faff2bc0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7faff2bc0000
close(3)                                = 0
open("/lib64/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@:\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=110808, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58c2000
mmap(NULL, 2202264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff27a4000
mprotect(0x7faff27ba000, 2097152, PROT_NONE) = 0
mmap(0x7faff29ba000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x7faff29ba000
mmap(0x7faff29bc000, 6808, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7faff29bc000
close(3)                                = 0
open("/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240d\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=147120, ...}) = 0
mmap(NULL, 2246784, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff257f000
mprotect(0x7faff25a0000, 2097152, PROT_NONE) = 0
mmap(0x7faff27a0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21000) = 0x7faff27a0000
mmap(0x7faff27a2000, 6272, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7faff27a2000
close(3)                                = 0
open("/lib64/libpcre.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\25\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=398264, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58c1000
mmap(NULL, 2490888, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff231e000
mprotect(0x7faff237d000, 2097152, PROT_NONE) = 0
mmap(0x7faff257d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5f000) = 0x7faff257d000
close(3)                                = 0
open("/lib64/liblzma.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000/\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=153184, ...}) = 0
mmap(NULL, 2245240, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff20f9000
mprotect(0x7faff211d000, 2093056, PROT_NONE) = 0
mmap(0x7faff231c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23000) = 0x7faff231c000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58c0000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58bf000
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58bd000
arch_prctl(ARCH_SET_FS, 0x7faff58bd840) = 0
mprotect(0x7faff4006000, 16384, PROT_READ) = 0
mprotect(0x7faff4f94000, 4096, PROT_READ) = 0
mprotect(0x7faff231c000, 4096, PROT_READ) = 0
mprotect(0x7faff257d000, 4096, PROT_READ) = 0
mprotect(0x7faff4213000, 4096, PROT_READ) = 0
mprotect(0x7faff27a0000, 4096, PROT_READ) = 0
mprotect(0x7faff29ba000, 4096, PROT_READ) = 0
mprotect(0x7faff2bc0000, 4096, PROT_READ) = 0
mprotect(0x7faff2dce000, 4096, PROT_READ) = 0
mprotect(0x7faff2fe4000, 4096, PROT_READ) = 0
mprotect(0x7faff3217000, 8192, PROT_READ) = 0
mprotect(0x7faff341d000, 4096, PROT_READ) = 0
mprotect(0x7faff36ef000, 53248, PROT_READ) = 0
mprotect(0x7faff3946000, 4096, PROT_READ) = 0
mprotect(0x7faff4b66000, 4096, PROT_READ) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58bc000
mprotect(0x7faff3c31000, 32768, PROT_READ) = 0
mprotect(0x7faff4d7c000, 4096, PROT_READ) = 0
mprotect(0x7faff45d0000, 106496, PROT_READ) = 0
mprotect(0x7faff485b000, 16384, PROT_READ) = 0
mprotect(0x7faff5477000, 32768, PROT_READ) = 0
mprotect(0x7faff56ae000, 4096, PROT_READ) = 0
mprotect(0x619000, 4096, PROT_READ)     = 0
mprotect(0x7faff58d2000, 4096, PROT_READ) = 0
munmap(0x7faff58c8000, 33507)           = 0
set_tid_address(0x7faff58bdb10)         = 12354
set_robust_list(0x7faff58bdb20, 24)     = 0
rt_sigaction(SIGRTMIN, {0x7faff4d84780, [], SA_RESTORER|SA_SIGINFO, 0x7faff4d8d130}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7faff4d84810, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7faff4d8d130}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
statfs("/sys/fs/selinux", {f_type=0xf97cff8c, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
statfs("/sys/fs/selinux", {f_type=0xf97cff8c, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
stat("/sys/fs/selinux", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
brk(0)                                  = 0x1338000
brk(0x1359000)                          = 0x1359000
access("/etc/system-fips", F_OK)        = -1 ENOENT (No such file or directory)
open("/usr/local/nagios/etc/ndo2db.cfg", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0664, st_size=4855, ...}) = 0
mmap(NULL, 4855, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7faff58cf000
munmap(0x7faff58cf000, 4855)            = 0
close(3)                                = 0
rt_sigaction(SIGQUIT, {0x403080, [QUIT], SA_RESTORER|SA_RESTART, 0x7faff3c85640}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {0x403080, [TERM], SA_RESTORER|SA_RESTART, 0x7faff3c85640}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x403080, [INT], SA_RESTORER|SA_RESTART, 0x7faff3c85640}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGSEGV, {0x403080, [SEGV], SA_RESTORER|SA_RESTART, 0x7faff3c85640}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGFPE, {0x403080, [FPE], SA_RESTORER|SA_RESTART, 0x7faff3c85640}, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGCHLD, {0x403080, [CHLD], SA_RESTORER|SA_RESTART, 0x7faff3c85640}, {SIG_DFL, [], 0}, 8) = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1728, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58d0000
read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1728
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7faff58d0000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=33507, ...}) = 0
mmap(NULL, 33507, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7faff58c8000
close(3)                                = 0
open("/lib64/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\"\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=58288, ...}) = 0
mmap(NULL, 2144360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7faff1eed000
mprotect(0x7faff1ef8000, 2093056, PROT_NONE) = 0
mmap(0x7faff20f7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0x7faff20f7000
close(3)                                = 0
mprotect(0x7faff20f7000, 4096, PROT_READ) = 0
munmap(0x7faff58c8000, 33507)           = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=577, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58d0000
read(3, "root:x:0:\nbin:x:1:\ndaemon:x:2:\ns"..., 4096) = 577
close(3)                                = 0
munmap(0x7faff58d0000, 4096)            = 0
getegid()                               = 1001
setgid(1003)                            = -1 EPERM (Operation not permitted)
open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=118, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58d0000
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0"..., 4096) = 118
lseek(3, -62, SEEK_CUR)                 = 56
read(3, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\0\0\1\0\0\0\0"..., 4096) = 62
close(3)                                = 0
munmap(0x7faff58d0000, 4096)            = 0
socket(PF_LOCAL, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 3
connect(3, {sa_family=AF_LOCAL, sun_path="/dev/log"}, 110) = 0
sendto(3, "<11>Nov 27 08:53:25 ndo2db: Warn"..., 69, MSG_NOSIGNAL, NULL, 0) = 69
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1161, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58d0000
read(4, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1161
close(4)                                = 0
munmap(0x7faff58d0000, 4096)            = 0
geteuid()                               = 1001
open("/proc/sys/kernel/ngroups_max", O_RDONLY) = 4
read(4, "65536\n", 31)                  = 6
close(4)                                = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 4
lseek(4, 0, SEEK_CUR)                   = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=577, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58d0000
read(4, "root:x:0:\nbin:x:1:\ndaemon:x:2:\ns"..., 4096) = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
lseek(4, 0, SEEK_CUR)                   = 577
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7faff58d0000, 4096)            = 0
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=33507, ...}) = 0
mmap(NULL, 33507, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7faff58c8000
close(4)                                = 0
open("/lib64/tls/x86_64/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls/x86_64", 0x7fffab0b8840) = -1 ENOENT (No such file or directory)
open("/lib64/tls/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/tls", {st_mode=S_IFDIR|0555, st_size=6, ...}) = 0
open("/lib64/x86_64/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64/x86_64", 0x7fffab0b8840)   = -1 ENOENT (No such file or directory)
open("/lib64/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/lib64", {st_mode=S_IFDIR|0555, st_size=32768, ...}) = 0
open("/usr/lib64/tls/x86_64/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls/x86_64", 0x7fffab0b8840) = -1 ENOENT (No such file or directory)
open("/usr/lib64/tls/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/tls", {st_mode=S_IFDIR|0555, st_size=6, ...}) = 0
open("/usr/lib64/x86_64/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64/x86_64", 0x7fffab0b8840) = -1 ENOENT (No such file or directory)
open("/usr/lib64/libnss_sss.so.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat("/usr/lib64", {st_mode=S_IFDIR|0555, st_size=32768, ...}) = 0
munmap(0x7faff58c8000, 33507)           = 0
setgroups(2, [1003, 1004])              = -1 EPERM (Operation not permitted)
sendto(3, "<11>Nov 27 08:53:25 ndo2db: Warn"..., 93, MSG_NOSIGNAL, NULL, 0) = 93
setuid(1003)                            = -1 EPERM (Operation not permitted)
sendto(3, "<11>Nov 27 08:53:25 ndo2db: Warn"..., 69, MSG_NOSIGNAL, NULL, 0) = 69
open("/usr/local/nagios/var/ndo2db.debug", O_RDWR|O_CREAT|O_APPEND, 0666) = -1 EACCES (Permission denied)
sendto(3, "<11>Nov 27 08:53:25 ndo2db: Warn"..., 121, MSG_NOSIGNAL, NULL, 0) = 121
socket(PF_LOCAL, SOCK_STREAM, 0)        = 4
bind(4, {sa_family=AF_LOCAL, sun_path="/usr/local/nagios/var/ndo.sock"}, 32) = -1 EACCES (Permission denied)
close(4)                                = 0
dup(2)                                  = 4
fcntl(4, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat(4, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faff58d0000
write(4, "Could not bind socket: Permissio"..., 41) = 41
close(4)                                = 0
munmap(0x7faff58d0000, 4096)            = 0
exit_group(1)                           = ?
+++ exited with 1 +++

If thats not as expected could you give me a step by step to rule out user error ?

Thanks and sorry for delay in getting back, i have been working on other projects.
mrmister
Posts: 6
Joined: Wed Nov 19, 2014 12:14 pm

Re: Core 4.0.8 / NDO2DB v2.0.0

Post by mrmister »

That appears to have flagged to permission issues and some missing libraries

If you could verify that for me it would be appreciated - i'll be looking at this in detail again soon
Locked