cron backup errror, PHP Notice: Undefined variable

Discussion in 'Backups' started by Hardy, Dec 2, 2015.

  1. Hardy

    Hardy Kilo Poster

    Messages:
    16
    Hello,

    I have found the below PHP error while taking the backup. Can you please look into the below code and verify if the backup cron is working fine also can you please explain us the error.

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

    The full code is below.

    /etc/cron.daily/cwp:



    ====================================================
    ============= CentOS Web Panel Cron ================
    ====================================================


    ###########################
    Firewall Flush Daily Blocks
    ###########################


    ######################
    Update Server Packages
    ######################
    Your CWP version: 0.9.8.10

    No update needed, your CWP is up to date.
    174.127.120.29
    Date which backup script is using: 2015-12-03 01:45:04

    PHP Notice: Undefined variable: UMa3d1gaUhSimVj 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: UMa3d1gaUhSimVj 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: UMa3d1gaUhSimVj 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: UMa3d1gaUhSimVj in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php(1) : eval()'d code(1) : eval()'d code on line 7

    ###############################################
    Daily Files Backup starting
    ###############################################



    Username: impressi
    ========================================
    sending incremental file list

    sent 31106 bytes received 145 bytes 62502.00 bytes/sec
    total size is 21236174 speedup is 679.54


    Username: esale
    ========================================
    sending incremental file list
    public_html/
    public_html/sitemap.xml

    sent 189288 bytes received 1031 bytes 380638.00 bytes/sec
    total size is 253670883 speedup is 1332.87


    Username: bookers
    ========================================
    sending incremental file list

    sent 212 bytes received 16 bytes 456.00 bytes/sec
    total size is 860 speedup is 3.77


    Username: jobspot
    ========================================
    sending incremental file list

    sent 70 bytes received 12 bytes 164.00 bytes/sec
    total size is 318 speedup is 3.88


    Username: dreampar
    ========================================
    sending incremental file list
    cron
    public_html/cronjob.php
    public_html/sitemap.xml
    public_html/application/views/
    public_html/application/views/header-02-12-15.php
    public_html/application/views/header.php
    public_html/application/views/navigation-2-12-15.php
    public_html/application/views/navigation.php
    public_html/cometchat/cache/cookie.txt

    sent 196643 bytes received 1419 bytes 132041.33 bytes/sec
    total size is 157106960 speedup is 793.22


    Username: investi
    ========================================
    sending incremental file list
    public_html/beta/assets/captcha/
    deleting public_html/beta/assets/captcha/1448858709.4155.jpg
    public_html/beta/assets/captcha/1449023287.1808.jpg
    public_html/beta/assets/captcha/1449023350.4667.jpg
    public_html/beta/assets/captcha/1449029195.1134.jpg

    sent 195583 bytes received 1117 bytes 393400.00 bytes/sec
    total size is 952892851 speedup is 4844.40

    ###############################################
    Daily Files Backup finished
    ###############################################


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

    Skipping database: information_schema.
    Warning: Using a password on the command line interface can be insecure.
    Database Backup: dreampar_dating --> /backup/mysql/daily//dreampar_dating.sql
    Warning: Using a password on the command line interface can be insecure.
    Database Backup: esale_admin1 --> /backup/mysql/daily//esale_admin1.sql
    Warning: Using a password on the command line interface can be insecure.
    Database Backup: impressi_WP --> /backup/mysql/daily//impressi_WP.sql
    Warning: Using a password on the command line interface can be insecure.
    Database Backup: investi_beta --> /backup/mysql/daily//investi_beta.sql
    Warning: Using a password on the command line interface can be insecure.
    Database Backup: investi_db --> /backup/mysql/daily//investi_db.sql
    Warning: Using a password on the command line interface can be insecure.
    Database Backup: investi_db2 --> /backup/mysql/daily//investi_db2.sql
    Skipping database: mysql.
    Warning: Using a password on the command line interface can be insecure.
    mysqldump: Got error: 1142: SELECT, LOCK TABLES command denied to user 'root'@'localhost' for table 'cond_instances' when using LOCK TABLES
    Database Backup: performance_schema --> /backup/mysql/daily//performance_schema.sql
    Warning: Using a password on the command line interface can be insecure.
    Database Backup: postfix --> /backup/mysql/daily//postfix.sql
    Warning: Using a password on the command line interface can be insecure.
    Database Backup: root_cwp --> /backup/mysql/daily//root_cwp.sql
    Warning: Using a password on the command line interface can be insecure.
    Database Backup: roundcube --> /backup/mysql/daily//roundcube.sql

    ###############################################
    Daily MySQL Backup finished
    ###############################################

    cpulimit: no process killed
     
  2. Pavel

    Pavel A.I. Auto-Responder Staff Member

    Messages:
    478
    Dear Hardy,

    This issue is hardly related to the Virtuozzo Containers technology, especially Windows Containers (since you've posted this topic in a Containers for Windows forum branch).

    I'd recommend to reach out to a CentOS community for more tips
     

Share This Page