Monday 30 July 2012

Spam Assassin Icon is Missing in cPanel

If the Spam Assassin Icon is Missing in your cPanel. 
 



You need to enable this option from your cPanel/WHM.

WHM > Tweak Settings > SpamAssassin > tick
WHM > Service Manager > spamd > tick both boxes





In WHM, Go to  Main >> Packages >> Feature Manager


Click the Edit Button under Edit Feature List



Select the Check Box to Spam Assassin  and Save it.



Now go to your cPanel Account , You can see the Spam Assassin Box under the "Mail"









ls: /proc/sys/net/ipv4/ip_conntrack_max: No such file or directory

[root@Node ~]# ll /proc/sys/net/ipv4/ip_conntrack_max
ls: /proc/sys/net/ipv4/ip_conntrack_max: No such file or directory



Maybe the module has not loaded.
Check whether the module loaded 


[root@Node ~]# lsmod | grep  ip_conntrack



If not loaded, then load the module as below.
[root@Node ~]# modprobe ip_conntrack

[root@Node ~]# ll /proc/sys/net/ipv4/ip_conntrack_max
-rw-r--r-- 1 root root 0 Apr 22 22:29 /proc/sys/net/ipv4/ip_conntrack_max

iptables: Unknown error 4294967295

OpenVPN connected but Internet is not working. 
While trying to do NAT, you may get the below error


[root@VPS ~]# iptables -t nat -A POSTROUTING -s 10.9.0.1/24 -o venet0 -j MASQUERADE
iptables: Unknown error 4294967295



Try like this:
iptables -t nat -A POSTROUTING -o venet0 -j SNAT --to-source #main ip

Sunday 29 July 2012

Error: vzquota : (warning) Incorrect quota shutdown for id 101, recalculating disk usage


[root@Node ~]# vzctl start 101
vzquota : (warning) Incorrect quota shutdown for id 101, recalculating disk usage


Try the Below steps.
[root@Node ~]# vzquota on 101
[root@Node ~]# vzquota off 101
[root@Node ~]# vzquota on 101
[root@Node ~]# vzctl start 101