
07-10-2009, 11:55 AM
|
|
Aspiring Evangelist
|
|
Join Date: Jul 2007
Posts: 368
|
|
WHM not working after complete installation
Hi
I have centOS VPS
im install WHM :
Code:
To begin your installation, use the following commands:
- cd /home — Opens the directory /home.
- wget http://layer1.cpanel.net/latest — Fetches the latest installation file from the cPanel servers.
- sh latest — Opens and runs the installation files.
- /usr/local/cpanel/cpkeyclt — Activates your license after installation.
after finish installation
/WHM
/2087
not work !
|

07-10-2009, 12:13 PM
|
|
WHT Addict
|
|
Join Date: Apr 2009
Posts: 168
|
|
Login to your root SSH
use the following commands
selinux=disabled
setenforce 0
service iptables stop
Then try to open whm
If still not work then use the following command
/scripts/upcp --force
__________________
█ GOODEALHOSTING - Offering Cheap Shared, Reseller, Shoutcast Hosting
█ High Performance Virtual Private Servers , 99.9% Uptime,
█ Real 24/7 Support, Affordable Server Management Solutions.
█ NginxCP.com - cPanel nginx automated installer Plugin.
|

07-10-2009, 12:16 PM
|
|
Aspiring Evangelist
|
|
Join Date: Jul 2007
Posts: 368
|
|
Thanks solved
But " service iptables stop "
for CSF need Iptables
how i can FIX iptables for using in WHM ?
|

07-10-2009, 12:21 PM
|
|
Web Hosting Master
|
|
Join Date: Mar 2009
Posts: 568
|
|
you need to open ports in iptables. like if I want to open port 2087 use by whm I would do:
Code:
iptables -I INPUT -p tcp --dport 2087 -j ACCEPT
|

07-10-2009, 12:22 PM
|
|
WHT Addict
|
|
Join Date: Apr 2009
Posts: 168
|
|
iptables/csf is not fully supported in VPS enviroment.
First manually config iptables or use csf in test mode.
__________________
█ GOODEALHOSTING - Offering Cheap Shared, Reseller, Shoutcast Hosting
█ High Performance Virtual Private Servers , 99.9% Uptime,
█ Real 24/7 Support, Affordable Server Management Solutions.
█ NginxCP.com - cPanel nginx automated installer Plugin.
|

07-12-2009, 07:17 AM
|
|
Aspiring Evangelist
|
|
Join Date: Jul 2007
Posts: 368
|
|
im restart vps but again me must " service iptables stop "
befor restart i do :
Quote:
|
iptables -I INPUT -p tcp --dport 208 -j ACCEPT
|
but after restart we must again run " service iptables stop "
how i can solve or allow that to work WHM for ever after restart.?
|

07-12-2009, 08:08 AM
|
|
WHT Addict
|
|
Join Date: Mar 2009
Posts: 119
|
|
If you use CSF Firewall you can add the ports that you need opened in /etc/csf/csf.conf Just look for the TCP_IN section and add the ports that you need in there.
2077 = Web Disk
2078 = Web Disk SSL
2082 = cPanel
2083 = cPanel SSL
2086 = WHM
2087 = WHM SSL
2095 = Webmail
2096 = Webmail SSL
After editing and saving the file, run service csf restart from SSH. That should make sure that the ports are open whenever CSF starts.
|

07-12-2009, 08:10 AM
|
|
Aspiring Evangelist
|
|
Join Date: Jul 2007
Posts: 368
|
|
|

07-12-2009, 12:16 PM
|
|
WHT Addict
|
|
Join Date: Apr 2009
Posts: 168
|
|
Use command
service iptables disabled
__________________
█ GOODEALHOSTING - Offering Cheap Shared, Reseller, Shoutcast Hosting
█ High Performance Virtual Private Servers , 99.9% Uptime,
█ Real 24/7 Support, Affordable Server Management Solutions.
█ NginxCP.com - cPanel nginx automated installer Plugin.
|

07-12-2009, 12:30 PM
|
|
Aspiring Evangelist
|
|
Join Date: Jul 2007
Posts: 368
|
|
yes , i know
if i restart server
again must run thats command ?
|

07-12-2009, 01:44 PM
|
|
Corporate Member
|
|
Join Date: Apr 2009
Posts: 801
|
|
run chmod 000 /etc/init.d/iptables
this will prevent your iptables from starting at vps startup. However it is really bad idea to use it in such way, better option is to install CSF (you maybe can do it in WHM) and configure it properly. CSF+LFD is very good thing actually.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|