zm will not not load after debian upgrade to etch
zm will not not load after debian upgrade to etch
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.
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.
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
Re: zm will not not load after debian upgrade to etch
@ juju_bean - You are not allone - I've got the same problem, but have not had the time to dig into it.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.
Will try tonight the recommendation from Peter.
Greetings from Wiesbaden/Germany
babba
hm - strange - when I enter above command into the terminal window - it returns: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"
/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
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.
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?
There is a libmysqlclient.so file in the stable package libmysqlclient15-dev. Perhaps you need to install this package?babba wrote:hm - strange - when I enter above command into the terminal window - it returns: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"
/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
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
Re: need the libmysqlclient15-dev?
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.juju_bean wrote:There is a libmysqlclient.so file in the stable package libmysqlclient15-dev. Perhaps you need to install this package?babba wrote:hm - strange - when I enter above command into the terminal window - it returns: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"
/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
Re: need the libmysqlclient15-dev?
The package manager of my Ubuntu 7.04 claims that libmysqlclient15off is present - I am lost nowPeterHoward 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.
Any hint is appreciated
Greetings
babba
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
no, you need libmysqlclient12
I just noticed the key point from above :babba wrote:The package manager of my Ubuntu 7.04 claims that libmysqlclient15off is present - I am lost nowPeterHoward 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.
Any hint is appreciated
Greetings
babba
It is asking explicitly for libmysqlclient12 - which is a different (earlier) package to libmysqlclient15.
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
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
So, anyone have any ideas on why zmfix stopped working with the debian 4 etch upgrade
more info
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.
(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
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.
(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
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!
Thanks!