UBUNTU 14.04 server using PPA iconnor:zoneminder (not master).
I've spent DAYS on this, and tonight what I did was, stop my processes, rename my original database [so I have a reference for every single setting zm renamed to zm_original and zm dropped after purge], removed the PPA, deleted all my events, etc, purged zoneminder and did a pretty near clean install. Even removed the PPA and re-added it just to follow the steps close as possible.
I did not change the ScriptAlias, but did verify that that path really exists and nph-zms is where I expect it to be.
apache2.conf is nearly bone stock (simple entry for phpmyadmin added after this started so I could easily view the db for sanity checking)
I was careful with all the steps in the 1.29 the easy way doc, explicitly following it and pretending I know nothing so I didn't second guess it on the reinstall. a2enmods and a2enconf, etc., all done.
I did have an early issue with socks files (/run/zm) hung up and stopped apache2 and zoneminder and nuked those manually and restarted. Quieter logs but same result. The backend is processing [capturing at a few FPS and blue check signal background]. 858 card (PV-183) based cams are OK and stream and capture.
I suspect something, somewhere in Apache is at blame, since purging zm and rebuilding gave the same result. So please, if someone can point out the obvious and make me look like an idiot, that'd be great. I'm generally pretty good at this kind of thing, but kind of burned out on it after a few nights hacking on it. Been meaning to upgrade off 14.04 but rather wait for 16.04 LTS so don't want to nuke it just yet.
This is a headless server for what it's worth. No desktop or monitor to browse localhost.
PATH_ZMS is /zm/cgi-bin/nph-zms
/zm/api is all green
Code: Select all
getVersion.json
{
"version": "1.29.0",
"apiversion": "1.0"
}
Code: Select all
Clean start apache2 error.log:
[Fri Feb 19 23:54:53.114751 2016] [mpm_prefork:notice] [pid 1736] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.14 configured -- resuming normal operations
[Fri Feb 19 23:54:53.114806 2016] [core:notice] [pid 1736] AH00094: Command line: '/usr/sbin/apache2'
Code: Select all
zmc_m3 [Network Camera, can view in browser and worked in 1.28.1, etc.]
016-02-20 00:01:51.527192 zmc_m3 1642 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-20 00:01:51.472337 zmc_m3 1642 ERR Unable to read content zm_remote_camera_http.cpp 1040
2016-02-20 00:01:51.082095 zmc_m3 1642 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-20 00:01:51.033967 zmc_m3 1642 ERR Unable to read content zm_remote_camera_http.cpp 1040
2016-02-20 00:01:50.647195 zmc_m3 1642 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-20 00:01:50.595472 zmc_m3 1642 ERR Unable to read content zm_remote_camera_http.cpp 1040
2016-02-20 00:01:50.303020 zmc_m3 1642 ERR Unable to get response, disconnecting zm_remote_camera_http.cpp 1141
2016-02-20 00:01:50.157137 zmc_m3 1642 ERR Unable to read content zm_remote_camera_http.cpp 1040
Code: Select all
syslog mirrors zmc_m3:
Feb 20 00:46:35 server1 zmc[1642]: ERR [Unable to get response, disconnecting]
Feb 20 00:46:35 server1 zmc[1642]: ERR [Unable to read content]
Feb 20 00:46:35 server1 zmc[1642]: ERR [Unable to get response, disconnecting]
Feb 20 00:46:36 server1 zmc[1642]: ERR [Unable to read content]
Feb 20 00:46:36 server1 zmc[1642]: ERR [Unable to get response, disconnecting]
Feb 20 00:46:36 server1 zmc[1642]: ERR [Unable to read content]
Feb 20 00:46:36 server1 zmc[1642]: ERR [Unable to get response, disconnecting]
Feb 20 00:46:37 server1 zmc[1642]: ERR [Unable to read content]
Feb 20 00:46:37 server1 zmc[1642]: ERR [Unable to get response, disconnecting]
mysqld/error.log is quiet
thanks!