Undefined subroutine &main::zmDbgSetSignal

Support and queries relating to all previous versions of ZoneMinder
Locked
peetr04
Posts: 5
Joined: Tue May 09, 2006 2:39 pm

Undefined subroutine &main::zmDbgSetSignal

Post by peetr04 »

Hello!

I installed the zm to a debian it works, but some part is not working.

part of my log:

2007-02-23 09:25:22.290792 zmdc[11531].ERR ['zmwatch.pl ' exited abnormally, exit status 9]
2007-02-23 09:35:22.001921 zmdc[11531].INF [Starting pending process, zmwatch.pl]
2007-02-23 09:35:22.005428 zmdc[11531].INF ['zmwatch.pl' starting at 07/02/23 09:35:22, pid = 23013]
2007-02-23 09:35:22.005691 zmdc[11531].INF [Starting pending process, zmaudit.pl -c]
2007-02-23 09:35:22.012070 zmdc[11531].INF ['zmaudit.pl -c' starting at 07/02/23 09:35:22, pid = 23014]
2007-02-23 09:35:22.012354 zmdc[11531].INF [Starting pending process, zmfilter.pl]
2007-02-23 09:35:22.015916 zmdc[11531].INF ['zmfilter.pl' starting at 07/02/23 09:35:22, pid = 23015]
2007-02-23 09:35:22.117283 zmdc[11531].ERR ['zmaudit.pl -c' exited abnormally, exit status 9]
2007-02-23 09:35:22.150598 zmdc[11531].ERR ['zmwatch.pl ' exited abnormally, exit status 9]
2007-02-23 09:35:22.272591 zmdc[11531].ERR ['zmfilter.pl ' exited abnormally, exit status 9]


I have found this error message:
Undefined subroutine &main::zmDbgSetSignal called at /usr/bin/zmfilter.pl line 59.

What can i do?

Thanks:
Peetr04
sgn
Posts: 68
Joined: Mon Oct 25, 2004 2:36 pm

Post by sgn »

I too get this error when trying run any of the ZM perl scripts. 1.22.2 works fine, however...
steltek
Posts: 11
Joined: Fri Feb 20, 2004 1:23 pm

Post by steltek »

Got the same issue here on my Debian (testing) system (zm 1.22.3) .

I removed the zmDbgSetSignal() line, now it runs further but complains about SQL errors:
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and ( E.Emailed = 0 ) order by E.StartTime asc' at line 1 at ./zmfilter.pl line 540.
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and ( E.Uploaded = 0 ) order by E.StartTime asc' at line 1 at ./zmfilter.pl line 540.
sgn
Posts: 68
Joined: Mon Oct 25, 2004 2:36 pm

Post by sgn »

In my case zm won't even start, but as said, 1.22.2 works fine (I do have to force make install, though)... I suppose there might be some broken perl-thingie somewhere, but I have no idea where to look. Using Debian, btw.
steltek
Posts: 11
Joined: Fri Feb 20, 2004 1:23 pm

Post by steltek »

I ended up throwing the entire ZM install away (purge) and reinstalling the package from Debian unstable. Surprisingly enough, it is working now.
Locked