Author Topic: Error found on the email from - Anacron job 'cron.daily'  (Read 34167 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #15 on: September 03, 2018, 01:53:19 PM »
Still the same. :(

Offline
***
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #16 on: September 03, 2018, 02:14:24 PM »
what does below command shows
Code: [Select]
service mysqld status

Offline
**
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #17 on: September 03, 2018, 02:29:46 PM »
As before:
Code: [Select]
ERROR! MariaDB is not running

Offline
***
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #18 on: September 03, 2018, 02:35:07 PM »
what is output of

Code: [Select]
mysqlcheck

Offline
**
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #19 on: September 03, 2018, 02:43:38 PM »

Code: [Select]
[root@cwp ~]# mysqlcheck
You forgot to give the arguments! Please see mysqlcheck --help
for more information.

Offline
***
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #20 on: September 03, 2018, 02:49:32 PM »
what is final output of

Code: [Select]
service mysqld start

Offline
**
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #21 on: September 03, 2018, 02:57:13 PM »
Code: [Select]

[root@cwp ~]# service mysqld start
Starting mysqld (via systemctl):                           [  OK  ]
[root@cwp ~]# service mysqld status
 ERROR! MariaDB is not running

Offline
***
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #22 on: September 03, 2018, 03:07:22 PM »
what does centos web panel gui says?

Offline
***
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #23 on: September 03, 2018, 03:15:50 PM »
Hmmmm my bad you are running centos 7 and mariadb

start
Code: [Select]
systemctl start mariadb.service
stop
Code: [Select]
systemctl stop mariadb.service
restart
Code: [Select]
systemctl restart mariadb.service
status
Code: [Select]
systemctl status mariadb.service
« Last Edit: September 03, 2018, 03:17:42 PM by bullten »

Offline
**
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #24 on: September 03, 2018, 06:08:46 PM »
I was wondering why we're using the mysql command, but I thought - hey, I know nothing, I better shut up. :)


Well, yeah it seems it all works (all that time everything was Green in CWP dashboard).
Here's the status:


Code: [Select]
Active: active (running) since Mon 2018-09-03 21:04:47 IDT; 5s ago

So, I'm good? No need to panic? Do I have to change anything in /etc/my.cnf (remember we've added [mysqld] ?).

Offline
***
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #25 on: September 03, 2018, 09:17:11 PM »
Yes my fault, agreed

Yes everything is fine as long as there is green light in GUI of CWP.



« Last Edit: September 03, 2018, 09:27:56 PM by bullten »

Offline
**
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #26 on: September 04, 2018, 05:24:48 AM »
Thank you, dear bullten.
Yet, I'm still getting the following error in the log sent by email for daily backups:


Code: [Select]
warning: /var/tmp/rpm-tmp.VFyLyO: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEYerror: Failed dependencies:        perl(DBD::mysql) >= 1.0 is needed by percona-toolkit-2.2.16-1.noarch

Offline
***
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #27 on: September 04, 2018, 12:02:17 PM »
Code: [Select]
yum install perl-DBI -y

Offline
**
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #28 on: September 04, 2018, 01:57:43 PM »

Already installed :(
Maybe perl needs mysql while I have MariaDB?

Code: [Select]

[root@cwp ~]# yum install perl-DBI -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                     |  31 kB     00:00
 * base: mirror.ratiokontakt.de
 * epel: mirror.wiuwiu.de
 * extras: mirror.ratiokontakt.de
 * remi-safe: mirror.23media.de
 * updates: mirror.ratiokontakt.de
base                                                     | 3.6 kB     00:00
cwp                                                      | 2.9 kB     00:00
extras                                                   | 3.4 kB     00:00
mariadb                                                  | 2.9 kB     00:00
remi-safe                                                | 2.9 kB     00:00
updates                                                  | 3.4 kB     00:00
varnishcache_varnish5/x86_64/signature                   |  836 B     00:00
varnishcache_varnish5/x86_64/signature                   | 1.0 kB     00:00 !!!
varnishcache_varnish5-source/signature                   |  836 B     00:00
varnishcache_varnish5-source/signature                   | 1.0 kB     00:00 !!!
Package perl-DBI-1.627-4.el7.x86_64 already installed and latest version
Nothing to do

Offline
***
Re: Error found on the email from - Anacron job 'cron.daily'
« Reply #29 on: September 04, 2018, 03:58:42 PM »
You need to find out from where it is generating.