The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Purpose of /var/cpanel/dnsrequests_db and failing backups

Discussion in 'Bind / DNS / Nameserver Issues' started by geo_grav, Mar 4, 2014.

  1. geo_grav

    geo_grav Member

    Joined:
    Mar 4, 2014
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    DataCenter Provider
    (First time poster)

    This probably has a simple solution but I'm after a hint.

    What's the purpose of the /var/cpanel/dnsrequests_db directory and can we prune the size? Our cpanel server has around 320000 emtpy files.

    I was looking into this when the backup script (/usr/local/cpanel/bin/backup) was failing.

    Code:
    /bin/gtar: /var/cpanel/dnsadmin/sock: socket ignored
    /bin/gtar: Removing leading `/' from hard link targets
    Waiting for load to go down to continue
    (repeats three times)
    /bin/gtar: /var/cpanel: file changed as we read it
    [backup] Failed to perform full backup of /var/cpanel/ to /backup/2014-03-05/system/dirs/_var_cpanel.tar.gz
    I am wondering what could be causing a file update in /var/cpanel to cause this error.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You will typically notice the files in this directory if you have DNS clustering enabled. You will find temporary files used by the dnsadmin service in the "/var/cpanel/dnsrequests_db" directory. The files in this directory are purged upon expiration at which time the /var/cpanel/dnsrequests_db.last_clean_time file is updated with present date/time.

    Thank you.
     
Loading...

Share This Page