Instalation error: ZM_PATH_LOGS

Support and queries relating to all previous versions of ZoneMinder
Locked
Yolanda
Posts: 2
Joined: Mon Jan 30, 2006 10:04 am

Instalation error: ZM_PATH_LOGS

Post by Yolanda »

Hi!
I´ve this message when I try start zoneminder 1.20.0:

"Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/local/bin/zmpkg.pl line 76.
BEGIN not safe after errors--compilation aborted at /usr/local/bin/zmpkg.pl line 77.
"
I have installed mysql, perl, cgi, php, cambozola, TermReadKey in Red Hat 8.0

Before I installed zoneminder 0.98 and it worked fine but I need to connect an ip camera so I release version and now I have the previous error. I don´t know how to repair it.

Somebody can help me?

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

Post by zoneminder »

Ordinarily this error occurs when you try and run ZM without having provisioned the databse. If you are starting from scratch then I would recommend using 1.22.0 rather than 1.20.0 which is quite an old version. Can you confirm that is the version you have as the instructions are different?
Phil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

What you may need to do is update your existing database.
You need to run :
mysql zm < db/zm-update-0.9.8.sql
and all zm-update-<version>.sql after it to update your database.

Regards,
Corey
Locked