perl ./zmconfig.pl -- dies
perl ./zmconfig.pl -- dies
Trying several different approaches.
./config with... completes w/ no complaints.
perl ./zmconfig.pl -- dies.
Here is output:
DBD::mysql::st execute failed: Table 'zm.Config' doesn't exist at ./zmconfig.pl line 1678.
Can't execute: Table 'zm.Config' doesn't exist at ./zmconfig.pl line 1678.
I went to line 1678 in the script. No clues there.
Anybody have any ideas about this?
Thanks, FXS
./config with... completes w/ no complaints.
perl ./zmconfig.pl -- dies.
Here is output:
DBD::mysql::st execute failed: Table 'zm.Config' doesn't exist at ./zmconfig.pl line 1678.
Can't execute: Table 'zm.Config' doesn't exist at ./zmconfig.pl line 1678.
I went to line 1678 in the script. No clues there.
Anybody have any ideas about this?
Thanks, FXS
Can you give us some more information on your setup:
What distro?
What steps did you take to install?
Check this tread and see if it helps.
http://www.zoneminder.com/forums/viewtopic.php?t=5110
Regards,
Cordel
What distro?
What steps did you take to install?
Check this tread and see if it helps.
http://www.zoneminder.com/forums/viewtopic.php?t=5110
Regards,
Cordel
ZM install & mysql
Figured out that I was not creating the table in mysql.
Got past that, but still some squawks.
The distro is SuSE 9.3
The mysql that comes with it is a later version than the one ZM is looking for and the usr/lib/libmsql file structure is different.
Has anybody got ZM running on SuSE 9.3?
Thanks, FXS
Got past that, but still some squawks.
The distro is SuSE 9.3
The mysql that comes with it is a later version than the one ZM is looking for and the usr/lib/libmsql file structure is different.
Has anybody got ZM running on SuSE 9.3?
Thanks, FXS
failed install - mixed distros
In the hope that this actually helps some folks, I'll post the last error messages.
make all-recursive
make[1]: Entering directory `/home/fxscully/unpack/zm-1.21.3'
Making all in src
make[2]: Entering directory `/home/fxscully/unpack/zm-1.21.3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/bin/include -I/usr/include/ffmpeg/include -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
In file included from zmc.cpp:25:
zm_db.h:23:25: mysql/mysql.h: No such file or directory
In file included from zmc.cpp:25:
zm_db.h:27: error: syntax error before `;' token
In file included from zm_zone.h:27,
from zm_monitor.h:29,
from zmc.cpp:26:
zm_event.h:32:25: mysql/mysql.h: No such file or directory
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/home/fxscully/unpack/zm-1.21.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fxscully/unpack/zm-1.21.3'
make: *** [all] Error 2
linux:/home/fxscully/unpack/zm-1.21.3 # make install
Making install in src
make[1]: Entering directory `/home/fxscully/unpack/zm-1.21.3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/bin/include -I/usr/include/ffmpeg/include -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
In file included from zmc.cpp:25:
zm_db.h:23:25: mysql/mysql.h: No such file or directory
In file included from zmc.cpp:25:
zm_db.h:27: error: syntax error before `;' token
In file included from zm_zone.h:27,
from zm_monitor.h:29,
from zmc.cpp:26:
zm_event.h:32:25: mysql/mysql.h: No such file or directory
make[1]: *** [zmc.o] Error 1
make[1]: Leaving directory `/home/fxscully/unpack/zm-1.21.3/src'
make: *** [install-recursive] Error 1
In my previous squawak, I thought that ZM was looking for older mysql file installations. What I did was just copy the /usr/lib/ entries from the LiveCD install, and, hope for a miracle.
Here is the listing of ls -la mysql*:
/usr/lib:
-rwxr-xr-x 1 root root 307374 2005-10-29 11:06 libmysqlclient.a
-rwxr-xr-x 1 root root 859 2005-10-29 11:06 libmysqlclient.la
-rwxr-xr-x 1 root root 315108 2005-10-29 11:06 libmysqlclient_r.a
-rwxr-xr-x 1 root root 893 2005-10-29 11:06 libmysqlclient_r.la
-rwxr-xr-x 1 root root 217672 2005-10-29 11:06 libmysqlclient_r.so
-rwxr-xr-x 1 root root 217672 2005-10-29 11:06 libmysqlclient_r.so.12
-rwxr-xr-x 1 root root 217672 2005-10-29 11:06 libmysqlclient_r.so.12.0.0
lrwxrwxrwx 1 root root 26 2005-10-28 14:40 libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0
-rwxr-xr-x 1 root root 1068780 2005-03-19 15:05 libmysqlclient_r.so.14.0.0
-rwxr-xr-x 1 root root 212040 2005-10-29 11:06 libmysqlclient.so
-rwxr-xr-x 1 root root 212040 2005-10-29 11:06 libmysqlclient.so.12
-rwxr-xr-x 1 root root 212040 2005-10-29 11:06 libmysqlclient.so.12.0.0
lrwxrwxrwx 1 root root 24 2005-10-28 14:40 libmysqlclient.so.14 -> libmysqlclient.so.14.0.0
-rwxr-xr-x 1 root root 1062952 2005-03-19 15:05 libmysqlclient.so.14.0.0
rpm -q mysql
mysql-4.1.10a-3
The so.12 entries were from the Live CD install.
I had hope to just fake the ZM config request.
One thing I have learned, distro's don't mix.
Linux is not just Linux.
BTW, I am only going through this hell because the windoz packages we have purchased do not work (as promised) - all of them.
make all-recursive
make[1]: Entering directory `/home/fxscully/unpack/zm-1.21.3'
Making all in src
make[2]: Entering directory `/home/fxscully/unpack/zm-1.21.3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/bin/include -I/usr/include/ffmpeg/include -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
In file included from zmc.cpp:25:
zm_db.h:23:25: mysql/mysql.h: No such file or directory
In file included from zmc.cpp:25:
zm_db.h:27: error: syntax error before `;' token
In file included from zm_zone.h:27,
from zm_monitor.h:29,
from zmc.cpp:26:
zm_event.h:32:25: mysql/mysql.h: No such file or directory
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/home/fxscully/unpack/zm-1.21.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fxscully/unpack/zm-1.21.3'
make: *** [all] Error 2
linux:/home/fxscully/unpack/zm-1.21.3 # make install
Making install in src
make[1]: Entering directory `/home/fxscully/unpack/zm-1.21.3/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/bin/include -I/usr/include/ffmpeg/include -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
In file included from zmc.cpp:25:
zm_db.h:23:25: mysql/mysql.h: No such file or directory
In file included from zmc.cpp:25:
zm_db.h:27: error: syntax error before `;' token
In file included from zm_zone.h:27,
from zm_monitor.h:29,
from zmc.cpp:26:
zm_event.h:32:25: mysql/mysql.h: No such file or directory
make[1]: *** [zmc.o] Error 1
make[1]: Leaving directory `/home/fxscully/unpack/zm-1.21.3/src'
make: *** [install-recursive] Error 1
In my previous squawak, I thought that ZM was looking for older mysql file installations. What I did was just copy the /usr/lib/ entries from the LiveCD install, and, hope for a miracle.
Here is the listing of ls -la mysql*:
/usr/lib:
-rwxr-xr-x 1 root root 307374 2005-10-29 11:06 libmysqlclient.a
-rwxr-xr-x 1 root root 859 2005-10-29 11:06 libmysqlclient.la
-rwxr-xr-x 1 root root 315108 2005-10-29 11:06 libmysqlclient_r.a
-rwxr-xr-x 1 root root 893 2005-10-29 11:06 libmysqlclient_r.la
-rwxr-xr-x 1 root root 217672 2005-10-29 11:06 libmysqlclient_r.so
-rwxr-xr-x 1 root root 217672 2005-10-29 11:06 libmysqlclient_r.so.12
-rwxr-xr-x 1 root root 217672 2005-10-29 11:06 libmysqlclient_r.so.12.0.0
lrwxrwxrwx 1 root root 26 2005-10-28 14:40 libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0
-rwxr-xr-x 1 root root 1068780 2005-03-19 15:05 libmysqlclient_r.so.14.0.0
-rwxr-xr-x 1 root root 212040 2005-10-29 11:06 libmysqlclient.so
-rwxr-xr-x 1 root root 212040 2005-10-29 11:06 libmysqlclient.so.12
-rwxr-xr-x 1 root root 212040 2005-10-29 11:06 libmysqlclient.so.12.0.0
lrwxrwxrwx 1 root root 24 2005-10-28 14:40 libmysqlclient.so.14 -> libmysqlclient.so.14.0.0
-rwxr-xr-x 1 root root 1062952 2005-03-19 15:05 libmysqlclient.so.14.0.0
rpm -q mysql
mysql-4.1.10a-3
The so.12 entries were from the Live CD install.
I had hope to just fake the ZM config request.
One thing I have learned, distro's don't mix.
Linux is not just Linux.
BTW, I am only going through this hell because the windoz packages we have purchased do not work (as promised) - all of them.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
mysql lib files
There are two different lib file sets.
The ones w/ the higher #'s were installed by SuSe 9.3.
The install routine squawked for different files, so I just copied them from
the LiveCD that I have, and hoped for the best.
That, obviously, does not work.
I am trying a parallel path(s).
The install from the LiveCD will not do an orderly shutdown on the box I need to use.
SuSe 9.3 (and XandrOS 3.0) does, so, I am trying to get ZM to work w/ the OS that works.
Regards, FXS
The ones w/ the higher #'s were installed by SuSe 9.3.
The install routine squawked for different files, so I just copied them from
the LiveCD that I have, and hoped for the best.
That, obviously, does not work.
I am trying a parallel path(s).
The install from the LiveCD will not do an orderly shutdown on the box I need to use.
SuSe 9.3 (and XandrOS 3.0) does, so, I am trying to get ZM to work w/ the OS that works.
Regards, FXS
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
if you add reboot=bios to the lilo on the live cd system it should reboot
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
ZM & SuSe 9.3
Please to forget my pervious posts.
The k jerk reaction of a semi-hole.
After carefully reviewing the posts & notes, I started over.
I think this is now a valid report of failure.
Here is the last error - everything else had no squawks:
Making install in src
make[1]: Entering directory `/zm/zm-1.21.3/src'
make[2]: Entering directory `/zm/zm-1.21.3/src'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
/usr/bin/install -c 'zmc' '/usr/local/bin/zmc'
/usr/bin/install -c 'zma' '/usr/local/bin/zma'
/usr/bin/install -c 'zmu' '/usr/local/bin/zmu'
/usr/bin/install -c 'zms' '/usr/local/bin/zms'
/usr/bin/install -c 'zmf' '/usr/local/bin/zmf'
/usr/bin/install -c 'zmfix' '/usr/local/bin/zmfix'
make install-exec-hook
make[3]: Entering directory `/zm/zm-1.21.3/src'
( cd /usr/local/bin; mkdir -p /srv/www/cgi-bin; mv zms /srv/www/cgi-bin )
mv: cannot overwrite directory `/srv/www/cgi-bin/zms' with non-directory
make[3]: *** [install-exec-hook] Error 1
make[3]: Leaving directory `/zm/zm-1.21.3/src'
make[2]: *** [install-exec-am] Error 2
make[2]: Leaving directory `/zm/zm-1.21.3/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/zm/zm-1.21.3/src'
make: *** [install-recursive] Error 1
Of course, I have absolutely no idea of what any of this means.
BTW, I saw a reference to SuSE 9.1 on the install of LiveCD.
I believe 9.1 is very broken. Portmapper does not work.
Having purchased almost every rev of SuSE, w/ 9.1, I had to clean the disk and regress. I have been very happy w/ 9.3. IMHO, for what I know (which, obviously, ain't much).
Cheers, FXS
The k jerk reaction of a semi-hole.
After carefully reviewing the posts & notes, I started over.
I think this is now a valid report of failure.
Here is the last error - everything else had no squawks:
Making install in src
make[1]: Entering directory `/zm/zm-1.21.3/src'
make[2]: Entering directory `/zm/zm-1.21.3/src'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
/usr/bin/install -c 'zmc' '/usr/local/bin/zmc'
/usr/bin/install -c 'zma' '/usr/local/bin/zma'
/usr/bin/install -c 'zmu' '/usr/local/bin/zmu'
/usr/bin/install -c 'zms' '/usr/local/bin/zms'
/usr/bin/install -c 'zmf' '/usr/local/bin/zmf'
/usr/bin/install -c 'zmfix' '/usr/local/bin/zmfix'
make install-exec-hook
make[3]: Entering directory `/zm/zm-1.21.3/src'
( cd /usr/local/bin; mkdir -p /srv/www/cgi-bin; mv zms /srv/www/cgi-bin )
mv: cannot overwrite directory `/srv/www/cgi-bin/zms' with non-directory
make[3]: *** [install-exec-hook] Error 1
make[3]: Leaving directory `/zm/zm-1.21.3/src'
make[2]: *** [install-exec-am] Error 2
make[2]: Leaving directory `/zm/zm-1.21.3/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/zm/zm-1.21.3/src'
make: *** [install-recursive] Error 1
Of course, I have absolutely no idea of what any of this means.
BTW, I saw a reference to SuSE 9.1 on the install of LiveCD.
I believe 9.1 is very broken. Portmapper does not work.
Having purchased almost every rev of SuSE, w/ 9.1, I had to clean the disk and regress. I have been very happy w/ 9.3. IMHO, for what I know (which, obviously, ain't much).
Cheers, FXS
This is an odd error. Try checking to make sure that the directory /srv/www/cgi-bin has ben created ( It should have) for some reason the mv command thinks the file is tring to over write the dierctory.( cd /usr/local/bin; mkdir -p /srv/www/cgi-bin; mv zms /srv/www/cgi-bin )
mv: cannot overwrite directory `/srv/www/cgi-bin/zms' with non-directory
I have a few more questions:
What user are you loged in as while compiling and installing?
Have you tried to manualy move the file and if so, does it return the same error?
It acts like there is a directory in /srv/www/cgi-bin named the same as the file (you can't have both in one directory) so is this possible that you have a zms directoy in /srv/www/cgi-bin?
Regards,
Cordel
install fails(?)
You are correct, there was a zms directory. I rmdir 'ed it.
Install seems to go better.
Still a squawk:
chown: `apache:apache': invalid user
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/zm/zm-1.21.3/web/graphics'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/zm/zm-1.21.3/web/graphics'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/zm/zm-1.21.3/web/graphics'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/zm/zm-1.21.3/web'
make: *** [install-recursive] Error 1
I am trying to do all of this a ''root".
If I try as a user, I get "permission denied" flags.
Do I have to create users for Apache?
Install seems to go better.
Still a squawk:
chown: `apache:apache': invalid user
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/zm/zm-1.21.3/web/graphics'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/zm/zm-1.21.3/web/graphics'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/zm/zm-1.21.3/web/graphics'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/zm/zm-1.21.3/web'
make: *** [install-recursive] Error 1
I am trying to do all of this a ''root".
If I try as a user, I get "permission denied" flags.
Do I have to create users for Apache?
Mandrake rebooting - not ZM related
I have a question about this particular subject.jameswilson wrote:if you add reboot=bios to the lilo on the live cd system it should reboot
I have been unable to find any information about the boot options.
I believe they are more properly called kernel options?
Anyway, after lots of internet searching, I found several references to "nolapic" - tried it - It actually makes the HD unbootable!!
I am trying to get Mandrake 10.1 to do an orderly shutdown when the reset button is pressed.
I even tried using the wording I found in XandrOS 3.0
SuSe 9.3 uses a completely different approach - but it works.
Nothing I have tried works.
Anybody have any ideas about this?
Any suggestions would be greatly appreciated.
Thanks FXS