leonward / OpenFPC

OpenFPC, Open Source Full Packet Capture
http://www.openfpc.org
70 stars 10 forks source link

OpenFPC Connection Uploader fails to start with mysql error--missing dependency #14

Open john-r2 opened 5 years ago

john-r2 commented 5 years ago

on start, this happens with openfpc:

brcc@openfpc:~/OpenFPC$ sudo ./openfpc --action start Starting Daemonlogger (Default_Node)... Done Starting OpenFPC Queue Daemon (Default_Node)... Done Starting OpenFPC cxtracker (Default_Node)... Failed Starting OpenFPC Connection Uploader (Default_Node) ...

install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (you may need to install the DBD::mysql module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu /perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at (eval 10) 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, Gofer, Proxy, Sponge. at /usr/bin/openfpc-cx2db line 137. Failed

Fix: Install Missing Dependency sudo apt-get install libdbd-mysql-perl

from https://stackoverflow.com/questions/17144583/dbd-mysql-installed-but-still-error-install-drivermysql-failed-cant-locate