New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
WHM ftp backups to remote ftp failed
I'm trying to run WHM /cPanel backups to remote FTP server but getting these errors if anyone could advise?
Net::FTP=GLOB(0x2e7a828)<<< 220 (vsFTPd 2.2.2) Net::FTP=GLOB(0x2e7a828)>>> USER root Net::FTP=GLOB(0x2e7a828)<<< 331 Please specify the password. Net::FTP=GLOB(0x2e7a828)>>> PASS .... Net::FTP=GLOB(0x2e7a828)<<< 230 Login successful. Net::FTP=GLOB(0x2e7a828)>>> TYPE I Net::FTP=GLOB(0x2e7a828)<<< 200 Switching to Binary mode. Net::FTP=GLOB(0x2e7a828)>>> MKD /server1 Net::FTP=GLOB(0x2e7a828)<<< 550 Create directory operation failed. Net::FTP=GLOB(0x2e7a828)>>> MKD /server1/daily Net::FTP=GLOB(0x2e7a828)<<< 550 Create directory operation failed. Net::FTP=GLOB(0x2e7a828)>>> CWD /server1/daily Net::FTP=GLOB(0x2e7a828)<<< 250 Directory successfully changed. Net::FTP=GLOB(0x2e7a828)>>> PASV Net::FTP=GLOB(0x2e7a828)<<< 227 Entering Passive Mode (***,***,**,***,46,243). Unable to upload the backup to the remote FTP server.</pre>
Comments
Did you specify a folder and if so is it already created
I have set backup to /server1 in WHM and have created the folder server1 on my storage VPS.
If you use firewall are ports for passive mode open ? both on outgoing and incoming
In your place I'll use SFTP more simple to setup and more secure
Look like somethig wrong in remote ftp.
I have re-installed centos but still the same issue.
I am not sure this issue as the same as Kloxo issue or not. In Kloxo, remote server using mod_php for apache have a trouble. Need change to mod_ruid2, mod_itk or suphp.
Rebooted server and started working now even though still showing this
@n1kko do you have the correct permissions on the ftp user/folder?
manually create the folders; it should work then
Ok issue was csf blocking ftp ports