[syslog-ng] afsql module error
Balazs Scheidler
bazsi at balabit.hu
Tue Mar 15 13:19:13 CET 2011
On Mon, 2011-03-14 at 12:54 +0200, Hendrik Visage wrote:
>
>
> On Mon, Mar 14, 2011 at 6:37 AM, Eshan Bhide <ebhide at globalgossip.net>
> wrote:
> Hi Hendrik,
>
>
> Still having this problem of "No such DBI driver;
> type='mysql'"
>
>
>
> Strace is attached at:
>
>
> http://pastebin.com/qaJZ2ZbE
>
> I see libdbi getting loaded, but what I am missing in that strace, is
> the libdbi searching for it's drivers....
>
>
your dbd directory seems empty:
[pid 63416] open("/usr/local/lib/dbd", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 9
[pid 63416] fcntl64(9, F_SETFD, FD_CLOEXEC) = 0
[pid 63416] getdents(9, /* 2 entries */, 32768) = 32
[pid 63416] stat64("/usr/local/lib/dbd/.", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 63416] stat64("/usr/local/lib/dbd/..", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 63416] getdents(9, /* 0 entries */, 32768) = 0
As you can see, getdents() returns 2 entries, the one for '.' and the
one for '..'.
No .so files there. Can you please "ls -l /usr/local/lib/dbd" to
confirm?
If there are no .so files, we should find out why. Probably
libdbi-drivers compilation went bad?
--
Bazsi
More information about the syslog-ng
mailing list