Camera shows no picture. Socket does not exist

Forum for questions and support relating to the 1.30.x releases only.
jannnfe
Posts: 27
Joined: Sun Oct 01, 2017 9:08 am

Camera shows no picture. Socket does not exist

Post by jannnfe »

Hello,
I'm trying to get my new camera with Zoneminder to run for days. I already have as much as everything I have found on the internet to get zoneminder to run.
I have installed zone minder like this: https://wiki.zoneminder.com/Ubuntu_Serv ... e_easy_way

The camera settings think I am right in zoneminder. It is the Wanscam JW0011 camera and with another service the camera with the same settings shows a picture.

I'm not sure if the connection to cgi-bin is correct in my system. I have however also still no possibility found this out.
I have already changed the PATH_ZMS to /zm/cgi-bin/nph-zms

In ZoneMinder log i get this errors:

Code: Select all

Socket /var/run/zm/zms-337020s.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/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information

Code: Select all

getStreamCmdResponse stream error: Socket /var/run/zm/zms-337020s.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/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information. - checkStreamForErrors()

Code: Select all

Unable to get response, disconnecting
Unable to read subheade
Select error: Interrupted system call

But on the other hand I get these messages in the log. So actually it should work?

Code: Select all

Garagentuer: 1000 - Capturing at 23.26 fps
Garagentuer: 2000 - Capturing at 22.73 fps
This is my zoneminder.conf in apache2:

Code: Select all

# Remember to enable cgi mod (i.e. "a2enmod cgi").
 ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    AllowOverride All
    Require all granted
</Directory>

Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
  Options -Indexes +FollowSymLinks
  <IfModule mod_dir.c>
    DirectoryIndex index.php
  </IfModule>
</Directory>

<Directory /usr/share/zoneminder/www/api>
    AllowOverride All
</Directory>

I have already done a2enmod cgi and its saying its running
I hope someone can help me to bring my camera to run.
Thanks!
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: Camera shows no picture. Socket does not exist

Post by Baylink »

Look in either

/var/log/apache/error_log or /var/log/httpd/error_log

whichever you have, and see what error is showing up when you call nph-zms.

That should be a hint what isn't configured correctly -- which is usually what this is.
jannnfe
Posts: 27
Joined: Sun Oct 01, 2017 9:08 am

Re: Camera shows no picture. Socket does not exist

Post by jannnfe »

Hello,

error.log gives me the same as in the Zoneminder Webinterface Log:

Code: Select all

[Sun Oct 01 16:05:19.608384 2017] [:error] [pid 6817] [client 192.168.178.130:63932] INF [Login successful for user "root"], referer: http://192.168.178.10/zm/
[Sun Oct 01 16:05:31.378023 2017] [access_compat:error] [pid 1416] [client 192.168.178.130:63937] AH01797: client denied by server configuration: /usr/lib/zoneminder/cgi-bin/nph-zms, referer: http://192.168.178.10/zm/index.php?view=watch&mid=2
[Sun Oct 01 16:05:31.483347 2017] [access_compat:error] [pid 6818] [client 192.168.178.130:63933] AH01797: client denied by server configuration: /usr/lib/zoneminder/cgi-bin/nph-zms, referer: http://192.168.178.10/zm/index.php?view=watch&mid=2
[Sun Oct 01 16:05:42.676278 2017] [:error] [pid 2075] [client 192.168.178.130:63939] ERR [Socket /var/run/zm/zms-752901s.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/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.], referer: http://192.168.178.10/zm/index.php?view=watch&mid=2
[Sun Oct 01 16:05:42.685682 2017] [access_compat:error] [pid 2075] [client 192.168.178.130:63939] AH01797: client denied by server configuration: /usr/lib/zoneminder/cgi-bin/nph-zms, referer: http://192.168.178.10/zm/index.php?view=watch&mid=2
[Sun Oct 01 16:05:54.699581 2017] [:error] [pid 1415] [client 192.168.178.130:63943] ERR [Socket /var/run/zm/zms-752901s.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/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.], referer: http://192.168.178.10/zm/index.php?view=watch&mid=2
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: Camera shows no picture. Socket does not exist

Post by Baylink »

Not quite. 'Client denied by server config' is the important sentence there, and it means that your Apache configuration is messed up somehow.
jannnfe
Posts: 27
Joined: Sun Oct 01, 2017 9:08 am

Re: Camera shows no picture. Socket does not exist

Post by jannnfe »

Thats good to Know. Thank you.
How can i find the mistake.
Some ideas? Can i share my configurations of my Apache?
Thanks! :)
marcopete87
Posts: 40
Joined: Wed Dec 04, 2013 4:53 pm

Re: Camera shows no picture. Socket does not exist

Post by marcopete87 »

