SQL Server not starting.

    • OMV 2.x

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

    • SQL Server not starting.

      This is the error i get.. I dunno where to start, but what does teamspeak have to do with the SQL?

      There are also some errors regarding mysql when i update packages with the updateservice. I think it may have been a recent mysql update, when the errors first showed..(?)

      Failed
      to execute command 'export LANG=C; update-rc.d 'mysql' disable
      2>&1': update-rc.d: using dependency based boot sequencing
      insserv: warning: current start runlevel(s) (empty) of script `mysql'
      overrides LSB defaults (2 3 4 5).
      insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script
      `mysql' overrides LSB defaults (0 1 6).
      insserv: Script teamspeak is broken: incomplete LSB comment.
      insserv: missing `Provides:' entry: please add.
      insserv: missing `Required-Start:' entry: please add even if empty.
      insserv: missing `Required-Stop:' entry: please add even if empty.
      insserv: missing `Default-Start:' entry: please add even if empty.
      insserv: missing `Default-Stop:' entry: please add even if empty.
      insserv: Default-Start undefined, assuming empty start runlevel(s) for
      script `teamspeak'
      insserv: Default-Stop undefined, assuming empty stop runlevel(s) for
      script `teamspeak'
      insserv: warning: script 'arkdaemon' missing LSB tags and overrides
      insserv: There is a loop between service openmediavault-beep and
      arkdaemon if stopped
      insserv: loop involving service arkdaemon at depth 2
      insserv: loop involving service openmediavault-beep at depth 1
      insserv: Stopping arkdaemon depends on openmediavault-beep and therefore
      on system facility `$all' which can not be true!
      insserv: exiting now without changing boot order!
      update-rc.d: error: insserv rejected the script header

      Feil #4000:
      exception 'OMVException' with message 'Failed to execute command 'export LANG=C; update-rc.d 'mysql' disable 2>&1': update-rc.d: using dependency based boot sequencing
      insserv: warning: current start runlevel(s) (empty) of script `mysql' overrides LSB defaults (2 3 4 5).
      insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `mysql' overrides LSB defaults (0 1 6).
      insserv: Script teamspeak is broken: incomplete LSB comment.
      insserv: missing `Provides:' entry: please add.
      insserv: missing `Required-Start:' entry: please add even if empty.
      insserv: missing `Required-Stop:' entry: please add even if empty.
      insserv: missing `Default-Start:' entry: please add even if empty.
      insserv: missing `Default-Stop:' entry: please add even if empty.
      insserv: Default-Start undefined, assuming empty start runlevel(s) for script `teamspeak'
      insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `teamspeak'
      insserv: warning: script 'arkdaemon' missing LSB tags and overrides
      insserv: There is a loop between service openmediavault-beep and arkdaemon if stopped
      insserv: loop involving service arkdaemon at depth 2
      insserv: loop involving service openmediavault-beep at depth 1
      insserv: Stopping arkdaemon depends on openmediavault-beep and therefore on system facility `$all' which can not be true!
      insserv: exiting now without changing boot order!
      update-rc.d: error: insserv rejected the script header' in /usr/share/php/openmediavault/initscript.inc:90
      Stack trace:
      #0 /usr/share/php/openmediavault/initscript.inc(56): OMVSysVInitScript->update(true)
      #1 /usr/share/openmediavault/engined/module/mysql.inc(126): OMVSysVInitScript->exec()
      #2 /usr/share/openmediavault/engined/rpc/config.inc(164): OMVModuleMySQL->stopService()
      #3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      #4 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #5 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
      #6 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
      #7 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      #8 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #9 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
      #10 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
      #11 {main}


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

    • Yeah.. I copyed the script from this forum and when i ran

      /etc/init.d$ sudo update-rc.d teamspeak defaults

      I get this
      /etc/init.d$ sudo update-rc.d teamspeak defaults
      update-rc.d: using dependency based boot sequencing
      insserv: warning: script 'arkdaemon' missing LSB tags and overrides
      insserv: There is a loop between service openmediavault-beep and arkdaemon if stopped
      insserv: loop involving service arkdaemon at depth 2
      insserv: loop involving service openmediavault-beep at depth 1
      insserv: Stopping arkdaemon depends on openmediavault-beep and therefore on system facility `$all' which can not be true!
      insserv: exiting now without changing boot order!
      update-rc.d: error: insserv rejected the script header


      And when i try to start mysql i get the error in the first post still.. Err.. So..

      Edit:

      Removing and installing MySQL didnt help. Encountered errors when doing both:
      No errors showing when its gone tho... Exept it still wants to install mysql-server-5.5 when installing a random plugin..
      dpkg: error processing mysql-server (--configure):
      dependency problems - leaving unconfigured
      Errors were encountered while processing:
      mysql-server-5.5
      mysql-server

      The post was edited 3 times, last by silvrblue ().

    • I missed it in your first post but it looks like the arkdaemon script is causing the problems. No idea what arkdaemon is...
      omv 4.1.8.2 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.8
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • Reinstalled. Fresh install. Enabeling SQL management site:

      Failed to execute command 'export LANG=C; invoke-rc.d 'mysql' stop 2>&1': Stopping MySQL database server: mysqld failed!
      invoke-rc.d: initscript mysql, action "stop" failed.

      Error #4000:
      exception 'OMVException' with message 'Failed to execute command 'export LANG=C; invoke-rc.d 'mysql' stop 2>&1': Stopping MySQL database server: mysqld failed!
      invoke-rc.d: initscript mysql, action "stop" failed.' in /usr/share/php/openmediavault/initscript.inc:176
      Stack trace:
      #0 /usr/share/php/openmediavault/initscript.inc(148): OMVSysVInitScript->invoke('stop')
      #1 /usr/share/php/openmediavault/initscript.inc(53): OMVSysVInitScript->stop()
      #2 /usr/share/openmediavault/engined/module/mysql.inc(126): OMVSysVInitScript->exec()
      #3 /usr/share/openmediavault/engined/rpc/config.inc(164): OMVModuleMySQL->stopService()
      #4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      #5 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #6 /usr/share/php/openmediavault/rpcservice.inc(158): OMVRpcServiceAbstract->callMethod('applyChanges', Array, Array)
      #7 /usr/share/openmediavault/engined/rpc/config.inc(224): OMVRpcServiceAbstract->callMethodBg('applyChanges', Array, Array)
      #8 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
      #9 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      #10 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('applyChangesBg', Array, Array)
      #11 /usr/sbin/omv-engined(500): OMVRpc::exec('Config', 'applyChangesBg', Array, Array, 1)
      #12 {main}



      Now at least it is running.. But i guess i cant make the users i need, unless they are already in the data folder from the last database... (?)

      Yes, it did read databases and users from last installation. :)
      Temporary workaround for changing the bind ip:
      /etc/mysql/conf.d/openmediavault-mysql.cnf

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