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.

Big WHM problem!

Discussion in 'General Discussion' started by npa, Feb 13, 2006.

  1. npa

    npa Member

    Joined:
    Feb 13, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Hi everybody!

    I have a big problem in whm and i hope someone will be able to help.

    I added an account to WHM and filled out all the data mydomain.com. Then I accidentally deleted the account. After that I wanted to create the same account.

    It gives me this msg
    WWWAcct 10.0 (c) 1997-2005 cPanel, Inc.

    Sorry, that domain is already setup (remove it from httpd.conf : line 1146)

    Account Creation Complete!!!

    I downloaded putty but I can't find httpd.conf file /etc/ directory doesn't exist under root.

    Please help!
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    The httpd.conf file will be in /usr/local/httpd/conf/
    Login to server as root and execute the be,ow commands.
    1) cd /usr/local/httpd/conf/
    2) pico httpd.conf
    3) Search the domainname. Press Ctrl+X and put the domainname. Hit Enter.
    4) Remove the complete VirtualHost entry for that domain.
    5) Save and Exit
    6) service httpd restart

    Then adding it again from WHM. You can use locate command to find any file :-
    Ex. locate httpd.conf
     
  3. npa

    npa Member

    Joined:
    Feb 13, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Last login: Mon Feb 13 03:30:38 2006 from bsn-77-158-206.dsl.siol.net
    root@host [~]# cd /usr/local/httpd/conf/
    -bash: cd: /usr/local/httpd/conf/: No such file or directory
    root@host [~]#
     
  4. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Sorry I was wrong the first time. The file is in /usr/local/apache/conf/ and not in /usr/local/httpd/conf/
     
  5. npa

    npa Member

    Joined:
    Feb 13, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Got it! Thanks!

    i didn't see locate comand
     
Loading...

Share This Page