
I just installed ZM in ubuntu liunux. My system condition is following
- OS : Ubuntu 22.04 LTS
- ZM version : 1.36.35
- Webserver : Apache2.4.52
- Database : mysql 8.0.40
* I am trying to use zoneminder in virtual domain ( ex: zm.mydomain.com ), not with subdirectory
installation progress all fine and completed but I got two problems
- Camera streaming is not shown (https://cloud.wise-leader.com/index.php ... mepuH4bMuu)
- Recording is done but When I clicked the thumbnail picture, nothing worked (https://cloud.wise-leader.com/index.php ... BAH4DCgDvC)
And then, I looked log file
Two error I see
Socket /run/zm/zms-494948s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information.",includes/functions.php,1884
Important for me with this log is I can see only two files in /run/zm.getCmdResponse stream error: Socket /run/zm/zms-494948s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information. - checkStreamForErrors()",?view=event&eid=14&filter[Query][terms][0][attr]=MonitorId&filter[Query][terms][0][op]=%3d&filter[Query][terms][0][val]=2&page=1,'-
zm.pid , zmdc.sock in webaccount user group. I don't see any other files name like zms-*****.sock in any numbering in this directory
Finally, it means ZM is not making any zms-*******.sock file in this directory. I am totally lost from here.
My ZM config file has
Code: Select all
ZM_PATH_ZMS=/cgi-bin/nph-zms
ZM_PATH_SOCKS=/run/zm
In Apache2 conf config , I all made scripAlias as
Code: Select all
ScriptAlias /cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
Alias /cache /var/cache/zoneminder/cache
<Directory /var/cache/zoneminder/cache>
Alias /* /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
Code: Select all
<VirtualHost *:80>
ServerName zm.mydomain.com
ServerAdmin admin@mydomain.com
DocumentRoot /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
Options -Indexes +FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
I don't know where I am missing for this.