Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Oct 2003
    Location
    australia
    Posts
    11

    Default HELP!!! Accounts Not In WHM Anymore however are in SSH

    Hey Everyone,

    We have a server, and when we look in whm it has 0/0 however there are 110 accounts, and the files are in ssh. And the apache records for each zone are gone. How do we fix this? Isnt there a command where it backups the files and then restores? Would this fix it?

  2. #2
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    Quote Originally Posted by mcpaa
    Hey Everyone,

    We have a server, and when we look in whm it has 0/0 however there are 110 accounts, and the files are in ssh. And the apache records for each zone are gone. How do we fix this? Isnt there a command where it backups the files and then restores? Would this fix it?
    Hello,

    Try this command
    ------------------------------
    /scripts/rebuildhttpdconf
    ------------------------------

    Let me know the status.
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You should also have previous versions of httpd.conf in its directory that you could fall back on.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    Member
    Join Date
    Oct 2003
    Location
    australia
    Posts
    11

    Default

    Hello,

    It said it built it but it didnt work, so i went to run the script again and i get:

    Building entry for fantastico.do.not.delete...
    Cannot resolve fantastico.do.not.delete
    Building entry for andersonplumbing.net...
    Cannot resolve andersonplumbing.net
    ETC

  5. #5
    Member
    Join Date
    Oct 2003
    Location
    australia
    Posts
    11

    Default

    Where would they past httpd.conf entries be?

  6. #6
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    Quote Originally Posted by mcpaa
    Where would they past httpd.conf entries be?

    Hello,

    Do you have any back up file of your httpd.conf in /usr/local/apache/conf/ directory?
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

  7. #7
    Member
    Join Date
    Oct 2003
    Location
    australia
    Posts
    11

    Default

    Hello,

    From what i can see is the following files:


    ./ magic
    ../ magic.default
    access.conf* mime.types
    access.conf.default mime.types.default
    etc@ modsec.conf
    httpd.conf modsec.user.conf
    httpd.conf- modsec.user.conf.default
    httpd.conf.bak php.version
    httpd.conf.default srm.conf*
    httpd.conf.failsafe.1118309185 srm.conf.default
    httpd.conf.installssl-mcpaa.com ssl.crl/
    httpd.conf.installssl-www.begoniacitymotorinn.com.au ssl.crt/
    httpd.conf.installssl-www.mcpaa.com ssl.csr/
    httpd.conf.tmpeditlib ssl.key/
    httpd.conf,v ssl.prm/
    httpd.conf.vhosts

    Are any of these any use? .failsafe looks ok, but i wouldnt know. Please guide me.

  8. #8
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    Hello,

    First back up of your httpd.conf file and move your old config to httpd.conf
    Then try it
    -----------------------------------------------------------------
    cd /usr/local/apache/conf
    cp -p httpd.conf httpd.conf.bak-08-6-2005
    mv httpd.conf.bak httpd.conf
    -------------------------------------------------------------------
    restart apache.

    Also check the apache access_log and error_logs

    Let me know the status
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

Similar Threads & Tags
Similar threads

  1. Cannot transfer accounts in WHM over SSH
    By apc1 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 08-02-2007, 05:50 PM
  2. Urgent help needed: can't transfer accounts via WHM or SSH
    By pingo in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-26-2004, 05:43 PM
  3. Replies: 1
    Last Post: 12-24-2003, 01:43 AM
  4. SSH MindTerm not working anymore
    By 0utlier in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 09-22-2003, 06:41 AM
  5. SSH Not working anymore...
    By icanectc in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-02-2003, 10:12 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube