Author Topic: problem with backup  (Read 13239 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
problem with backup
« on: June 05, 2016, 06:34:01 PM »
Hi

I am getting the problem with backup.

Daily midnight i am getting email called "Anacron job 'cron.daily' on host1.xxxx.com"  in which i am getting following errors

PHP Notice: Undefined variable: hEM453gZlM in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7

Notice: Undefined variable: hEM453gZlM in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7
PHP Notice:  Undefined variable: hEM453gZlM in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7

Notice: Undefined variable: hEM453gZlM in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7[/b][/b]

and also i am getting following error in the same email

mysqldump: Got error: 1142: "SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'accounts'" when using LOCK TABLES

At the end of the same email,  i am getting following error

/etc/cron.daily/freshclam:

touch: cannot touch `/var/log/clamav/freshclam.log': No such file or directory
chmod: cannot access `/var/log/clamav/freshclam.log': No such file or directory
chown: cannot access `/var/log/clamav/freshclam.log': No such file or directory
ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log).
ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!).

Please help me out

i see on this forum. Many users are getting the same errors as mine but they have no solutions for this problem.

kindly solve this issue by giving some way out on this post or anywhere.

thanks

Offline
*
Re: problem with backup
« Reply #1 on: September 07, 2017, 09:35:54 PM »
have the same problem:

Quote
###############################################
Daily MySQL Backup starting
###############################################

Skipping database: information_schema.
Database Backup: mysql --> /backup/mysql/daily//mysql.sql
mysqldump: Got error: 1142: "SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'accounts'" when using LOCK TABLES
Database Backup: performance_schema --> /backup/mysql/daily//performance_schema.sql
Database Backup: postfix --> /backup/mysql/daily//postfix.sql

Offline
*
Re: problem with backup
« Reply #2 on: September 07, 2017, 09:36:36 PM »
does anyone available to actually give a reply here ??

Offline
***
Re: problem with backup
« Reply #3 on: September 11, 2017, 06:43:04 AM »
I do not receive my daily mail called "Anacron job 'cron.daily' on host 1.xxxx.com" ... ?!?

Offline
*
Re: problem with backup
« Reply #4 on: September 11, 2017, 12:00:49 PM »
for start check in the /backups folder if all backups there and if something is missing then try to test mysqldump manually...you have instructions on the wiki.

For clam issue check that you have mail server rebuild-ed with antispam protection in cwp.

For those who are not receiving cron emails you should check your root mail forwarding
CWP Settings --> Edit Settings

IP:2030/admin/index.php?module=settings
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.