Hi,
I'm running (or, trying to run) ZoneMinder 1.21.3 (thanks Phil!) on Debian testing. I used the Debian package (thanks matrix!) to meet all dependencies, but I still have some problems...
When starting ZoneMinder, I get the following error:
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/bin/zmpkg.pl line 77.
BEGIN not safe after errors--compilation aborted at /usr/bin/zmpkg.pl line 78.
failure
I read in the manual and on the fora that I should run zmconfig.pl twice. And here is my first problem: there is no zmconfig.pl present on my system. Was it left out because I don't need it when using the Debian package or did something go wrong?
The log path as described in zmconfig.txt in the doc section, is available.
Second, I was wondering how I can change the MySQL password for the zm user? I can change it in the database, but cannot find where I should change it for ZoneMinder.
A third thing that came to my attention, is that Apache seems to be missing on my system (I seem to have docs and config files, but no executables). Am I missing something or did something go wrong? And what should I install to get it running?
Thanks a lot for any help!
Cheers,
Tim
Debian package: zmconfig.pl and Apache missing?
Installing from a package does not give you zmconfig.pl with is used in the source to configure everything.
You can change to user and password that zm uses to access the database in the file /etc/zm.conf
You can change the users and passwords in options under the users tab (only visable when you have ZM_OPT_USE_AUTH checked under the system tab (defualt login is admin:admin)
As far as apache, look to see if the httpd or apache startup script is there (/etc/init.d) this may yeild a clue to where your binaries are. If they are missing then you will need to obviously need to reinstall apache.
Regards,
Cordel
You can change to user and password that zm uses to access the database in the file /etc/zm.conf
You can change the users and passwords in options under the users tab (only visable when you have ZM_OPT_USE_AUTH checked under the system tab (defualt login is admin:admin)
As far as apache, look to see if the httpd or apache startup script is there (/etc/init.d) this may yeild a clue to where your binaries are. If they are missing then you will need to obviously need to reinstall apache.
Regards,
Cordel
I'm sure Apache isn't installed on my system and zmconfig.pl isn't available either.
It's logical for zmconfig.pl to not be available, since I installed from the package. But this means that Apache should be there (a dependency).
Since I'm getting this error:
and it was installed from a package, it can't have anything to do with zmconfig.pl, unless something went wrong with my install (which might be the case, since Apache is missing).
I just don't know where to look to find out what is causing the problem or how to solve it. Does anybody have any ideas?
Thanks a lot.
Cheers,
Tim
It's logical for zmconfig.pl to not be available, since I installed from the package. But this means that Apache should be there (a dependency).
Since I'm getting this error:
Code: Select all
Starting ZoneMinder: Bareword "ZM_PATH_LOGS" not allowed while "strict subs" in use at /usr/bin/zmpkg.pl line 77.
BEGIN not safe after errors--compilation aborted at /usr/bin/zmpkg.pl line 78.
failure
I just don't know where to look to find out what is causing the problem or how to solve it. Does anybody have any ideas?
Thanks a lot.
Cheers,
Tim
Code: Select all
If you are sure that apache (and of coarse PHP) are not installed, then I would install them.
Also you may wish to check in the hints and tips topic for the required dependancies, but be aware that this list includes things that are needed to build and run zm so some of the packages you do not need.
Regards,
Cordel
Also you may wish to check in the hints and tips topic for the required dependancies, but be aware that this list includes things that are needed to build and run zm so some of the packages you do not need.
Regards,
Cordel
3939663646337
It's better to keep your mouth shut and appear stupid than open it and remove all doubt.
-Mark Twain
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska