Author Topic: FTP Login  (Read 17881 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
FTP Login
« on: October 02, 2014, 10:50:05 AM »
Hi,

FTP server is indicating as suspended on Services Status on the server.
cannot start/restart the FTP server. When i tried to login  through FTP client(fileZilla) i got this error message "421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb".




Please let me know any suggestions regarding this matter.

Regards,
Kushan

Offline
*
Re: FTP Login
« Reply #1 on: October 02, 2014, 02:30:00 PM »
Have the exact same problem!

Offline
*
Re: FTP Login
« Reply #2 on: October 02, 2014, 02:33:43 PM »
In my server setup the pureftpd.conf refers to file pureftpd.pdb at "/etc/pure-ftpd/pureftpd.pdb"
That file doesn't however exist...
I don't know if it should exist, as the pure-ftp should use the user account details as ftp username/password (like given when creating the user in the webpanel). Or at least it should be created and updated automatically...

Offline
*
Re: FTP Login
« Reply #3 on: October 02, 2014, 02:53:00 PM »
all our test servers works fine with new ftp + virtal ftp users, you should contact support to check that.
http://centos-webpanel.com/contact
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: FTP Login
« Reply #4 on: October 02, 2014, 03:43:48 PM »
Hmm... was there anykind of update? To Webpanel, PureFTP or something else? Anything you'd know of?
Earlier this week it all worked just fine... Did during the last two days nothing but added one new user and deleted one old test user...

Stopping/restarting pure-ftp from console gives an error too:
[root@v01 ~]# pure-ftpd restart
Unable to start a standalone server: Address already in use
[root@v01 ~]# pure-ftpd stop
Unable to start a standalone server: Address already in use

Like there'd be something already running.
Anyway. After that I went ahead and killed the running PureFTP process.

After this, the Dashboard still shows "suspended" for FTP. After killing the proces I'd assume it being stopped...
Any comment on this?

---
Another approach:

The xinetd refers to Pureftp in the config files too. Could there be something?
The "pure-ftpd" include file for xinetd.d says however that it's disabled:"
# default: off
# description: pure-ftpd server, xinetd version.
# Don't run the standalone version if you run
# this and remember do set "Daemonize" to "no"
# in /etc/pure-ftpd/pure-ftpd.conf
service ftp
{
        disable = yes
        socket_type             = stream
        wait                    = no
        user                    = root
        server                  = /usr/sbin/pure-config.pl
        server_args             = /etc/pure-ftpd/pure-ftpd.conf
        log_on_success          += DURATION USERID
        log_on_failure          += USERID
        nice                    = 10
}
"




Offline
*
Re: FTP Login
« Reply #5 on: October 03, 2014, 05:47:13 PM »
Anything new on this?
Of course there's the workaround that you just allow ssh/sftp for the new account... not quite optimal and wouldn't use it for client projects, but for my own stuff it works ;)

Offline
*
Re: FTP Login
« Reply #6 on: October 03, 2014, 05:48:19 PM »
Hmm... something is updated. Webpanel dashboard looks a bit different now... and FTP is up and running.
Admins? Comments on this?

Offline
*
Re: FTP Login
« Reply #7 on: October 03, 2014, 06:26:31 PM »
Same problem here on one of my accounts. 

Response:   421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb

Root FTP and other accounts work fine, but this one...

Status:   Connection established, waiting for welcome message...
Response:   220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:   220-You are user number 1 of 50 allowed.
Response:   220-Local time is now 20:24. Server port: 21.
Response:   220-IPv6 connections are also welcome on this server.
Response:   220 You will be disconnected after 15 minutes of inactivity.
Command:   USER standout
Response:   331 User standout OK. Password required
Command:   PASS ********
Response:   421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb

Offline
*
Re: FTP Login
« Reply #8 on: October 03, 2014, 09:48:21 PM »
CWP 0.9.5 is now using pure-ftpd as default FTP server
you can contact support so we can check this issue on your server

http://centos-webpanel.com/contact
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: FTP Login
« Reply #9 on: October 07, 2014, 06:29:17 PM »
Just so you know... 
Same problem here.  Brand new server, fresh install on CentOS 6.5 

Root can connect just fine with SFTP, but new accounts always get:

Response:   421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb
Error:   Could not connect to server
Status:   Waiting to retry...

Has the staff responded to anyone about this yet?  I just built 4 new servers and I have the same error on all 4.

Offline
*
Re: FTP Login
« Reply #10 on: October 07, 2014, 06:43:22 PM »
The Admins have not responded to my initial support requests from last week, so I went tinkering.  Please know that I am NOT any type of Linux Guru.

How I fixed all my servers from: Response:   421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb

SSH into your server.  (Putty.exe)

Enter: yum remove pure-***d
Answer "y" to remove the program

Enter: yum install pure-***d
Answer "y" to install the program

In your CWP panel, restart the FTP server.

Problem solved.  CWP has a bug in the install setup scripts or something.

« Last Edit: October 08, 2014, 01:05:16 AM by Administrator »

Offline
*
Re: FTP Login
« Reply #11 on: October 08, 2014, 01:06:33 AM »
do not use yum remove because you will break all virtal ftp users!!!
if you have issue you will need to contact support so we can check that more detailed on the server!
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: FTP Login
« Reply #12 on: October 12, 2014, 01:17:18 PM »
I've found a easy work around

As the main account ftp comes up with this error, To get a working account  Login to your customers panel. Click on FTP Accounts then create another account so the user will be user@yourdomain.com and login to ftp with that account and it logs in

Offline
*
Re: FTP Login
« Reply #13 on: October 14, 2014, 05:36:19 PM »
fix for this is released and it will be fixed/updated on all servers in next 24 hours.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
***
Re: FTP Login
« Reply #14 on: October 15, 2014, 02:57:19 AM »
I've found a easy work around

As the main account ftp comes up with this error, To get a working account  Login to your customers panel. Click on FTP Accounts then create another account so the user will be user@yourdomain.com and login to ftp with that account and it logs in

I got same error and that was my solution too, login to user and create a new account.
8==D it's a function that try to compare 8 (int) against D (string) and not ALWAYS does return false.