hwclock – query and set the hardware clock

set the system time from the hardware clock ============================================ root@s1 [~]# /sbin/hwclock –hctosys root@s1 [~]# set the hardware clock to the current system time ============================================ root@s1 [~]# /sbin/hwclock –systohc root@s1 [~]# root@s1 [~]# /sbin/hwclock –help hwclock – query and set the hardware clock (RTC) Usage: hwclock [function] [options…] Functions: –help        show this help –show        read… Continue reading hwclock – query and set the hardware clock

Problems with LWP and access to https URL’s : 500 read failed: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

If you’re using perl scripts on your server that use LWP and suddenly find them failing with connections to https resources with the following type error: 500 read failed: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number then you’ve probably got LWP v5.811 installed which breaks SSL connections! The author fixed the problem he created after about two days… Continue reading Problems with LWP and access to https URL’s : 500 read failed: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

Published
Categorized as cPanel

error: stat of /var/log/cron failed: No such file or directory

Hi guys… Today I faced a issue with a new VPS installed with EZ template Centos 5.2. I was preparing the VPS with logwatch, apf and other security and got cron error under roots mail. Cron errors shows log errors : /etc/cron.daily/logrotate: error: stat of /var/log/boot.log failed: No such file or directory error: stat of… Continue reading error: stat of /var/log/cron failed: No such file or directory

HowTo :: make scripts available to all clients on your server

If you have Perl /cgi or Php scripts and you want to make them available to all clients on your server , add an Alias in /etc/httpd/conf/httpd.conf file pointing to a shared directory owned by root:wheel. This is how the cPanel achieves this with their cgi-sys shared scripts in /usr/local/cpanel/cgi-sys/

Published
Categorized as cPanel

cPanel : WARNING: RVSiteBuilder recommend PHP maximum execution

RVSiteBuilder warning messages under WHM : WARNING !! WARNING: RVSiteBuilder recommend PHP maximum execution time of each script , in 180 seconds or above. HELP: Edit /usr/local/cpanel/3rdparty/etc/php.ini and change “max_execution_time=180” or above, and restart cPanel service (/usr/local/cpanel/startup). WARNING: RVSiteBuilder recommend maximum size of POST data 105M or above. HELP: Edit /usr/local/cpanel/3rdparty/etc/php.ini and change “post_max_size=105M” or… Continue reading cPanel : WARNING: RVSiteBuilder recommend PHP maximum execution

rvsitebuilder – 404 Not Found

If you get the next problem on rvsitebuilder running on a cpanel server: Not Found The server was not able to find the document (./3rdparty/rvsitebuilder/index.php/sitebuilder/sitebuilderhome) you requested. Please check the url and try again. You might also want to report this error to your webhost. It should fix the problem to you: Log in as… Continue reading rvsitebuilder – 404 Not Found

How to compile ‘QUOTA’ support for your FreeBSD server.

I need file system quota support for FreeBSD server. Quick and Dirty How to compile ‘QUOTA’ support for your FreeBSD server. Please see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html for more detailed instructions. To complete the following you will need to have to ssh access to your host server along with full root access. Login to the remote host via… Continue reading How to compile ‘QUOTA’ support for your FreeBSD server.

How to bind a range of IP’s in Redhat based linux

How to bind a range of IP’s in Linux This method is used by Redhat Linux based servers (Centos/RedhatEnterprise/FedoraCore). Create a file called /etc/sysconfig/network-scripts/ifcfg-eth0-range0 And in the file place these 3 lines but change the IP’s to match YOUR assigned range. ## Start IPADDR_START=67.18.xxx.xxx IPADDR_END=67.18.xxx.xxx CLONENUM_START=0 # Example | IPADDR_START=67.18.333.440 # Example | IPADDR_END=67.18.333.444 #… Continue reading How to bind a range of IP’s in Redhat based linux