Cpanel required ports list User Opinions ( ) How would you rate this answer? Helpful Not helpful Help us improve. Why was this unhelpful? Thank you for rating this answer. Port Service Protocol Direction Notes 20 ftp tcp inbound/outbound 21 ftp tcp,udp inbound/outbound 22 ssh tcp inbound 25 smtp tcp inbound/outbound 26 smtp tcp inbound/outbound… Continue reading cPanel required ports list
Month: July 2008
WHM shows all accounts as 0/unlimited quotas
There are many possible causes of this issue, however most relate to quotas being enabled on the filesystem itself. Some ways to check the most common errors are: Quotas enabled in the filesysem By default, quoatas are enabled in the kernel on all SoftLayer Linux and FreeBSD kernels. If you’ve compiled/installed your own kernel, you’ll… Continue reading WHM shows all accounts as 0/unlimited quotas
“IMPORTANT: do not ignore this email: The hostname resolves to . It should resolve to X.X.X.X”
A newly setup cPanel system may have a message such as the following show the first time that you login to WHM. IMPORTANT: Do not ignore this email. The hostname (hostname.server.com) resolves to . It should resolve to xx.xx.xx.xx. Please be sure to correct /etc/hosts as well as the ‘A’ entry in zone file for… Continue reading “IMPORTANT: do not ignore this email: The hostname resolves to . It should resolve to X.X.X.X”
Error 550 – “The recipient cannot be verified” – cPanel
On servers running cPanel, you may find that mail sent to valid users it bounced back by your mail server. The bounce back messages will be similar to the following. PERM_FAILURE: SMTP Error (state 9): 550-“The recipient cannot be verified. Please check all recipients of this550 message to verify they are valid. If this is… Continue reading Error 550 – “The recipient cannot be verified” – cPanel
How do I get my mail headers?
Retrieving email headers is a very important step in reporting or troubleshooting any email issue. Here are the steps to get email headers from some of the more popular mail programs: Eudora Pro Double-click on the message to open it in a separate window. Click on the button labeled “BLAH BLAH BLAH” at the top… Continue reading How do I get my mail headers?
Installing VMWare on CentOS 5.x (64-bit)
Installing is easy.Login to the server with the root user. VMWare Install Preparation First, we need to download the VMWare installer.You can get to the download via http://vmware.com/download/server/.Once here, click on the download link, accept the EULA, and download the LinuxTarball (VMware-server-1.0.3-44356.tar.gz in my case): ·Main Download Link: http://vmware.com/download/server/ ·# wget –O vmware-server.tar.gz http://download3.vmware.com/software/vmserver/VMware-server-1.0.3-44356.tar.gz After… Continue reading Installing VMWare on CentOS 5.x (64-bit)
DoS: looking at open connections
Here is a command line to run on your server if you think your server is under attack. It prints our a list of open connections to your server and sorts them by ammount. RedHat: netstat -ntu | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n BSD: netstat… Continue reading DoS: looking at open connections
How to disable root login through SSH.
Before you do this make sure you have created another user in the wheel group. To disable root login through ssh, edit the following file: # /etc/ssh/sshd_config browse to the following line: PermitRootLogin yes and change to: PermitRootLogin no Save the file and restart ssh. # /etc/init.d/ssh restart If you are ssh’d into the server… Continue reading How to disable root login through SSH.
How do I permit specific users SSH access?
We will be primarily working with one configuration file in this article: OpenSSH – /etc/ssh/sshd_config OpenSSH For locking down which users may or may not access the server you will want to look into one, or more, of the following directives: User/Group Based Access AllowGroups This keyword can be followed by a list of group… Continue reading How do I permit specific users SSH access?
Chrootkit help
SSH as admin to your server. DO NOT use telnet, it should be disabled anyways. #Change to root su – #Type the following wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz # Check the MD5 SUM of the download for security: ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.md5 md5sum chkrootkit.tar.gz #Unpack the tarball using the command tar xvzf chkrootkit.tar.gz #Change to the directory it created cd chkrootkit*… Continue reading Chrootkit help