r00t.gr

Programming and more

Entries Tagged ‘openvz’

How to fix: RESULT: csf will not function on this server due to FATAL errors from missing modules [4]

I tried to install CSF to a linux machine running Cpanel. I got the error: RESULT: csf will not function on this server due to FATAL errors from missing modules [4]RESULT: csf will not function on this server due to FATAL errors from missing modules [4] As it turns out this is an openVz issue. […]

How to see what programs use the most memory in linux

You have to run:   ps aux | sort -nk +4ps aux | sort -nk +4 That will print you a list of all the running applications and it wil sort them by the 4th column (memory) The same can be applied for CPU, Virual memory etc. Just change the -nk +4 value to +3 […]

Openvz + rsync problem Disk quota exceeded (122) [fixed]

Ok I had this annoying error. I rent servers to clients, and I user VPSs on another server to backup them. This one client (latest client) had a problem. When I used rsync to move files to the Backup VPS I got a lot of these errors: rsync: write failed on "/vz/private/106/mnt/sdb1/var/lib/mysql/ibdata1": Disk quota exceeded […]

OpenVZ VPS and ip from another subnet

I didn’t know that one and like many great things i learned it from one of my ISP’s. When you have OpenVZ and an ip from another subnet, you can use it, but you have to make a change in openvz configuration for everything to work fine. So the fix is: vi /etc/vz/vz.confvi /etc/vz/vz.conf Find […]

OpenVZ VPS and Java Memory Error and how to fix it.

There is a “bug” or more correctly an error when someone is trying to run a simple Java Program inside a OpenVZ (HyperVM, Virtuozzo) VPS. If you are in a harry and just want the answer, scroll down to the post and see it. It the story goes like this:   The problem: At first […]