Help - I am unable to get the NSClient++ to restart services
Marc Powell
marc at ena.com
Thu Jul 17 20:58:50 CEST 2008
On Jul 17, 2008, at 11:05 AM, Jonathan Williams wrote:
> To further test the send_mail.pl function, I tried running it
> directly from a command prompt and I get a “Permission Denied”
> error. Any idea why that would be. I am using root credentials and
> the user “Nagios” is the owner.
>
Is there more? A line number or command referenced along with the
error? If so, look at that line number in the script and see what it's
trying to do. It's usually not difficult to determine what and why if
you take a look. An educated guess, assuming you really mean to say
that you're testing the script as the nagios user (as you should), is
that the nagios user does not have permissions to execute /usr/sbin/
sendmail.
--
Marc
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list