Newly Installed cPanel DNSOnly Failing

Smith_

Registered
Jan 23, 2012
3
0
51
cPanel Access Level
Website Owner
Hello there,

I just installed cPanel DNSOnly and I am trying to disable SQL and other services but it just doesn't let me..
Here is the error log:

Can't fork at /usr/local/cpanel/Cpanel/SafeRun/Simple.pm line 40.
[2012-01-24 07:37:36 +0300] die [Internal Death while parsing [stdin] 26461] Can't fork at /usr/local/cpanel/Cp
anel/SafeRun/Simple.pm line 40.
Cpanel::SafeRun::Simple::_saferun_r('ARRAY(0x8f79e00)', 0) called at /usr/local/cpanel/Cpanel/SafeRun/S
imple.pm line 66
Cpanel::SafeRun::Simple::saferun('ps', 'uxawwww') called at whostmgr/bin/whostmgr line 6242
main::dosrvmng() called at whostmgr/bin/whostmgr line 369


Can't fork at /usr/local/cpanel/Cpanel/SafeRun/Simple.pm line 40.


Any ideas what I should do?

Thank you!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,237
463
Hello :)

Is there a specific reason you would like to disable MySQL on cPanel DNS-Only? It's installed by default to allow for the use of the cPHulk brute force detection option.

As for the error message, could you check to see if the server is running out of memory? If it is a VPS, try checking the following file to see if there are fail counts for any parameters:

Code:
/proc/user_beancounters
Thank you.
 

Smith_

Registered
Jan 23, 2012
3
0
51
cPanel Access Level
Website Owner
Hello,

I actually want to disable everything but BIND because it is killing my RAM, but it just wont let me..


Code:
Version: 2.5
       uid  resource                     held              maxheld              barrier                limit              failcnt
     3407:  kmemsize                  4868885              5902537           2147483646           2147483646                    0
            lockedpages                     0                    8               999999               999999                    0
            privvmpages                 60508                67694                65536                65536                   64
            shmpages                     1951                 2287                32768                32768                    0
            dummy                           0                    0                    0                    0                    0
            numproc                        44                   60               999999               999999                    0
            physpages                   20026                31331                    0           2147483647                    0
            vmguarpages                     0                    0                32768           2147483647                    0
            oomguarpages                20027                31331                32768           2147483647                    0
            numtcpsock                     17                   27              7999992              7999992                    0
            numflock                        6                   11               999999               999999                    0
            numpty                          1                    2               500000               500000                    0
            numsiginfo                      0                    8               999999               999999                    0
            tcpsndbuf                  299896               494488            214748160            396774400                    0
            tcprcvbuf                  278528              4801104            214748160            396774400                    0
            othersockbuf                41112                45024            214748160            396774400                    0
            dgramrcvbuf                     0                12664            214748160            396774400                    0
            numothersock                   26                   33              7999992              7999992                    0
            dcachesize                 543681               632886           2147483646           2147483646                    0
            numfile                      1268                 1366             23999976             23999976                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            dummy                           0                    0                    0                    0                    0
            numiptent                      18                   18               999999               999999                    0
Thank you!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,237
463
It looks like your VPS is running out of memory based on the fail count under the "privvmpages" parameter. Please contact your VPS hosting provider to see if they can increase the memory alloted to your VPS.

Thank you.
 

Smith_

Registered
Jan 23, 2012
3
0
51
cPanel Access Level
Website Owner
Thank you for the help! I managed to manually disable MySQL through SSH after all and now everything runs smoothly :)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,237
463
Keep in mind that you will not be able to use any options that require MySQL (e.g. cPHulk). At some point you may want to consider increasing the memory available to the VPS if you start adding more zones.

Thank you.