can't open memory map
Posted: Tue Sep 19, 2017 6:42 pm
Hi, installed ZoneMinder 1.29.0 on my synololgynas ds214se in chroot. Used the debian jessie easy instructions here https://wiki.zoneminder.com/Debian_8_64 ... e_Easy_Way
I accidentally tried the 1.30.0 instructions here (https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way) first and then had to uninstall everything and start over with the 1.29.0. I finally got all the pieces to install and start, and I can access the web interface. I added an amcrest ip camera, but the 'source' ip address is red, and in the log it says,
2017-09-19 11:36:25.856400 zmdc 5140 ERR 'zmc -m 1' exited abnormally, exit status 255 zmdc.pl
2017-09-19 11:36:25.827515 zmc_m1 5717 FAT Can't open memory map file /dev/shm/zm.mmap.1, probably not enough space free: Permission denied zm_monitor.cpp 522
2017-09-19 11:36:25.775889 undef 5717 INF No Server ID or Name specified in config. Not using Multi-Server Mode. zm_config.cpp 139
2017-09-19 11:36:25.152120 zmdc 5717 INF 'zmc -m 1' started at 17/09/19 11:36:25 zmdc.pl
2017-09-19 11:36:25.146720 zmdc 5140 INF 'zmc -m 1' starting at 17/09/19 11:36:25, pid = 5717 zmdc.pl
2017-09-19 11:36:23.572200 zmwatch 5195 INF Restarting capture daemon for AMC001BW_3Y6893, shared data not valid zmwatch.pl
2017-09-19 11:36:23.566120 zmwatch 5195 ERR Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running. zmwatch.pl
2017-09-19 11:36:13.932930 zmdc 5140 ERR 'zmc -m 1' exited abnormally, exit status 255 zmdc.pl
2017-09-19 11:36:13.922430 zmc_m1 5703 FAT Can't open memory map file /dev/shm/zm.mmap.1, probably not enough space free: Permission denied zm_monitor.cpp 522
This repeats over and over.
I confess that though I am persistent, I do not have any idea how to fix this.
Also in order to get apache2 to start, I had to go in twice and kill a nginx process that was listening on port 80. After doing this, my synology web interface seems to go down until I reboot. Sorry, I think I'm in over my head here, any help is appreciated.
I accidentally tried the 1.30.0 instructions here (https://wiki.zoneminder.com/Debian_9_64 ... e_Easy_Way) first and then had to uninstall everything and start over with the 1.29.0. I finally got all the pieces to install and start, and I can access the web interface. I added an amcrest ip camera, but the 'source' ip address is red, and in the log it says,
2017-09-19 11:36:25.856400 zmdc 5140 ERR 'zmc -m 1' exited abnormally, exit status 255 zmdc.pl
2017-09-19 11:36:25.827515 zmc_m1 5717 FAT Can't open memory map file /dev/shm/zm.mmap.1, probably not enough space free: Permission denied zm_monitor.cpp 522
2017-09-19 11:36:25.775889 undef 5717 INF No Server ID or Name specified in config. Not using Multi-Server Mode. zm_config.cpp 139
2017-09-19 11:36:25.152120 zmdc 5717 INF 'zmc -m 1' started at 17/09/19 11:36:25 zmdc.pl
2017-09-19 11:36:25.146720 zmdc 5140 INF 'zmc -m 1' starting at 17/09/19 11:36:25, pid = 5717 zmdc.pl
2017-09-19 11:36:23.572200 zmwatch 5195 INF Restarting capture daemon for AMC001BW_3Y6893, shared data not valid zmwatch.pl
2017-09-19 11:36:23.566120 zmwatch 5195 ERR Memory map file '/dev/shm/zm.mmap.1' does not exist. zmc might not be running. zmwatch.pl
2017-09-19 11:36:13.932930 zmdc 5140 ERR 'zmc -m 1' exited abnormally, exit status 255 zmdc.pl
2017-09-19 11:36:13.922430 zmc_m1 5703 FAT Can't open memory map file /dev/shm/zm.mmap.1, probably not enough space free: Permission denied zm_monitor.cpp 522
This repeats over and over.
I confess that though I am persistent, I do not have any idea how to fix this.
Also in order to get apache2 to start, I had to go in twice and kill a nginx process that was listening on port 80. After doing this, my synology web interface seems to go down until I reboot. Sorry, I think I'm in over my head here, any help is appreciated.