Hi Jeff, thanks for your reply! >> I've problems creating a SDBM database on Linux with both Apache 1.3 and >> 2.0 SDBM lib; >> with AP2 I've tried from my module: >> >> retval = apr_dbm_open_ex(&dbm, c->cntr_dbmtype, c->cntr_file, >> APR_DBM_RWCREATE, >> DEFAULT_DBM_PERM, r->pool); >> >> also I have tried with permission 0x666 and 0x777, but the database isnt >> created; >> when I first touch the needed files everything works fine. Is this >> intended behavior, >> or is it somehow possible that the database is created automatically?
> does it fail just with type=sdbm, or with other types as well? I have just only tested with SDBM; > where did DEFAULT_DBM_PERM come from? it's defined to APR_OS_DEFAULT in the source; and also I've tried with 0x666 and 0x777 instead of APR_OS_DEFAULT; I used the define for easy testing with other values... > compare your code with apr-util/test/testdbm.c and see why testdbm.c > works and yours doesn't ok, thanks! Will look at this... however I think it is perhaps a general issue of my installation; but I thought since the log files are also created in the same dir automatically the sdbm file should do too, or?? sorry, but I'm not the Unix crack; so maybe I did something wrong when installing Apache2, but everything else is working fine except this... thanks, Guenter.
