Control Web Panel
WebPanel => FTP => Topic started by: kushan 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".
(http://roomsbook.net/FTP.jpg)
Please let me know any suggestions regarding this matter.
Regards,
Kushan
-
Have the exact same problem!
-
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...
-
all our test servers works fine with new ftp + virtal ftp users, you should contact support to check that.
http://centos-webpanel.com/contact
-
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
}
"
-
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 ;)
-
Hmm... something is updated. Webpanel dashboard looks a bit different now... and FTP is up and running.
Admins? Comments on this?
-
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
-
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
-
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.
-
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.
-
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!
-
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
-
fix for this is released and it will be fixed/updated on all servers in next 24 hours.
-
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.
-
I just installed a fresh copy on a new server. Setup a bunch of accounts in the Admin - unless the user is created with shell access it won't connect to via FTP or SFTP.
ERROR
421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb
I only run this control panel on my local testing machine. So, giving shell access to the accounts I create isn't a problem.
It would be great to have the ability to setup FTP accounts in the admin panel.
-
SFTP requires shell access
FTP requires user account created or within users panel you can create a Virtual FTP user accounts.
-
is there a clear answer to solve this problem
give shell access solves nothing
I do not know where I can create an ftp account in CWP
thanks
Francois
-
SFTP requires shell access
FTP requires user account created or within users panel you can create a Virtual FTP user accounts.
you have all informations in the previous answer
If you need FTP then all you need is to create a new account, if you need additional accounts then from the users panel you can create additional accounts!
-
This post has been viewed more than 400 times, so I'm not the only one to have lost time on a problem that should not exist.
To solve, create an FTP account on the user, but another pb come, you can not create a folder at the same level as public_html, practical in many cases...
The solution back to the first reflex, connect FTP directly to the user account and then, like a miracle the connection is established without pb. After, you can then connect to any user without the need to create additional FTP account.
I thank the developers for this interface, but do not try to compete with Cpanel or Plesk which I think are a little too heavy to manage sites. Facilitate security, implementation and daily functioning as backups and more jobs is a general need.
Thanks
Francois
-
issue with ftp was fixed in the previous versions, its related with the virtual users database and if you are experiencing this issue, adding one virtual user will fix it again.
-
The only difference in /etc/pure-ftpd/pure-ftpd.conf between yum remove / yum install and the original install is that the line in the latter:
PureDB /etc/pure-ftpd/pureftpd.pdb
is commented out in the former:
PureDB /etc/pure-ftpd/pureftpd.pdb
.
The actual line in the original web installer that did it is:
sed -i 's|.*pureftpd.pdb.*|PureDB /etc/pure-ftpd/pureftpd.pdb|g' /etc/pure-ftpd/pure-ftpd.conf
But this can remain so and the creation of one FTP user in a domain will set right the password table. There appears to be no separate MySQL database associated with the PureFTPd. Possibly it will use the regular user table in the root_cwp db itself or from a file containing virtual users.
The two files pureftpd.passwd and pureftpd.pdb get created in the /etc/pure-ftpd folder in the correct format now.
root user by default cannot FTP but can SFTP.
-
Same error: 421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb
On all created user accounts.
EDIT: I restarted the FTP server and is now working properly. For every new account i'm restart ftp server and its work. o.O
-
Filezilla question.
When you create a new user for example newuser@myhost.com, how do you set up filezilla?
Hostname=
user =
thanks
-
tip, visit this url
http://wiki.centos-webpanel.com/ftp-connection-failed
-
I would like to use filezilla to upload files not file manager.
Thanks.