It’s quite common for a cPanel server to need a larger /tmp partition.
To resize follow these steps:
** Note that this will stop MySQL and will cause service interruption. These commands will resize /tmp to 2GB. If you wish to resize to a greater or smaller size simply change 2048000 to your desired size in bytes.
service httpd stop
service mysql stop
umount /var/tmp
umount /tmp
sed -i -e 's/512000/2048000/g' /scripts/securetmp
rm /usr/tmpDSK
/scripts/securetmp --auto
cd /tmp
ln -s /var/lib/mysql/mysql.sock
/etc/init.d/mysql start
/etc/init.d/chkservd start
Most Popular Articles
How to install ConfigServer ModSecurity Control (cmc)
wget https://download.configserver.com/cmc.tgztar zxf cmc.tgzcd cmcsh install.sh
Installing and Configuring CSF Firewall
Installing and Configuring CSF Firewall This article demonstrates how to install and configure...
How do I disable SSH login for the root user?
InstructionsNOTE: In the following example, we are using admin for the username. This is just a...
Linux Malware Detect
cd /tmp wget http://www.rfxn.com/downloads/maldetect-current.tar.gz tar xfz...
How install attracta SEO Tools in cPanel Servers
How install attracta SEO Tools in cPanel ServersLog into your cPanel server(s) via SSH and run...