The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FTP Backup Problems

Discussion in 'General Discussion' started by morefood2001, Jan 1, 2010.

  1. morefood2001

    morefood2001 Active Member

    Joined:
    Mar 18, 2008
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have a newly installed CPanel Release server (its less than 2 weeks old). Everything but the backup script works. When examining the problem, I get the following output:

    root@int [/scripts]# /scripts/cpbackup --force
    Net::FTP>>> Net::FTP(2.77)
    Net::FTP>>> Exporter(5.58)
    Net::FTP>>> Net::Cmd(2.29)
    Net::FTP>>> IO::Socket::INET(1.29)
    Net::FTP>>> IO::Socket(1.29)
    Net::FTP>>> IO::Handle(1.25)
    Net::FTP=GLOB(0x86212fc)<<< 220 Microsoft FTP Service
    Net::FTP=GLOB(0x86212fc)>>> USER int
    Net::FTP=GLOB(0x86212fc)<<< 331 Password required for int.
    Net::FTP=GLOB(0x86212fc)>>> PASS ....
    Net::FTP=GLOB(0x86212fc)<<< 530 User cannot log in.
    Net::FTP=GLOB(0x86212fc)>>> QUIT
    Net::FTP=GLOB(0x86212fc)<<< 221 Goodbye.
    Unable to login to remote FTP server.
    die [cpbackup] Unable to login to remote FTP server.
    exit level [die]

    My backup server does run Microsoft Windows Server 2008 R2 with IIS 7 and FTP services installed. I configured the directory listing to be Unix style in hopes of fixing this, but I continue to receive the same error. I believe that this is a limitation of Perl. Just to prove that it isn't my permissions, below is a login directly from ssh:

    root@int [/scripts]# ftp
    ftp> open DOMAIN
    Connected to DOMAIN (IP).
    220 Microsoft FTP Service
    Name (DOMAIN:root): int
    331 Password required for int.
    Password:
    230 User logged in.
    Remote system type is Windows_NT.
    ftp> exit
    221 Goodbye.

    I was also able to replicate this with another CPanel server and another Microsoft Windows Server, so I believe that you should be able to replicate it.

    I am running the latest CPanel Release Tree.

    Do you have any ideas on how to fix this or would it be possible to get an update to fix this?
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Do both (cPanel/WHM) servers have the same build of the cPanel RELEASE tree? Please confirm and let us know the full cPanel version number; here is a command to obtain this via SSH:
    Code:
    # cat /usr/local/cpanel/version && echo
    Are there any special characters in the FTP account password? If yes, I would try a new password that is only alphanumeric, and then gradually add-in each special character one-at-a-time to determine if one may be interfering.
     
  3. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    I have explained the problem below

    cPanel backups not working - 6490031 - Post Count 5 - Web Hosting Talk

    Hope this helps.
     
  4. morefood2001

    morefood2001 Active Member

    Joined:
    Mar 18, 2008
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Thanks for the help!

    It was the password, I used special characters (& and #). I believe the # probably was messing with it since that is a comment in perl.

    Perhaps it may be worth adding it to the documentation as a FAQ. I'm sure I'm not the first person to stumble across this.

    Thanks,
    Phil
     
Loading...

Share This Page