systemd status=127 for /usr/bin/install when trying to start MariaDB












0














I just upgraded my MariaDB installation to 10.2.

When I now try to start the service, it tells me it failed an checking the status shows me this rather strange message:



root@server # systemctl status mariadb
* mariadb.service - MariaDB 10.2.20 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/mariadb.service.d
`-migrated-from-my.cnf-settings.conf
Active: failed (Result: exit-code) since Wed 2018-12-26 01:54:50 CET; 9min ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 13690 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=127)
Main PID: 10811 (code=exited, status=0/SUCCESS)
CPU: 0

Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: Starting MariaDB 10.2.20 database server...
Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Control process exited, code=exited status=127
Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: Failed to start MariaDB 10.2.20 database server.
Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Unit entered failed state.
Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Failed with result 'exit-code'.


Not that it says that ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=127) (checking the mariabd.service file it is configured to run the Pre and Post start steps as root) returned the status code 127. From my knowledge that means command not found.

Running that exact same command manually as root just straight up works for me with exit status 0.



Also running mysqld_safe and mysqld works. So nothing wrong there.










share|improve this question



























    0














    I just upgraded my MariaDB installation to 10.2.

    When I now try to start the service, it tells me it failed an checking the status shows me this rather strange message:



    root@server # systemctl status mariadb
    * mariadb.service - MariaDB 10.2.20 database server
    Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/mariadb.service.d
    `-migrated-from-my.cnf-settings.conf
    Active: failed (Result: exit-code) since Wed 2018-12-26 01:54:50 CET; 9min ago
    Docs: man:mysqld(8)
    https://mariadb.com/kb/en/library/systemd/
    Process: 13690 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=127)
    Main PID: 10811 (code=exited, status=0/SUCCESS)
    CPU: 0

    Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: Starting MariaDB 10.2.20 database server...
    Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Control process exited, code=exited status=127
    Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: Failed to start MariaDB 10.2.20 database server.
    Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Unit entered failed state.
    Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Failed with result 'exit-code'.


    Not that it says that ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=127) (checking the mariabd.service file it is configured to run the Pre and Post start steps as root) returned the status code 127. From my knowledge that means command not found.

    Running that exact same command manually as root just straight up works for me with exit status 0.



    Also running mysqld_safe and mysqld works. So nothing wrong there.










    share|improve this question

























      0












      0








      0







      I just upgraded my MariaDB installation to 10.2.

      When I now try to start the service, it tells me it failed an checking the status shows me this rather strange message:



      root@server # systemctl status mariadb
      * mariadb.service - MariaDB 10.2.20 database server
      Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
      Drop-In: /etc/systemd/system/mariadb.service.d
      `-migrated-from-my.cnf-settings.conf
      Active: failed (Result: exit-code) since Wed 2018-12-26 01:54:50 CET; 9min ago
      Docs: man:mysqld(8)
      https://mariadb.com/kb/en/library/systemd/
      Process: 13690 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=127)
      Main PID: 10811 (code=exited, status=0/SUCCESS)
      CPU: 0

      Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: Starting MariaDB 10.2.20 database server...
      Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Control process exited, code=exited status=127
      Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: Failed to start MariaDB 10.2.20 database server.
      Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Unit entered failed state.
      Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Failed with result 'exit-code'.


      Not that it says that ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=127) (checking the mariabd.service file it is configured to run the Pre and Post start steps as root) returned the status code 127. From my knowledge that means command not found.

      Running that exact same command manually as root just straight up works for me with exit status 0.



      Also running mysqld_safe and mysqld works. So nothing wrong there.










      share|improve this question













      I just upgraded my MariaDB installation to 10.2.

      When I now try to start the service, it tells me it failed an checking the status shows me this rather strange message:



      root@server # systemctl status mariadb
      * mariadb.service - MariaDB 10.2.20 database server
      Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
      Drop-In: /etc/systemd/system/mariadb.service.d
      `-migrated-from-my.cnf-settings.conf
      Active: failed (Result: exit-code) since Wed 2018-12-26 01:54:50 CET; 9min ago
      Docs: man:mysqld(8)
      https://mariadb.com/kb/en/library/systemd/
      Process: 13690 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=127)
      Main PID: 10811 (code=exited, status=0/SUCCESS)
      CPU: 0

      Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: Starting MariaDB 10.2.20 database server...
      Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Control process exited, code=exited status=127
      Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: Failed to start MariaDB 10.2.20 database server.
      Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Unit entered failed state.
      Dec 26 01:54:50 mc1.root.project-creative.de systemd[1]: mariadb.service: Failed with result 'exit-code'.


      Not that it says that ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=127) (checking the mariabd.service file it is configured to run the Pre and Post start steps as root) returned the status code 127. From my knowledge that means command not found.

      Running that exact same command manually as root just straight up works for me with exit status 0.



      Also running mysqld_safe and mysqld works. So nothing wrong there.







      systemd services return-status mariadb






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 10 mins ago









      BrainStone

      1,14871941




      1,14871941



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f490916%2fsystemd-status-127-for-usr-bin-install-when-trying-to-start-mariadb%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f490916%2fsystemd-status-127-for-usr-bin-install-when-trying-to-start-mariadb%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Entries order in /etc/network/interfaces

          新発田市

          Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)