Page 1 of 2

FTP error

Posted: Fri Jun 01, 2012 8:18 am
by benningtonr
getting:

UNKNOWN: Executable /usr/bin/lftp is not accessible

command is
check_ftp_fully!Domain\Username!Password!21

there are probably 50-60 ftp site on this server

Thanks for the help

Re: FTP error

Posted: Fri Jun 01, 2012 10:31 am
by lmiltchev
Can you show the output of the following command:

Code: Select all

ll /usr/bin/lftp

Re: FTP error

Posted: Tue Jun 26, 2012 10:12 am
by benningtonr
Still fighting the ftp error


[root@helpdesk84 libexec]# ll /usr/bin/lftp
ls: cannot access /usr/bin/lftp: No such file or directory
You have new mail in /var/spool/mail/root

Re: FTP error

Posted: Tue Jun 26, 2012 10:23 am
by scottwilkerson
try

Code: Select all

yum install lftp -y

Re: FTP error

Posted: Wed Jun 27, 2012 8:06 am
by benningtonr
[root@helpdesk84 libexec]# ll /usr/bin/lftp
-rwxr-xr-x 1 root root 39412 Nov 11 2010 /usr/bin/lftp


Not sure what this means?

Re: FTP error

Posted: Wed Jun 27, 2012 8:07 am
by benningtonr
Error has changed to:

CRITICAL: FTP check failed when trying to list the contents of a directory.

Re: FTP error

Posted: Wed Jun 27, 2012 9:23 am
by scottwilkerson
I was just looking at your first post and you will likely need to escape the \ in your username field
change
Domain\Username
to
Domain\\Username

Re: FTP error

Posted: Wed Jun 27, 2012 2:45 pm
by benningtonr
tried the \\

got the same error

Re: FTP error

Posted: Wed Jun 27, 2012 2:56 pm
by scottwilkerson
Can you give us the command definition for check_ftp_fully

I'm not really familiar with this 3rd party plugin but with all the info we will try to help

Re: FTP error

Posted: Thu Jun 28, 2012 7:11 am
by benningtonr
it was configure in the nagios vm i downloaded.

$USER1$/check_ftp_fully "$ARG1$" "$ARG2$" "$ARG3$" $HOSTNAME
Entry cannot be activated because it is used by another configuration:
Relational information for check_ftp_fully of table tbl_command:
Relation to tbl_service, entry web4-FTP Transfer - deletion not possible