Optimize only fragmented tables in MySQL

Normally I use myqlcheck -A –optimize to optimize my MySQL database tables. But this will load your whole database and use more time than optimize only fragment tables. I always use the MySQLTuner 1.1.1 – Major Hayden to check and optimize my database, and I found a lot of fragmented tables in my database. I Continue reading “Optimize only fragmented tables in MySQL”

[solved] /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/local/lib/libgd.so.2)

/usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libgd.so.2) /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libgd.so.2) /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/local/lib/libgd.so.2) /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/local/lib/libgd.so.2) vi /etc/crontab and edit the mrtg line by appending the >/dev/null 2>&1 at the end of line: */5 * Continue reading “[solved] /usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/local/lib/libgd.so.2)”

Update server with custombuild in DirectAdmin

Update server with Custombuild in DirectAdmin cd /usr/local/directadmin/ ./build clean ./build options ./build versions ./build update_versions [root@server custombuild]# ./build versions Latest version of DirectAdmin: 1.35.1 Installed version of DirectAdmin: 1.35.1 Latest version of Apache: 2.2.15 Installed version of Apache: 2.2.15 Latest version of ProFTPD: 1.3.2 Installed version of ProFTPD: 1.3.2 Latest version of autoconf: 2.65 Continue reading “Update server with custombuild in DirectAdmin”

[Solved] [error] (28) No space left on device: mod_python: Failed to create global mutex 2 of 8 (/tmp/mpmtx142352).

[Mon Mar 22 20:28:47 2010] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Mon Mar 22 20:28:47 2010] [notice] mod_python: using mutex_directory /tmp [Mon Mar 22 20:28:47 2010] [error] (28)No space left on device: mod_python: Failed to create global mutex 2 of 8 (/tmp/mpmtx142352). [Mon Mar 22 20:28:47 Continue reading “[Solved] [error] (28) No space left on device: mod_python: Failed to create global mutex 2 of 8 (/tmp/mpmtx142352).”