Archive for June, 2008

how important is latency in hosting

Monday, June 30th, 2008

Latency is network delay for a packet to reach from its source to the destination
Inoder for you to understand this ; i am comparing the time taken for an ICMP echo (ping) packet to 2 destinations that are geographically seperated
The source IP is located at KOCHI,INDIA (BSNL National Internet Bachbone) and the destination 1 is [...]

parallels plesk extras; script to extract plesk login and password

Tuesday, June 17th, 2008

This script is useful in extracting the Parallels Plesk control panel client/reseller login ,password and email address.An quick script to aid in troubleshooting plesk login problems
wget http://gnusys.net/downloads/psaclientpass.bash
bash psaclientpass.bash

parallels plesk extras; script to extract ftp password from psa

Tuesday, June 17th, 2008

This script comes handy to anyone who wants to extract the passwords for ftp users for a plesk domain.
OfCourse the username can be obtained from the Plesk control panel
The script also retrieves the home directory to which the user logs in when he authenticates successfully to the ftp daemon
wget http://gnusys.net/downloads/psaftppass.bash
bash  psaftppass.bash

Parallels plesk extra;script to extract database details of a client

Tuesday, June 17th, 2008

The following script is very useful if you are planning to migrate or sync all database of a paticular reseller.I made it to aid in database recovery of a client from a failed Plesk Migration Manager (PMM) migration
Script has been tested to work on Parallels Plesk upto version 8.3.The output of the script is self [...]

Troubleshooting common Apache HTTPD problems

Saturday, June 14th, 2008

Check your error_log
* The first place to look
* Increase the LogLevel if needed
* Make sure to turn it back down (but not off) in production
Check System Health
* vmstat, systat, iostat, mpstat, lockstat, etc…
* Check interrupt load
o NIC might be overloaded
* Are you swapping memory?
o A web server should never swap
* Check system logs
o /var/log/message, /var/log/syslog, [...]

Nagios installation and configuration

Thursday, June 5th, 2008

This tutorial aims to help the reader or sysadmin understand or visualize the seemingly intricate nagios configuration
As of installing nagios; you will get many documents on the Internet.So this document describes the configuration part mainly. It is better always to use the nagios packages available in your operating systems repository rather than installing from source;but [...]