I upgraded from 1.26.3 to 1.29.0 on my CentOS 6 box. The interface shows that events are being recorded. But attempts to view events or live video give the above error message. Things were working under 1.26.3.
Does anyone have any ideas?
Java.net SocketException: Unexpected End Of File
Re: Java.net SocketException: Unexpected End Of File
I am guessing this is a paths issue. My previous 1.26.3 install was a manual compile from source. So I put the web files directly under the root web folder /var/www/html. But this install is from RPM. And that package puts the web files under /usr/share/zoneminder/www and creates an Apache alias for /zm into that dir.
My zoneminder data is sitting on a separate partition /mnt/zm-data.
The web interface will *only* work if I enter the physical path for the data files: /mnt/zm-data/images, /mnt/zm-data/events. I have tried linking around and restarting and the web interface fails. With the physical path, I see events recording.
But I can't play any recordings back.
I have done the suggested directory mounting from the wiki:
/mnt/zm-data/images /usr/share/zoneminder/www/images none defaults,bind 0 2
/mnt/zm-data/events /usr/share/zoneminder/www/events none defaults,bind 0 2
But I still can't get any playback.
Any ideas?
My zoneminder data is sitting on a separate partition /mnt/zm-data.
The web interface will *only* work if I enter the physical path for the data files: /mnt/zm-data/images, /mnt/zm-data/events. I have tried linking around and restarting and the web interface fails. With the physical path, I see events recording.
But I can't play any recordings back.
I have done the suggested directory mounting from the wiki:
/mnt/zm-data/images /usr/share/zoneminder/www/images none defaults,bind 0 2
/mnt/zm-data/events /usr/share/zoneminder/www/events none defaults,bind 0 2
But I still can't get any playback.
Any ideas?
Re: Java.net SocketException: Unexpected End Of File
Still no solution. Tried both Firefox and Explorer. Made sure Java was up to date. This *was* working with 1.26.3.
Maybe an Apache config error?
Maybe an Apache config error?
Re: Java.net SocketException: Unexpected End Of File
Solved. Reading a thread on Centos 6 problems prompted me for the answer:
viewtopic.php?f=34&t=24625
I needed to run 'make uninstall' in the old manual install directory and then reinstall 1.29.0 from RPM. Then my error changed to an nph-zms error - where I found I had the wrong path set for it. It's now '/cgi-bin/zm/nph-zms'
Guess I asked the wrong way to get anyone to respond. End of whine.
viewtopic.php?f=34&t=24625
I needed to run 'make uninstall' in the old manual install directory and then reinstall 1.29.0 from RPM. Then my error changed to an nph-zms error - where I found I had the wrong path set for it. It's now '/cgi-bin/zm/nph-zms'
Guess I asked the wrong way to get anyone to respond. End of whine.