HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: ‘nagios-plugins.tar.gz’
[ <=> ] 2,049,050 6.15MB/s in 0.3s
2019-02-06 15:56:58 (6.15 MB/s) - ‘nagios-plugins.tar.gz’ saved [2049050]
[root@name tmp]# tar zxf nagios-plugins.tar.gz
[root@name tmp]# cd /tmp/nagios-plugins-release-2.2.1/
[root@name nagios-plugins-release-2.2.1]# ./tools/setup
bash: ./tools/setup: Permission denied
[root@name nagios-plugins-release-2.2.1]# ./configure
bash: ./configure: No such file or directory
[root@name nagios-plugins-release-2.2.1]# make
make: *** No targets specified and no makefile found. Stop.
[root@name nagios-plugins-release-2.2.1]# make install
I had permissions errors on this part. What would be the solution?
Installing The Nagios Plugins : Permissions Denied
-
- Posts: 72
- Joined: Wed Feb 06, 2019 3:22 pm
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Installing The Nagios Plugins : Permissions Denied
@nickanderson1982, Please run this command to give permissions to all files in this folder:
And then rerun the installation commands.chmod -R 777 /tmp/nagios-plugins-release-2.2.1/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 72
- Joined: Wed Feb 06, 2019 3:22 pm
Re: Installing The Nagios Plugins : Permissions Denied
I ran the command you gave me, still running into the same results.
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Installing The Nagios Plugins : Permissions Denied
@nickanderson1982, What is the output of this command?
Run:
Are you sure you're running this as root? Are there any security policies on this server? Is SELINUX enabled?ls -l /tmp/nagios-plugins-release-2.2.1/tools/setup
Run:
ORsestatus
getenforce
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installing The Nagios Plugins : Permissions Denied
This is the same problem you were having with your install of nagios, your system doesn't let you execute in /tmpnickanderson1982 wrote:I ran the command you gave me, still running into the same results.
https://support.nagios.com/forum/viewto ... 71#p274470
Do the following:
Code: Select all
mv /tmp/nagios-plugins-release-2.2.1 ~/
cd ~/nagios-plugins-release-2.2.1
./tools/setup
./configure
make
make install
-
- Posts: 72
- Joined: Wed Feb 06, 2019 3:22 pm
Re: Installing The Nagios Plugins : Permissions Denied
[root@name nagios-plugins-release-2.2.1]# ls -l /tmp/nagios-plugins-release-2.2.1/tools/setup
-rwxrwxr-x. 1 root root 1283 Apr 19 2017 /tmp/nagios-plugins-release-2.2.1/tools/setup
[root@name nagios-plugins-release-2.2.1]#
--
[root@name nagios-plugins-release-2.2.1]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: disabled
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
[root@name nagios-plugins-release-2.2.1]# getenforce
Permissive
[root@name nagios-plugins-release-2.2.1]#
-rwxrwxr-x. 1 root root 1283 Apr 19 2017 /tmp/nagios-plugins-release-2.2.1/tools/setup
[root@name nagios-plugins-release-2.2.1]#
--
[root@name nagios-plugins-release-2.2.1]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: disabled
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 28
[root@name nagios-plugins-release-2.2.1]# getenforce
Permissive
[root@name nagios-plugins-release-2.2.1]#
-
- Posts: 72
- Joined: Wed Feb 06, 2019 3:22 pm
Re: Installing The Nagios Plugins : Permissions Denied
That last series of commands worked for me. Thank You very much. You can close out this ticket , Thank You!
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Installing The Nagios Plugins : Permissions Denied
Your welcome. Closing thread.That last series of commands worked for me. Thank You very much. You can close out this ticket , Thank You!
Thank you for using the Nagios Support Forum.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!