Skip to content

mariadb fails to start: configured pid file location does not exist #346

Description

@drboone

The supplied method script specifies a pid file location in a directory that does not exist, /var/run/mariadb. The method script cannot create the directory because it is already running as mariadb. For mysql, it looks like the approach taken was to place the pid file in /var/mysql, where the daemon does have write access.

Activity

  1. added a commit that references this issue on Dec 19, 2022
  2. added a commit that references this issue on Jan 4, 2023
  3. drboone commented on Jan 13, 2023

    @drboone
    Author

    Worse and furthermore, the pid file location hard coded in the method script causes mariadb to ignore a pid_file=/x/y directive in its config file.

  4. self-assigned this
    on Jan 14, 2023
  5. jperkin commented on Jan 14, 2023

    @jperkin
    Collaborator

    Sorry I missed this! Will get it fixed on Monday and backport to 2022Q4.

  6. added a commit that references this issue on Jan 28, 2023
  7. jperkin commented on Feb 10, 2023

    @jperkin
    Collaborator

    Thanks, fixed in 9d5bb66

  8. added 2 commits that reference this issue on Mar 12, 2023
    51b6d9a
    be6d506
  9. added a commit that references this issue on Jun 2, 2023
  10. added a commit that references this issue on Sep 2, 2023
  11. added a commit that references this issue on Oct 11, 2023
  12. 25 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions