On 30/05/07, Luis Gardea <[EMAIL PROTECTED]> wrote: > Yes I have tnsping in nagios PATH > > [EMAIL PROTECTED] nagios]# find / -name tnsping > /home/oracle/oracle/product/10.2.0/client_3/bin/tnsping > > [EMAIL PROTECTED] nagios]# exit > exit > > [EMAIL PROTECTED] ~]$ echo $PATH > /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/oracle/product/10.2.0/client_3/bin:/home/nagios/bin > > But the user nagios can't access to the path > /home/oracle/oracle/product/10.2.0/client_3/bin/ , Maybe the problem > will be about permissions. I don''t know
Try (as root): ls -ld /home/oracle/oracle/product/10.2.0/client_3/bin/ and: ls -l /home/oracle/oracle/product/10.2.0/client_3/bin/tnsping that will tell you the permissions on the file and directory. You might need to check all the directories up the tree to see where the permissions problem is. to learn about permissions, read the man pages for ls, chmod and chown: man ls man chmod man chown Please also remember to reply to the [EMAIL PROTECTED] address so that anyone can help (and anyone else can benefit from the responses). I know I sometimes forget because google mail defaults to the individual when replying. hth, Jim ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Nagios-users mailing list Nagios-users@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