Cant start Zoneminder, zmfix not found and etc.
Posted: Thu May 26, 2011 9:12 am
Hey there.
I have no experience with Ubuntu zoneminder or Linux or any programing language except for little HTML
I've been using Windows and MacOs for all my life, but I have fair computer skills.
Alright I've spent the last 4 day's or so setting up zoneminder on Ubuntu with no luck.
I used these instructions to set it up.
Instead of installing 64bit I installed 32bit and also installed 32bit libjpeg-turbo.
It seemed that the installation went smoothly, but something is wrong.
I was able to follow those instructions all the way until
For some reason I cant understand that part :/
Anyway.
As I belive everything is installed and working I tried to start zoneminder,
I get this error
I tried googling it but with no luck.
This is what I get from http//localhost
and then
I was not able to do "/var/www/zm" if I tried I got the error
So now it's just "/var/www"
Any suggestions and inputs greatly appreciated.
I have no experience with Ubuntu zoneminder or Linux or any programing language except for little HTML
I've been using Windows and MacOs for all my life, but I have fair computer skills.
Alright I've spent the last 4 day's or so setting up zoneminder on Ubuntu with no luck.
I used these instructions to set it up.
Code: Select all
http://www.zoneminder.com/wiki/index.php/Ubuntu_Server_11.04_64-bit_with_ZoneMinder_1.24.x_from_SVN,_FFmpeg,_libjpeg-turbo,_Webmin,_Cambozola
It seemed that the installation went smoothly, but something is wrong.
I was able to follow those instructions all the way until
Code: Select all
#Because Ubuntu clears /tmp for some kind of reason at reboot,
#the /tmp/zm directory will also be deleted after a reboot. Creation in script/zmdc.in.pl
#will resolve this.
nano scripts/zmdc.pl
#Add following lines (marked with a '+'-sign between the lines given (do not include '+').
foreach my $arg ( @ARGV )
}
}
+# Create the directory first if it doesn't exist
+mkdir(ZM_PATH_SOCKS);
+
socket( CLIENT, PF_UNIX, SOCK_STREAM, 0 ) or Fatal( "Can't open socket: $!" );
my $saddr = sockaddr_un( SOCK_FILE );
#To be sure, add rights to the /tmp/zm directory
chown www-data:www-data -R /tmp/zm
Anyway.
As I belive everything is installed and working I tried to start zoneminder,
I get this error
Code: Select all
playman@fjol:~$ service zoneminder start
Starting ZoneMinder: /etc/init.d/zoneminder: 86: zmfix: not found
/etc/init.d/zoneminder: 86: /usr/bin/zmpkg.pl: not found
failure
This is what I get from http//localhost
Code: Select all
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
Code: Select all
Not Found
The requested URL /zm was not found on this server.
Apache/2.2.17 (Ubuntu) Server at 192.168.111.140 Port 80
Code: Select all
#In firefox, go to https://YOUR_ZoneMinder.IP.ADDRESS.HERE:10000 to reach the Webmin interface.(Login with Ubuntu username and password)
#In left menu, select System>Bootup and Shutdown. Tick the box next to zm and click StartNow and On Boot.
#In left menu, select Servers>Apache Webserver. Click virtual server under Existing virtual hosts tab. Under Virtual Server Details, change Document Root to /var/www/zm and then save.
#Click apply changes at top left of page.
Code: Select all
Failed to save virtual server : '/var/www/zm' is not a valid document root
Any suggestions and inputs greatly appreciated.