Problems after 1.19.4 -> 1.20.1 upgrade
Posted: Sun Feb 20, 2005 11:55 pm
Hi,
I've just upgraded to 1.20.1 and now my installation does not work.
I'm getting the following error when running zmc -d 0: (manually, it doesn't exit straight away)
Then when i try to actually view a monitor I get:
... which displays an "Error 500 - Internal Server Error" web-page instead of the monitor image.
I believe I have the shared memory settings correct, as it used to work just fine with 1.19.4:
Looking at the apache log file, I'm seeing:
I am running Debian - Unstable, with a 2.4.5 kernel... everything compiled cleanly.
Any ideas?
I've just upgraded to 1.20.1 and now my installation does not work.
I'm getting the following error when running zmc -d 0: (manually, it doesn't exit straight away)
Code: Select all
Feb 21 12:49:41 encoder zmc_d0[6154]: INF [Debug Level = 0, Debug Log = <none>]
Feb 21 12:49:41 encoder zmc_d0[6154]: ERR [Failed to set window attributes: Invalid argument]
Feb 21 12:49:41 encoder zmc_d0[6154]: INF [Starting Capture]
Code: Select all
Feb 21 12:50:10 encoder zms[6160]: INF [Debug Level = 0, Debug Log = ]
Feb 21 12:50:10 encoder zms[6160]: WAR [Attempt to fetch boolean value for ZM_PATH_CAMBOZOLA, actual type is string]
Feb 21 12:50:10 encoder zms[6160]: WAR [Attempt to fetch boolean value for ZM_WATCH_CHECK_INTERVAL, actual type is integer]
Feb 21 12:50:10 encoder zms[6160]: WAR [Attempt to fetch boolean value for ZM_WATCH_MAX_DELAY, actual type is decimal]
Feb 21 12:50:10 encoder zms[6160]: WAR [Attempt to fetch boolean value for ZM_JPEG_IMAGE_QUALITY, actual type is integer]
Feb 21 12:50:10 encoder zms[6160]: WAR [Attempt to fetch boolean value for ZM_FORCED_ALARM_SCORE, actual type is integer]
Feb 21 12:50:10 encoder zms[6160]: WAR [Attempt to fetch integer value for ZM_URL, actual type is string]
Feb 21 12:50:10 encoder zms[6160]: ERR [Shared memory not initialised by capture daemon]
I believe I have the shared memory settings correct, as it used to work just fine with 1.19.4:
Code: Select all
encoder:/tmp# ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 32768 root 600 737284 10 dest
0x7a6d2004 491521 root 700 10138348 1
0x7a6d2003 524290 root 700 9360748 1
0x00000143 294915 www-data 700 9360448 0
0x00000144 327684 www-data 700 10138048 0
encoder:/tmp# cat /proc/sys/kernel/shmall
134217728
encoder:/tmp# cat /proc/sys/kernel/shmmax
134217728
Code: Select all
[Mon Feb 21 12:50:10 2005] [error] [client 203.98.56.249] Premature end of script headers: /usr/lib/cgi-bin/zms
Any ideas?