Can't install MySQL plugin

    • Resolved
    • OMV 1.0

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Can't install MySQL plugin

      I tried to install the mysql plugin but it gave me this error:


      Reading package lists...
      Building dependency tree...
      Reading state information...
      The following extra packages will be installed:
      libdbd-mysql-perl libmysqlclient18 mysql-client-5.5 mysql-server
      mysql-server-5.5 mywebsql php5-mysqlnd
      Suggested packages:
      libterm-readkey-perl tinyca
      Recommended packages:
      libhtml-template-perl
      The following NEW packages will be installed:
      libdbd-mysql-perl libmysqlclient18 mysql-client-5.5 mysql-server
      mysql-server-5.5 mywebsql openmediavault-mysql php5-mysqlnd
      0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
      Need to get 0 B/6312 kB of archives.
      After this operation, 79.2 MB of additional disk space will be used.
      WARNING: The following packages cannot be authenticated!
      libmysqlclient18 libdbd-mysql-perl mysql-client-5.5 mysql-server-5.5
      php5-mysqlnd mysql-server openmediavault-mysql mywebsql
      Preconfiguring packages ...
      Authentication warning overridden.
      Selecting previously unselected package libmysqlclient18:amd64.
      (Reading database ... 42609 files and directories currently installed.)
      Unpacking libmysqlclient18:amd64 (from .../libmysqlclient18_5.5.40-0+wheezy1_amd64.deb) ...
      Selecting previously unselected package libdbd-mysql-perl.
      Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.021-1+b1_amd64.deb) ...
      Selecting previously unselected package mysql-client-5.5.
      Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.40-0+wheezy1_amd64.deb) ...
      Selecting previously unselected package mysql-server-5.5.
      Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.40-0+wheezy1_amd64.deb) ...
      egrep: /etc/mysql/: No such file or directory
      Selecting previously unselected package php5-mysqlnd.
      Unpacking php5-mysqlnd (from .../php5-mysqlnd_5.4.36-0+deb7u3_amd64.deb) ...
      Selecting previously unselected package mysql-server.
      Unpacking mysql-server (from .../mysql-server_5.5.40-0+wheezy1_all.deb) ...
      Selecting previously unselected package openmediavault-mysql.
      Unpacking openmediavault-mysql (from .../openmediavault-mysql_1.0.13_all.deb) ...
      Selecting previously unselected package mywebsql.
      Unpacking mywebsql (from .../mywebsql_3.6-omv1_all.deb) ...
      Processing triggers for man-db ...
      Processing triggers for php5-fpm ...
      Restarting PHP5 FastCGI Process Manager: php5-fpm.
      Processing triggers for openmediavault ...
      Restarting engine daemon ...
      Setting up libmysqlclient18:amd64 (5.5.40-0+wheezy1) ...
      Setting up libdbd-mysql-perl (4.021-1+b1) ...
      Setting up mysql-client-5.5 (5.5.40-0+wheezy1) ...
      Setting up mysql-server-5.5 (5.5.40-0+wheezy1) ...
      Stopping MySQL database server: mysqld.
      /etc/init.d/mysql: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz ... (warning).
      Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
      invoke-rc.d: initscript mysql, action "start" failed.
      dpkg: error processing mysql-server-5.5 (--configure):
      subprocess installed post-installation script returned error exit status 1
      Setting up php5-mysqlnd (5.4.36-0+deb7u3) ...

      Creating config file /etc/php5/mods-available/mysqlnd.ini with new version

      Creating config file /etc/php5/mods-available/mysql.ini with new version

      Creating config file /etc/php5/mods-available/mysqli.ini with new version

      Creating config file /etc/php5/mods-available/pdo_mysql.ini with new version
      dpkg: dependency problems prevent configuration of mysql-server:
      mysql-server depends on mysql-server-5.5; however:
      Package mysql-server-5.5 is not configured yet.

      dpkg: error processing mysql-server (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of openmediavault-mysql:
      openmediavault-mysql depends on mysql-server; however:
      Package mysql-server is not configured yet.

      dpkg: error processing openmediavault-mysql (--configure):
      dependency problems - leaving unconfigured
      dpkg: dependency problems prevent configuration of mywebsql:
      mywebsql depends on openmediavault-mysql (>= 1.0.5); however:
      Package openmediavault-mysql is not configured yet.

      dpkg: error processing mywebsql (--configure):
      dependency problems - leaving unconfigured
      Processing triggers for php5-fpm ...
      Restarting PHP5 FastCGI Process Manager: php5-fpm.
      Errors were encountered while processing:
      mysql-server-5.5
      mysql-server
      openmediavault-mysql
      mywebsql
    • Another after closing and open the webgui:

      Error #3003:
      exception 'OMVException' with message 'Failed to get configuration (xpath=//services/mysql)' in /usr/share/openmediavault/engined/rpc/mysql.inc:68
      Stack trace:
      #0 [internal function]: OMVRpcServiceMySQL->getSettings(NULL, Array)
      #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getSettings', NULL, Array)
      #3 /usr/sbin/omv-engined(500): OMVRpc::exec('MySql', 'getSettings', NULL, Array, 1)
      #4 {main}
    • Error while setting up a new folder.
      - went to shared folders and created a new
      - went to mysql, activeio and assigns the said folder (directory), but gave this error:

      -----------------

      Erro #4000:
      exception 'OMVException' with message 'Failed to execute command 'omv-mkconf mysql 2>&1': Unable to get current database location.' in /usr/share/openmediavault/engined/module/mysql.inc:88
      Stack trace:
      #0 /usr/share/openmediavault/engined/rpc/config.inc(180): OMVModuleMySQL->applyConfig()
      #1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
      #4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
      #5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      #6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
      #8 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
      #9 {main}
    • web gui already installed

      I sent off and went back to install the plugin

      when I activate it and assigns the directory to the folder gave this error:

      Erro #4000:
      exception 'OMVException' with message 'Failed to execute command 'omv-mkconf mysql 2>&1': Unable to get current database location.' in /usr/share/openmediavault/engined/module/mysql.inc:88
      Stack trace:
      #0 /usr/share/openmediavault/engined/rpc/config.inc(180): OMVModuleMySQL->applyConfig()
      #1 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      #2 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #3 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
      #4 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
      #5 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      #6 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #7 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
      #8 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
      #9 {main}

      The post was edited 1 time, last by Carlos05 ().