I have installed NCPA using the following command, Looks like it sets the in-sufficient privilege on the directory..
rpm -Uvh https://assets.nagios.com/downloads/ncp ... x86_64.rpm
Can you confirm if this is the correct command to use as i need to deploy NCPA on multiple RHEL nodes ? Do i need to use rpm -ivh instead of Uvh as its the fresh install..
Thanks,
Ram.
NCPA new install not working on RHEL 6.9 server
Re: NCPA new install not working on RHEL 6.9 server
Yes, this is the correct command as outlined in our documentation:
https://assets.nagios.com/downloads/ncp ... g-NCPA.pdf
Why would you be getting different (not sufficient) permissions on your system is beyond me... I tested the install on RHEL 6 and RHEL 7, and in both cases, the permissions were correct.
The permissions are set to 775 (for the ncpa.cfg.d directory) and to 664 (for the files in it) in the specs file...
https://github.com/NagiosEnterprises/nc ... .spec#L130
I am not able to recreate the issue in-house.
https://assets.nagios.com/downloads/ncp ... g-NCPA.pdf
Why would you be getting different (not sufficient) permissions on your system is beyond me... I tested the install on RHEL 6 and RHEL 7, and in both cases, the permissions were correct.
Code: Select all
[root@TEST_XI_RHEL_6 ~]# rpm -Uvh https://assets.nagios.com/downloads/ncpa/ncpa-latest.el6.x86_64.rpm
Retrieving https://assets.nagios.com/downloads/ncpa/ncpa-latest.el6.x86_64.rpm
Preparing... ########################################### [100%]
Updating / installing...
1:ncpa-2.1.9-1.el6 ################################# [100%]
[root@TEST_XI_RHEL_6 ~]# ll -d /usr/local/ncpa/
drwxr-xr-x 7 root root 4096 Oct 24 08:58 /usr/local/ncpa/
[root@TEST_XI_RHEL_6 ~]# ll -d /usr/local/ncpa/etc
drwxrwxr-x 3 root nagios 4096 Oct 24 08:58 /usr/local/ncpa/etc
[root@TEST_XI_RHEL_6 ~]# ll -d /usr/local/ncpa/etc/ncpa.cfg.d/
drwxrwxr-x 2 root nagios 4096 Oct 24 08:58 /usr/local/ncpa/etc/ncpa.cfg.d/
Code: Select all
[root@TEST_XI_RHEL_7 ~]# rpm -Uvh https://assets.nagios.com/downloads/ncpa/ncpa-latest.el7.x86_64.rpm
Retrieving https://assets.nagios.com/downloads/ncpa/ncpa-latest.el7.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:ncpa-2.1.9-1.el7 ################################# [100%]
[root@TEST_XI_RHEL_7 ~]# ll -d /usr/local/ncpa/
drwxr-xr-x 7 root root 4096 Oct 24 08:59 /usr/local/ncpa/
[root@TEST_XI_RHEL_7 ~]# ll -d /usr/local/ncpa/etc
drwxrwxr-x 3 root nagios 63 Oct 24 08:59 /usr/local/ncpa/etc
[root@TEST_XI_RHEL_7 ~]# ll -d /usr/local/ncpa/etc/ncpa.cfg.d/
drwxrwxr-x 2 root nagios 43 Oct 24 08:59 /usr/local/ncpa/etc/ncpa.cfg.d/
https://github.com/NagiosEnterprises/nc ... .spec#L130
I am not able to recreate the issue in-house.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA new install not working on RHEL 6.9 server
Thank you for testing and continuous response on this issue..
Thanks,
Ram.
Thanks,
Ram.
Re: NCPA new install not working on RHEL 6.9 server
Do you have any further questions or it is OK to close this topic? Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: NCPA new install not working on RHEL 6.9 server
I am happy to close this topic. Your help is much appreciated. This is a fantastic forum with guaranteed response and resolution.
Thanks,
Ram.
Thanks,
Ram.