Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Member
    Join Date
    Oct 2005
    Posts
    5

    Default cpanel not working but whm does...

    im having a bit of troble with my server 212.58.145.140 after some recent attacks

    whm
    https://212.58.145.140:2087/
    http://212.58.145.140:2086/

    works fine both secure and none secure

    but cpanel it self
    https://212.58.145.140:2083/
    http://212.58.145.140:2082/

    does not work at all

  2. #2
    Member Murtaza_t's Avatar
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    471

    Default

    What is the error when you visit cPanel?
    Also check for errors(if any) in /usr/local/cpanel/logs/error_log while restarting the cpanel service.

  3. #3
    Member
    Join Date
    Oct 2005
    Posts
    5

    Default

    thanks for the quick reply ive been trying to get things working allday long

    basicly if you try and access cpanel it self you get The page cannot be displayed

    i cannot view that folder btw /usr/local/cpanel/logs/error_log i can get as far as /usr/local/cpanel/
    Last edited by senoj2k; 04-04-2006 at 11:40 AM.

  4. #4
    Member Murtaza_t's Avatar
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    471

    Default

    Do you have any firewall on the server, make sure that port 2082 and 2083 is open on your server.

    I would suggest you get some help from some you trust. Or may be raise a icket with cPanel Support.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Murtaza_t is right. See if you're blocking ports 2083 and/or 2082. Any folders were deleted by mistake/accident? Ask whoever worked on your server to look into this problem.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  6. #6
    Member
    Join Date
    Oct 2005
    Posts
    5

    Post

    thanks for your advice guys i appreciate your help, and any one who does manage to point in the right direction to get it fixed can have free hosting for life of corse btw , anyway ill probally have to end up paying out more money for it to be fixed...

    but now you mention it when my server was getting spammed i try and ban the offeneders in ip address in iptables i was way out of my depth and did not know what i was doing so i hope i did know mess it up, if so any able point me in the right direction to check if these ports are banned?


    also there is one ofter thing when i was being attacked i did update to bleeding EDGE tree, i figured there old exploits would then not be able work i know probally a big mistake i since then downgraded it could this of messed things up ?

  7. #7
    Member dave9000's Avatar
    Join Date
    Apr 2003
    Location
    arkansas
    Posts
    891
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    if you updated to EDGE and then dropped back I would suggest going back to EDGE as there are some big differences in them.

    Also one thing I have noticed on my cpanel boxes is if the load is very high then WHM will work but cpanel will not work.

    Will give a page timeout error
    Dave Browning
    Intersite Technologies
    Greenbrier Ar
    dave@isitetech.com

  8. #8
    Member
    Join Date
    Oct 2005
    Posts
    5

    Default

    thanks for the update dave, im updating back to the EDGE stuipd me, then hopefully ill find a fix, every think does seems to work perfet in WHM just page cannot be displayed for cpanels

    every think ran perfet for 6 months untill i got targeted by some hackers sucking all my cpu

    i decided to update to get rid of this things that kept running

    and now the name servers http://www.dnsreport.com/tools/dnsre...hosting.org.uk

    and cpanel it self dont work but yet all the processes are up and every think seem ok in whm
    Last edited by senoj2k; 04-04-2006 at 08:00 PM.

  9. #9
    Member celliott's Avatar
    Join Date
    Jan 2006
    Location
    United Kingdom
    Posts
    460

    Default

    Have you tried logging into SSH and restarting cpanel?

    I think its /etc/rc.d/init.d/cpanel restart

  10. #10
    Member
    Join Date
    Jan 2004
    Posts
    30

    Default

    Did your server crash/was it rebooted after the hacks?

    If so, you would be able to access your WHM area but your Cpanel might not work if you have not manually restarted your services in your WHM area.

    Scroll to the bottom of your WHM area for RESTART SERVICES, restart your apache and any other service which may not be working, see if that helps. If so you might also have to restrat BIND FTP EXIM etc, manually also b4 they work properly.

    regards

  11. #11
    Registered User
    Join Date
    Dec 2005
    Posts
    2

    Lightbulb

    If none of the techniques works then try this:
    #mv /usr/local/cpanel /usr/local/cpanel.old
    #/scripts/upcp --force

    It will refresh all the cpanel binaries and it will be just like fresh cpanel install.
    good luck!!

  12. #12
    OCX
    OCX is offline
    Member
    Join Date
    Sep 2003
    Posts
    246

    Default

    check your named.conf file and see if it looks normal

    if not..grab your backup and replace it..
    then restart named



    OCX

  13. #13
    Member
    Join Date
    Apr 2005
    Location
    Texas
    Posts
    63

    Default

    See if the following will give you a process ID or show that it's at least listening on the right ports :

    netstat -atnp | grep "2082\|2083\|2086\|2087"

    If not, I'm guessing cpsrvd is borked.

  14. #14
    Member
    Join Date
    Oct 2005
    Posts
    5

    Default

    wow thanks for the support guys ,

    yes i have tryed restarting cpanel via ssh everything starts up fine all services are running

    thinking back cpanel and domains did stop working when i did upgrade to the edge to try and stop my cpu being exploited i am a bit out of my depth here

    refreshing all the cpanel binaries and it will be just like fresh cpanel install does sounds like what it needs thanks rajgautam if i do run this can things get more messed up though or am i safe?

    and thanks xidica i just ran netstat -atnp | grep "2082\|2083\|2086\|2087"

    root@cpanel [~]# netstat -atnp | grep "2082\|2083\|2086\|2087"
    tcp 0 0 0.0.0.0:2082 0.0.0.0:* LISTEN
    15766/cpsrvd - wait
    tcp 0 0 0.0.0.0:2083 0.0.0.0:* LISTEN
    15755/stunnel-4.04l
    tcp 0 0 0.0.0.0:2086 0.0.0.0:* LISTEN
    15766/cpsrvd - wait
    tcp 0 0 0.0.0.0:2087 0.0.0.0:* LISTEN
    15755/stunnel-4.04l
    root@cpanel [~]#

    the results seem ok?

    does any one else have any more brain waves?
    Last edited by senoj2k; 04-05-2006 at 07:27 AM.

Similar Threads & Tags
Similar threads

  1. Cpanel/WHM not working
    By rkgroups in forum New User Questions
    Replies: 2
    Last Post: 08-17-2007, 10:28 AM
  2. /whm /cpanel not working
    By stugster in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-08-2007, 01:48 PM
  3. Fantastico not working: PHP not working in cPanel/WHM
    By softwareguy in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 05-25-2006, 03:38 AM
  4. cPanel and WHM is not working
    By dyrer in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 04-14-2006, 03:18 PM
  5. Whm working Cpanel Down
    By SACHIN in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-18-2004, 03:56 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube