Hi all,
I have installed Zoneminder v 1.30.4 on an Oracle VM VirtualBox running Debian.
Zoneminder installed correctly (as far as I could see) with no errors.
I have a Trendnet IP camera which I configured and is being monitored and I can see the live streaming.
In the log though I noticed a number of errors can't stat '/tmp/zm'
Please see image attached
Can you help?
Best,
A.
can't stat '/tmp/zm'
- knight-of-ni
- Posts: 2404
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: can't stat '/tmp/zm'
Common problem with the Debian packages. The root cause is /tmp/zm is on private tmpfs folder. One process creates the files and folders but other processes can't read it, because it's private.
To fix, go to web portal and click Options-> Paths and change the swap path from /tmp/zm to /dev/shm.
To fix, go to web portal and click Options-> Paths and change the swap path from /tmp/zm to /dev/shm.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/
Re: can't stat '/tmp/zm'
Thanks, that worked!!!
Re: can't stat '/tmp/zm'
hello, were you able to get live view on the trendnet?
I'm stuck in this error?
2018-01-07 19:13:01.788130 zmdc 683 INF 'zmc -m 1' crashed, signal 4 zmdc.pl
2018-01-07 19:12:59.066110 zmdc 1119 INF 'zmc -m 1' started at 18/01/07 18:12:59 zmdc.pl
2018-01-07 19:12:59.054270 zmdc 683 INF 'zmc -m 1' starting at 18/01/07 18:12:59, pid = 1119 zmdc.pl
2018-01-07 19:12:55.819920 zmwatch 739 INF Restarting capture daemon for Monitor-1, shared data not valid zmwatch.pl
2018-01-07 19:12:55.533920 zmwatch 739 ERR Memory map file '/tmp/zm/zm.mmap.1' does not exist. zmc might not be running. zmwatch.pl
Some help?
I'm stuck in this error?
2018-01-07 19:13:01.788130 zmdc 683 INF 'zmc -m 1' crashed, signal 4 zmdc.pl
2018-01-07 19:12:59.066110 zmdc 1119 INF 'zmc -m 1' started at 18/01/07 18:12:59 zmdc.pl
2018-01-07 19:12:59.054270 zmdc 683 INF 'zmc -m 1' starting at 18/01/07 18:12:59, pid = 1119 zmdc.pl
2018-01-07 19:12:55.819920 zmwatch 739 INF Restarting capture daemon for Monitor-1, shared data not valid zmwatch.pl
2018-01-07 19:12:55.533920 zmwatch 739 ERR Memory map file '/tmp/zm/zm.mmap.1' does not exist. zmc might not be running. zmwatch.pl
Some help?
Re: can't stat '/tmp/zm'
I have the same error 'zmc -m 1' crashed, signal 4 zmdc.p
but I can still see the video stream.
The Pan and tilt does not appear.
I notice that the camera works only in explorer and not in firefox so needs ActiveX
but I can still see the video stream.
The Pan and tilt does not appear.
I notice that the camera works only in explorer and not in firefox so needs ActiveX
Re: can't stat '/tmp/zm'
OMG!knight-of-ni wrote: ↑Mon Jan 08, 2018 3:23 pm Common problem with the Debian packages. The root cause is /tmp/zm is on private tmpfs folder. One process creates the files and folders but other processes can't read it, because it's private.
To fix, go to web portal and click Options-> Paths and change the swap path from /tmp/zm to /dev/shm.
I'm posting this so just in case someone tries to do what I did, the key words might bring this up and save them the hassle.
I had the same issue with / filling or being too close to full to be comfortable so I thought I'd do a clever bind mount to a directory along side the event storage.... :/
I did a
Code: Select all
sudo mount --bind /var/cache/zoneminder/tmp /tmp/zm
So I added the bind mount to /etc/fstab to make it automatic.
I'm such a dork. Just change the configuration option above.
Hah! Happy Zone'ing