Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

530 Login incorrect.

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE
Status
Not open for further replies.

Chadi

Member
Joined
Aug 24, 2012
Messages
57
Ok. So been using freenas for a long time now. I had to set up a new cpanel server to replace an old one. Set up backup in WHM accordingly, matching the old one and a few other cpanel boxes (that back up nightly to freenas without a hitch). I went into freenas and simply updated the password for the user below, admin4.

Now, I'm getting this error when validating the connectivity. Shouldn't happen. Is there some specific outgoing ports that should be enabled in my source server? Everything is perfectly set correctly which is baffling me, in WHM and freenas is untouched, only updated the same user's password. It WAS working fine on the original server too, which is odd.



Code:
root@server [/tmp]# tail -f /usr/local/cpanel/logs/cpbackup/1419035050.log
Net::FTP>>>     IO::Socket(1.31)
Net::FTP>>>       IO::Handle(1.28)
Net::FTP=GLOB(0x3348ed8)<<< 220 ProFTPD 1.3.4d Server (freenas.xxx.xxx.33.12 FTP Server) [::ffff:xxx.xxx.37.11]
Net::FTP=GLOB(0x3348ed8)>>> USER admin4
Net::FTP=GLOB(0x3348ed8)<<< 331 Password required for lwadmin04
Net::FTP=GLOB(0x3348ed8)>>> PASS ....
Net::FTP=GLOB(0x3348ed8)<<< 530 Login incorrect.
Net::FTP=GLOB(0x3348ed8)>>> QUIT
Net::FTP: Unexpected EOF on command channel at /scripts/cpbackup line 402.
[cpbackup] Unable to login to remote FTP server. 


In WHM's backup manager, the validate tool says this

Error: Validation for transport “NAS” failed: Cannot connect to “xxx.xxx.37.11” using provided credentials.
I've replicated the same thing from my other working cpanel boxes that backup nightly to the same freenas server. I'm confused really. Even set passive ftp like the others.

I couldn't even connect via ftp manually using a ftp client.
 

Chadi

Member
Joined
Aug 24, 2012
Messages
57
I also confirmed disabling firewall on the cpanel box doesn't resolve the issue.
 
D

dlavigne

Guest
Anything related in /var/log/messages on the FreeNAS side? Also, should the username be "lwadmin04" as it seems to be asking for that user's password?
 

Chadi

Member
Joined
Aug 24, 2012
Messages
57
[root@freenas] /var/log# grep 'lwadmin04' messages

Blank return. Odd.

The user is lwadmin04 and that's what I'm using (OP line typo here only)
 

Chadi

