1.27.99 Build Path Problem Can't bind: No such file
Posted: Tue Oct 14, 2014 9:01 pm
I'm not sure why the shared memory area is linked to the path I built the source from. Anyone know how to fix this? If I run strings on the binaries in /usr/local/bin I can see that path in the binaries:
2014-10-14 15:46:03.168987 zms 32767 FAT Can't bind: No such file or directory /home/snerfu/builds/ZoneMinder/src/zm_stream.cpp 302
2014-10-14 15:46:03.162793 zms 32767 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results /home/snerfu/builds/ZoneMinder/src/zm_monitor.cpp 424
2014-10-14 15:46:03.120550 zms 32767 FAT Can't bind: No such file or directory /home/snerfu/builds/ZoneMinder/src/zm_stream.cpp
In my zoneminder config in the interface ZM_MAP points to /dev/shm
Here is my cmake command, I'm on CentOS 7 if that matters:
cmake -DZM_DB_HOST="localhost" -DZM_DB_NAME="zm" -DZM_DB_USER="zm" -DZM_DB_PASS="zmpass" -DZM_WEBDIR="/usr/local/share/zoneminder/www" -DZM_CGIDIR="/usr/local/libexec/zoneminder/cgi-bin" -DZM_EXTRA_LIBS="ssl" -DCMAKE_VERBOSE_MAKEFILE="ON" -DCMAKE_CXX_FLAGS_RELEASE="-D__STDC_CONSTANT_MACROS" -DZM_RUNDIR="/var/run/zm" .
But zoneminder refuses to start via CLI or or web interface.
2014-10-14 15:46:03.168987 zms 32767 FAT Can't bind: No such file or directory /home/snerfu/builds/ZoneMinder/src/zm_stream.cpp 302
2014-10-14 15:46:03.162793 zms 32767 WAR Shared data not initialised by capture daemon, some query functions may not be available or produce invalid results /home/snerfu/builds/ZoneMinder/src/zm_monitor.cpp 424
2014-10-14 15:46:03.120550 zms 32767 FAT Can't bind: No such file or directory /home/snerfu/builds/ZoneMinder/src/zm_stream.cpp
In my zoneminder config in the interface ZM_MAP points to /dev/shm
Here is my cmake command, I'm on CentOS 7 if that matters:
cmake -DZM_DB_HOST="localhost" -DZM_DB_NAME="zm" -DZM_DB_USER="zm" -DZM_DB_PASS="zmpass" -DZM_WEBDIR="/usr/local/share/zoneminder/www" -DZM_CGIDIR="/usr/local/libexec/zoneminder/cgi-bin" -DZM_EXTRA_LIBS="ssl" -DCMAKE_VERBOSE_MAKEFILE="ON" -DCMAKE_CXX_FLAGS_RELEASE="-D__STDC_CONSTANT_MACROS" -DZM_RUNDIR="/var/run/zm" .
But zoneminder refuses to start via CLI or or web interface.