Hi All,
First time having to install the nrpe agent on a linux server. I "know enough" to get by but this is confusing me somewhat.
I'm trying to install the linux-nrpe-agent on a RedHat server. Following the document it should just be a case of running the 'fullinstall' using something like 'sudo sh fullinstall'.
It runs but then fails with permission denied on;
$ sudo sh fullinstall
fullinstall: line 4: ./init.sh: Permission denied
When the script calls the next script, it keeps failing with permission denied. Doesnt even spit out an install.log
Even if I switch to root (sudo su), it still doesnt work.
I know this is probably pretty simple for someone... any ideas?
Thanks,
linux-nrpe-agent Install - Permission Denied
-
peakyblinder
- Posts: 63
- Joined: Tue Mar 25, 2014 4:39 am
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: linux-nrpe-agent Install - Permission Denied
Are you installing from a directory that has noexec set on it? some systems are locked down and do not allow executing from directories under /tmp
In this case you would want to move the install directory somewhere else like your users home directory and install from there.
In this case you would want to move the install directory somewhere else like your users home directory and install from there.
-
peakyblinder
- Posts: 63
- Joined: Tue Mar 25, 2014 4:39 am
Re: linux-nrpe-agent Install - Permission Denied
Awesome!! I learn something everyday!
You're correct, running it from my home directory without problems.
Thank you sir!
You're correct, running it from my home directory without problems.
Thank you sir!
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: linux-nrpe-agent Install - Permission Denied
Great!peakyblinder wrote:Awesome!! I learn something everyday!
You're correct, running it from my home directory without problems.
Thank you sir!
Locking