• 1-888-289-2246
  • 24x7x365 Presence

Category: Default

  • Apache error-(28)No space left on device: Couldn’t create accept lock

    Scenario- Apache has stopped and is getting the error message below while starting- [Sat Aug 16 02:22:49 2014] [emerg] (28)No space left on device: Couldn’t create accept lock Possible cause- Some semaphores might be stuck Solution- Check semaphores on the server by using the command below[root@web ~]# ipcs -s Clear semaphores out with the command […]

  • Setting Up a Django Server Using Nginx and Gunicorn

        We’ll setup and configure the Django server on Ubuntu. We are going to configure it with Nginx and Gunicorn for good compatibility and performance.     • Preparation     o   Make sure that your system is updated before proceeding with the installation. §  sudo apt-get update     • Install and Create […]

  • Configuring the Rails server with Nginx and Unicorn

        We are going to setup and configure the Rails server on CentOS with Nginx and Unicorn using a JodoHost VPS account.     • Our VPS system Details   o   VPS Operating System: CentOSo   VPS Hostname: server1.example.como   Server IP Address: 1.1.1.1o   Username: username   • Sign up for VPS   o   To configure […]

  • Failed to set locale, defaulting to C

    This error “Failed to set locale, defaulting to C” is generally occur on ubuntu OS when there is no locale setup permanently in the environment which you work. It most commonly comes when you do login to your ubuntu machine via ssh or while start/stop a service on it. To fix this problem follow are […]

  • Setup DNS Server with BIND command

        We are going to setup and configure the BIND DNS Server on CentOS. We are going to configure it at the same VPS sever where our webserver is installed. This this may not be the most viable solution for managing large number of domains.     • Our DNS VPS system Details   […]

  • Joomla error: RG_Emulation is On

    Add the line below in the configuration.php file to disable this:  if(!defined(‘RG_EMULATION’)) { define( ‘RG_EMULATION’, 0 ); } ]]>

  • Slow password prompt while making an SSH connection?

    We’ve seen many times that when someone is trying to make an SSH connection to a server or a Linux machine there is a delay of some seconds or maybe even a minute after inputting the username, root or something else. The actual reason behind this is that the system is looking up the hostname […]

  • How to check the number of active connections on the Linux server

    With the help of the commands below, you can check active connections on Linux server on different ports:-    netstat -ntu | grep ‘:143’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort   netstat -ntu | grep ‘:110’ | awk ‘{print $5}’ | cut -d: -f1 | sort | […]

  • A powerful Linux firewall: iptables

    Linux has an extremely powerful built-in firewall, referred to as iptables. It works on IP addresses, protocols (tcp, udp, icmp) and ports. Iptables places rules into predefined chains (INPUT, OUTPUT and FORWARD) which are checked against the netowrk traffic and then as per the rule the traffic is accepted/blocked to/from the system. 1) You can […]

  • Installing the mcrypt extension to PHP on Plesk 11.x

    We have found that many users need the PHP mcrypt extension for the payment gateway or security reasons, however this doesn’t come by default on Plesk or on the Linux server (CentOS to be specific). Installing the mcrypt extension on PHP is a bit risky as it doesn’t come with the CentOS server base repository […]