Markus Blog What’s going on Internet?

19Nov/081

Changing /tmp Partition Size on CPanel Server

Today one of my server have its /tmp partition is full and causing problems such as failed MySQL database query or Fantastico stop working because they can't write temporary file. Here is the solution I found on CPanel's forum:

lsof /tmp

Then umount /tmp and /var/tmp:

umount -l /tmp
umount -l /var/tmp

Then remove the old partition file:

rm -fv /usr/tmpDSK

Then create a new one:

/scripts/securetmp
Tagged as: , 1 Comment
31Mar/086

CPanel Problem Upgrading MySQL 5

Several months ago I had problem on upgrading CPanel's MySQL 4.1 to MySQL 5. The problem was occurred on Centos 5 OpenVZ based VPS. Since someone contact me at WebHostingTalk forum asking about the same problem so I decided to re-try again the steps to fix the problem. Hence I post it here too, for future and general purposes :)

ok, do this at your own risk :) backup your mysql data first!

the steps i do: