If 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…
Category: General Discussion
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…
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…
Change upload_max_filesize for a particular domain, upload_max_filesize
November 27, 2006 / General DiscussionTo Change upload_max_filesize for a particular domain in Ensim run the following command on the shell as a root user. #echo “php_admin_value upload_max_filesize 20MB” > /etc/httpd/conf/sitexx/uploadmaxsizeReplace xx with site number.…
Change Default IP Address for Name-based Sites, Ip address for Name-based Sites
November 27, 2006 / General DiscussionTo change Default Ip address for Namebased Sites : edit /etc/virtualhosting/namebased_ip_addrsedit /etc/hostsedit /etc/httpd/conf/httpd.confedit /var/www/html/MyAdmin/wp.config.inc.phpedit /etc/detectchanges/IPthen run#/usr/local/bin/NBDetectchanges Resave all the named-based sites.
Enable Cgi-bin for any Folder, Enable Cgi-bin for Folder
November 27, 2006 / General DiscussionHow to enable Cgi-bin for any folder? Create a .htaccess file and place the same in the folder you want to enable Cgi-bin to. Place the following in the .htaccess…
Disk Quota Check-in ensim, fixing quotas manually for Ensim
November 27, 2006 / General DiscussionIf you are getting the following errors in your logs : Sep 5 21:51:43 srv01 kernel: VFS: find_free_dqentry(): Data block full but it shouldn’t.Sep 5 21:51:43 srv01 kernel: VFS: Error…
MailMax/Webmail Registration Problems
November 27, 2006 / General DiscussionThe client is having an issue with Mail-Max registration.URL: http://ns3.emediatecreative.com/webmail Example account: http://www.goldenenergyservices.com/webmail email: [email protected] PW: mthoThis is the error message displayed in the browser when a user tries to…
How to Enable Extended Logging
November 27, 2006 / General DiscussionTo enable extended logging in Exim to trace nobody’s mails. Try the following trick. Edit /etc/exim.conf On the second line add: log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer…