[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: db_stat usage





--On Friday, January 16, 2004 9:37 AM -0800 "Jason C. Leach" <jleach@ocis.net> wrote:

hi,

I'm having trouble using db_stat as shown by the example below:


robson:~# db4.1_stat -h /var/lib/ldap/ -m db_stat: DB_ENV->open: /var/lib/ldap/: No such file or directory

robson:~# cd /var/lib/ldap

robson:/var/lib/ldap# ls
DB_CONFIG  gidNumber.dbb  objectClass.dbb  uid.dbb
cn.dbb     id2entry.dbb   replog           uidNumber.dbb
dn2id.dbb  nextid.dbb     replog.lock

robson:/var/lib/ldap#

Get rid of the trailing slash.

db4.1_stat -h /var/lib/ldap -m

--Quanah


-- Quanah Gibson-Mount Principal Software Developer ITSS/TSS/Computing Systems ITSS/TSS/Infrastructure Operations Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html