Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Error in "Tweak Settings" after saving settings

Discussion in 'General Discussion' started by nyol, Mar 31, 2013.

  1. nyol

    nyol Registered

    Joined:
    Jun 26, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hi
    I have the latest version of cpanel installed on a VPS, all done cleanly.
    However, any changes I make in "Tweak Settings" generates an error when I click in button save.

    [a fatal error or timeout occurred while processing this directive]

    This message shows a log

    Code:
    flock LOCK_EX timeout at /usr/local/cpanel/Cpanel/SafeFile.pm line 56.
    	Cpanel::SafeFile::__ANON__('ALRM') called at /usr/local/cpanel/Cpanel/SafeFile.pm line 58
    	eval {...} called at /usr/local/cpanel/Cpanel/SafeFile.pm line 55
    	Cpanel::SafeFile::safeopen('IO::Handle=GLOB(0x4fa8fb0)', '<', '/var/cpanel/cpanel.config') called at /usr/local/cpanel/Cpanel/Config/LoadConfig.pm line 142
    	Cpanel::Config::LoadConfig::loadConfig('/var/cpanel/cpanel.config', 'HASH(0x545cc90)', undef, undef, undef, 1, 'HASH(0x5479c50)') called at /usr/local/cpanel/Cpanel/Config/LoadCpConf.pm line 157
    	Cpanel::Config::LoadCpConf::loadcpconf() called at /usr/local/cpanel/Cpanel/Rlimit.pm line 129
    	Cpanel::Rlimit::get_server_setting_or_default() called at /usr/local/cpanel/Cpanel/Rlimit.pm line 108
    	Cpanel::Rlimit::set_rlimit_to_infinity() called at /usr/local/cpanel/Whostmgr/Config.pm line 49
    	Whostmgr::Config::apply_tweaks('newvalues', 'HASH(0x24cef90)', 'rejects', 'HASH(0x24cefa0)', 'cpconf', 'HASH(0x5220c00)', 'force', 0) called at whostmgr/bin/whostmgr2 line 4630
    	main::dotweaksettings() called at whostmgr/bin/whostmgr2 line 1131
    Someone can tell me why this is happening? I'd like to fix that.

    Thanks guys
     
  2. nyol

    nyol Registered

    Joined:
    Jun 26, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    :( Hi guys

    No help yet, my hopes are already depleted.

    I really can not find an answer on google.

    If someone has gone through this please share the solution.

    thank you
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,437
    Likes Received:
    416
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi nyol, please feel free to open a ticket to cPanel Technical Support about this:

    cPanel Customer Portal
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ES - George

    ES - George Well-Known Member
    PartnerNOC

    Joined:
    Jun 12, 2011
    Messages:
    141
    Likes Received:
    2
    Trophy Points:
    68
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    I've noticed this issue on a number of cPanel 11.36 servers recently. I never saw it happen in 11.34.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,563
    Likes Received:
    43
    Trophy Points:
    308
    cPanel Access Level:
    Root Administrator
    From the error message it seems cPanel & WHM is unable to obtain a lock on the /var/cpanel/cpanel.config file. This is not something we've encountered in our testing. In order to resolve, or diagnose, the issue we need access to a machine that encounters this symptom. Please open a support ticket with us next time it occurs.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice