===============[root@01 ~]# php -v-bash: php: command not found[root@01 ~]#=============== A common type of message you can see on H- Sphere servers. These kinds of command line messages are displayed because of not specifying PATH variables in .bash_profile file. The $PATH variable is a list of which directories Redhat will look… Continue Reading -bash: php: command not found

Linux, Windows, PHP, MySQL, cPanel, Plesk , etc and their fixes: Exim interface IP address

How to change exim interface IP in cPanel? You can change the interface IP address for exim mail server in the exim configuration file (exim.conf).1) Open the configuration file of exim.vi /etc/exim.conf2) Check for the following parameters.remote_smtp:driver = smtpinterface=Change to like this:remote_smtp:driver = smtpinterface=x.x.x.xNB: Replace x.x.x.x with your IP address.3)… Continue Reading Exim interface IP address

Accessibility Controls access.cpl Add Hardware Wizard hdwwiz.cpl Add/Remove Programs appwiz.cpl Administrative Tools control admintools Automatic Updates wuaucpl.cpl Bluetooth Transfer Wizard fsquirt Calculator calc Certificate Manager certmgr.msc Character Map charmap Check Disk Utility chkdsk Clipboard Viewer clipbrd Command Prompt cmd Component Services dcomcnfg Computer Management compmgmt.msc Date and Time Properties timedate.cpl… Continue Reading Windows CMD commands – DOS commands

If you face any mod_security issue, don’t white list the whole domain from mod_security rules. But override the mod_security settings for the domain narrowly, so that override is allowed for only particular page and particular rule. Follow the steps below to trouble shoot mod_security issues. 1) Tail the apache error… Continue Reading Disable mod_security rule for a specific application for a specific domain

After changing the nameserver IP address in /etc/nameserverips, WHM may still show the old IP address. Please note that all the WHM and cPanel content are retrieved from .yaml extension file. So, we will need to edit the file “/var/cpanel/nameserverips.yaml” to new IP address.

Open VZ CommandsIntroduction ====================vz -> recommends ext3 file systemPIM -> IP:4643PMC -> mangaing h/w nodePPP -> for managing a single containerAll the above things need a license from parallel==================== Templates ====================OS template -> vzpkg (cache needs to created before creating the container)EZ template -> points to the repository that contains… Continue Reading Virtuozzo – VPS commands – Open VZ commands

We can use DKIMProxy to achieve this. DKIMproxy is written in Perl. Some of the perl modules needed for proper working of DKIM. We can use “Cpan” to install the necessary modules. ————cpan install Crypt::OpenSSL::RSAcpan install Digest::SHAcpan install Mail::Addresscpan install MIME::Base64cpan install Net::DNScpan install Net::Servercpan install Error———— Download and install… Continue Reading DKIM – enable in EXIM

We can change mysql data directory by doing the following steps. + Stop the mysql service. #/etc/init.d/mysql stop + Create a directory in /home directory (Normally /home contains large disk space) # mkdir /home/var_mysql + Move the mysql data directory to new location i.e., /home/var_mysql # mv /var/lib/mysql /home/var_mysql +… Continue Reading Change Mysql data directory

We will get the following notification from the server about the domain was expired. ===========Subject: Domain event notification: The period of validity is about to expire. The validity period of domain ‘domainame’, owned by user account ‘admin’ (Contact name ‘xxx’) is about to expire.The domain and all of its services… Continue Reading Subject: Domain event notification: The period of validity is about to expireThe validity period of domain ‘domain name’, owned by user account.