Archive for the ‘cpanel’ Category

Critical: exim security update

To resolve exim vulnerability issue exim upgraded to latest version but its throwing following error message aftre restarting exim service. root@server [/tmp]# /etc/init.d/exim restart Shutting down exim:                                        [  OK  ] Shutting down spamd:                                       [FAILED] Starting exim:                                             [  OK  ] Starting exim alt spool: exim: -D is not available in this Exim binary [FAILED] To resolve above […]

Send an E-mail from server.

Basically to send an E-mail from the Linux server shell, the mailx module is required. First install the mailx module by usiung the yum installed. Login in to the server as a root user and follow the following steps one by one root@server[~]# yum install mailx Once mailx installed on the server, you cna use […]

Redirect code from http to https by using .htaccess?

Your can redirect all http (Non-secure) URL to https by using following code in .htaccess file. RewriteEngine on Options +FollowSymLinks RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]  

Horde Failed to connect to localhost:25 error message

On Shared server as well  as on Dedicated server some time we are facing large connection issue to SMTP port 25 at that time mostly we disable SMTP port 25 and enable any other port for SMTP but after changing SMTP port mostly we receive following error message in Horde webmail. There was an error […]

How to change upcp from release to stable?

We can change the upcp from the release version to the  stable version by changing the  option in following file cat /etc/cpupdate.conf From release to stable  

Invalid command ‘BytesLog’ error after upgrade to cPanel version to 11

cPanel version get upgraded to 11 most common problem many peoples are facing with starting Apache on new installation. The error reported is : Invalid command ‘BytesLog‘, perhaps mis-spelled or defined by a module not included in the server configuration /usr/local/apache/bin/apachectl start: httpd could not be started To fix this mod_log_bytes.c needs to be re-compiled. […]

How to enable stats from WHM?

To enable the stats you need root login details.Once you logged into your WHM as root user follow the steps. Look in “Server Configuration”. Choose “Statistics Software Configuration”. Scroll down to “Statistics Processing Configuration Summary”. Click on “Configure Statistic Process Time Schedule”. Tick the boxes to denote the times during which stats should not be […]

Options FollowSymLinks or SymLinksIfOwnerMatch forbidden error

If you receive following error message after browsing the domain/website [Sat Oct 31 04:28:39 2009] [error] [client x.x.x.x] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /home/xxx/public_html/xxx/403.shtml [Sat Oct 31 04:29:47 2009] [error] [client x.x.x.x] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /home/xxx/public_html/xxx.co.uk/Bracelets/Stencil-Heart-Bracelet.html To […]

Simple cgi script to check the Server uptime?

The following script you can use to check the Server uptime? root@admin[/usr/local/apache/cgi-bin]# nano loads #!/bin/bash echo Content-type: text/plain echo echo $(hostname) echo “=>” echo $(uptime)  

How to disable local-mail delivery for one domain name?

You can disable local-mail delivery for one  domain name from your shell and follow the instructions.. First go to file root@admin[~]#vi /etc/localdomains Then select the domain name give them comment# or remove it and save the file :wq! Second step go to file root@admin[~]#vi /etc/remotedomains and add the domain name we have comment or removed […]