Hi!
Nun das nächste Problem:
Wärend der Instakation der Rolle epgd startet MaraDB nicht:
Code
dw@vdr:~/yavdr-ansible$ sudo -H ansible-playbook yavdr07.yml -b -i 'localhost_inventory' --connection=local --tags="epgd"
[sudo] password for dw:
PLAY [set up yaVDR] **************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************
ok: [localhost]
TASK [collect-facts : get information about usb and pci hardware and loaded kernel modules] **************************
ok: [localhost]
TASK [collect-facts : get detailed PCI device information] ***********************************************************
ok: [localhost]
TASK [epgd : MariaDB and Plugin | install] ***************************************************************************
changed: [localhost]
TASK [epgd : copy file | epgd mariadb config] ************************************************************************
ok: [localhost]
TASK [epgd : create /root/.ssh if it doesn't exist yes] **************************************************************
ok: [localhost]
TASK [epgd : copy file | mysqlpasswd] ********************************************************************************
changed: [localhost]
TASK [epgd : Restart mariadb] ****************************************************************************************
fatal: [localhost]: FAILED! => {
"changed": false
}
MSG:
Unable to start service mariadb.service: Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
PLAY RECAP ***********************************************************************************************************
localhost : ok=7 changed=2 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
dw@vdr:~/yavdr-ansible$ ^C
dw@vdr:~/yavdr-ansible$ systemctl status mariadb.service
● mariadb.service - MariaDB 10.3.22 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2020-06-13 11:35:39 CEST; 13s ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 2384 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUC>
Process: 2385 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SU>
Process: 2386 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recover>
Process: 2395 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, st>
Main PID: 2395 (code=exited, status=1/FAILURE)
Jun 13 11:35:39 vdr systemd[1]: Starting MariaDB 10.3.22 database server...
Jun 13 11:35:39 vdr mysqld[2395]: [98B blob data]
Jun 13 11:35:39 vdr mysqld[2395]: Fatal error in defaults handling. Program aborted
Jun 13 11:35:39 vdr systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Jun 13 11:35:39 vdr systemd[1]: mariadb.service: Failed with result 'exit-code'.
Jun 13 11:35:39 vdr systemd[1]: Failed to start MariaDB 10.3.22 database server.
lines 1-17/17 (END)...skipping...
● mariadb.service - MariaDB 10.3.22 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2020-06-13 11:35:39 CEST; 13s ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 2384 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUC>
Process: 2385 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SU>
Process: 2386 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recover>
Process: 2395 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, st>
Main PID: 2395 (code=exited, status=1/FAILURE)
Jun 13 11:35:39 vdr systemd[1]: Starting MariaDB 10.3.22 database server...
Jun 13 11:35:39 vdr mysqld[2395]: [98B blob data]
Jun 13 11:35:39 vdr mysqld[2395]: Fatal error in defaults handling. Program aborted
Jun 13 11:35:39 vdr systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
Jun 13 11:35:39 vdr systemd[1]: mariadb.service: Failed with result 'exit-code'.
Jun 13 11:35:39 vdr systemd[1]: Failed to start MariaDB 10.3.22 database server.
dw@vdr:~/yavdr-ansible$ journalctl -xe
Jun 13 11:35:38 vdr python3[2366]: ansible-stat Invoked with path=/root/.ssh/mysqlpasswd follow=False get_checksum=Tr>
Jun 13 11:35:38 vdr python3[2371]: ansible-copy Invoked with src=/root/.ansible/tmp/ansible-tmp-1592040938.537531-214>
Jun 13 11:35:39 vdr python3[2378]: ansible-systemd Invoked with name=mariadb.service state=restarted enabled=True mas>
Jun 13 11:35:39 vdr systemd[1]: Starting MariaDB 10.3.22 database server...
-- Subject: A start job for unit mariadb.service has begun execution
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit mariadb.service has begun execution.
--
-- The job identifier is 1399.
Jun 13 11:35:39 vdr sh[2392]: [108B blob data]
Jun 13 11:35:39 vdr sh[2392]: Fatal error in defaults handling. Program aborted
Jun 13 11:35:39 vdr mysqld[2395]: [98B blob data]
Jun 13 11:35:39 vdr mysqld[2395]: Fatal error in defaults handling. Program aborted
Jun 13 11:35:39 vdr systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit mariadb.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Jun 13 11:35:39 vdr systemd[1]: mariadb.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit mariadb.service has entered the 'failed' state with result 'exit-code'.
Jun 13 11:35:39 vdr systemd[1]: Failed to start MariaDB 10.3.22 database server.
-- Subject: A start job for unit mariadb.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit mariadb.service has finished with a failure.
--
-- The job identifier is 1399 and the job result is failed.
Alles anzeigen
An was liegt das?
Daniel