APM: Problem with DB_File and tie'd hash
Evan Harris
eharris at puremagic.com
Thu Jan 29 10:36:50 CST 2004
Actually, for those of you who may be interested, the solution turned out
that DB_File only works with BDB 1.x format files, while 2.x/3.x/4.x seems
to require the BerkeleyDB module, and of course the newer Sendmail used a
later format.
And part of the confusion problem is I was using $! to get the error message
for the failed tie, and apparently a tie failure doesn't set $!, so I was
getting a cause for an error from a previous and completely unrelated
function.
Evan
On Thu, 29 Jan 2004, Tim Peoples wrote:
>
> You probably just need to recompile DB_File.
>
> Tim.
>
> On Wed, 2004-01-28 at 19:28, Evan Harris wrote:
> > I have software that reads sendmail's access db using DB_File and perls tie.
> >
> > I just upgraded to a new version of sendmail (8.12.11), and now the tie is
> > failing with this message:
> >
> > Unable to open access.db file '/etc/mail/access.db': Inappropriate ioctl for device at ./relaydelay.test.pl line 1437.
> >
> > Anybody know what I need to update to fix this? Are the db formats
> > different? Does perl need to be recompiled using another db lib?
> >
> > Evan
> >
> > _______________________________________________
> > Austin mailing list
> > Austin at mail.pm.org
> > http://mail.pm.org/mailman/listinfo/austin
> --
> Tim Peoples <tim at toolman.org>
>
> _______________________________________________
> Austin mailing list
> Austin at mail.pm.org
> http://mail.pm.org/mailman/listinfo/austin
>
More information about the Austin
mailing list