NPCD is not running post upgrade.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
transom324
Posts: 17
Joined: Mon Jun 25, 2012 11:02 am
Location: Connecticut, USA

NPCD is not running post upgrade.

Post by transom324 »

NPCD service will not start after upgrade to

nagios (pid 1723) is running...
NPCD not running.
ndo2db (pid 1742) is running...
CPU Load 15: 2.70
Total Hosts: 129
Total Services: 1999
Function 'get_base_uri' returns: http://192.168.101.140/nagiosxi/
Function 'get_base_url' returns: http://192.168.101.140/nagiosxi/
Function 'get_backend_url(internal_call=false)' returns: http://192.168.101.140/nagiosxi/include ... rofile.php
Function 'get_backend_url(internal_call=true)' returns: http://localhost/nagiosxi/backend/
Thanks,

Tom
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NPCD is not running post upgrade.

Post by scottwilkerson »

Can you run the following and report output

Code: Select all

tail /usr/local/nagios/var/npcd.log
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
transom324
Posts: 17
Joined: Mon Jun 25, 2012 11:02 am
Location: Connecticut, USA

Re: NPCD is not running post upgrade.

Post by transom324 »

Scott, thanks for your help.

Tom

see attached screenshot
You do not have the required permissions to view the files attached to this post.
Thanks,

Tom
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NPCD is not running post upgrade.

Post by scottwilkerson »

can you run the following and then re-tail the log to see if it changes.

Code: Select all

service npcd start
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
transom324
Posts: 17
Joined: Mon Jun 25, 2012 11:02 am
Location: Connecticut, USA

Re: NPCD is not running post upgrade.

Post by transom324 »

Scott,

I can get the NPCD daemon to start if I enter these commands:

mkdir -p -m 775 /var/nagiosramdisk/spool/perfdata
mkdir -p -m 775 /var/nagiosramdisk/spool/xidpe

Tom
Thanks,

Tom
transom324
Posts: 17
Joined: Mon Jun 25, 2012 11:02 am
Location: Connecticut, USA

Re: NPCD is not running post upgrade.

Post by transom324 »

Scott,

Here's the tail before I enter the RAM disk file permissions

Tom
You do not have the required permissions to view the files attached to this post.
Thanks,

Tom
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NPCD is not running post upgrade.

Post by scottwilkerson »

Please see the last page of the Ram Disk document which was updated a couple weeks ago to address this possibility
http://assets.nagios.com/downloads/nagi ... giosXI.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
transom324
Posts: 17
Joined: Mon Jun 25, 2012 11:02 am
Location: Connecticut, USA

Re: NPCD is not running post upgrade.

Post by transom324 »

Scott,

Thanks for your help.

I reinstalled Nagios XI because the trial period was about to end and we're still evaluating the product. I'll try not to screw it up this time. :lol:

I really appreciate your assistance.

Tom
Thanks,

Tom
Locked