Nagios 4.2.0 not working on Solaris 10
Nagios 4.2.0 not working on Solaris 10
Hi there,
My Nagios Core is running on Solaris 10 64bit.
I have recently upgraded from version Core 3.3 to 4.1.1
After upgrade , cpu load on the system has increased tremendously (100% cpu is utilised).
And later I found this is a bug on 4.1.1
Decided to upgrade to recent version 4.2.
unfortunately I am not successful in starting Nagios after upgrade.
Below is the error that I get.
#/etc/init.d/nagios start
-n Starting nagios:
Bus Error - core dumped
CONFIG ERROR! Start aborted. Check your Nagios configuration.
Any help please?
Thanks,
Sainu Daniel
My Nagios Core is running on Solaris 10 64bit.
I have recently upgraded from version Core 3.3 to 4.1.1
After upgrade , cpu load on the system has increased tremendously (100% cpu is utilised).
And later I found this is a bug on 4.1.1
Decided to upgrade to recent version 4.2.
unfortunately I am not successful in starting Nagios after upgrade.
Below is the error that I get.
#/etc/init.d/nagios start
-n Starting nagios:
Bus Error - core dumped
CONFIG ERROR! Start aborted. Check your Nagios configuration.
Any help please?
Thanks,
Sainu Daniel
Last edited by dwhitfield on Mon Oct 17, 2016 9:53 am, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
Re: Nagios 4.2.0 not working on Solaris 10
Are you able to verify your configuration? Please attempt to, and post the full output. Modify the paths as needed since they may be different in your environment.
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Former Nagios Employee
Re: Nagios 4.2.0 not working on Solaris 10
Hi,
Please find below requested logs.
bash-3.2# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.2.0
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-01-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Warning: use_embedded_perl_implicitly is deprecated and will be removed.
Warning: enable_embedded_perl is deprecated and will be removed.
Warning: p1_file is deprecated and will be removed.
Warning: sleep_time is deprecated and will be removed.
Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
Read main config file okay...
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 49)
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 162)
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
Bus Error (core dumped)
bash-3.2#
Thanks,
SD
Please find below requested logs.
bash-3.2# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Nagios Core 4.2.0
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-01-2016
License: GPL
Website: https://www.nagios.org
Reading configuration data...
Warning: use_embedded_perl_implicitly is deprecated and will be removed.
Warning: enable_embedded_perl is deprecated and will be removed.
Warning: p1_file is deprecated and will be removed.
Warning: sleep_time is deprecated and will be removed.
Warning: external_command_buffer_slots is deprecated and will be removed. All commands are always processed upon arrival
Warning: command_check_interval is deprecated and will be removed. Commands are always handled on arrival
Read main config file okay...
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 49)
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 162)
WARNING: Extinfo objects are deprecated and will be removed in future versions
WARNING: Extinfo objects are deprecated and will be removed in future versions
Bus Error (core dumped)
bash-3.2#
Thanks,
SD
Re: Nagios 4.2.0 not working on Solaris 10
We saw something similar on Solaris 11:
https://support.nagios.com/forum/viewto ... 52#p194452
I'll see if our C dev can comment on either thread.
https://support.nagios.com/forum/viewto ... 52#p194452
I'll see if our C dev can comment on either thread.
Former Nagios employee
Re: Nagios 4.2.0 not working on Solaris 10
Hi,
Any update from Dev ?
I have upgraded to latest version 4.2.1 and it started working but having high cpu usage issue as mentioned in the thread
https://support.nagios.com/forum/viewto ... 6&start=10
Any update from Dev ?
I have upgraded to latest version 4.2.1 and it started working but having high cpu usage issue as mentioned in the thread
https://support.nagios.com/forum/viewto ... 6&start=10
Re: Nagios 4.2.0 not working on Solaris 10
You could try recompiling Core with:
If this doesn't help, try:
Code: Select all
./configure --with-iobroker=poll
Code: Select all
./configure --with-iobroker=select
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios 4.2.0 not working on Solaris 10
Tried both but didn't help.
After running with 'select', polling has been stopped (Service status not getting updated for past 1hr) and all client services shows previous time stamp.
New error started to appear in /var/adm/messages,
[ID 702911 user.info] wproc: 'Core Worker 13757' seems to be choked. ret = -1; bufsize = 5658: errno = 11 (Resource temporarily unavailable)
[ID 702911 user.info] wproc: 'Core Worker 13759' seems to be choked. ret = -1; bufsize = 5464: errno = 11 (Resource temporarily unavailable)
[ID 702911 user.info] wproc: 'Core Worker 13762' seems to be choked. ret = -1; bufsize = 5746: errno = 11 (Resource temporarily unavailable)
sainudani Posts: 18Joined: Mon Sep 05, 2016 9:59 pm
After running with 'select', polling has been stopped (Service status not getting updated for past 1hr) and all client services shows previous time stamp.
New error started to appear in /var/adm/messages,
[ID 702911 user.info] wproc: 'Core Worker 13757' seems to be choked. ret = -1; bufsize = 5658: errno = 11 (Resource temporarily unavailable)
[ID 702911 user.info] wproc: 'Core Worker 13759' seems to be choked. ret = -1; bufsize = 5464: errno = 11 (Resource temporarily unavailable)
[ID 702911 user.info] wproc: 'Core Worker 13762' seems to be choked. ret = -1; bufsize = 5746: errno = 11 (Resource temporarily unavailable)
sainudani Posts: 18Joined: Mon Sep 05, 2016 9:59 pm
Re: Nagios 4.2.0 not working on Solaris 10
I'm going to try testing on a couple of different Solaris hosts. I'll report back as soon as I can.
Re: Nagios 4.2.0 not working on Solaris 10
Ok.Thanks.
Re: Nagios 4.2.0 not working on Solaris 10
I posted the issue on GitHub - https://github.com/NagiosEnterprises/na ... issues/285 to make sure it is not going to "fall in the cracks". Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!