Hi all,
Just installed OTRS. Very impressed! Top notch.
Perl is not my mother tongue, and OTRS is my very very new best friend, so
pardon my ignorance.
The cron job I set up with the help of Cron.sh sends me every 10 minutes or
so this mail:
Subject: Cron $HOME/bin/GenericAgent.pl -c db >> /dev/null
DBI::db=HASH(0xa778fd8)->disconnect invalidates 1 active statement handle
(either destroy statement handles or call finish on them before
disconnecting) at /opt/otrs/Kernel/System/DB.pm line 219, <PRODUCT> line 4.
Went through the code, looked for the statement, and did a little search.
Some say a finalize() statement (as in the error message) would do good.
Put one before the faulty codeline, but then two different error messages
came back through the wire:
Subject: Cron mailto:otrs@xxxx > $HOME/bin/GenericAgent.pl -c
db >> /dev/null
(in cleanup) Can't locate object method "finish" via package "DBI::db" at
/opt/otrs/Kernel/System/DB.pm line 220, <PRODUCT> line 4.
And:
Subject: Cron $HOME/bin/PostMasterPOP3.pl >> /dev/null
(in cleanup) Can't call method "finish" on an undefined value at
/opt/otrs/Kernel/System/DB.pm line 220, <PRODUCT> line 4 during global
destruction.
So, took out the finalize() bit.
Back to square one. Downloaded the whole 48 MB archive (have you ever
loaded a 48 MB doc in Notepad.exe? Fun to watch the little worker sweat
like this!). Nothing in there about the problem.
Maybe someone knows what I do not know.
Thanks for the help.
François