PDA

View Full Version : missing db_load command


bluejuice
16th December 2007, 06:27 AM
I am attempting to set up vsftpd virtual users as per the tutorial at
ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.5/EXAMPLE/VIRTUAL_USERS/README

However I came to a grinding halt when the command
db_load -T -t hash -f logins.txt /etc/vsftpd_login.db
came back with: command not found

rpm -qa | grep db showed I had the db4-4.3.27 package installed but I could not find db_load or any other of the standard db tools in /usr/bin/
So i downloaded and -i --replacepkgs db4-4.3.27-5.fc4.i386.rpm but still no db_load command???

For the past 2 days I have been searching the net looking for a solution. If i scratch my head any longer over this I will be down to the bone.

Oh.. Im running FC4

bluejuice
16th December 2007, 11:32 AM
Solved.
I had incorrectly assumed that the db package had the command tools built-in. However the tools are in a seperate db-utils package. Of course this explains why i did not have the tools in the first place. After installing the correct package for the db version (which i found at www.rpmfind.net) everythings now working fine.