Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72003 - ZoneMinder console failed to start
Summary: ZoneMinder console failed to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Web-apps project
URL:
Whiteboard:
Keywords:
: 72004 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-21 18:24 UTC by Jakub Sadowski
Modified: 2005-07-07 11:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Sadowski 2004-11-21 18:24:30 UTC
When trying to start the zoneminder console it would fail, resulting in an error message in /var/log/zoneminder/zmpkg.log.

Reproducible: Always
Steps to Reproduce:
1. Emerge and configure ZoneMinder
2. Go to the zoneminder console main page and click "Start"
3. View the contents of /var/log/zoneminder/zmpkg.log

Actual Results:  
Saw the following error in the log file:
Executing: /usr/bin/zmdc.pl check
Executing: /usr/bin/zmfix
Executing: /usr/bin/zmdc.pl status
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains:
/etc/perl /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i686-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.2/i686-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.5/i686-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/local/lib/site_perl /usr/lib/perl5/site_perl/5.8.4/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.2/i686-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2) at (eval 1) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, Sponge.
 at /usr/bin/zmpkg.pl line 127

Expected Results:  
Zoneminder console should have started.

Emerged DBD-mysql and the problem was fixed.  DBD-mysql needs to be added as a
dependency for ZoneMinder!

$(uname -r)
2.6.8-ck8

CFLAGS="-O3 -march=pentium3 -fforce-addr -mmmx -msse -mfpmath=sse
-momit-leaf-frame-pointer -minline-all-stringops -maccumulate-outgoing-args -pipe"
USE="ithreads 3dfx aalib accessibility acl acpi adns aim alsa apache2 atlas
audiofile avi bcmath berkdb bidi bonobo bzlib calendar cdr cpdflib crypt cscope
cups curl curlwrappers dga directfbdivx4linux -doc dvb dvd dvdr encode ethereal
evo exif fam fastcgi fbcon fftw flac flash foomaticdb ftp gb gd gdbm ggi gif
ginac gmp gnome gnutls gphoto2 gpm gps gstreamer gtk2 gtkhtml guile iconv icq
imagemagick imap imagemagick imlib innodb -iodbc ipv6 jabber jack java jikes
joystick jpeg kde kerberos krb4 ladcca lcms ldap libgda libwww lirc mad mcal
mcve mikmod mime ming mmap mmx mng mozilla mpeg mpi msn mysql -mysqli nas
ncurses nis nls nocd odbc offensive oggvorbis openal opengl oscar pam pcntl pcre
pda pdflib pfpro perl php pie plotutils png posix postgres ppds prelude python
qt quicktime readline recode ruby samba sasl scanner sdl shared sharedmem
simplexmlslp snmp soap sockets speex spell spl sse ssl svg svga sysvipc szip
tcltk tcpd tetex theora tidy tiff truetype unicode usb videos wmf wxwindows
xface X Xaw3d xine xinerama xosd xml2 xmlrpc xmms xosd xpm xsl xv xvid yahoo zeo
zlib -arts -esd"
ACCEPT_KEYWORDS="~x86"
make.profile -> /usr/portage/profiles/default-linux/x86/2004.3/
Comment 1 Jakub Sadowski 2004-11-21 18:26:48 UTC
Forgot package versions used:
ZoneMinder 0.9.12
Apache 2.0.52-r1
PHP 5.0.2-r1

Emerged to fix it:
DBD-mysql 2.9003
Comment 2 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2004-11-21 18:53:25 UTC
*** Bug 72004 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-11-22 04:24:29 UTC
RDEPEND added Thanks for the bug report.

New version available 1.19.5 and it seems to be a webaoo.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2004-11-22 04:25:32 UTC
RDEPEND added Thanks for the bug report.

New version available 1.19.5 and it seems to be a webapp.
Comment 5 Renat Lumpau (RETIRED) gentoo-dev 2005-07-07 11:53:56 UTC
1.21.2 is in CVS, please test