FC3 zm-1.22.2 rpm is ready for testing

Support and queries relating to all previous versions of ZoneMinder
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You will have to manualy download the packages till I get them out of testing and into the repo. Just make sure you backup just in case :D

Corey
jschein
Posts: 5
Joined: Thu May 18, 2006 6:37 pm

Update installed and working

Post by jschein »

Cordel - Great job
James - Thanks for the assist

I tried various searches over and over, but basically this is the install in its entirety:

Using FC3 ISO, image system with ZM, add KDE / GUI interface
Perform the following in the terminal screen:

yum update
chkconfig --levels 345 httpd on
chkconfig --levels 345 mysqld on
service mysqld start
service httpd start
vi /etc/zm.conf (So you can add the username and password you want for the database)
/usr/lib/zm/bin/zminit (To create and populate the database, default user->root and leave the password blank)
service zm start


*** Can't find the exact line I used ***
yum update -x10-* (Something like that, mod please fix)

Ran latest 1.22 rpm

Rebooted...

goto http://xxx.xxx.xxx.xxx/zm
admin / admin
configured cameras
- If one 4 port video-camera card ensure the device = /dev/video0 and channel 0,1,2,3
- If another card, that one is /dev/video1 and channel 0,1,2,3

Hope this helps anyone else venturing into the ZoneMinder realm with no clue. I apologize about the yum update -x10-*... It's in the forums but I can't find the exact line to install it command line. Hopefully a mod can just update my post for that string.

Cordel, My only question is this. In the 1.21.4 the camera stopped recording once it reached 32000 events. Is this still a limitation? It will take me a month to find out. I was looking to auto-delete last 5000 records once events reach 32000 event, but there is not a delete by event count in the filter system.

Nonetheless, great work and management system for cameras!
[Edit:Cordel] The package is perl-X10 and you also need to download and install ffmpeg and ffmpeg-libpostproc versions 0.4.9-3 If you are upgrading you must manualy remove the zm-X10 package (Sorry I haven't figured how to deal with this yet) before upgrading if you have it installed.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

the 32000 limit is a file system limit as ext2/3 are limited to 32000 subfolders. ReiserFS is not restricted like this so some people use reiser if ext3 isnt big enough, this is not a ZM issue
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Remy Pestana
Posts: 2
Joined: Fri Jun 16, 2006 3:42 pm
Location: Brazil

Please,Do You Hav the src.rpm to try build it in my machine?

Post by Remy Pestana »

Hi,

I try install the zm-1.22.2-0.1.fc.root.i386.rpm
from your site but I suspect about incompatibility with
my arch in a FC3 default distro. ou in Fc4/FC5.

Please, do You Have the src.rpm of 1.22.2 to try build it in my machine?

Tanks!!!

== /var/log/message ==============================

Jun 16 12:37:02 ws-info-101 zmpkg[10171]: INF [Command: start]
Jun 16 12:37:04 ws-info-101 zmdc[10284]: INF [Server starting at 06/06/16 12:37:04]
Jun 16 12:37:07 ws-info-101 zmdc[10521]: INF ['zmc -d /dev/video1' started at 06/06/16 12:37:07]
Jun 16 12:37:07 ws-info-101 zmdc[10284]: INF ['zmc -d /dev/video1' starting at 06/06/16 12:37:07, pid = 10521]
Jun 16 12:37:07 ws-info-101 zmc_dvideo1[10521]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 12:37:07 ws-info-101 zmc_dvideo1[10521]: INF [Starting Capture]
Jun 16 12:37:08 ws-info-101 zmdc[10541]: INF ['zmfilter.pl' started at 06/06/16 12:37:08]
Jun 16 12:37:08 ws-info-101 zmdc[10284]: INF ['zmfilter.pl' starting at 06/06/16 12:37:08, pid = 10541]
Jun 16 12:37:08 ws-info-101 zmc_dvideo1[10521]: ERR [Got signal (Segmentation fault), crashing]
Jun 16 12:37:08 ws-info-101 zmc_dvideo1[10521]: ERR [Signal address is 0xb7efd000, from 0x805a10c ]
Jun 16 12:37:08 ws-info-101 zmc_dvideo1[10521]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x805a10c]]
Jun 16 12:37:08 ws-info-101 zmc_dvideo1[10521]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x805a10c]]
Jun 16 12:37:08 ws-info-101 zmc_dvideo1[10521]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x80638e7]]
Jun 16 12:37:08 ws-info-101 zmc_dvideo1[10521]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x804b223]]
Jun 16 12:37:08 ws-info-101 zmc_dvideo1[10521]: ERR [Backtrace: /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x65ae23]]
Jun 16 12:37:08 ws-info-101 zmc_dvideo1[10521]: ERR [Backtrace: /usr/lib/zm/bin/zmc(__gxx_personality_v0+0xa1) [0x804aac9]]
Jun 16 12:37:08 ws-info-101 zmc_dvideo1[10521]: INF [Backtrace complete]
Jun 16 12:37:08 ws-info-101 zmdc[10284]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 11]
Jun 16 12:37:08 ws-info-101 zmdc[10284]: INF [Starting pending process, zmc -d /dev/video1]
Jun 16 12:37:08 ws-info-101 zmdc[10543]: INF ['zmc -d /dev/video1' started at 06/06/16 12:37:08]
Jun 16 12:37:08 ws-info-101 zmdc[10284]: INF ['zmc -d /dev/video1' starting at 06/06/16 12:37:08, pid = 10543]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 12:37:09 ws-info-101 zmfilter[10541]: INF [Scanning for events]
Jun 16 12:37:09 ws-info-101 zmdc[10594]: INF ['zmaudit.pl -c' started at 06/06/16 12:37:09]
Jun 16 12:37:09 ws-info-101 zmdc[10284]: INF ['zmaudit.pl -c' starting at 06/06/16 12:37:09, pid = 10594]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: INF [Starting Capture]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: ERR [Got signal (Segmentation fault), crashing]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: ERR [Signal address is 0xb7efc000, from 0x805a10c ]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x805a10c]]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x805a10c]]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x80638e7]]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x804b223]]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: ERR [Backtrace: /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x548e23]]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: ERR [Backtrace: /usr/lib/zm/bin/zmc(__gxx_personality_v0+0xa1) [0x804aac9]]
Jun 16 12:37:09 ws-info-101 zmc_dvideo1[10543]: INF [Backtrace complete]
Jun 16 12:37:10 ws-info-101 zmdc[10284]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 11]
Jun 16 12:37:10 ws-info-101 zmaudit[10594]: INF [Filesystem monitor '2' does not exist in database]
Jun 16 12:37:10 ws-info-101 zmaudit[10594]: INF [deleting]
Jun 16 12:37:10 ws-info-101 zmdc[10284]: INF ['zmwatch.pl' starting at 06/06/16 12:37:10, pid = 10643]
Jun 16 12:37:10 ws-info-101 zmdc[10643]: INF ['zmwatch.pl' started at 06/06/16 12:37:10]
Jun 16 12:37:10 ws-info-101 zmwatch[10643]: INF [Watchdog starting]
Jun 16 12:37:10 ws-info-101 zmwatch[10643]: INF [Watchdog pausing for 30 seconds]
Jun 16 12:37:11 ws-info-101 zmdc[10694]: INF ['zmupdate.pl -c' started at 06/06/16 12:37:11]
Jun 16 12:37:11 ws-info-101 zmdc[10284]: INF ['zmupdate.pl -c' starting at 06/06/16 12:37:11, pid = 10694]
Jun 16 12:37:12 ws-info-101 zmupdate[10694]: INF [Checking for updates]
Jun 16 12:37:14 ws-info-101 zmdc[10284]: INF [Starting pending process, zmc -d /dev/video1]
Jun 16 12:37:14 ws-info-101 zmdc[10782]: INF ['zmc -d /dev/video1' started at 06/06/16 12:37:14]
Jun 16 12:37:14 ws-info-101 zmdc[10284]: INF ['zmc -d /dev/video1' starting at 06/06/16 12:37:14, pid = 10782]
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: INF [Starting Capture]
Jun 16 12:37:14 ws-info-101 zmupdate[10694]: INF [Got version: '1.22.2']
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: ERR [Got signal (Segmentation fault), crashing]
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: ERR [Signal address is 0xb7fa8000, from 0x805a10c ]
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x805a10c]]
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x805a10c]]
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x80638e7]]
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x804b223]]
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: ERR [Backtrace: /lib/tls/libc.so.6(__libc_start_main+0xd3) [0x41be23]]
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: ERR [Backtrace: /usr/lib/zm/bin/zmc(__gxx_personality_v0+0xa1) [0x804aac9]]
Jun 16 12:37:14 ws-info-101 zmc_dvideo1[10782]: INF [Backtrace complete]
Jun 16 12:37:14 ws-info-101 zmdc[10284]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 11]
Jun 16 12:37:24 ws-info-101 zmdc[10284]: INF [Starting pending process, zmc -d /dev/video1]
Jun 16 12:37:24 ws-info-101 zmdc[11203]: INF ['zmc -d /dev/video1' started at 06/06/16 12:37:24]
Jun 16 12:37:24 ws-info-101 zmdc[10284]: INF ['zmc -d /dev/video1' starting at 06/06/16 12:37:24, pid = 11203]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: INF [Debug Level = 0, Debug Log = <none>]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: INF [Starting Capture]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: ERR [Got signal (Segmentation fault), crashing]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: ERR [Signal address is 0xb7f6c000, from 0x805a10c ]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x805a10c]]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x805a10c]]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x80638e7]]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: ERR [Backtrace: /usr/lib/zm/bin/zmc [0x804b223]]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: ERR [Backtrace: /lib/tls/libc.so.6(__libc_start_main+0xd3) [0xcdce23]]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: ERR [Backtrace: /usr/lib/zm/bin/zmc(__gxx_personality_v0+0xa1) [0x804aac9]]
Jun 16 12:37:24 ws-info-101 zmc_dvideo1[11203]: INF [Backtrace complete]
Jun 16 12:37:24 ws-info-101 zmdc[10284]: ERR ['zmc -d /dev/video1' exited abnormally, exit status 11]
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

