TechFiz on June 28th, 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 compiled with iptables statically instead of as a [...]

Continue reading about apf fix: unable to load iptables module (ip_tables)

TechFiz on June 28th, 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 to make a small [...]

Continue reading about CSF Fix: iptables: No chain/target/match by that name

TechFiz on October 31st, 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 found [...]

Continue reading about Memory issue after OS upgrade?

TechFiz on October 24th, 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 of this VPS server. This [...]

Continue reading about OpenVZ: VPS Cannot allocate memory

TechFiz on October 8th, 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 group `tty’
If any [...]

Continue reading about Unable to access VPS via SSH – CentOS5 on OpenVZ

TechFiz on October 8th, 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 the file /etc/rc.sysinit of the VPS server (Here VEID [...]

Continue reading about Unable to open pty: No such file or directory