Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16
  1. #1
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default How to start WHM?

    I was just changing a SSL certificate through WHM and when I hit Do It it shut down WHM so I can no longer connect. I tried restarting SSL and cpanel4 and it's still not up. Can someone tell me hwat to go do get it back up?

  2. #2
    Member
    Join Date
    Sep 2004
    Location
    Cleveland, Ohio
    Posts
    378

    Default

    /etc/rc.d/init.d/cpanel restart should do the trick.

  3. #3
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default

    When I ran that it said Could not find functions file, your system may be broken. Any idea what that means and how to fix it?

  4. #4
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Try "service cpanel restart" in shell.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  5. #5
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default

    Unfortunately that won't work as my system is running FreeBSD and not linux.

  6. #6
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Quote Originally Posted by Jeff75
    When I ran that it said Could not find functions file, your system may be broken. Any idea what that means and how to fix it?
    If it helps any, here is the beginning of the /etc/rc.d/init.d/cpanel script.

    Code:
    # Source function library.
    if [ -f /etc/init.d/functions ]; then
      . /etc/init.d/functions
    elif [ -f /etc/rc.d/init.d/functions ]; then
      . /etc/rc.d/init.d/functions
    else
      echo "Could not find functions file, your system may be broken"
      exit 1
    fi
    Sounds like the functions file may be missing. Maybe FreeBSD is different, but if the cpanel file exists, the ones it uses should also. You could try a cpanel upgrade. That would fix any possible problems and also restart cpanel/WHM.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  7. #7
    Member
    Join Date
    Sep 2004
    Location
    Cleveland, Ohio
    Posts
    378

    Default

    Try /scripts/upcp --force

  8. #8
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default

    I ran this /scripts/upcp --force and it completed but I still am unable to connect to WHM. The functions file/folder is missing from both of those locations. Any other ideas?

  9. #9
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default

    Does anybody have any other suggestions? I've opened a ticket with my DC and cPanel and neither one seem to know how to get WHM to start.

  10. #10
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    What version of FreeBSD are you running?

  11. #11
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default

    I'm running FreeBSD 4.7

  12. #12
    Member
    Join Date
    Aug 2002
    Posts
    1,120

    Default

    Try running:

    /usr/local/cpanel/startup

  13. #13
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default

    Unfortunately, that didn't work either. Any other ideas?

  14. #14
    Member
    Join Date
    Apr 2003
    Posts
    555

    Default

    It turns out that WHM is running but only under 2086. Does anybdoy have any idea as to why I can't reach it under SSL on port 2087?

  15. #15
    Member
    Join Date
    Sep 2004
    Posts
    529

    Default

    When a similar thing happened to me several weeks ago... it turned out it was a bug(s) in cpanel, and something that chewed up a stunnel.conf file.

    http://forums.cpanel.net/showthread.php?t=32754

    Since for freebsd, you're probably using the older version of cpanel that I was (it was the 9.9.8 stable - one before last stable for linux)... it's possible it could be the same thing.

    I never did find out exactly what changed my stunnel.conf so that it didn't listen for connections from the cpanel/whm secure ports. But a reinstall of stunnel and some tweaks to the config file got it working again.


    However, you should probably try reinstalling your ssl certificate first.

Similar Threads & Tags
Similar threads

  1. whm can't start...
    By bilgin in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-14-2010, 11:29 AM
  2. is cpanel and WHM all I need to start a server?
    By daabomb2002 in forum New User Questions
    Replies: 2
    Last Post: 09-21-2007, 08:54 AM
  3. MySQL wont start in whm
    By Vint4ge in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-05-2006, 02:40 AM
  4. Cannot start whm after update
    By omenix in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-30-2005, 11:19 AM
  5. WHM always start exim on port 26 !
    By zella in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-15-2005, 04:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube