Results 1 to 9 of 9

Thread: /usr/local/cpanel/logs/cpbackup doesn't exist - help!

  1. #1
    Member
    Join Date
    Jun 2012
    Posts
    5
    cPanel/WHM Access Level

    Root Administrator

    Default /usr/local/cpanel/logs/cpbackup doesn't exist - help!

    Why doesn't this file exist? How can I enable it?

    There are some weird behaviors in my backups. I'll be making a backup and wait on the ''per your request, no email will be sent" page.. then when i click 'go back' it shows another backup in progress started at pretty much the exact time that i clicked go back. keep in mind im clicking the button go back and not in my browser bar.

    anyway, how can i enable logs??

  2. #2
    cPanel Development cPanelKenneth's Avatar
    Join Date
    Apr 2006
    Posts
    4,131
    cPanel/WHM Access Level

    Root Administrator

    Default Re: /usr/local/cpanel/logs/cpbackup doesn't exist - help!

    From your description it appears you are performing a backup from within the cPanel interface. The problem you are describing should be taken up with your web hosting provider (assuming you don't have root access to the server).
    Kenneth
    Development
    cPanel, Inc.

  3. #3
    Member
    Join Date
    Jun 2012
    Posts
    5
    cPanel/WHM Access Level

    Root Administrator

    Default Re: /usr/local/cpanel/logs/cpbackup doesn't exist - help!

    Quote Originally Posted by cpanelkenneth View Post
    From your description it appears you are performing a backup from within the cPanel interface. The problem you are describing should be taken up with your web hosting provider (assuming you don't have root access to the server).

    I have root access to the server/whm

  4. #4
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    10,080
    cPanel/WHM Access Level

    Root Administrator

    Default Re: /usr/local/cpanel/logs/cpbackup doesn't exist - help!

    Quote Originally Posted by Clawr0a View Post
    Why doesn't this file exist? How can I enable it?
    That log file should be generated on every backup.
    Quote Originally Posted by Clawr0a View Post
    There are some weird behaviors in my backups. I'll be making a backup and wait on the ''per your request, no email will be sent" page.. then when i click 'go back' it shows another backup in progress started at pretty much the exact time that i clicked go back. keep in mind im clicking the button go back and not in my browser bar.

    anyway, how can i enable logs??
    Sounds to me like a browser cache issue, or, that page had not updated as fast as it could have to give you the proper details. Guessing of course.

    How are you looking for this file/directory? via SSH logged in as root, correct?

  5. #5
    Member
    Join Date
    Jun 2012
    Posts
    5
    cPanel/WHM Access Level

    Root Administrator

    Default Re: /usr/local/cpanel/logs/cpbackup doesn't exist - help!

    Quote Originally Posted by Infopro View Post
    That log file should be generated on every backup.


    Sounds to me like a browser cache issue, or, that page had not updated as fast as it could have to give you the proper details. Guessing of course.

    How are you looking for this file/directory? via SSH logged in as root, correct?

    Yes.

    root@server [/home/*]# locate cpbackup
    /etc/cpbackup-exclude.conf
    /etc/cpbackup.conf
    /etc/cpbackup.conf.cache
    /etc/cpbackup.public.conf
    /home/~/cpbackup-exclude.conf
    /home/~/.cpanel/caches/config/_etc_cpbackup.conf___~
    /home/~/.cpanel/caches/config/_etc_cpbackup.public.conf___~
    /home/virtfs/urircd/var/cpanel/configs.cache/_etc_cpbackup.conf___~
    /home/virtfs/urircd/var/cpanel/version/cpbackup-excludes-v2
    /usr/local/cpanel/bin/clean_user_cpbackup-excludes
    /usr/local/cpanel/bin/mount_cpbackup
    /usr/local/cpanel/bin/unmount_cpbackup
    /usr/local/cpanel/etc/cpbackup-exclude.conf
    /usr/local/cpanel/scripts/cpbackup
    /var/cpanel/configs.cache/_etc_cpbackup.conf___~
    /var/cpanel/version/cpbackup-excludes-v2

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,611
    cPanel/WHM Access Level

    Root Administrator

    Default Re: /usr/local/cpanel/logs/cpbackup doesn't exist - help!

    The locate database does not update automatically. You did actually cd to /usr/local/cpanel/logs and check cpbackup isn't there, correct?

    Code:
    cd /usr/local/cpanel/log/cpbackup
    ls -lah
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  7. #7
    Member
    Join Date
    Oct 2009
    Posts
    6

    Default Re: /usr/local/cpanel/logs/cpbackup doesn't exist - help!

    I did a fresh install of cpanel (release) on rhel6 earlier this week. Cpbackup is schedued to run. The /usr/local/cpanel/logs/cpbackup directory was never created. I just noticed that now and have created the directory manually. The backup apparently never ran (though scheduled in cron) until I created the directory; I've now run cpbackup manually, and it seems to now be working correctly.

    Our older servers (have been running for years on rhel5 and also the release version) all have this directory, and it's been populated with log files automatically.

    Paul
    Last edited by tibbitts; 08-02-2012 at 09:50 AM.

  8. #8
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    2,198
    cPanel/WHM Access Level

    Root Administrator

    Default Re: /usr/local/cpanel/logs/cpbackup doesn't exist - help!

    Quote Originally Posted by tibbitts View Post
    The /usr/local/cpanel/logs/cpbackup directory was never created. I just noticed that now and have created the directory manually.
    This directory should be populated on the first cPanel backup generation. Did you allow time for the first backup to generate? You can check to see if the cron job for "cpbackup" exists by running:

    Code:
    # crontab -l
    Also, you may want to ensure "crond" is running:

    Code:
    # service crond restart
    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  9. #9
    Member
    Join Date
    Oct 2009
    Posts
    6

    Default Re: /usr/local/cpanel/logs/cpbackup doesn't exist - help!

    Quote Originally Posted by cPanelMichael View Post
    This directory should be populated on the first cPanel backup generation. Did you allow time for the first backup to generate? You can check to see if the cron job for "cpbackup" exists by running:

    Code:
    # crontab -l
    Also, you may want to ensure "crond" is running:

    Code:
    # service crond restart
    Thank you.
    cpbackup was definitely scheduled in cron, to run daily, for several days. After not receiving email notifying me of backup completion for any day, I determined that I needed to create the log directory. After that, and no other changes, cpbackup ran properly from cron.

    Paul

Similar Threads

  1. Filed with Developers Put logs into /var/log instead of /usr/local/cpanel/logs (Case 55969)
    By cPanelDavidG in forum Feature Requests for cPanel & WHM
    Replies: 33
    Last Post: 03-01-2012, 11:56 AM
  2. /usr/local/cpanel/Cpanel/Accounting.php.inc does not exist
    By vibe-group in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 11-19-2006, 10:15 AM
  3. /usr/local/cpanel/logs/access_log
    By garmooshka in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 02-08-2005, 02:57 AM
  4. /usr/local/cpanel/logs ?
    By easyhoster1 in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 12-10-2003, 12:12 PM
  5. Check out /usr/local/cpanel/logs/ !!!
    By H2Hosting.com in forum cPanel & WHM Discussions
    Replies: 18
    Last Post: 04-29-2003, 11:56 AM