[client]port=3306socket=/var/lib/mysql/mysql.sock[mysqld]port=3306datadir=/var/lib/mysqlsocket=/var/lib/mysql/mysql.sockskip-lockingskip-innodbquery_cache_limit=1Mquery_cache_size=32Mquery_cache_type=1max_connections=500interactive_timeout=100wait_timeout=14400connect_timeout=10thread_cache_size=128key_buffer=150Mjoin_buffer=1Mmax_allowed_packet=16Mtable_cache=1500record_buffer=1Msort_buffer_size=1Mread_buffer_size=1Mread_rnd_buffer_size=768Kmax_connect_errors=10thread_concurrency=4myisam_sort_buffer_size=64Mlog-binserver-id=1[mysql.server]user=mysqlbasedir=/var/lib [safe_mysqld]err-log=/var/log/mysqld.logpid-file=/var/lib/mysql/********.pid [NOTE : here it should be server hostname]open_files_limit=8192 [mysqldump]quickmax_allowed_packet=16M [mysql]no-auto-rehash [isamchk]key_buffer=64Msort_buffer=64Mread_buffer=16Mwrite_buffer=16M [myisamchk]key_buffer=64Msort_buffer=64Mread_buffer=16Mwrite_buffer=16M [mysqlhotcopy]interactive-timeout
Author: admin
Script for /etc/init.d/named
November 27, 2006 / General DiscussionIf you are having problems with the named service, check out the script on the server under /etc/init.d/Most probably it will be the script for FreeBSD Server. You can make…
To Disable any (Horde/Squirrel/Neomail)
November 27, 2006 / General DiscussionIs there any way to disable Horde or other webmail applications for users who don’t want them? Let’s say the user’s username is Sunil, first you will need to SSH…
Mysql root issues, cannot log into the database as a root
November 27, 2006 / General DiscussionIf you face such an error —–> ERROR 1045: Access denied for user: ‘root@localhost’ (using password: NO). Solution : You have set a password on the root account. This is…
The Root Partition on This Server is Running Out, cPanel Error
November 27, 2006 / Control PanelsIf you come across such an error in login in CpanelSorry for the inconvenience!The root partition on this server is running out of disk space. Cpanel operation temporarily suspended to…
Updating /script rsync: failed to connect to rs
November 27, 2006 / General DiscussionIf you get the following error while running the script following is the solution: root [~]# /scripts/updatenowUpdating /scripts…rsync: failed to connect to rsync.cpanel.net: No route to hostrsync error: error in…
Fatal error: Undefined class name ’string’ in /usr
November 27, 2006 / General DiscussionFatal error: Undefined class name ’string’ in /usr/local/cpanel/base/horde/turba/lib/Turba.php on line 168. This error caused by the user having a comma in their address book in Horde. In order to fix…
Manual Entry for SSL, It Fails from the WHM
November 27, 2006 / SSLAdd these Lines under httpd.conf file========================ServerAdmin [email protected] /home/securea/public_htmlBytesLog domlogs/secure.avmdvds.com-bytes_logServerName www.secure.avmdvds.comScriptAlias /cgi-bin/ /home/securea/public_html/cgi-bin/CustomLog /usr/local/apache/domlogs/secure.avmdvds.com-ssl_log “%t %{version}c %{cipher}c %{clientcert}c”User secureaGroup secureaSSLEnableSSLCertificateFile /usr/share/ssl/certs/secure.avmdvds.com.crtSSLCertificateKeyFile /usr/share/ssl/private/secure.avmdvds.com.keySSLLogFile /var/log/secure.avmdvds.comUserDir public_htmlSetEnvIf User-Agent “.*MSIE.*” nokeepalive ssl-unclean-shutdown======================== #service httpd stop#service…
Scripts for Empty var/log, empting var/log
November 27, 2006 / General Discussion#!/bin/bash logpath=/var/logloglines=5000 for name in `ls $logpath`dotail -n $loglines $logpath/$name > /tmp/log.tempcp -f /tmp/log.temp $logpath/$namedonerm -f /tmp/log.temp /bin/sleep 3/usr/bin/killall -9 httpd/bin/rm -rf /usr/local/apache/logs/*/bin/sleep 5/etc/rc.d/init.d/httpd startssl
Incorrect login-Horde / Squirrelmail IMAP problem
November 27, 2006 / General DiscussionThe problem for incorrect login for Horde webmail OR the IMAP problem for Squirrelmail is often caused due to failure of the IMAP service on the server.We first need to…