can't start the services
Posted: Sun Sep 21, 2003 11:25 pm
hi,
I finally got everything installed, but cannot start the zoneminder services. Neither from the browser and the command-line.
these are the logs from /var/log/messages:
Sep 22 01:17:35 localhost zmfix[4748]: INF [Resetting permissions on /dev/video1 to 20606]
Sep 22 01:17:35 localhost zmfix[4748]: ERR [Can't chmod /dev/video1 to 20606: Operation not permitted]
Sep 22 01:17:35 localhost zmfix[4748]: INF [Resetting permissions on /dev/video0 to 20606]
Sep 22 01:17:35 localhost zmfix[4748]: ERR [Can't chmod /dev/video0 to 20606: Operation not permitted]
Sep 22 01:17:35 localhost su(pam_unix)[4747]: session closed for user apache
Sep 22 01:17:35 localhost su(pam_unix)[4751]: session opened for user apache by pepijn(uid=0)
Sep 22 01:17:45 localhost su(pam_unix)[4751]: session closed for user apache
Sep 22 01:17:45 localhost su(pam_unix)[4756]: session opened for user apache by pepijn(uid=0)
Sep 22 01:17:56 localhost su(pam_unix)[4756]: session closed for user apache
Sep 22 01:17:56 localhost su(pam_unix)[4780]: session opened for user apache by pepijn(uid=0)
Sep 22 01:18:06 localhost su(pam_unix)[4780]: session closed for user apache
Sep 22 01:18:06 localhost su(pam_unix)[4799]: session opened for user apache by pepijn(uid=0)
Sep 22 01:18:12 localhost su(pam_unix)[4799]: session closed for user apache
and these from /tmp/zmpkg.log:
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl check'
Removing shared memory
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmfix'
Executing: su apache --shell=/bin/sh --command='/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.
I've been chmod-ding and chown-ing around, which I probally shouldn't. But they're al set to user apache so it shouldn't be a problem when started as root. I'm no guru, so it might be my mistake.
Please help me out on this one. Have been strugling for a few days now to get it installed and running. Looks like a perfect tool, hoping to get it working.
Thanks, Pepijn
I finally got everything installed, but cannot start the zoneminder services. Neither from the browser and the command-line.
these are the logs from /var/log/messages:
Sep 22 01:17:35 localhost zmfix[4748]: INF [Resetting permissions on /dev/video1 to 20606]
Sep 22 01:17:35 localhost zmfix[4748]: ERR [Can't chmod /dev/video1 to 20606: Operation not permitted]
Sep 22 01:17:35 localhost zmfix[4748]: INF [Resetting permissions on /dev/video0 to 20606]
Sep 22 01:17:35 localhost zmfix[4748]: ERR [Can't chmod /dev/video0 to 20606: Operation not permitted]
Sep 22 01:17:35 localhost su(pam_unix)[4747]: session closed for user apache
Sep 22 01:17:35 localhost su(pam_unix)[4751]: session opened for user apache by pepijn(uid=0)
Sep 22 01:17:45 localhost su(pam_unix)[4751]: session closed for user apache
Sep 22 01:17:45 localhost su(pam_unix)[4756]: session opened for user apache by pepijn(uid=0)
Sep 22 01:17:56 localhost su(pam_unix)[4756]: session closed for user apache
Sep 22 01:17:56 localhost su(pam_unix)[4780]: session opened for user apache by pepijn(uid=0)
Sep 22 01:18:06 localhost su(pam_unix)[4780]: session closed for user apache
Sep 22 01:18:06 localhost su(pam_unix)[4799]: session opened for user apache by pepijn(uid=0)
Sep 22 01:18:12 localhost su(pam_unix)[4799]: session closed for user apache
and these from /tmp/zmpkg.log:
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmdc.pl check'
Removing shared memory
Executing: su apache --shell=/bin/sh --command='/usr/local/bin/zmfix'
Executing: su apache --shell=/bin/sh --command='/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.
I've been chmod-ding and chown-ing around, which I probally shouldn't. But they're al set to user apache so it shouldn't be a problem when started as root. I'm no guru, so it might be my mistake.
Please help me out on this one. Have been strugling for a few days now to get it installed and running. Looks like a perfect tool, hoping to get it working.
Thanks, Pepijn