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?
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?
/etc/rc.d/init.d/cpanel restart should do the trick.
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?
Try "service cpanel restart" in shell.
Unfortunately that won't work as my system is running FreeBSD and not linux.
If it helps any, here is the beginning of the /etc/rc.d/init.d/cpanel script.Originally Posted by Jeff75
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.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
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?
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.
What version of FreeBSD are you running?
I'm running FreeBSD 4.7
Try running:
/usr/local/cpanel/startup
Unfortunately, that didn't work either.Any other ideas?
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?
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.