Posted by Rishikesh Vispute
Categories: cpanel
How to auto delete old emails on CPanel ? Solution: You need to set the cron by using cpanel >> cronjob and add the following command to run in cron. /usr/bin/archivemail –quiet –delete –days 20 /home/{USER}/mail/inbox By using above command you can delete the 20 days old emails . Make sure you replace {USER} with [ Read More ]
Install ConfigServer Security & Firewall rm -fv csf.tgz wget http://www.configserver.com/free/csf.tgz tar -xzf csf.tgz cd csf sh install.sh Remove installation files: cd .. rm -Rfv csf/ csf.tgz Install ConfigServer Mail Manage rm -fv cmm.tgz wget http://www.configserver.com/free/cmm.tgz tar -xzf cmm.tgz cd cmm sh install.sh Remove installation files: cd .. rm -Rfv cmm/ cmm.tgz To uninstall: rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_cmm.cgi [ Read More ]
/etc/init.d/buagent start: buagent could not be started Error: # /etc/init.d/buagent start /etc/init.d/buagent start: buagent could not be started Solution : If you upgraded the kernel, you need to date the agent. 1)root@server [] r1soft-cki Then 2) service buagent restart. It should be working.
How to enable Custom php.ini on SuExec Enabled Server ? Ans : Normally, on SuExec Enabled Server, you can create php.ini in your account to customize php settings for your account. If php.ini is created under an account with customize php setting and it doesn’t work for you, then this is because override is disabled [ Read More ]
Posted by Rishikesh Vispute
Categories: cpanel
Error : We have a server which seems to fail to start EasyApache. I get the following error : ======================================== !! The server’s system package manager, ’YUM’, failed. !! !! This is the command that failed: yum –exclude=kernel* -y install aspell aspell-devel gettext automake19 libstdc++.x86_64 libpng-devel readline-devel openssl libpng-dev zlib-devel autoconf261 libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch libltdl3-devel libltdl libopenssl0.9.7-static-devel readline-dev libtool-ltdl-devel sed libXpm-devel libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel pspell-devel libstdc++-devel.x64_64 xorg-x11-devel libtool-ltdl libssl-dev bzip2-devel pam-devel libopenssl0-devel zlib1-devel expat-devel pspell libopenssl0-dev gcc-c++ expat glibc-devel zlib bison libjpeg-devel libtool-libltdl-devel snmp-devel libtool openssl-dev libopenssl0 libz-devel bzip2-libs libjpeg-dev pam-dev net-snmp-devel fileutils libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel make libstdc++-dev.x86_64 libX11-devel gd net-snmp cpp xorg-x11-dev gcc ssl-dev lex autoconf !! !! Since EasyApache was unable to resolve it automatically you should: 1) Manually run the failed YUM command (shown above) via SSH 2) See if your particular error is addressed at http://www.cpanel.net/support/could_not_ensurepkgs.htm 3) Resolve the YUM problem manually 4) Re-run EasyApache !! !! Please visit http://www.cpanel.net/support/could_not_ensurepkgs.htm for help with this error. !! !! Restoring original working apache !! !! Executing ’/scripts/initsslhttpd’ !! !! Restarting ’httpd’ … !! !! ’httpd’ restart complete. !! Building global cache for cpanel…Done !! Executing ’/scripts/initfpsuexec’ !! !! Executing ’/scripts/initsslhttpd’ !! !! Executing ’/scripts/update_apachectl’ !! Compiling report… Sending report (73479 bytes)… ======================================== Solution : This error due the update openssl on the server [ Read More ]
How to find out the reseller name with domains? Ans : If you want to list all cPanel accounts under a specific reseller, then you can use the below simple shell script. 1) Crete the file reseller.sh and add the following code. vi /home/reseller.sh ========================================================== #!/bin/bash usage() { echo “Example : $0 domain.com or username” [ Read More ]
Posted by Rishikesh Vispute
Categories: Wordpress
Question : wordpress permalink problem in windows server Ans: If you are using IIS 7 and have admin rights on your server, you can use Microsoft’s URL Rewrite Module instead. Though not completely compatible with mod_rewrite, it does support WordPress’s pretty permalinks. Once installed, open the web.config file in the WordPress folder and add the following rule to the system.webServer element [ Read More ]
How to install red5 on linux server ? Ans : I have used following steps to install the red5 on linux server. root@server [] cd /etc/init.d/ root@server [] wget http://www.indianwebportal.com/downloads/red5 root@server [] chmod 755 red5 root@server [] yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel root@server [] cd /usr/src root@server [] rm -rf apache-ant-1.8.0-bin.tar.gz apache-ant-1.8.0 red5-0.8.0.tar.gz root@server [] [ Read More ]
How to change mail server ip address in PLESK ? Ans : If primary mail server ip address is blocked in any spam checker sites ( eg BARRACUDA,SORBS-SPAM etc) then there is only one solution, that is change the mail server ip address on the server. You can easily change the mail server ip address [ Read More ]
If you have forget the mysql root password and you are not able to access your mysql service then you need to reset the password of mysql root user by using following steps Ans : 1)root@server [~] /etc/init.d/mysqld stop 2) Start to MySQL server without password: root@server [~] mysqld_safe –skip-grant-tables & 3) root@server [~] mysql [ Read More ]
How to disable cpanel login details for the ftp access ? OR Disable the default cpanel login details for ftp access ? Or Disable the ftp access for cpanle users ? Ans : If the default cpanel login is enabled for the ftp access then hacker can easily hack the ftp account and upload the [ Read More ]