Posted by TechFiz on June 28, 2009
While working with APF on servers, you might normally get to see the following error, # apf -r apf(2042): {glob} flushing & zeroing chain policies apf(2042): {glob} firewall offline apf(3179): {glob} activating firewall apf(3284): {glob} unable to load iptables module (ip_tables), aborting. apf(3179): {glob} firewall initalized apf(3179): {glob} fast load snapshot saved Your kernel is [...]
Posted by TechFiz on June 28, 2009
Unable to add a new block for an ip via CSF? Iptables modules are not loaded into your server’s kernel. If you’re getting the following error on a OpenVZ VPS server: iptables: No chain/target/match by that name ACCEPT udp opt — in !lo out * 0.0.0.0/0 -> 0.0.0.0/0 state NEW udp dpt:953 Contact the DC [...]
Posted by TechFiz on October 31, 2008
Out of memory? Did you upgrade your OS recently? Then carefully have a look at ps -auwx output for memory consumption. Today I found that initscripts package owned minilogd was eating up almost 70% of the server resources on a VPS running on OpenVZ virtualization. After reading a bit about it on the internet I [...]
Posted by TechFiz on October 24, 2008
Are you getting the following error while you SSH into the VPS server? ssh_exchange_identification: Connection closed by remote host You might get the following when you try entering the same VPS via Hardware Node. [root@vps1 ~]# vzctl enter 100 Unable to fork: Cannot allocate memory To resolve this issue, you must check the resource usage [...]
Posted by TechFiz on October 8, 2008
To trouble shoot this issue, first get into the server from the Hardware node so that you can quickly resolve this issue as a VPS Administrator. You might face few issues which I have reported in my earlier posts : Unable to open pty: No such file or directory tty device is not owned by [...]
Posted by TechFiz on October 8, 2008
Unable to access the VPS via SSH? Are you getting the following error? # vzctl enter 1022 enter into VE 1022 failed Unable to open pty: No such file or directory Fix: # vzctl exec 1022 /sbin/MAKEDEV pty # vzctl exec 1022 /sbin/MAKEDEV tty # vzctl enter 1022 To Fix this issue permanently, 1. Edit [...]