I had a similar issue when zoneminder seemed to install ok but the web gui did not load with a 404 webpage not found error. It looks like the Zoneminder gui was located in a different location that where I expected. The location that was loading when I went to http://raspberry-pi/zm was looking for ...