Skip to content

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

@john-r2

Description

@john-r2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions