-
Notifications
You must be signed in to change notification settings - Fork 11
Description
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