Skip to main content

Unable to access newly installed WHM.

Comments

11 comments

  • User Avatar
    Infopro
    You really should be installing cPanel on a bare server. All required services are installed by cPanel during the installation. Not sure if this is of any help to you or not: Deactivating the Firewall - cPanel Documentation
    0
  • User Avatar
    karan4web
    ok so if now i setup WHM, will it effect my files and database? i have an ecommerce portal and dont wanna loose any data.
    0
  • User Avatar
    Infopro
    Yes, it will. You should backup any important data right now for safe keeping. Installing cPanel after the fact (you've already got an account on the server) is a bad idea.
    0
  • User Avatar
    karan4web
    ok i have backed up my files. but as i am unable to use ssh with root password i am unable to backup my sql database. what can i do regarding that.
    0
  • User Avatar
    karan4web
    I still have not setup the WHM. Is there anything i can do to get things back to normal? I found this somewhere... [QUOTE] ServerName www.yourdomain.com DocumentRoot /usr/local/apache/htdocs ServerAdmin webmaster@yourdomain.com UserDir disable
    My files are hosted in var/www/XXXXX.com/public_html will changing the path make my things back to normal?
    0
  • User Avatar
    Infopro
    You won't be able to sort this out I don't think, without reloading the server operating system and then install cPanel. Assuming your server is hosted by a Hosting Provider somewhere, you might contact them about this.
    0
  • User Avatar
    karan4web
    so if i setup WHM it will delete my sql data too? i asked the support team to help me with it and they say they can try. since i do not pay them for managing the virtual machine they wont be bothering much i am sure.
    0
  • User Avatar
    Infopro
    They should be able to assist you with getting into the server to retrieve the database I would think.
    0
  • User Avatar
    cPanelPeter cPanel Staff
    Hello, You mentioned you can't access the server via ssh as the root user. This is normally by design. Can you access the server via ssh as a user? Then use su - to see if you can access root from there? Once you have root, the best way to backup your MySQL database is to use mysqldump
    0
  • User Avatar
    karan4web
    yes now i have the root access. the server guy did it for me. so the domain is redirecting to /usr/local/apache/htdocs I am trying to edit it and change to folder where my files were saved i.e /var/www/MYDOMAIN/public_html will that help anyhow?
    0
  • User Avatar
    cPanelMichael
    Are you sure that you have created an account for this domain name using Web Host Manager? Thank you.
    0

Please sign in to leave a comment.