ProFTPD new user 530 login error/no such user

Guile

Well-Known Member
Apr 25, 2003
80
0
156
When my client or I create a new add-on/sub FTP account via cPanel the account is created without errors but upon login via FTP a "530 Login incorrect" error is displayed.

FTP username is in the form of [email protected] and I have tried multiple passwords, password changes, ftp password synchronization, ProFTPD service restart, force update to cpanel, etc. nothing seems to work...

I did notice that when I tail /var/log/messages I see an entry created by ProFTPD "no such user [email protected]", yet I see the user is /etc/proftpd/passwd.vhosts

I'm running cPanel 11.24.2-C32034 - WHM 11.24.2 - X 3.9 on REDHAT Enterprise 4 i686 on standard.

Thanks,
Speckz
 

Guile

Well-Known Member
Apr 25, 2003
80
0
156
I'm going to try switching FTP Services from ProFTPD to Pure-FTPD to see if that will work. If that doesn't work then what are my options?
 

Guile

Well-Known Member
Apr 25, 2003
80
0
156
The switch from ProFTPD to Pure-FTPD failed, see below for error that I recived when I tried this via WHM. :(

FTP Configuration
Installing new FTP server.

Disabling Chksrvd monitoring

Switching FTP server to pure-ftpd
Ftp Setup Script Version 6.1
Undefined subroutine &main::getversionfromfile called at /scripts/ftpup line 168.

Enabling pure-ftpd in init system

Enabling FTP server updates

Enabling chksrvd monitoring

FTP server conversion complete

FTP Server Install Complete
You should now check and adjust the FTP settings
by visiting the FTP Server Configuration interface.
After restarting FTP via "FTP Server (ProFTPd/PureFTPd)" in WHM I still see ProFTPD running and not Pure-FTPD:

nobody 15848 0.0 0.0 5848 1128 ? Ss 01:22 0:00 proftpd: (accepting connections)
nobody 15866 0.0 0.0 5980 1836 ? SL 01:22 0:00 proftpd: connected: 127.0.0.1 (127.0.0.1:58374)
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
77
308
cPanel Access Level
Root Administrator
Ftp Setup Script Version 6.1
Undefined subroutine &main::getversionfromfile called at /scripts/ftpup line 168.
Try performing a forced update ( /scripts/upcp --force) as it appears there is a problem with the installed version of cPanel.
 

Guile

Well-Known Member
Apr 25, 2003
80
0
156
Thanks for the reply, I did as you as you recommended and ran "/scripts/upcp --force", once that was complete I tried the FTP switch via "FTP Server Selection" in WHM only to receive the following:

FTP Configuration
Installing new FTP server.

Disabling Chksrvd monitoring

Switching FTP server to pure-ftpd
Ftp Setup Script Version 6.1
Undefined subroutine &main::getversionfromfile called at /scripts/ftpup line 168.

Enabling pure-ftpd in init system

Enabling FTP server updates

Enabling chksrvd monitoring

FTP server conversion complete

FTP Server Install Complete
You should now check and adjust the FTP settings
by visiting the FTP Server Configuration interface.
ProFTPd is still the default and I am not able to switch to Pure-FTPD. Also, sub FTP account logins are still showing 530. :( What else can I try?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
77
308
cPanel Access Level
Root Administrator
Thanks for the reply, I did as you as you recommended and ran "/scripts/upcp --force", once that was complete I tried the FTP switch via "FTP Server Selection" in WHM only to receive the following:



ProFTPd is still the default and I am not able to switch to Pure-FTPD. Also, sub FTP account logins are still showing 530. :( What else can I try?
That function is defined by one of the Perl modules in /scripts and /scripts/cPScripts. Please check the attributes for the files in those directories to ensure no file is set to immutable. This check is done by executing:

Code:
lasttr /scripts
lsattr /scripts/cPScripts
If any output resembles this:

Code:
----i-------- ./info.php
then please remove the immutable bit from that file:

Code:
chattr -i info.php
Once all immutable bits are cleared, perform another forced update.
 

Guile

Well-Known Member
Apr 25, 2003
80
0
156
When I run:

lsattr /scripts
The only directory that does not have "-------------" is:

----------I-- /scripts/cPScript
Performing:

chattr -i /scripts/cPScript
Does nothing as I still see:

----------I-- /scripts/cPScript
When I run:

lsattr /scripts
Output from:

lsattr /scripts/cPScript
Returns:

------------- /scripts/cPScript/SafetyBits
------------- /scripts/cPScript/SysPkgs.pm
------------- /scripts/cPScript/Form
------------- /scripts/cPScript/WHMAPI.pm
------------- /scripts/cPScript/OpenSSL.pm
------------- /scripts/cPScript/MailTools.pm
------------- /scripts/cPScript/MirrorSearch.pm
------------- /scripts/cPScript/StringFunc.pm
------------- /scripts/cPScript/Lang.pm
------------- /scripts/cPScript/Cpu.pm
------------- /scripts/cPScript/HttpUtils.pm
------------- /scripts/cPScript/NSCD.pm
------------- /scripts/cPScript/TieLang.pm
------------- /scripts/cPScript/MysqlUtils
------------- /scripts/cPScript/Update.pm
------------- /scripts/cPScript/DnsUtils.pm
------------- /scripts/cPScript/Class.pm
------------- /scripts/cPScript/SSLCerts.pm
------------- /scripts/cPScript/SSHUtils.pm
------------- /scripts/cPScript/Tar.pm
------------- /scripts/cPScript/Ips.pm
------------- /scripts/cPScript/CachedDataStore.pm
------------- /scripts/cPScript/DomainIp.pm
------------- /scripts/cPScript/FrontpageAdmin.pm
------------- /scripts/cPScript/Parser.pm
------------- /scripts/cPScript/StringFunc
------------- /scripts/cPScript/cPCPAN
------------- /scripts/cPScript/PHPConfig
------------- /scripts/cPScript/SocketIP.pm
------------- /scripts/cPScript/ContactInfo.pm
------------- /scripts/cPScript/Exim
------------- /scripts/cPScript/Form.pm
------------- /scripts/cPScript/CachedCommand.pm
------------- /scripts/cPScript/AcctUtils.pm
------------- /scripts/cPScript/Math.pm
------------- /scripts/cPScript/SafeDir
------------- /scripts/cPScript/FileUtils
------------- /scripts/cPScript/Linkage.pm
------------- /scripts/cPScript/CachedCommand
------------- /scripts/cPScript/DIp.pm
------------- /scripts/cPScript/CleanupStub.pm
------------- /scripts/cPScript/NameServer
------------- /scripts/cPScript/SSL
------------- /scripts/cPScript/PerlTest.pm
------------- /scripts/cPScript/SSLInfo.pm
------------- /scripts/cPScript/Usage.pm
------------- /scripts/cPScript/QuotaMtime.pm
------------- /scripts/cPScript/HttpRequest.pm
------------- /scripts/cPScript/Config
------------- /scripts/cPScript/AcctUtils
------------- /scripts/cPScript/SafetyBits.pm
------------- /scripts/cPScript/Hostname.pm
------------- /scripts/cPScript/SysCmdRC.pm
------------- /scripts/cPScript/PwDiskCache.pm
------------- /scripts/cPScript/LangMods.pm
------------- /scripts/cPScript/EmailTracker.pm
------------- /scripts/cPScript/Encoder.pm
------------- /scripts/cPScript/SafeRun
------------- /scripts/cPScript/HttpTimer.pm
------------- /scripts/cPScript/DIp
------------- /scripts/cPScript/cPCPAN.pm
------------- /scripts/cPScript/Template.pm
------------- /scripts/cPScript/Config.pm
------------- /scripts/cPScript/RoR
------------- /scripts/cPScript/Exim.pm
------------- /scripts/cPScript/Proc.pm
------------- /scripts/cPScript/PwCache.pm
------------- /scripts/cPScript/Resolvers.pm
------------- /scripts/cPScript/CheckData.pm
------------- /scripts/cPScript/DNSLib
------------- /scripts/cPScript/cPPkgs.pm
------------- /scripts/cPScript/FindBin.pm
------------- /scripts/cPScript/DNSLib.pm
------------- /scripts/cPScript/Env.pm
------------- /scripts/cPScript/App.pm
------------- /scripts/cPScript/CheckPass.pm
------------- /scripts/cPScript/SysQuota.pm
------------- /scripts/cPScript/FtpUtils.pm
------------- /scripts/cPScript/OSSys.pm
------------- /scripts/cPScript/ConfigFiles.pm
------------- /scripts/cPScript/EditHttpdconf.pm
------------- /scripts/cPScript/TextDB.pm
------------- /scripts/cPScript/MysqlUtils.pm
------------- /scripts/cPScript/MailDir.pm
------------- /scripts/cPScript/DnsRoots.pm
------------- /scripts/cPScript/cPServices.pm

------------- /scripts/cPScript/UserDomainIp.pm
------------- /scripts/cPScript/IxHash.pm
------------- /scripts/cPScript/Domains.pm
------------- /scripts/cPScript/ObjCache.pm
------------- /scripts/cPScript/Rand.pm
------------- /scripts/cPScript/SafeDir.pm
------------- /scripts/cPScript/DNSONLY.pm
------------- /scripts/cPScript/AccessIds.pm
------------- /scripts/cPScript/Ips
------------- /scripts/cPScript/DbUtils.pm
------------- /scripts/cPScript/UrlTools.pm
------------- /scripts/cPScript/StatCache.pm
------------- /scripts/cPScript/RpmUtils.pm
------------- /scripts/cPScript/ResellerFunctions.pm
------------- /scripts/cPScript/DomainLookup.pm
------------- /scripts/cPScript/CourierConfig.pm
------------- /scripts/cPScript/Selinux.pm
------------- /scripts/cPScript/Rlimit.pm
------------- /scripts/cPScript/SimpleSync.pm
------------- /scripts/cPScript/SysPkgs
------------- /scripts/cPScript/PsParser.pm
------------- /scripts/cPScript/Template
------------- /scripts/cPScript/SafeRun.pm
------------- /scripts/cPScript/AdvConfig
------------- /scripts/cPScript/SafeFile.pm
------------- /scripts/cPScript/AdminBin.pm
------------- /scripts/cPScript/ZoneFile.pm
------------- /scripts/cPScript/Time.pm
------------- /scripts/cPScript/Mysql.pm
------------- /scripts/cPScript/CPAN
------------- /scripts/cPScript/Chkservd.pm
------------- /scripts/cPScript/Notify.pm
------------- /scripts/cPScript/Class
------------- /scripts/cPScript/IpPool.pm
------------- /scripts/cPScript/Quota.pm
------------- /scripts/cPScript/CommentKiller.pm
------------- /scripts/cPScript/ApacheConf.pm
------------- /scripts/cPScript/PHPINI.pm
------------- /scripts/cPScript/AdvConfig.pm
------------- /scripts/cPScript/MagicRevision.pm
------------- /scripts/cPScript/SafeSync.pm
------------- /scripts/cPScript/PipeHandler.pm
------------- /scripts/cPScript/ArrayFunc.pm
------------- /scripts/cPScript/DnsUtils
------------- /scripts/cPScript/Debug.pm
------------- /scripts/cPScript/iContact.pm
------------- /scripts/cPScript/Filesys.pm
------------- /scripts/cPScript/Init.pm
------------- /scripts/cPScript/Path.pm
------------- /scripts/cPScript/PHPConfig.pm
------------- /scripts/cPScript/cPanelFunctions.pm
------------- /scripts/cPScript/MysqlRun.pm
------------- /scripts/cPScript/Sys
------------- /scripts/cPScript/RpmStor.pm
------------- /scripts/cPScript/MD5.pm
------------- /scripts/cPScript/Proxy.pm
------------- /scripts/cPScript/HttpUtils
------------- /scripts/cPScript/Init
------------- /scripts/cPScript/Email
------------- /scripts/cPScript/Logger.pm
------------- /scripts/cPScript/SafeFind.pm
------------- /scripts/cPScript/PID.pm
------------- /scripts/cPScript/FtpUtils
------------- /scripts/cPScript/PasswdStrength.pm
------------- /scripts/cPScript/Services.pm
------------- /scripts/cPScript/LoadFile.pm
------------- /scripts/cPScript/DataStore.pm
------------- /scripts/cPScript/BinUtils.pm
------------- /scripts/cPScript/FileUtils.pm
------------- /scripts/cPScript/AccessIds
------------- /scripts/cPScript/Errors.pm
------------- /scripts/cPScript/Sys.pm
------------- /scripts/cPScript/ProcessCheck.pm
------------- /scripts/cPScript/Regex.pm
------------- /scripts/cPScript/Limits.pm
------------- /scripts/cPScript/SysBackup.pm
------------- /scripts/cPScript/OSDATA.pm
------------- /scripts/cPScript/PingTest.pm
------------- /scripts/cPScript/SSLPath.pm
------------- /scripts/cPScript/cPQuota.pm
------------- /scripts/cPScript/DomainTools.pm
------------- /scripts/cPScript/FileLookup.pm
------------- /scripts/cPScript/Version.pm
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
77
308
cPanel Access Level
Root Administrator
Please open a support ticket for this issue if you are still experiencing it. Thank you.
 

Nicke71

Registered
Jan 20, 2006
1
0
151
I also got FTP problems since a week or so, one ftp account used to work and suddenly stopped working (Its for a friend to manage a directory in www folder), I tried change pw and create new users but without success. My main ftp account works fine tho.

I am not savvy enought to install a new ftp server etc as mentioned above. Its there an easy fix?
 

gertiebeth

Well-Known Member
Jun 4, 2003
97
0
156
Minnesota, USA
cPanel Access Level
Root Administrator

Support Request Id: 363254
was opened for this issue at noon today. Still no response and the ticket is still unassigned. I'm extremely disappointed in the service I have received today.

Have anyone had any luck with this issue? The above advice was unsuccessful.
 

aspr

Member
Sep 26, 2004
8
0
151
same issue

hi,

I am facing the same issue

Switching FTP server to proftpd
Ftp Setup Script Version 6.1
Undefined subroutine &main::getversionfromfile called at /scripts/ftpup line 168.

can you kindly tell me, how did u manage to solve it?