Page 1 of 1

problem RED HAT 9.0

Posted: Tue Mar 30, 2004 5:07 pm
by mapasainformatica
when i start /etc/init.d/zm start i have thi problem and the camera non view.

tail -f -n 80 /var/log/zmpkg.log


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: No such file or directory 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: No such file or directory at /usr/local/bin/zmdc.pl line 145.
Executing: /usr/local/bin/zmdc.pl start zmfilter.pl -e -1
Can't open log file: Permission denied at /usr/local/bin/zmdc.pl line 153.
Can't connect: No such file or directory 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: No such file or directory 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: No such file or directory 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: No such file or directory at /usr/local/bin/zmdc.pl line 145.





Mar 30 17:44:02 server39 zms[2454]: INF [Debug Level = 0, Debug Log = ]
Mar 30 17:44:02 server39 zms[2454]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:44:02 server39 zmu[2455]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:44:12 server39 zmu[2461]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:44:13 server39 zmu[2465]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:44:13 server39 zmu[2467]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:44:14 server39 zmu[2472]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:44:24 server39 zmu[2474]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:44:28 server39 zmu[2478]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:44:59 server39 sshd(pam_unix)[2484]: session opened for user paolo by (uid=500)
mar 30 17:45:13 server39 su(pam_unix)[2519]: session opened for user root by paolo(uid=500)
Mar 30 17:45:48 server39 sshd(pam_unix)[2547]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=192.168.0.43 user=paolo
Mar 30 17:45:55 server39 sshd(pam_unix)[2549]: session opened for user paolo by (uid=500)
mar 30 17:46:00 server39 su(pam_unix)[2584]: session opened for user root by paolo(uid=500)
Mar 30 17:47:43 server39 zms[2623]: INF [Debug Level = 0, Debug Log = ]
Mar 30 17:47:43 server39 zms[2623]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:47:43 server39 zmu[2624]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:47:54 server39 zmu[2629]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:48:03 server39 sshd(pam_unix)[2635]: session opened for user paolo by (uid=500)
Mar 30 17:48:04 server39 zmu[2670]: ERR [Shared memory not initialised by capture daemon]
mar 30 17:48:14 server39 su(pam_unix)[2674]: session opened for user root by paolo(uid=500)
Mar 30 17:48:14 server39 zmu[2701]: ERR [Shared memory not initialised by capture daemon]
Mar 30 17:48:38 server39 zmfix[2706]: INF [Debug Level = 0, Debug Log = ]
Mar 30 17:48:38 server39 zmfix[2706]: INF [Resetting permissions on /dev/video0 to 20606]
Mar 30 17:49:19 server39 zms[2728]: INF [Debug Level = 0, Debug Log = ]
Mar 30 17:49:19 server39 zms[2728]: ERR [Can't shmget: Invalid argument]
Mar 30 17:49:19 server39 zmu[2729]: ERR [Can't shmget: Invalid argument]
Mar 30 17:49:29 server39 zmu[2734]: ERR [Can't shmget: Invalid argument]
Mar 30 17:49:39 server39 zmu[2738]: ERR [Can't shmget: Invalid argument]
Mar 30 17:49:49 server39 zmu[2742]: ERR [Can't shmget: Invalid argument]
Mar 30 17:49:59 server39 zmu[2746]: ERR [Can't shmget: Invalid argument]
mar 30 17:50:01 server39 su(pam_unix)[2756]: session opened for user apache by paolo(uid=0)
mar 30 17:50:02 server39 su(pam_unix)[2756]: session closed for user apache
Mar 30 17:50:10 server39 zmu[2759]: ERR [Can't shmget: Invalid argument]
Mar 30 17:50:20 server39 zmu[2763]: ERR [Can't shmget: Invalid argument]
Mar 30 17:50:30 server39 zmu[2767]: ERR [Can't shmget: Invalid argument]
Mar 30 17:50:40 server39 zmu[2772]: ERR [Can't shmget: Invalid argument]
Mar 30 17:50:50 server39 zmc-d0[2777]: INF [Debug Level = 0, Debug Log = ]
Mar 30 17:50:51 server39 zmu[2779]: ERR [Can't shmget: Invalid argument]
Mar 30 17:50:51 server39 kernel: ov511.c: Illegal dimensions
Mar 30 17:50:51 server39 zmc-d0[2777]: ERR [Failed to set window attributes: Invalid argument]
Mar 30 17:50:51 server39 zmc-d0[2777]: ERR [Can't shmget: Invalid argument]
Mar 30 17:51:13 server39 zmfix[2797]: INF [Debug Level = 0, Debug Log = ]
Mar 30 17:52:57 server39 zmfix[2832]: INF [Debug Level = 0, Debug Log = ]

Re: problem RED HAT 9.0

Posted: Wed Mar 31, 2004 9:02 am
by zoneminder
Hi,

You have several obvious problems here. The first is that the directory you have chosen for the log and socket files doesn't appear to be writeable by your web user. This is /tmp by default so if you've not changed that something odd is going on as everyone normally can write to that.

You also have shmget errors, these may be permissions related as well but are more likely because your system is not set up to allow the amount of memeory you are asking for. Check the FAQ for more information on this.

Finally, you have an ov511 driver error so it appears you are trying to set a capture size that your camera won't support anyway.

Phil,

Re: problem RED HAT 9.0

Posted: Wed Mar 31, 2004 3:27 pm
by mapasainformatica
i have create the dir in /var/log/temp_zm with read/write access and the demon is start.

thanks for support.