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 account using WWWACCT

Discussion in 'General Discussion' started by sh4ka, Apr 15, 2006.

  1. sh4ka

    sh4ka Well-Known Member

    Joined:
    May 12, 2005
    Messages:
    442
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    US
    cPanel Access Level:
    DataCenter Provider
    When I create a new domain account using the wwwacct script.. the account is created with the secondary IP... and i don't want that.. i need to create the account with the primary IP.. how can I change that ? because if I do it using WHM there is no problem with IP.. any ideas how to fix this ?

    Running from shell:
    Code:
    root@server [~]# /scripts/wwwacct domain.org username  password
    WWWAcct 10.0 (c) 1997-2005 cPanel, Inc.
    
       +===================================+
       | New Account Info                  |
       +===================================+
       | Domain: domain.org
       | Ip: xx.xx.xxx.112 (y) ---------- SECONDARY IP!
    
    Running from WHM:
    Code:
    WWWAcct 10.0 (c) 1997-2005 cPanel, Inc.
    
       +===================================+
       | New Account Info                  |
       +===================================+
       | Domain: prueba.com
       | Ip: xx.xx.xxx.111 (n) ---------- PRIMARY IP!
    
    The main problem is that if i use shell it will asign the secondary IP, and after that no more domains can be created and an error appears "unable to find an ip address" (of course, because all IPs are being used..).
     
  2. MrL22

    MrL22 Active Member

    Joined:
    Jul 11, 2003
    Messages:
    34
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Tamworth, United Kingdom
    Try opening SSH and log in as root, type 'pico -w /etc/wwwacct.conf' and change the IP address on the first line 'ADDR 000.000.000.000' and then save and exit, CTRL+X
     
Loading...

Share This Page