Zoneminder's logs show the following info. It is difficult to figure out where to clear it.
Code: Select all
2016-02-16 12:56:40.386501 undef 1761 INF No Server ID or Name specified in config. Not using Multi-Server Mode. zm_config.cpp 139
My attempt to resolve the issue was to run zmupdate.pl -f but it did not help. The command ran without errors.
Adding "localhost" to /etc/zm/zm.conf
# Host of this machine
ZM_SERVER_HOST=localhost
does not help but produces errors:
ERR ZM_SERVER_HOST set to localhost in config, but not found in Servers table
Adding hostname and server name via the web errors out with:
Code: Select all
[code]SQL-ERR 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Hostname' in 'field list'', statement was 'INSERT INTO Servers set Name = 'Serv1.29', Hostname = 'localhost''
Code: Select all
DATE/TIME
COMPONENT SERVER PID LEVEL MESSAGE FILE LINE
2016-02-16 13:15:57.764137 web_php 1711 ERR ZM_SERVER_HOST set to localhost in config, but not found in Servers table. /usr/share/zoneminder/www/includes/config.php 183
Zoneminder was installed from zmrepo on fedora 23 in ver 1.29.0-2, and then updated via dnf upgrade to ver 1.29.0-3.
Also important is that streaming from cameras stops working if I leave "localhost" in zm.conf file.
Is there a way to fix this?