Sorry for the double-post, but I really need to get to the bottom of this ASAP.
What does the "shared memory not valid" message mean? I didn't see it in the README or the Wiki.
I looked further into the system's shared memory settings, and found this:
$ cat /proc/sys/kernel/shmall
2097152
$ cat /proc/sys/kernel/shmmax
134217728
Now, this is an older machine, and doesn't have a lot of RAM (/proc/meminfo shows MemTotal = 62236 kB)... However, I have a GB of swap set aside on the hard drive. And even with everything running on the system, there's still free RAM, so I don't think that's the problem.
I did a search in the forum, and found the description of a problem that seems similar to my own:
http://www.zoneminder.com/forums/viewtopic.php?t=6678
I'm accessing ZoneMinder via
http://x.x.x.x/zm/. ZoneMinder is installed in /var/www/zm. Here's the relevant bit from my Apache conf:
Code: Select all
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
RedirectMatch ^/$ /apache2-default/
</Directory>
zms is located in /usr/lib/cgi-bin, which is the directory specified in my Apache conf:
Code: Select all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
In ZoneMinder options, I have ZM_PATH_ZMS = /cgi-bin/zms.
It's odd, though. If I access
http://x.x.x.x/cgi-bin/zms directly, I get a 500 Internal Server Error. There don't seem to be any permissions issues:
/usr/lib/cgi-bin$ ls -l
-rwxr-xr-x 2 www-data www-data 1075031 2006-10-15 14:19 nph-zms
-rwxr-xr-x 2 www-data www-data 1075031 2006-10-15 14:19 zms
So, I'm officially out of ideas. What would be my problem? Everything seems to be set up properly. Do I need to adjust shared memory again? If so, to what?
A little more about this machine: It was used on a daily basis in an office setting. It had WIndows 98 (not SE) running on it and it was pretty swift. I backed up all of the relevant data on it, gave the backup to the owner, blew the drive away, and put Debian on it. Without an X server, the machine is very fast. I'd like to just get this one USB camera working on this for now, but I eventually plan on having nine IP cameras running on this machine.