Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: 5.5.38-galera
    • Fix Version/s: N/A
    • Component/s: None
    • Labels:
      None
    • Environment:
      FreeBSD 10-RELEASE-p7 amd64, jailed

      Description

      Just set up a dedicated database jail running databases/mariadb55-server port and for some reason it won't start on demand nor on boot.

      1. service mysql-server start
        Starting mysql.
        /usr/sbin/daemon: Permission denied
        /usr/local/etc/rc.d/mysql-server: WARNING: failed to start mysql

      Could anyone help debug?

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            You should start by locating your MariaDB server error log and checking its contents. Typically, the error log would be either a separate file in the datadir, or written into syslog or its analogue. Find the log, try to start the service, wait till it fails, copy-paste all new contents of the log.

            Show
            elenst Elena Stepanova added a comment - You should start by locating your MariaDB server error log and checking its contents. Typically, the error log would be either a separate file in the datadir, or written into syslog or its analogue. Find the log, try to start the service, wait till it fails, copy-paste all new contents of the log.
            Hide
            pentago Goran Tepsic added a comment -

            Seems the problem were the basejail permissions. One of directories had a bit tighter permissions and after i made the more sane and restarted jails mariadb service started and works as intended.

            Learnt a valuable lesson today.
            Thanks for your help though!

            Show
            pentago Goran Tepsic added a comment - Seems the problem were the basejail permissions. One of directories had a bit tighter permissions and after i made the more sane and restarted jails mariadb service started and works as intended. Learnt a valuable lesson today. Thanks for your help though!

              People

              • Assignee:
                Unassigned
                Reporter:
                pentago Goran Tepsic
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: