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.

Edit DNS Zone Empty

Discussion in 'Bind / DNS / Nameserver Issues' started by perk1z, Jul 23, 2009.

  1. perk1z

    perk1z Member

    Joined:
    Sep 4, 2007
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    unable edit dns zone from WHM

    error log cpanel :

    tail /usr/local/cpanel/logs/error_log
    Cpanel::SafeFile::safelock('/var/cpanel/dnsrequests') called at /usr/local/cpanel/Cpanel/SafeFile.pm line 24
    Cpanel::SafeFile::safeopen(GLOB(0x88dc038), '>', '/var/cpanel/dnsrequests') called at whostmgr/bin/dnsadmin-ssl.pl line 1344
    main::writereqdb(HASH(0x8a892a8)) called at whostmgr/bin/dnsadmin-ssl.pl line 151
    exit level [invalid]
    2009-07-23 08:26:45 invalid [dnsadmin-ssl] Invalid lockfile /var/cpanel/dnsrequests.lock detected (zero size) [UID]: 0 [MTIME]: 1248250020 at /usr/local/cpanel/Cpanel/SafeFile.pm line 223
    Cpanel::SafeFile::_lock_wait('/var/cpanel/dnsrequests') called at /usr/local/cpanel/Cpanel/SafeFile.pm line 93
    Cpanel::SafeFile::safelock('/var/cpanel/dnsrequests') called at /usr/local/cpanel/Cpanel/SafeFile.pm line 24
    Cpanel::SafeFile::safeopen(GLOB(0x88dc020), '>', '/var/cpanel/dnsrequests') called at whostmgr/bin/dnsadmin-ssl.pl line 1344
    main::writereqdb(HASH(0x8a89290)) called at whostmgr/bin/dnsadmin-ssl.pl line 151
    exit level [invalid]

    Any idea?

    thank you
     
  2. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    Run the following two scripts

    1) /scripts/checkperlmodules

    After that change the cpanel to " release "

    2) vi /etc/cpupdate.conf
    CPANEL=release

    3) /scripts/upcp --force
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    This is the pertinent portion:

    Code:
    2009-07-23 08:26:45 invalid [dnsadmin-ssl] Invalid lockfile /var/cpanel/dnsrequests.lock detected (zero size) [UID]: 0 [MTIME]: 1248250020 at /usr/local/cpanel/Cpanel/SafeFile.pm line 223
    
    This is a condition we've resolved in cPanel 11.25

    In the meantime you can remove the lock file manually:

    Code:
    # rm  /var/cpanel/dnsrequests.lock
    
     
Loading...

Share This Page