Member
Joined
Aug 24, 2012
Messages
57
Unfortunately not, but only progressed one step forth. I created a brand new user in FN and it was finally able to connect. However, after cpanel on the source server finishes the backup (tar'ing) it just hangs and I'm not sure what's causing it to hang, the cpanel server or freenas blocking it's transfer. I've whitelisted the freenas server IP on the cpanel box too.

Code:
[root@freenas] ~# grep 'xxx.xxx.36.2' /var/log/messages
Dec 26 14:09:53 freenas proftpd[52413]: 127.0.0.1 (xxx.xxx.36.2[xxx.xxx.36.2]) - USER izweb: Login successful.
Dec 26 14:48:12 freenas proftpd[52818]: 127.0.0.1 (xxx.xxx.36.2[xxx.xxx.36.2]) - USER izweb: Login successful.


Cpanel box:

root@server [~]# tail -f /usr/local/cpanel/logs/cpbackup/1419621024.log
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: /var/cpanel/dnsadmin/sock: socket ignored
/bin/gtar: Removing leading `/' from hard link targets
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
/bin/gtar: Removing leading `/' from member names
[2014-12-26 14:11:04 -0500] pkgacct started.
[2014-12-26 14:11:04 -0500] pkgacct version 10 - user : useracct - tarball: 1 - target mysql : default - split: 0 - incremental: 0 - homedir: 1 - mailman: 1 - archive version: 3 - running with uid 0
[2014-12-26 14:11:04 -0500] pkgacct using '/usr/bin/gzip -6' to compress archives
[2014-12-26 14:11:04 -0500] pkgacct working dir : /backup/2014-12-26/accounts/useracct
[2014-12-26 14:11:04 -0500] Copying Reseller Config...[2014-12-26 14:11:04 -0500] Done
[2014-12-26 14:11:04 -0500] Copying Suspension Info (if needed)...[2014-12-26 14:11:04 -0500] Done
[2014-12-26 14:11:04 -0500] Copying SSL certificates, CSRs, and keys...[2014-12-26 14:11:04 -0500] Done
[2014-12-26 14:11:04 -0500] Copying Domain Keys....[2014-12-26 14:11:04 -0500] Done
[2014-12-26 14:11:04 -0500] Copying Counter Data....[2014-12-26 14:11:04 -0500] Copying Bandwidth Data....
..useracct-imap-rate.rrd....useracct-pop3-peak.rrd....useracct-smtp-rate.rrd....useracct-http-rate.rrd....useracct-http-peak.rrd....useracct-pop3-rate.rrd....useracct-smtp-peak.rrd....useracct-ftp-peak.rrd....useracct-ftp-rate.rrd....domain.tv-http-peak.rrd..
..useracct....useracct-imap-peak.rrd....useracct-all-rate.rrd....domain.tv....domain.tv-all-peak.rrd....domain.tv-all-rate.rrd....useracct-all-peak.rrd....domain.tv-http-rate.rrd..[2014-12-26 14:11:05 -0500] Done
[2014-12-26 14:11:05 -0500] Copying Dns Zones.......useraccttbury.com......domain.tv...[2014-12-26 14:11:05 -0500] Done
[2014-12-26 14:11:05 -0500] Copying Mail files....[2014-12-26 14:11:05 -0500] Done
[2014-12-26 14:11:05 -0500] Copying proftpd file....[2014-12-26 14:11:05 -0500] Done
[2014-12-26 14:11:05 -0500] Copying www logs.......log file sizes [1100 byte(s)]......domain.tv......resources.domain.tv-bytes_log......resources.domain.tv......domain.tv-bytes_log...[2014-12-26 14:11:05 -0500] Done
[2014-12-26 14:11:05 -0500] Copy userdata...[2014-12-26 14:11:05 -0500] Done
[2014-12-26 14:11:05 -0500] Copy custom virtualhost templates...[2014-12-26 14:11:05 -0500] Done
[2014-12-26 14:11:05 -0500] Leaving timeout safety mode
[2014-12-26 14:11:05 -0500] Copying mailman lists and archives....
[2014-12-26 14:11:05 -0500] Done copying mailman lists and archives.
[2014-12-26 14:11:05 -0500] Copying homedir.............
[2014-12-26 14:11:06 -0500] Done
[2014-12-26 14:11:06 -0500] Calculating nobody files............
[2014-12-26 14:11:06 -0500] Done
[2014-12-26 14:11:06 -0500] Entering timeout safety mode
[2014-12-26 14:11:06 -0500] Determining mysql dbs...[2014-12-26 14:11:06 -0500] ...mysqldump version: 5.6.21...[2014-12-26 14:11:06 -0500] ...mysql version: 5.6...[2014-12-26 14:11:06 -0500] Saving mysql privs...[2014-12-26 14:11:06 -0500] Done
[2014-12-26 14:11:06 -0500] ...Done
[2014-12-26 14:11:06 -0500] Storing mysql dbs............
useracct_wrdp1[2014-12-26 14:11:07 -0500] (4533190 bytes) useracct_domain[2014-12-26 14:11:07 -0500] (156602 bytes) roundcube.users,roundcube.identities,roundcube.contacts,roundcube.contactgroups[2014-12-26 14:11:07 -0500] (6728 bytes) roundcube.contactgroupmembers[2014-12-26 14:11:07 -0500] (2405 bytes) [2014-12-26 14:11:07 -0500] ...Done
[2014-12-26 14:11:07 -0500] Copying cpuser file.......[2014-12-26 14:11:07 -0500] Done
[2014-12-26 14:11:07 -0500] Copying crontab file.......[2014-12-26 14:11:07 -0500] Done
[2014-12-26 14:11:07 -0500] Copying quota info.......[2014-12-26 14:11:07 -0500] Done
[2014-12-26 14:11:07 -0500] Storing Subdomains....
[2014-12-26 14:11:07 -0500] Done
[2014-12-26 14:11:07 -0500] Storing Parked Domains....
[2014-12-26 14:11:07 -0500] Done
[2014-12-26 14:11:07 -0500] Storing Addon Domains....
[2014-12-26 14:11:07 -0500] Done
[2014-12-26 14:11:07 -0500] Storing SSL domain......[2014-12-26 14:11:07 -0500] Done
[2014-12-26 14:11:07 -0500] Copying password.......[2014-12-26 14:11:07 -0500] Done
[2014-12-26 14:11:07 -0500] Copying shell.......[2014-12-26 14:11:07 -0500] Done
[2014-12-26 14:11:07 -0500] Creating Archive ....................................................................................
....................
[2014-12-26 14:45:50 -0500] Done
[2014-12-26 14:45:50 -0500] pkgacctfile is: /backup/2014-12-26/accounts/useracct.tar.gz
[2014-12-26 14:45:50 -0500]
size is: 18659846078
[2014-12-26 14:45:50 -0500]
homesize is: 24540028928
 
Status
Not open for further replies.
Top