Being fairly new to Linux, I find some of the guides fairly easy to follow, even the guide at Ubuntu Server 11.04 64-bit with ZoneMinder 1.24.x from SVN, FFmpeg, libjpeg-turbo, Webmin, Cambozola. But, occasionally I run into issues that I don't know how to resolve and then it just proliferates from there.
I only have 2 IP security cameras I want to monitor and any Windows app falls short. A friend pointed me to Zoneminder. So, I get Ubuntu 11.04 installed with LAMP and SSH and get a static IP set. I then SSH as root into the box and start the installation. When I get to the Webmin install, it fails but have been able to get it running via the instructions at another site and can access my server. I can continue on and get down to the second to the last line of the instructions.
I start Webmin, tick the zm and change then try to change Apache settings. I can change the docs directory but Apache is not running and when I try to start it, I get the following error:
Starting service apache2 ..
* Starting web server apache2
apache2: Syntax error on line 230 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/zoneminder.conf: No such file or directory
Action 'start' failed.
The Apache error log may have more information.
...fail!
.. failed!
Enabling service apache2 at boot time.
If I cd into the sites-enabled directory, there is a file called zoneminder.conf but I cannot do anything to it. I installed a desktop environment on the server and if I try to open the file from a "file manager", it says that it is corrupt and wants to throw it in the trash.
If I try to 'sudo service apache2 restart', I get:
apache2: Syntax error on line 230 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/zoneminder.conf: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
...fail!
I am not sure where to go from here and being so close to actually getting this running, I don't want to scrap it. I didn't think Apache was that hard to get running.
Any idea on what is going on?