February 8, 2006
Dadamail inappropriate ioctl for device
I’m sure I’ve posted about this before, but I got the following 500 Internal Server Error on both Angela Day and FutureChurch: “inappropriate ioctl for device”
It means that when Dada was initially set up, DB_File was not available so the config created the database using GDBM_File. The site was running happily until DB_File was installed. This line caused it to assume the database was DB_File instead of GDBM_File – which it’s not.
So in DADA/config.pm around line 3095, change
BEGIN { @AnyDBM_File::ISA = qw(DB_File GDBM_File NDBM_File ODBM_File SDBM_File) }
to be
BEGIN { @AnyDBM_File::ISA = qw(GDBM_File NDBM_File ODBM_File SDBM_File) }
(removing DB_File) and now all is well.
Thanks to the Mojo forums for this one.
Comments(1)
Roger Saner is a web platform developer (using 

Xalatan….
Xalatan arthritis. Xalatan….