in my servers (ubuntu and debian), usually i do this:
cd /usr/lib/cgi-bin
ln -s /usr/lib/zoneminder/cgi-bin/zms zms
ln -s /usr/lib/zoneminder/cgi-bin/zms nph-zms

This will link zoneminder cgi to apache cgi.
Remember to set correct permissions with chmod!
jannnfe
Posts: 27
Joined: Sun Oct 01, 2017 9:08 am

Re: Camera shows no picture. Socket does not exist

Post by jannnfe »

I get this:

Code: Select all

root@homeserver:/usr/lib/cgi-bin# ls
nph-zms
root@homeserver:/usr/lib/cgi-bin# ln -s /usr/lib/zoneminder/cgi-bin/zms zms
root@homeserver:/usr/lib/cgi-bin# ln -s /usr/lib/zoneminder/cgi-bin/zms nph-zms
ln: failed to create symbolic link 'nph-zms': File exists
root@homeserver:/usr/lib/cgi-bin# cd /usr/lib/zoneminder/cgi-bin
root@homeserver:/usr/lib/zoneminder/cgi-bin# ls
nph-zms  zms
The ln -s /usr/lib/zoneminder/cgi-bin/zms nph-zms failed.
And what are the right permissions to set?
Thanks! :)
jkwan
Posts: 5
Joined: Mon Oct 02, 2017 8:13 pm

Re: Camera shows no picture. Socket does not exist

Post by jkwan »

Hi all,
I have found this on another board.

https://bugs.launchpad.net/ubuntu/+sour ... ug/1159361

I have the same issue as you. It seems that the problem is the authentification.
I have set the AUTH_RELAY to <none> in OPTIONS > SYSTEM and it works.
The question is ZM secure whith this configuration ?
jannnfe
Posts: 27
Joined: Sun Oct 01, 2017 9:08 am

Re: Camera shows no picture. Socket does not exist

Post by jannnfe »

Thanks for your reply.
Nothing of this helped me to find my miss configuration.
I am slowly despairing I still get the same error messages as in my first post.

My /etc/apache2/conf-enabled/zoneminder.conf

Code: Select all

# Remember to enable cgi mod (i.e. "a2enmod cgi").
#ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"
ScriptAlias /zoneminder/cgi-bin "/usr/lib/zoneminder/cgi-bin"
<Directory "/usr/lib/zoneminder/cgi-bin">
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    AllowOverride All
    Require all granted
</Directory>

Alias /zm /usr/share/zoneminder/www
<Directory /usr/share/zoneminder/www>
  Options -Indexes +FollowSymLinks
  <IfModule mod_dir.c>
    DirectoryIndex index.php
  </IfModule>
</Directory>

<Directory /usr/share/zoneminder/www/api>
    AllowOverride All
</Directory>
My /etc/apache2/apache2.conf

Code: Select all

