Page 2 of 2

Re: FTP error

Posted: Thu Jun 28, 2012 8:53 am
by benningtonr
anyone?
bueller, bueller?

Re: FTP error

Posted: Thu Jun 28, 2012 9:28 am
by scottwilkerson
benningtonr wrote:anyone?
bueller, bueller?
Really?
benningtonr wrote:Error has changed to:

CRITICAL: FTP check failed when trying to list the contents of a directory.
this is usually cause by either the hostname, username or password not being correct to connect.

The command looks like it may have been setup incorrectly (Yes, this could be our fault for not testing this on the VM)
Lets change the command to read the following

Code: Select all

$USER1$/check_ftp_fully "$ARG1$" "$ARG2$" "$ARG3$" $HOSTADDRESS$
Let us know if that makes it work for you.

I'll do some testing on this side, but it will take some time...

Re: FTP error

Posted: Thu Jun 28, 2012 10:56 am
by benningtonr
I was just being funny, sorry about the bueller

I made changes and getting the following

CRITICAL: FTP check failed when trying to get a file from a directory

Re: FTP error

Posted: Thu Jun 28, 2012 11:02 am
by scottwilkerson
Here's how the script works.

First it tries to logs in
Second it tries to list the users default directory
Third it tries to upload a file
Fourth it tries to download the same file it uploaded
Fifth it tries to remove the file it uploaded.

If any of these steps fail (often because of rights on the server) it will error.

You will need to check the permissions on the FTP server and then the FTP server log, to view any further errors

Re: FTP error

Posted: Thu Jun 28, 2012 11:11 am
by benningtonr
ok, thanks