From: Dmitry <dk@junkeria.club>
To: 74960@debbugs.gnu.org
Subject: bug#74960: mysql-service-type is not starting
Date: Wed, 18 Dec 2024 20:46:06 +0300 [thread overview]
Message-ID: <6azr2lea2enq4vnnvbmptiyyc56ts2yh7c7lzxkcasasfuknj2@jb2dsmlzsynr> (raw)
I'm trying to use a simple system with `mysql-service-type` with "guix system container", but I found out that `mysql-service-type` is not starting.
$> guix system container mysql-test-system.scm
system file: cat mysql-test-system.scm
(use-modules (gnu)
(gnu services)
(gnu services shepherd))
(use-service-modules databases)
(operating-system
(locale "en_US.utf8")
(timezone "Europe/Berlin")
(host-name "example.org")
(services (append %base-services
(list
(service mysql-service-type))))
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))
(keyboard-layout keyboard-layout)))
(file-systems %base-file-systems))
ERROR: cat /var/log/mysqld.log
2024-12-18 18:01:51 chown: cannot access '/auth_pam_tool_dir/auth_pam_tool': No such file or directory
2024-12-18 18:01:51 Couldn't set an owner to '/auth_pam_tool_dir/auth_pam_tool'.
2024-12-18 18:01:51 It must be root, the PAM authentication plugin doesn't work otherwise..
2024-12-18 18:01:51
2024-12-18 18:01:51 chown: cannot access '/auth_pam_tool_dir': No such file or directory
2024-12-18 18:01:51 Cannot change ownership of the '/auth_pam_tool_dir' directory
2024-12-18 18:01:51 to the 'mysql' user. Check that you have the necessary permissions and try again.
2024-12-18 18:01:51
2024-12-18 18:01:51 Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] mariadbd: Can't create/write to file '/var/lib/mysql/aria_log_control' (Errcode: 13 "Permission denied")
2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] mariadbd: Got error 'Can't create file' when trying to use aria control file '/var/lib/mysql/aria_log_control'
2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] Plugin 'Aria' init function returned error.
2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] Failed to initialize plugins.
2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] Aborting
2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] InnoDB: Cannot open '/var/lib/mysql/ib_buffer_pool.incomplete' for writing: Permission denied
2024-12-18 18:01:51 cat: write error: Broken pipe
2024-12-18 18:01:51 cat: write error: Broken pipe
2024-12-18 18:01:51
2024-12-18 18:01:51 Installation of system tables failed! Examine the logs in
2024-12-18 18:01:51 /var/lib/mysql for more information.
reply other threads:[~2024-12-19 15:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6azr2lea2enq4vnnvbmptiyyc56ts2yh7c7lzxkcasasfuknj2@jb2dsmlzsynr \
--to=dk@junkeria.club \
--cc=74960@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).