Can't use an undefined value as a symbol reference at /usr/l

Support and queries relating to all previous versions of ZoneMinder
Locked
wimg
Posts: 6
Joined: Sat Mar 20, 2004 4:30 pm

Can't use an undefined value as a symbol reference at /usr/l

Post by wimg »

When starting Zoneminder 1.19.1 (fresh install), I get :
# /etc/rc.d/init.d/zm start
Starting ZoneMinder: Can't use an undefined value as a symbol reference at /usr/local/bin/zmpkg.pl line 56.
BEGIN failed--compilation aborted at /usr/local/bin/zmpkg.pl line 60.
[FAILED]


Any ideas ?
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Can't use an undefined value as a symbol reference at /u

Post by zoneminder »

Hi Wim,

I suspect you haven't populated your DB, try running 'perl zmconfig.pl -noi'

Phil,
wimg
Posts: 6
Joined: Sat Mar 20, 2004 4:30 pm

Re: Can't use an undefined value as a symbol reference at /u

Post by wimg »

The database has been populated. zm will start correctly now, but now error_log in Apache shows :
BEGIN failed--compilation aborted at /usr/local/bin/zmdc.pl line 61.
Can't use an undefined value as a symbol reference at /usr/local/bin/zmdc.pl line 57.
BEGIN failed--compilation aborted at /usr/local/bin/zmdc.pl line 61.
[Fri Mar 26 17:24:55 2004] [error] [client 62.213.192.151] Premature end of script headers: zms, referer: http://cam2.firstlinknetworks.com/index ... &scale=100
bigd
Posts: 12
Joined: Wed Mar 24, 2004 11:40 pm

Re: Can't use an undefined value as a symbol reference at /u

Post by bigd »

Just to let you know, you might want to add some security ;-) Anybody is able to view and change your camera settings etc.

Davin
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Can't use an undefined value as a symbol reference at /u

Post by zoneminder »

Hi Wim,

Is the Config table in your database definitely properly filled? The <i>Can't use an undefined value as a symbol reference</i> error is only (in my experience) generated when it isn't and if you are still getting it then that looks suspicious. Also, is there anything odd in /var/log/messages?

Phil,
Locked