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
Month: July 2008
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/
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
cPanel / APF – Passive FTP issue
The following web site will redirect you to a very well written article, which will cover the basicsĀ of “Passive vs Active” mode functions. Active FTP vs. Passive FTP, a Definitive Explanation After FTP connection has been made, The FTP server will generally choose a random port within a certain range to use and tell the… Continue reading cPanel / APF – Passive FTP issue
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
How to bind a range of IP’s in Debian based linux
Problem: I would like to bind all 5 of my usable IP’s to the ‘eth0’ device Solution: Just define a new interface in /etc/network interfaces: ## Start auto eth0 auto eth0:0 auto eth0:1 auto eth0:2 auto eth0:3 iface eth0 inet static address 192.168.1.2 netmask 255.255.255.248 gateway 192.168.1.1 iface eth0:0 inet static address 192.168.1.3 netmask 255.255.255.248… Continue reading How to bind a range of IP’s in Debian based linux
How to bind a range of IP’s on BSD based hosts ( FreeBSD, OpenBSD )
First login to your FreeBSD host as a ‘non-root’ user. You should have an account in the ‘wheel’ group that you can do this with. Once you have logged in run the following commands to switch users to ‘root’ su – Password: server# The prompt should have a # in it now meaning you are… Continue reading How to bind a range of IP’s on BSD based hosts ( FreeBSD, OpenBSD )