problem with backup

Started by mzqasim, June 05, 2016, 06:34:01 PM

Previous topic - Next topic

mzqasim

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

ryanwls

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

ryanwls

does anyone available to actually give a reply here ??

venty

I do not receive my daily mail called "Anacron job 'cron.daily' on host 1.xxxx.com" ... ?!?

studio4host

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.