Page 1 of 1
zm will not not load after debian upgrade to etch
Posted: Fri Apr 27, 2007 12:33 am
by juju_bean
Zoneminder has been running great on a server for quite a while. I did an aptitude upgrade which took my debian version to etch. Now when I try to start zm i get this in the zmpkg.log
04/26/2007 20:18:30.664862 zmpkg[17162].INF [Command: start]
04/26/2007 20:18:31.490567 zmpkg[17162].ERR [Unable to run "sudo -u www-data /usr/local/bin/zmfix", output is ""]
I can access the zm web page, but the source devices are red. I have no video (because of the zmfix error, I suppose).
I've searched the forums, and went from version 1.22.2 to 1.22.3 by recompiling, installing.
Nothing seems to help. Been at this for 2 days now.
I do know there were ALOT of debian packages that were removed and flagged as untrusted during the upgrade.
Posted: Fri Apr 27, 2007 1:50 am
by PeterHoward
Can you try running the zmfix line from the command line and see if there's any more useful messages?
i.e. "sudo -u www-data /usr/local/bin/zmfix"
Re: zm will not not load after debian upgrade to etch
Posted: Fri Apr 27, 2007 11:16 am
by babba
juju_bean wrote:Zoneminder has been running great on a server for quite a while. I did an aptitude upgrade which took my debian version to etch. Now when I try to start zm i get this in the zmpkg.log
04/26/2007 20:18:30.664862 zmpkg[17162].INF [Command: start]
04/26/2007 20:18:31.490567 zmpkg[17162].ERR [Unable to run "sudo -u www-data /usr/local/bin/zmfix", output is ""]
I can access the zm web page, but the source devices are red. I have no video (because of the zmfix error, I suppose).
I've searched the forums, and went from version 1.22.2 to 1.22.3 by recompiling, installing.
Nothing seems to help. Been at this for 2 days now.
I do know there were ALOT of debian packages that were removed and flagged as untrusted during the upgrade.
@ juju_bean - You are not allone - I've got the same problem, but have not had the time to dig into it.
Will try tonight the recommendation from Peter.
Greetings from Wiesbaden/Germany
babba
Posted: Fri Apr 27, 2007 5:43 pm
by majik-br
we need help! mine is working but no user authenticating ... disabled it, but can't leave it this way ...
Posted: Fri Apr 27, 2007 9:05 pm
by babba
PeterHoward wrote:Can you try running the zmfix line from the command line and see if there's any more useful messages?
i.e. "sudo -u www-data /usr/local/bin/zmfix"
hm - strange - when I enter above command into the terminal window - it returns:
/usr/local/bin/zmfix: error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory
What to do now?
babba
no output
Posted: Fri Apr 27, 2007 11:27 pm
by juju_bean
Much like most of the posts I've seen, when I run
sudo -u www-data /usr/local/bin/zmfix
I get no output.
As in:
xxxxxxxxxx:~# sudo -u www-data /usr/local/bin/zmfix
xxxxxxxxxx:~#
I've read that zmfix runs setuid which WAS deleted by the debain 4 upgrade. I re-installed the <super> package. I still get the same results.
I also had the Login problem (going back to the Login prompt without longing in). I found a fix in the forums. There's an issue upgrading mysql from 4 to 5, I think. Search the forums for "Login broken" by donatmote.
need the libmysqlclient15-dev?
Posted: Fri Apr 27, 2007 11:31 pm
by juju_bean
babba wrote:PeterHoward wrote:Can you try running the zmfix line from the command line and see if there's any more useful messages?
i.e. "sudo -u www-data /usr/local/bin/zmfix"
hm - strange - when I enter above command into the terminal window - it returns:
/usr/local/bin/zmfix: error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory
What to do now?
babba
There is a libmysqlclient.so file in the stable package libmysqlclient15-dev. Perhaps you need to install this package?
Re: need the libmysqlclient15-dev?
Posted: Sat Apr 28, 2007 4:48 am
by PeterHoward
juju_bean wrote:babba wrote:PeterHoward wrote:Can you try running the zmfix line from the command line and see if there's any more useful messages?
i.e. "sudo -u www-data /usr/local/bin/zmfix"
hm - strange - when I enter above command into the terminal window - it returns:
/usr/local/bin/zmfix: error while loading shared libraries: libmysqlclient.so.12: cannot open shared object file: No such file or directory
What to do now?
babba
There is a libmysqlclient.so file in the stable package libmysqlclient15-dev. Perhaps you need to install this package?
Hopefully you don't need the -dev package . . . the one you want is either libmysqlclient15 or mysqlclient15off (that's what ubuntu calls it) running "apt-cache search libmysqlclient" should show up what's available.
Re: need the libmysqlclient15-dev?
Posted: Sat Apr 28, 2007 12:52 pm
by babba
PeterHoward wrote:Hopefully you don't need the -dev package . . . the one you want is either libmysqlclient15 or mysqlclient15off (that's what ubuntu calls it) running "apt-cache search libmysqlclient" should show up what's available.
The package manager of my Ubuntu 7.04 claims that libmysqlclient15off is present - I am lost now
Any hint is appreciated
Greetings
babba
Posted: Sun Apr 29, 2007 10:30 pm
by sgn
apt-get install libmysqlclient15-dev, I suppose?
no, you need libmysqlclient12
Posted: Mon Apr 30, 2007 1:56 am
by PeterHoward
babba wrote:PeterHoward wrote:Hopefully you don't need the -dev package . . . the one you want is either libmysqlclient15 or mysqlclient15off (that's what ubuntu calls it) running "apt-cache search libmysqlclient" should show up what's available.
The package manager of my Ubuntu 7.04 claims that libmysqlclient15off is present - I am lost now
Any hint is appreciated
Greetings
babba
I just noticed the key point from above :
Did you build you install of zoneminder from source? If so you're going to have to rebuild it.
/usr/local/bin/zmfix: error while loading shared libraries: libmysqlclient.so.12
It is asking explicitly for libmysqlclient12 - which is a different (earlier) package to libmysqlclient15.
Did you build this zoneminder install from source? If so you're going to have to rebuild it, or see if libmysqlclient12 is still available.
still stuck
Posted: Tue May 01, 2007 7:58 pm
by juju_bean
So, anyone have any ideas on why zmfix stopped working with the debian 4 etch upgrade
more info
Posted: Tue May 01, 2007 9:17 pm
by juju_bean
when i run zmfix via gdb i get:
(gdb) run
Starting program: /usr/local/bin/zmfix
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1219536096 (LWP 20320)]
Program exited with code 0343.
what is code 0343?
why is it giving a "Failed to read a valid object file image from memory."?
thanks for the help.
even more info
Posted: Tue May 01, 2007 10:28 pm
by juju_bean
i get this while running zmu through gdb:
(gdb) run
Starting program: /usr/local/bin/zmu
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread -1219622048 (LWP 22487)]
Program exited with code 0343.
ZM User Login problems after upgrade
Posted: Thu May 10, 2007 3:21 pm
by Mosquiton
majik-br did you or any one else find the user authentication problem? I have the same problem after an Ubuntu 6.10 to 7.04 upgrade. I did rebuild from source and the rest of the system looks like its working. The zmc is dumping jpgs in the monitor directories, zma is running, and it looks like the frames table is updating so I don't think it's that libmysqlclient12~15 change. My only problem seems to be user login.
Thanks!