You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <jo...@slive.ca> on 2002/02/27 23:00:46 UTC

Re: auth_db Invalid argument: could not open db auth file


On Wed, 27 Feb 2002, mok2 wrote:

> hi, i keep getting (22)Invalid argument: could not open db auth file: /usr/local/apache_test/htdocs/test/testdb
> when i try to access a dir protected with auth_db
> I am running
> rh7.2
> apache_1.3.23
> Berkeley DB 2.7.7

What are you using to create the db file?  Likely, it is creating it in a
format that is not the same as the one understood by auth_db.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: auth_db Invalid argument: could not open db auth file

Posted by mok2 <mo...@armageddonnet.com>.
Is this what your talking about ? 
line 69 of dbmmanage which is also set in src/support/dbmmanage in my build dir

BEGIN { @AnyDBM_File::ISA = qw(DB_File NDBM_File GDBM_File SDBM_File) }

-mok2

On Wed, 27 Feb 2002, Joshua Slive wrote:

> 
> On Wed, 27 Feb 2002, mok2 wrote:
> 
> > I am using dbmmanage from the bin dir within apache.
> > i installed apache with disbable mod and shared auth_dbm hoping that would
> > force dbmmanage to cread db files but  i dont know how to verify whether the file is the correct
> > format
> 
> Look inside.  It's a simple perl script.  Just make sure that the DB type
> that apache has linked in is the first one loaded in dbmmanage.
> 
> Joshua.
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: auth_db Invalid argument: could not open db auth file

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 27 Feb 2002, mok2 wrote:

> I am using dbmmanage from the bin dir within apache.
> i installed apache with disbable mod and shared auth_dbm hoping that would
> force dbmmanage to cread db files but  i dont know how to verify whether the file is the correct
> format

Look inside.  It's a simple perl script.  Just make sure that the DB type
that apache has linked in is the first one loaded in dbmmanage.

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: auth_db Invalid argument: could not open db auth file

Posted by mok2 <mo...@armageddonnet.com>.
I am using dbmmanage from the bin dir within apache.
i installed apache with disbable mod and shared auth_dbm hoping that would
force dbmmanage to cread db files but  i dont know how to verify whether the file is the correct 
format


On Wed, 27 Feb 2002, Joshua Slive wrote:

> 
> 
> On Wed, 27 Feb 2002, mok2 wrote:
> 
> > hi, i keep getting (22)Invalid argument: could not open db auth file: /usr/local/apache_test/htdocs/test/testdb
> > when i try to access a dir protected with auth_db
> > I am running
> > rh7.2
> > apache_1.3.23
> > Berkeley DB 2.7.7
> 
> What are you using to create the db file?  Likely, it is creating it in a
> format that is not the same as the one understood by auth_db.
> 
> Joshua.
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org