New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

FTP Login

Started by kushan, October 02, 2014, 10:50:05 AM

Previous topic - Next topic

kushan

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

donTomppa

Have the exact same problem!

donTomppa

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...

Administrator

all our test servers works fine with new ftp + virtal ftp users, you should contact support to check that.
http://centos-webpanel.com/contact

donTomppa

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
}
"




donTomppa

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 ;)

donTomppa

Hmm... something is updated. Webpanel dashboard looks a bit different now... and FTP is up and running.
Admins? Comments on this?

PsyberTech

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

Administrator

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

PsyberTech

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.

PsyberTech

#10
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.


Administrator

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!

Dexxa

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

Administrator

fix for this is released and it will be fixed/updated on all servers in next 24 hours.

erm3nda

Quote from: Dexxa 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

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) which returns True or False depending on the asker.