all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#74960: mysql-service-type is not starting
@ 2024-12-18 17:46 Dmitry
  0 siblings, 0 replies; only message in thread
From: Dmitry @ 2024-12-18 17:46 UTC (permalink / raw)
  To: 74960

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.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-19 15:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18 17:46 bug#74960: mysql-service-type is not starting Dmitry

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.