suhosin.so: undefined symbol: zend_atol
On cPanel Roundcube webmail on clicking spell check icon a message appears in the right hand corner which is similar to “No error found in spelling” This message is shown even though there are error in spelling. And spelling are not corrected by spell check. To fix this problem go through following steps. 1) SSH [ Read More ]
Error : error: List::Util object version 1.14 does not match bootstrap parameter 1.18 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/XSLoader.pm line 92 Solution: If you are getting perl error while running /scripts/runweblogs do as follows : 1) Check the perl version on the server using following command Perl -v 2) If you are getting following error while running runweblogs script [ Read More ]
awk linux command
Categories: Basic Linux, Linux Commandswhy awk? awk is small, fast, and simple, unlike, say, perl. awk also has a clean comprehensible C-like input language, unlike, say, perl. And while it can’t do everything you can do in perl, it can do most things that are actually text processing, and it’s much easier to work with. what do you do? [ Read More ]
Following are the steps to take increment backup of reseller account on backup server. 1) First we need to find out the user name which is under the reseller account. On shared/source server :- vi /home/resellerUsername/backup.sh # For finding the username under the reseller account cat /etc/trueuserowners | grep resellerUsername | awk -F: ‘{print $1}’ [ Read More ]
Happy New year from indianwebportal
Categories: FUNAs the old year comes to meet the New Year, sending you my greetings of bliss and good health. Wishing you a wonderful Holiday Season and a Happy New Year. From Indianwebportal Team
Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference.
Categories: Error and solution, JoomlaError: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference. Solution : This error is occurred due the php version 5.3 and joomla is not certified to work with PHP 5.3.0. You need to change some code in your files. open the file vi /home/username/public/modules/mod_mainmenu/helper.php You can change this : Form function buildXML(&$params) to [ Read More ]
Cannot run code from this file in conjunction with non encoded files in
Categories: Error and solution, PHPError : Fatal error: Cannot run code from this file in conjunction with non encoded files in /home/username/public_html/tpl_c/%%CD^CDB^CDBF33CB%%user_media_iptc_single_tag.tpl.php on line 1265 Solution : This problem is not activeCollab related, but caused by platform activeCollab is running on. From articles I read by googling for “Cannot run code from this file in conjunction with non encoded [ Read More ]
Error : When error logs shows error “retry time not reached for any host” 2010-12-08 21:29:30 1PQRZp-0008IM-VT <= test123@domain.com H=localhost (mail.domain.com) [127.0.0.1]:37322 I=[127.0.0.1]:25 P=esmtpa A=fixed_login:test123@domain.com S=864 id=dd7281d7c14931d64d38983153498914.squirrel@mail.domain.com T=”test” from <test123@domain.com> for username@senderdomain.com 2010-12-08 21:29:30 1PQRZp-0008IM-VT == username@senderdomain.com R=dk_lookuphost T=dk_remote_smtp defer (-53): retry time not reached for any host Solution: If you are getting the above [ Read More ]
DB Error: connect failed in horde
Categories: cpanel, Error and solutionError : When try to access the Horde from cPanel then it shows following error. Warning: fopen(/var/cpanel/horde/log/horde_0.log) [function.fopen]: failed to open stream: Permission denied in /usr/local/cpanel/3rdparty/lib/php/Log/file.php on line 216 A fatal error has occurred DB Error: connect failed Details have been logged for the administrator. Solution: The problem due to the ” Horde Groupware Webmail [ Read More ]
restart Ruby On Rails application
Categories: ruby and railsIf you want to restart Ruby On Rails application for a particular domain or Application then follow the steps : ======================================== root@server[#] cd /home/username root@server[#] cd rails_apps root@server[#] cd demo (Application name) root@server[#] mongrel_rails mongrel::restart ======================================== Note: Replace the “username” equal to original cpanel username
restart ruby and rails application
Categories: ruby and railsHow to restart ruby and rails application by using ssh ? Ans : You can restart your ruby and rails application by using following command. Syntax : /usr/bin/ruby -I /home/USERNAME/ruby /usr/bin/mongrel_rails start -p PORT -d -e ENVIRONMENT -P log/mongrel.pid This should be executed in the root directory of the Rails app you wish to run [ Read More ]
If you want to redirect all the URLs from http to https then add the following rules in .htaccess files OR Redirect from http://domain.com/anything to https://domain.com/anything For Example : Redirect from http://indianwebportal.com/anything to https://www.indianwebportal.com/anything ================================= RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} / RewriteRule ^(.*)$ https://www.bestdesigns.co.in/blog/$1 [R,L] =================================
redirect all URLs to anoter blog URLs
Categories: How to, htaccessIf you want to redirect all the URLs from one blog to another blog URLs then add the following rewrite rules in .htaccess files. Example : I have redirected my old blog from “http://www.bestdesigns.co.in/blog to my new domain http://www.bestdesigns.co.in/blog. I have added the following rewrite rules into old blog .htaccess files menas when any one [ Read More ]
Mysql Database size shows 0 in cPanel
Categories: cpanelError : database size not updated in cpanel Ans : In cPanel >> mysql databases , it shows database size as ” zero” even if it is not. You just need to make the below changes to fix it : root@server [#] vi var/cpanel/cpanel.config and search for following line. disk_usage_include_sqldbs=0 ( set it to [ Read More ]
WEB-INF directory structure
Categories: TomcatWhat is WEB-INF directory ? The WEB-INF directory is for your default Web application and is located under your home directory. You can also create other Web applications by creating subdirectories under your home directory and create a WEB-INF directory under it, or you can upload a war file in the home directory. The war [ Read More ]
Configure CNAME and MX records for Google Apps in cpanel server
Categories: Email Marketing Series, How toHow to configure Google Apps in cpanel server ? OR How Configuring DNS CNAME and MX records for Google Apps in cpanel server ? Ans : Google Apps is a suite of Google applications that brings together essential services to help your business. This is a hosted service that lets businesses, schools, and institutions use [ Read More ]
reset root password in Debian
Categories: How toHow to reset root password in single user mode in Debian ? Ans : At grub-boot loader screen. Select Recovery mode the version of the kernel that you wish to boot and type e for edit. Select the line that starts with kernel and type e to edit the line. Go to the end of [ Read More ]
empty trash folder automatically
Categories: cpanel, Email problems, How toHow to disable delete emails from trash after 7 days ? Ans : Sometimes Problems arise when clients E mail accounts run out of its quota, even tough the In-boxes kept empty, they somehow forget to clean the Trash boxes too. After checking it is found that, all the E mails were left in the [ Read More ]
How to install phpmyadmin on linux
Categories: How to, InstallationHow to install phpmyadmin on linux server ? Ans : phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL. The most frequently used operations are supported by the user interface (managing databases, tables, fields, [ Read More ]
how to install APC
Categories: How to, PHPHow to install APC on Linux ? Ans: The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. Besides being a opcode cache it provides a user cache for storing application data. APC [ Read More ]
It’s always a good practice & from the security point of view to get notified instantly through an email when someone logs into your server through SSH with root privileges. Open the file .bashrc for the root user. Vi /root/.bashrc enter the following code into echo ‘SSH Root Access (Your Server Name) on:’ `date` `who` [ Read More ]
You can easily changed your black ssh screen to colorful screen by using following steps. 1) Login to the server via SSH as root 2) Edit the .bash_profile file found in the /root directory & paste the following line: vi .bash_profile export PS1=”\[$(tput bold)$(tput setb 4)$(tput setaf 7)\]\u@\h:\w $ \[$(tput sgr0)\]” Save & quit the [ Read More ]
reset ssh port through WHM
Categories: cpanel, UncategorizedIf you mess up with the SSH setting’s on your server and lock yourself out of ssh then you can reset the SSH configuration settings from WHM by following the below steps : Login to your WHM on a non secure port that is : 2086 for example : http://serverip:2086 And then browse the URL [ Read More ]
Basic tomcat configuration
Categories: TomcatWhat is Tomcat? Tomcat is Java driven Web Application Server which Provides support for Java web applications. ie. JSP technologies. -WAR (Web Application aRchive) files – Has a self-contained HTTP server CATALINA_HOME /usr/local/jakarta/tomcat CATALINA_BASE /usr/local/jakarta/tomcat JAVA_HOME ( The path to the JDK ) JAVA_HOME=/usr/local/jdk Logs : /usr/local/jakarta/tomcat/logs/catalina.out tail -f /usr/local/jakarta/tomcat/logs/catalina.out | egrep domain.com By default, [ Read More ]
install propel-gen
Categories: Installation, PHPHow to install propel-gen on Linux server ? Ans: Propel is an open-source Object-Relational Mapping (ORM) for PHP5. It allows you to access your database using a set of objects, providing a simple API for storing and retrieving data. Propel gives you, the web application developer, the tools to work with databases in the same [ Read More ]
https to http redirection
Categories: Basic Linux, How to, htaccessHow to redirect domain from https://domain.com to http://domain.com ? Ans: If you tried all the possibilities with the .htaccess file and your domain is still not redirected from https to http then finally you can add following code in virtual host entry means in httpd.conf file. Search the 443 entry for a domain and add [ Read More ]










