broken images as well

Support and queries relating to all previous versions of ZoneMinder
Locked
adub
Posts: 26
Joined: Fri Nov 21, 2008 1:10 am

broken images as well

Post by adub »

I can not get my video to come up i remember in the past I had to mess with my shared memory values and i took detailed notes on what i did....i am doing the same exact thing and getting no luck

i did the following and no luck out of box this simply will not work and i remembered when i had my cameras setup before the below is all i did to get em working i have validated the cameras are working as i can browse to their web address on port 80 just cant get them to communicate in zoneminder

root@adub-laptop:/etc/apache2# cat /proc/sys/kernel/shmall
2097152
root@adub-laptop:/etc/apache2# cat /proc/sys/kernel/shmmax
33554432
root@adub-laptop:/etc/apache2# nano /etc/sysctl.conf
root@adub-laptop:/etc/apache2# nano /etc/sysctl.conf
root@adub-laptop:/etc/apache2# sysctl -p
kernel.shmall = 2097152
kernel.shmmax = 33554432
root@adub-laptop:/etc/apache2# zmpkg.pl
Usage: zmpkg.pl <start>
root@adub-laptop:/etc/apache2# zmpkg.pl restart


edit the /etc/sysctl.conf with the appropriate values


change

kernel.shmall = 2097152
kernel.shmmax = 33554432


to


kernel.shmall = 12097152
kernel.shmmax = 133554432
adub
Posts: 26
Joined: Fri Nov 21, 2008 1:10 am

/var/log/messages output

Post by adub »

maybe the below information will help i also went into the options and network setting to enable the option to allow networking cameras i remember i had to do this before and restarted zoneminder....im lost to wits end it is telling me below tha the shared memory is not valid


Aug 16 09:18:22 adub-laptop zmwatch[3183]: INF ['zmc -m 2' starting at 09/08/16 09:18:22, pid = 14777]
Aug 16 09:18:22 adub-laptop zmc_m2[14777]: INF [Debug Level = 0, Debug Log = <none>]
Aug 16 09:18:32 adub-laptop zmwatch[3183]: INF [Restarting capture daemon for 206, shared memory not valid]
Aug 16 09:18:32 adub-laptop zmdc[3121]: INF ['zmc -m 1' starting at 09/08/16 09:18:32, pid = 14781]
Aug 16 09:18:32 adub-laptop zmdc[14781]: INF ['zmc -m 1' started at 09/08/16 09:18:32]
Aug 16 09:18:33 adub-laptop zmwatch[3183]: INF ['zmc -m 1' starting at 09/08/16 09:18:32, pid = 14781]
Aug 16 09:18:33 adub-laptop zmwatch[3183]: INF [Restarting capture daemon for 207mw, shared memory not valid]
Aug 16 09:18:33 adub-laptop zmc_m1[14781]: INF [Debug Level = 0, Debug Log = <none>]
Aug 16 09:18:33 adub-laptop zmdc[3121]: INF ['zmc -m 2' starting at 09/08/16 09:18:33, pid = 14783]
Aug 16 09:18:33 adub-laptop zmdc[14783]: INF ['zmc -m 2' started at 09/08/16 09:18:33]
Aug 16 09:18:33 adub-laptop zmwatch[3183]: INF ['zmc -m 2' starting at 09/08/16 09:18:33, pid = 14783]
Aug 16 09:18:33 adub-laptop zmc_m2[14783]: INF [Debug Level = 0, Debug Log = <none>]
Aug 16 09:18:43 adub-laptop zmwatch[3183]: INF [Restarting capture daemon for 206, shared memory not valid]
Aug 16 09:18:43 adub-laptop zmdc[3121]: INF ['zmc -m 1' starting at 09/08/16 09:18:43, pid = 14787]
Aug 16 09:18:43 adub-laptop zmdc[14787]: INF ['zmc -m 1' started at 09/08/16 09:18:43]
Aug 16 09:18:43 adub-laptop zmwatch[3183]: INF ['zmc -m 1' starting at 09/08/16 09:18:43, pid = 14787]
Aug 16 09:18:43 adub-laptop zmwatch[3183]: INF [Restarting capture daemon for 207mw, shared memory not valid]
Aug 16 09:18:43 adub-laptop zmc_m1[14787]: INF [Debug Level = 0, Debug Log = <none>]
Aug 16 09:18:43 adub-laptop zmdc[3121]: INF ['zmc -m 2' starting at 09/08/16 09:18:43, pid = 14789]
Aug 16 09:18:43 adub-laptop zmdc[14789]: INF ['zmc -m 2' started at 09/08/16 09:18:43]
Aug 16 09:18:43 adub-laptop zmwatch[3183]: INF ['zmc -m 2' starting at 09/08/16 09:18:43, pid = 14789]
Aug 16 09:18:43 adub-laptop zmc_m2[14789]: INF [Debug Level = 0, Debug Log = <none>]
Aug 16 09:18:53 adub-laptop zmwatch[3183^C
Locked