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.

Problem creating new acounts.

Discussion in 'General Discussion' started by emarton, Jan 6, 2009.

  1. emarton

    emarton Member

    Joined:
    Oct 4, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have a problem on one of my servers when trying to create a new account. (same problem from root or reseller accounts).
    When trying to create a new account: whm -> create a new account, the window i get is one of the following:

    Create a new Account
    WWWAcct 12.1.0 (c) 1997-2008 cPanel, Inc.

    OR

    Create a new Account
    Checking input data

    I tried upcp --force, upgrade perl 5.8.8 but nothing has changed. No messages in error_log (cpanel) nothing in messages (Os log)

    The versions running:
    cPanel 11.24.4-R32603 - WHM 11.24.2 - X 3.9
    CENTOS 5.2 i686 on standard

    The problem was noticed after upgrading to 11.24

    On other servers running the same configuration and versions everything is working fine.

    Any ideas where should I look to solve this problem ?
    Any comments are appreciated because I'm running out of ideas...

    Thanks.
     
  2. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    I think we have the problem.

    I tried manually:

    Code:
    Using backup archive
    cPanel restorepkg 2
    Force Mode: no
    Reseller Privs Restore: yes
    
    Searching /home....
    Found backup.tar.gz !
    Moving Packge to /home/cprestore/backup.tar.gz
    Extracting tarball...................
    ...............
    ...............
    ...............
    Done
    Extracting Domain....Done
    <script type="text/javascript" src="/cPanel_magic_revision_1229985571/yui/utilities_container/utilities_container.js"></script>
    <script type="text/javascript" src="/cPanel_magic_revision_1229985507/js/statusbox.js"></script><div id=sdiv></div><script>whmappname='Generating Account....';</script>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    Generating Account....Out of memory during request for 1012 bytes, total sbrk() is 3045511168 bytes!
    root@server [/home]# 
    
    At the momen, this value:
    Code:
    The maximum memory a cPanel process can use before it is killed off (in megabytes). Values less than 128 megabytes can not be specified. A value of "0" will disable the memory limits.
    is 256
     
  3. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I recommend submitting a support ticket so our technical analysts can more swiftly and accurately diagnose this issue for you: http://tickets.cPanel.net/submit
     
  5. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    The server has 8G RAM.

    Would have something to do with ulimit?
    I also observe that it is creating 1G core.* files.
     
  6. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Core was generated by `/usr/local/cpanel/whostmgr/bin/whostmgr5 quickrestore username 0 0 0'.
    Program terminated with signal 11, Segmentation fault.
    #0 0x00dbc104 in ?? ()
    Cannot access memory at address 0xbfb06e00

    This means there is a problem with the RAM, right?
     
  7. emarton

    emarton Member

    Joined:
    Oct 4, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    PS: Creating accounts manually by:

    /scripts/wwwacct

    Works without any problems.
     
  8. caspuh

    caspuh Registered

    Joined:
    Sep 13, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Create a new account, checking input data

    I also can't create new accounts thru WHM after upgrading cPanel yesterday to 11.24.4. When I go to create a new account the process stalls or gets stuck on the "Checking input data" box. It just sits there and says Done in the lower left.

    If anyone has put in a ticket and got this fixed please pass on the fix. Thanks!
     
  9. emarton

    emarton Member

    Joined:
    Oct 4, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hi caspuh,

    Until the problem is solved you can create a new acount using /scripts/wwwacct

    Syntax:
    wwwacct <domain> <user> <pass> <quota> <cpmod[advanced/?]> <ip[y/n]> <cgi[y/n]> <frontpage[y/n]> <maxftp> <maxsql> <maxpop> <maxlst> <maxsub> <bwlimit> <hasshell[y]/[n]> <owner> <plan> <maxpark> <maxaddon> <featurelist> <contactemail> <use_registered_nameservers> <language>

    The problem is that for restoring backup's the shell process restorepkg will not function properly.

    Regards,
    Erno
     
  10. emarton

    emarton Member

    Joined:
    Oct 4, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hi caspuh,

    Can you please test something ?

    I'm interested to know if on your server you can restore backup's (full backup's) from the command line:

    /scripts/restorepkg

    restorepkg [--force] [--skipres] [--override] -- [cpuser|/path/to/cpuser-file]

    Security Note: It is recommended that you do not restore a package from an untrusted source.
    If you choose to ignore this warning, you should use --skipresellerprivs to minimize the risk.

    Thank you.
     
  11. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    still....
    /scripts/restorepkg
    (...)
    Generating Account....Out of memory during request for 972 bytes, total sbrk() is 2899673088 bytes!

    ---

    (gdb) core-file core.17356
    Failed to read a valid object file image from memory.
    Core was generated by `/usr/local/cpanel/whostmgr/bin/whostmgr5 quickrestore delatrei 0 0 0'.
    Program terminated with signal 11, Segmentation fault.
    #0 0xb7f23104 in ?? ()
    (gdb) bt
    #0 0xb7f23104 in ?? ()
    Cannot access memory at address 0xbfd7ec50

    ----

    Hm.
     
  12. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Out of memory during request

    We changed RAM [8G],

    top - 13:30:36 up 10:17, 2 users, load average: 2.32, 2.64, 2.71
    Tasks: 296 total, 3 running, 292 sleeping, 0 stopped, 1 zombie
    Cpu0 : 0.7%us, 5.0%sy, 32.0%ni, 60.7%id, 0.0%wa, 0.0%hi, 1.7%si, 0.0%st
    Cpu1 : 8.0%us, 5.0%sy, 19.3%ni, 51.8%id, 15.9%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu2 : 0.3%us, 4.3%sy, 17.3%ni, 56.5%id, 21.6%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu3 : 5.3%us, 5.0%sy, 18.9%ni, 70.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu4 : 15.9%us, 6.6%sy, 13.2%ni, 63.2%id, 1.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu5 : 7.0%us, 4.0%sy, 8.0%ni, 80.6%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu6 : 10.0%us, 3.7%sy, 7.0%ni, 79.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Cpu7 : 4.7%us, 9.0%sy, 19.6%ni, 66.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
    Mem: 8295656k total, 5586644k used, 2709012k free, 402152k buffers
    Swap: 4192924k total, 0k used, 4192924k free, 3425352k cached

    Kernel: 2.6.18-92.1.22.el5PAE

    cPanel 11.24.4-R34599 - WHM 11.24.2 - X 3.9
    CENTOS 5.2 i686 on standard

    still having the same problem [still impossible to create Accounts through WHM root/reseller]:
    -----------------------------
    Create a new Account
    Checking input data [Done]
    -----------------------------

    [also: /scripts/restorepkg]
    Generating Account....Out of memory during request for 972 bytes, total sbrk() is 3040460800 bytes!

    GDB info:
    This GDB was configured as "i386-redhat-linux-gnu".
    (gdb) core-file core.7344
    (no debugging symbols found)
    Using host libthread_db library "/lib/libthread_db.so.1".
    Core was generated by `/usr/local/cpanel/whostmgr/bin/whostmgr5 quickrestore delatrei 0 0 0'.
    Program terminated with signal 11, Segmentation fault.
    #0 0x00341104 in ?? ()
    (gdb) bt
    #0 0x00341104 in ?? ()
    Cannot access memory at address 0xbfa2f0a0

    [We did also the upcp --force | checked sysctl | ulimit was modified to not create huge core files]

    Anyone could give a HINT !?

    Thanks.
    Lehel
     
    #12 lehels, Mar 14, 2009
    Last edited: Mar 14, 2009
  13. zigzam

    zigzam Well-Known Member

    Joined:
    May 9, 2005
    Messages:
    206
    Likes Received:
    0
    Trophy Points:
    16
    Having the same issue. Was it resolved?
     
Loading...

Share This Page