this is only a fc3 rpm, you can try to build zm from source but there is no source rpm
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
jschein
Posts: 5
Joined: Thu May 18, 2006 6:37 pm

Post by jschein »

jameswilson wrote:the 32000 limit is a file system limit as ext2/3 are limited to 32000 subfolders. ReiserFS is not restricted like this so some people use reiser if ext3 isnt big enough, this is not a ZM issue
That would make sense James, thank you.

On that note, is there a way to change ZM filters for autodelete events? or possible future release so this would not be an issue?

Or can I change my file structure in FC3 to ReiserFS without losing data . . . Not sure of this and it might make you laugh with me asking. I know I can go up and down from fat16-32-ntfs but hae no clue about Windows.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

you can go fate16-32 to ntfs but i think its not easy back down, Yes it can be done you basically have to move mount points dismount etc. Im sure if you know what yuour doing its a doddle, if it were me id copy accrsoss any images i neeed to keep and re-install ctu and select a Rieser at install. Im no linux expert maybe one of the linux guru's could add a wiki entry for this if its straight(ish) forward.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Just a note and you might want to do some research but xfs sounds pretty promising over rieserfs. It also is able to support SELinux (should I some day finish that project or someone beats me to it). You can find more info here.
In FC to enable while loading at the boot prompt -> BOOT: linux xfs
Same for rieserfs and jfs but SELinux has to be disabled.

Code: Select all

linux selinux=0 reiserfs
linux selinux=0 jfs
"None of these file systems are officially supported by the Fedora Project. (That means that you can use them, but you won't find a lot of official help from the Fedora Project if things go wrong.)"

Regards,
Corey
Locked