You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Harish Sundaram <ha...@patni.com> on 2005/05/30 18:00:15 UTC

[users@httpd] problem with dbmmanage.pl on Linux

Hi,

This is regarding use of dbmmanage.pl on Linux AS 3.0

We used dbmmanage.pl used to create DBM file, using the following syntax:
$ dbmmanage -d "/home/apache2/ITC1_Installation__AB/AuthFile" adduser user2
pwd2

On HP-UX, two dbm files <filename>.dir and <filename>.pag are created.
But on Linux, only the .pag file gets created.
Beacause of this, authentication fails on Linux.

For using module mod_auth_dbm,
We did following settings in httpd.conf file,
*************************************************************
<Directory "/home/apache2/Apache64_worker/install_debug/Auth">
AuthName "Restricted Area"
AuthDBMType DB
AuthType basic
Require valid-user
AuthDBMUserFile "/home/apache2/Apache64_worker/install_debug/AuthFile"
</Directory>
*************************************************************

and mod_auth_dbm gives following error:

[Mon May 30 13:10:14 2005] [error] [client 172.26.1.26] (120002)APR does not
understand this error code: could not open dbm (type DB) auth file:
/home/apache2/Apache64_worker/install_debug/AuthFile2
[Mon May 30 13:10:14 2005] [error] [client 172.26.1.26] DBM user user1 not
found: /home/apache2/Apache64_worker/install_debug/Auth/auth_dbm.html

Please help.

Thanks in advance,
Harish.



http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________

This e-mail message may contain proprietary, confidential or legally
privileged information for the sole use of the person or entity to
whom this message was originally addressed. Any review, e-transmission
dissemination or other use of or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this e-mail in error
kindly delete  this e-mail from your records. If it appears that this
mail has been forwarded to you without proper authority, please notify
us immediately at netadmin@patni.com and delete this mail. 
_____________________________________________________________________


Re: [users@httpd] problem with dbmmanage.pl on Linux

Posted by Sandeep K Gaikwad <sg...@vertex.co.in>.
Hi Harish,
                Please check DBM Type of file AuthFile using command 
$file filename and accordingly set AuthDBMType in httpd.conf file. 
AuthDBMType will be either DB,GDBM, NDBM, or SDBM depending on file type.

Regards,
Sandeep

Harish Sundaram wrote:

>Hi,
>
>This is regarding use of dbmmanage.pl on Linux AS 3.0
>
>We used dbmmanage.pl used to create DBM file, using the following syntax:
>$ dbmmanage -d "/home/apache2/ITC1_Installation__AB/AuthFile" adduser user2
>pwd2
>
>On HP-UX, two dbm files <filename>.dir and <filename>.pag are created.
>But on Linux, only the .pag file gets created.
>Beacause of this, authentication fails on Linux.
>
>For using module mod_auth_dbm,
>We did following settings in httpd.conf file,
>*************************************************************
><Directory "/home/apache2/Apache64_worker/install_debug/Auth">
>AuthName "Restricted Area"
>AuthDBMType DB
>AuthType basic
>Require valid-user
>AuthDBMUserFile "/home/apache2/Apache64_worker/install_debug/AuthFile"
></Directory>
>*************************************************************
>
>and mod_auth_dbm gives following error:
>
>[Mon May 30 13:10:14 2005] [error] [client 172.26.1.26] (120002)APR does not
>understand this error code: could not open dbm (type DB) auth file:
>/home/apache2/Apache64_worker/install_debug/AuthFile2
>[Mon May 30 13:10:14 2005] [error] [client 172.26.1.26] DBM user user1 not
>found: /home/apache2/Apache64_worker/install_debug/Auth/auth_dbm.html
>
>Please help.
>
>Thanks in advance,
>Harish.
>
>
>
>http://www.patni.com
>World-Wide Partnerships. World-Class Solutions.
>_____________________________________________________________________
>
>This e-mail message may contain proprietary, confidential or legally
>privileged information for the sole use of the person or entity to
>whom this message was originally addressed. Any review, e-transmission
>dissemination or other use of or taking of any action in reliance upon
>this information by persons or entities other than the intended
>recipient is prohibited. If you have received this e-mail in error
>kindly delete  this e-mail from your records. If it appears that this
>mail has been forwarded to you without proper authority, please notify
>us immediately at netadmin@patni.com and delete this mail. 
>_____________________________________________________________________
>
>  
>
>------------------------------------------------------------------------
>
>---------------------------------------------------------------------
>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
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>