could not load modules on centos directory does not exist?-Collection of common programming errors

If you are using a OpenVZ/Virtuozzo VPS, there is no way to load a kernel module. Time to move to a different VPS solution or a dedicated server.

See also “When CentOS is not CentOS”

We have noticed that a lot of people are offering something that they call CentOS. But this something is in reality only based on CentOS and it has been modified by the people making it available. This is usually the case for hosters that provide a Linux VPS (Virtual Private Server). This is usually accomplished using site hosting software like CPanel or Plesk, or by using virtualization software like Virtuozzo or OpenVZ

These software projects use CentOS as their base but add or modify some of the core components. For example OpenVZ require a different kernel then the one that CentOS ships and CPanel provide their own version of Apache and PHP.