# Global configuration
#

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the Mutex documentation (available
# at <URL:http://httpd.apache.org/docs/2.4/mod/core.html#mutex>);
# you will save yourself a lot of trouble.
#
# Do NOT add a slash at the end of the directory path.
#
#ServerRoot "/etc/apache2"

#
# The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
#
Mutex file:${APACHE_LOCK_DIR} default

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
# This needs to be set in /etc/apache2/envvars
#
PidFile ${APACHE_PID_FILE}

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100

#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 5


# These need to be set in /etc/apache2/envvars
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
HostnameLookups Off

# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here.  If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog ${APACHE_LOG_DIR}/error.log

#
# LogLevel: Control the severity of messages logged to the error_log.
# Available values: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the log level for particular modules, e.g.
# "LogLevel info ssl:warn"
#
LogLevel warn

# Include module configuration:
IncludeOptional mods-enabled/*.load
IncludeOptional mods-enabled/*.conf

# Include list of ports to listen on
IncludeOptional ports.conf


# Sets the default security model of the Apache2 HTTPD server. It does
# not allow access to the root filesystem outside of /usr/share and /var/www.
# The former is used by web applications packaged in Debian,
# the latter may be used for local directories served by the web server. If
# your system is serving content from a sub-directory in /srv you must allow
# access here, or in any related virtual host.
<Directory />
        Order deny,allow
        deny from all
        Options FollowSymLinks
        AllowOverride None
        Require all denied
</Directory>

<Directory /usr/share>
        Order allow,deny
        allow from all
        AllowOverride All
        Require all granted
</Directory>

#<Directory /var/www/>
#       Options Indexes FollowSymLinks
#       AllowOverride All
#       Require all granted
#</Directory>

<Directory /home/webserver/>
        Order allow,deny
        allow from all
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

<Directory /home/*/public_html/>
        Order allow,deny
        allow from all
        Options Indexes FollowSymLinks
        AllowOverride None
        Require all granted
</Directory>

Alias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
        AddHandler cgi-script cgi pl
        Order allow,deny
        Allow from all
        Require all granted
</Directory>

# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives.  See also the AllowOverride
# directive.
#
AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
        Require all denied
</FilesMatch>


#
# The following directives define some format nicknames for use with
# a CustomLog directive.
#
# These deviate from the Common Log Format definitions in that they use %O
# (the actual bytes sent including headers) instead of %b (the size of the
# requested file), because the latter makes it impossible to detect partial
# requests.
#
# Note that the use of %{X-Forwarded-For}i instead of %h is not recommended.
# Use mod_remoteip instead.
#
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.

# Include generic snippets of statements
IncludeOptional conf-enabled/*.conf

# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
My /etc/zm/zm.conf

Code: Select all

# ==========================================================================
#
# ZoneMinder Base Configuration, $Date$, $Revision$
#
# ==========================================================================
#
# This file is generated by 'configure'. Care should be taken if manually
# editing this file as an changes may be overwritten by subsequent configuration
# or installations.
#

# Path to installed data directory, used mostly for finding DB upgrade scripts
ZM_PATH_DATA=/usr/share/zoneminder

# Path to ZoneMinder binaries
ZM_PATH_BIN=/usr/bin

# Path to ZoneMinder libraries (none at present, for future use)
ZM_PATH_LIB=/usr/lib/x86_64-linux-gnu

# Path to ZoneMinder configuration (this file only at present)
ZM_PATH_CONF=/etc/zm

# Path to ZoneMinder web files
ZM_PATH_WEB=/usr/share/zoneminder/www

# Path to ZoneMinder cgi files
ZM_PATH_CGI=/usr/lib/zoneminder/cgi-bin

# Username and group that web daemon (httpd/apache) runs as
ZM_WEB_USER=www-data
ZM_WEB_GROUP=www-data

# ZoneMinder database type: so far only mysql is supported
ZM_DB_TYPE=mysql

# ZoneMinder database hostname or ip address and optionally port or unix socket
# Acceptable formats include hostname[:port], ip_address[:port], or localhost:unix_socket
ZM_DB_HOST=localhost

# ZoneMinder database name
ZM_DB_NAME=zm

# ZoneMinder database user
ZM_DB_USER=zmuser

# ZoneMinder database password
ZM_DB_PASS=zmpass

# Do NOT set ZM_SERVER_HOST if you are not using Multi-Server
# You have been warned
#
# The name specified here must have a corresponding entry
# in the Servers tab under Options
ZM_SERVER_HOST=
My options in Zoneminder for my Wanscam JW0011 Camera
Bildschirmfoto 2017-10-02 um 23.21.02.png
Bildschirmfoto 2017-10-02 um 23.21.02.png (61.6 KiB) Viewed 13946 times
Bildschirmfoto 2017-10-02 um 23.21.28.png
Bildschirmfoto 2017-10-02 um 23.21.28.png (65.34 KiB) Viewed 13946 times
Hope anybody can help me to get Zoneminder working without the hundreds of errors from my first post.
Thank you very much!
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Camera shows no picture. Socket does not exist

Post by bbunge »

If you followed the install instructions in the WIKI to the letter you should have a working Zoneminder. Mis one step and your system will be toast!

As for the camera setup you should use ffmpeg with modern cameras. Get the video to show in VLC, note the access string and reported resolution, transfer those settings to Zonemimder and voila! Your system will work!!!

You may be ahead to reinstall Ubuntu server or minimal system then do Zoneminder by the numbers again. Add LAMP from tasksel at initial install or afterwards and it will configure itself to work. Try not to waste time with obscure changes recommended by other web sites. I run these installs often to insure they work!

Edit: I just noticed a well meaning person made some changes to the WIKI instructions. I've undone their changes but am unable to test the install as my test computers have not arrived back home from an unsuccessful family move. Hope to be able to get you firm info by the weekend.

bb
jannnfe
Posts: 27
Joined: Sun Oct 01, 2017 9:08 am

Re: Camera shows no picture. Socket does not exist

Post by jannnfe »

Thanks for your reply.
I followed this instructions to install my camera: https://wiki.zoneminder.com/Wanscam_FR4020A2_Out

But i think i find the problem of not getting a video stream and for the error.
When I open the View Window of my camera in zoneminder and i right click on the video element and open it in a new tab i get this message:

Code: Select all

Forbidden
You don't have permission to access /zoneminder/cgi-bin/nph-zms on this server.
I found that same problem here but i can't figure out what i have to do to fix the permission problem
viewtopic.php?t=23715

Thanks for your help!
bbunge
Posts: 2951
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Camera shows no picture. Socket does not exist

Post by bbunge »

I ment the WIKI instructions to install Zoneminder!
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: Camera shows no picture. Socket does not exist

Post by Baylink »

Jannnfe: "/zoneminder/" is an unusual thing to see in that pathname; it's customarily /zm/.

Did you pick /zoneminder/ in your install on purpose?
jannnfe
Posts: 27
Joined: Sun Oct 01, 2017 9:08 am

Re: Camera shows no picture. Socket does not exist

Post by jannnfe »

Baylink wrote: Wed Oct 04, 2017 2:33 pm Jannnfe: "/zoneminder/" is an unusual thing to see in that pathname; it's customarily /zm/.

Did you pick /zoneminder/ in your install on purpose?
In my /etc/apache2/conf-enabled/zoneminder.conf i now have this Alias:
ScriptAlias /zm/cgi-bin "/usr/lib/zoneminder/cgi-bin"

And my PATH_ZMS is now /zm/cgi-bin/nph-zms but same permission Problem as described above.
I get also in the log no error message, except when I open the window in which the stream of the camera should run.

Before open the Stream Window:

Code: Select all

2017-10-05 20:27:55.284930	zma_m2	59271	INF	Garagentuer: 150000 - Analysing at 10.99 fps
2017-10-05 20:27:35.840085	zmc_m2	59262	INF	Garagentuer: 150000 - Capturing at 11.11 fps
2017-10-05 20:26:24.906840	zma_m2	59271	INF	Garagentuer: 149000 - Analysing at 11.11 fps
2017-10-05 20:26:05.465245	zmc_m2	59262	INF	Garagentuer: 149000 - Capturing at 11.11 fps
2017-10-05 20:24:54.524574	zma_m2	59271	INF	Garagentuer: 148000 - Analysing at 11.11 fps
2017-10-05 20:24:35.083323	zmc_m2	59262	INF	Garagentuer: 148000 - Capturing at 10.99 fps
2017-10-05 20:23:24.145213	zma_m2	59271	INF	Garagentuer: 147000 - Analysing at 10.99 fps
2017-10-05 20:23:04.706638	zmc_m2	59262	INF	Garagentuer: 147000 - Capturing at 11.11 fps
2017-10-05 20:22:11.234375	zma_m2	59271	INF	Garagentuer: 146193 - Closing event 114, alarm end
2017-10-05 20:22:11.232547	zma_m2	59271	INF	Garagentuer: 146193 - Left alarm state (114) - 62(11) images
2017-10-05 20:22:08.957802	zma_m2	59271	INF	Garagentuer: 146168 - Gone into alert state
2017-10-05 20:22:08.874793	zma_m2	59271	INF	Garagentuer: 146167 - Gone back into alarm state
2017-10-05 20:22:08.796182	zma_m2	59271	INF	Garagentuer: 146166 - Gone into alert state
2017-10-05 20:22:07.907618	zma_m2	59271	INF	Garagentuer: 146156 - Opening new event 114, alarm start
2017-10-05 20:22:07.903897	zma_m2	59271	INF	Garagentuer: 146156 - Gone into alarm state
2017-10-05 20:21:53.771468	zma_m2	59271	INF	Garagentuer: 146000 - Analysing at 11.11 fps
2017-10-05 20:21:34.325337	zmc_m2	59262	INF	Garagentuer: 146000 - Capturing at 10.99 fps
2017-10-05 20:20:23.393244	zma_m2	59271	INF	Garagentuer: 145000 - Analysing at 11.11 fps
2017-10-05 20:20:03.945371	zmc_m2	59262	INF	Garagentuer: 145000 - Capturing at 11.11 fps
2017-10-05 20:20:03.216609	web_php	49044	INF	Login successful for user "root"
After:

Code: Select all

2017-10-05 20:30:43.323678	web_php		49045	ERR	Socket /var/run/zm/zms-159706s.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/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.	/usr/share/zoneminder/www/includes/functions.php

2017-10-05 20:30:42.438325	web_php		49046	ERR	Socket /var/run/zm/zms-159706s.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/latest/faq.html#why-can-t-i-see-streamed-images-when-i-can-see-stills-in-the-zone-window-etc for more information.	/usr/share/zoneminder/www/includes/functions.php

2017-10-05 20:30:40.877813	web_js		49045	ERR	getStreamCmdResponse stream error: socket_bind( /var/run/zm/zms-159706w.sock ) failed: Address already in use - checkStreamForErrors()	?view=watch

2017-10-05 20:30:40.863721	web_php		49045	ERR	socket_bind( /var/run/zm/zms-159706w.sock ) failed: Address already in use	/usr/share/zoneminder/www/includes/functions.php	2033
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

Re: Camera shows no picture. Socket does not exist

Post by Baylink »

Check the filesystem permissions all the way along the path to

/usr/lib/zoneminder/cgi-bin/nph-zms

and make sure *the webserver owner user* has permission to search to there and execute. It sounds like your filesystem permissions have gotten ganked somewhere.
Locked