Solving jailshell enable hosting account errors.

Not all hosting service provider offers you shell access on their shared server but they may provide you jailshell access for your hosting account.  Jailshell access is very limited shell that allows you to logon to hosting server via SSH. You have limited access to your home directories and don’t have any access for other accounts on same server where your account is hosted.  Sometimes few hosting accounts having jailshell enable may get a error -jailshell: fork: Resource temporarily unavailable for few most common frequently used commands such as ls, cat etc… when fired from console. You can easily correct this error you need to login to your WHM, Suspend account which is having this error and again unsuspend the same account having this issue. Thus jailshell of account can be reset by Suspending/Unsuspending of account which removes such error.

468 x 60 a Solving jailshell enable hosting account errors.

Posted under Linux cPanel Hosting, Reseller Hosting, cpanel Hosting, cpanel hosting tips

This post was written by admin on September 4, 2008

Tags: , , ,

How to set Hostname for your VPS/Dedicated server.

Finally you ordered your dedicated server and you want to start using it but unfortunately you are not much technically strong for managing it properly. Though your server provider will offer you technical support but as a webmaster you should need to know few basic things. One of them is setting up hostname for your server.

Your hostname must be FQDN : Fully Qualified Domain Name. Your server hostname is the name of your server that you want to set.  Hostname is the your server’s name that you want to set.  If you want to use server.domain.com then you should always set hostname for the domain you are owner.

1) Log in to your WHM control panel :  http://IP/whm >> then edit dns zone  >> you need to select your domain name.

 How to set Hostname for your VPS/Dedicated server.

Then server IN A { Use your server IP }
www.server IN A  { Use your server IP }

OR

If you are using shell then you just need to amend  following  file # vi /var/named/domain.com.db using

server IN A { Use your server IP }
www.server IN A { Use your server IP }
Just save this file  and reload named using  #service named reload
#rndc reload domain.com

2). You can also set hostname using following WHM >> Basic cPanel/WHM Setup >> Hostname. You can do it using command line prompt for this you need to login to shell /server as a root then run hostname server.domain.com { here the second parameter will be the hostname that you want to set }

3) You need to verify if you have set hostname correctly using /etc/hosts and need to confirm that you have used correct hostname and havnt done any spelling mistake or any other mistake. If anything is set incorrect while setting hostname then few services for your server may get affected/not work properly which are related to hostname.

4) Finally its time to fire “hostname “ command on server to crosscheck if you have set your hostname correctly and thats all, you have set Hostname successfully :)

Posted under Linux cPanel Hosting, Reseller Hosting, cpanel Hosting, cpanel hosting tips

This post was written by admin on September 3, 2008

Tags: , , , ,