Slackware9.1 + Zoneminder 1.19.4 problems

Support and queries relating to all previous versions of ZoneMinder
Locked
Jimmy
Posts: 16
Joined: Wed Jun 23, 2004 9:39 pm

Slackware9.1 + Zoneminder 1.19.4 problems

Post by Jimmy »

Hi guys, I've followed the slackware installation documentation available from the Documentation part of the site and successfully installed and configured zoneminder, only when it comes to starting the package I run the command

# /usr/local/bin/zmpkg.pl start

visit my zoneminder site via http://hostname/zm/

and there are a number of problems

Firstly I set my camera up via the "Add New Monitor" button and all seems well, the camera is added to the list, however when I go to view it via the "Name" link I am presented with a popup window and instead of being able to see the video feed, I am presented with a broken image (image representing non existant image, (red cross in i.e.)). The video feed only starts when I explicitly run:

/usr/local/bin/zmc -d0

Is there a fix for this?

Secondly, the title at the top of the main page reads

"ZoneMinder Console - Stopped - v1.19.4"

when I click the "Stopped" link the Run State popup appears, and when I attempt to change the drop down to start the action appears to time out and nothing happens.

Does anyone have any advice/solutions for this?

Many thanks,

Jim

from the command line
Jimmy
Posts: 16
Joined: Wed Jun 23, 2004 9:39 pm

Post by Jimmy »

ok, didn't cotton onto the log files, sorry, I'm getting a lot of permission denied errors which are probably the cause of a lot of my problems:

From zmpkg.log (does anyone know what users + permissions I should be setting these files to?)

Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl check'
Command: start
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl check'
Command: start
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl check'
Command: start
Executing: /usr/local/bin/zmdc.pl check
Removing shared memory
Executing: /usr/local/bin/zmfix
Executing: /usr/local/bin/zmdc.pl status
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 153.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 145.
Executing: /usr/local/bin/zmdc.pl start zmc -d 0
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 153.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 145.
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 153.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 145.
Executing: /usr/local/bin/zmdc.pl start zmaudit.pl -d 900 -y
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 153.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 145.
Executing: /usr/local/bin/zmdc.pl start zmwatch.pl
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 153.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 145.
Executing: /usr/local/bin/zmdc.pl start zmupdate.pl -c
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 153.
Can't connect: Permission denied at /usr/local/bin/zmdc.pl line 145.
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Post by lazyleopard »

"apache" needs to be able to create and write to the log files in the log directory.
Rick Hewett
Locked