<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2881794191181955147</id><updated>2012-01-12T17:06:38.316+05:30</updated><category term='set quota on /tmp/eaccelerator'/><category term='mod_limitipconn.c'/><category term='apache status'/><category term='php_flag'/><category term='install yamdi'/><category term='pop and imap difference'/><category term='load in each vps in VPS main server. vzpid'/><category term='add a new hard disk to linux server'/><category term='kloxso'/><category term='mv'/><category term='malware'/><category term='phpmail()'/><category term='ps'/><category term='encryption of a file in linux'/><category term='vps time zone'/><category term='sed'/><category term='named.conf'/><category term='kloxo'/><category term='restore'/><category term='rkhunter'/><category term='lsof'/><category term='maildir and mbox'/><category term='git'/><category term='FTP'/><category term='spam'/><category term='assign a range of IP&apos;s to server'/><category term='strace'/><category term='cpanel. WHM'/><category term='Xdebug'/><category term='email'/><category term='cacti'/><category term='cpanel version.'/><category term='exim configeration'/><category term='limit ip connection for an account'/><category term='tcp vs udp'/><category term='multiple SSH keys for password less login'/><category term='ftp in command line mode.'/><category term='enable tun/tap device with nat'/><category term='reset ssh_config using whm'/><category term='Spool file is locked'/><category term='install yasm'/><category term='attack'/><category term='Queueprocd Failed in whm/cpanel'/><category term='memory_limit'/><category term='host'/><category term='spf'/><category term='retry time not reached for any host after a long failure period'/><category term='abhionlinux.co.cc'/><category term='open a port using iptables'/><category term='qt-faststart'/><category term='ssh-agent'/><category term='mysql commands'/><category term='cpanel/whm'/><category term='ffmpeg'/><category term='dig'/><category term='(Innodb and MyIsam)'/><category term='unable to start mysql'/><category term='mail()'/><category term='interview'/><category term='mod_'/><category term='disable  root logins'/><category term='apache conf'/><category term='apf'/><category term='yum issue'/><category term='kernal upgrade'/><category term='nslookup'/><category term='ext2 and ext3'/><category term='mx'/><category term='DDOS'/><category term='cpanel theme change from shell'/><category term='DB_RUNRECOVERY: Fatal error'/><category term='mod_security installation'/><category term='block an IP range using firewall. IPTABLES'/><category term='wild card dns'/><category term='bash_profile'/><category term='creating swapfile'/><category term='cpanel softaculous'/><category term='mail using php script'/><category term='stop spamming in the server'/><category term='Syn flood attack'/><category term='SSH passwordless login'/><category term='dump'/><category term='unexpected T_STRING'/><category term='ffmpeg.'/><category term='Optimizing MySQL'/><category term='performance of the hard disk.'/><category term='MySQL manager or server PID file could not be found'/><category term='linux kernal upgradation'/><category term='plesk'/><category term='directory permissions'/><category term='ssh secure hardening'/><category term='uploading themes'/><category term='php safe_mode'/><category term='connect mysql from remote server'/><category term='isamchk'/><category term='mysqldump'/><category term='phpmail.'/><category term='semaphore'/><category term='Compilation of apache and php'/><category term='Install YUM in the server'/><category term='moodel'/><category term='named'/><category term='awstats not updating'/><category term='yum update error'/><category term='create SSL for a domain'/><category term='time zone for a  domain in cpanel'/><category term='VPS creation'/><category term='Clipbucket Video error :  &quot;This video might not work properly &quot;'/><category term='ssh'/><category term='addind multiple IP&apos;s to linux server'/><category term='files in cpanel server'/><category term='IP rotation in exim.'/><category term='file permissions'/><category term='mysql database backup'/><category term='email limit for a domain'/><category term='linux commands'/><category term='gunzip'/><category term='phpize'/><category term='fantastico'/><category term='lxadmin'/><category term='no dbpath has been set'/><category term='exim'/><category term='inode'/><category term='How to install kloxso Lxadmin'/><category term='http.conf'/><category term='wine installation'/><category term='hardening'/><category term='php  eAccelerator'/><category term='mit number of connections'/><category term='phpmotion'/><category term='Linux'/><category term='VPS : tty device is not owned by group `tty’'/><category term='short_open_tag'/><category term='cgi-sys'/><category term='virus'/><category term='vpn'/><category term='TypeError: rpmdb open failed'/><category term='ffmpeg intallation in linux server'/><category term='tmpwatch'/><category term='clipbucket'/><category term='timeout'/><category term='unzip'/><category term='myisamchk'/><category term='PGsql database'/><category term='mysql repair'/><category term='website hacked'/><category term='install'/><category term='OS version in linux'/><category term='Configuration files in cpanel server'/><category term='Cpanel Hardening'/><category term='secure tmp'/><category term='php in html'/><category term='whm'/><category term='run database recovery'/><category term='yum install'/><category term='openvz'/><category term='limitation of email'/><category term='session timeout'/><category term='exim commands'/><category term='suphp'/><category term='yum not working'/><category term='Linux Interview Questions'/><category term='yum'/><category term='csf'/><category term='secure a server'/><category term='cpanel'/><category term='PHP Parse error: syntax error'/><category term='web stats'/><category term='unable to create directory'/><category term='reinstall spamassasin'/><category term='linux plesk backend files'/><category term='rvskin'/><category term='vzlist'/><category term='plesk passoword in linux and windows'/><category term='AddType'/><category term='disable Mod_Security2'/><category term='ffmpeg.so'/><category term='special device *device-name* does not exist :  LVM'/><category term='mysql'/><category term='ssh-keygen'/><category term='change  bash3.2# to  user(at)hostname#'/><category term='OpenSSH Public Key Authentication'/><category term='roundcube'/><category term='phpmyadmin file upload size'/><category term='change interface/source IP address in postfix'/><category term='vzctl'/><category term='Getting custom php.ini working on php-cgi'/><category term='VPS'/><category term='Linux commands and files'/><category term='mod_python'/><category term='load in linux server'/><category term='stats'/><category term=': cPanel'/><category term='open vz'/><category term='plugins'/><category term='wordpress moving from subfolder to root folder'/><category term='custom php.ini'/><category term='unable to start apache'/><category term='Core files in Linux'/><category term='LimitInternalRecursion'/><category term='word-press url change'/><category term='remote_smtp defer (111): Connection refused'/><category term='memory issue'/><category term='upload_max_filesize and safe_mode status'/><category term='how to setup ssh keys'/><category term='postfix'/><category term='nobody mails'/><category term='Exim : 451-The server has reached its limit for processing requests from your host.n451 Please try again later'/><category term='flength phpmotion'/><category term='increase the size of /tmp partition in Linux'/><category term='Mysql database connection testing'/><category term='email working'/><category term='memcache'/><category term='awstats'/><category term='asks pl file to download'/><category term='find'/><category term='spamassasin'/><category term='disable mod security'/><category term='htaccess.'/><category term='install fantastico'/><category term='check DNS zone file'/><category term='FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1/'/><category term='interface ip'/><category term='php-cgi'/><category term='install cpanel'/><category term='encryption using vi'/><category term='chown'/><category term='joomla site'/><category term='SoftException in Application.cpp:303 UID of script is small than min_uid'/><category term='Install php'/><category term='suexec'/><category term='nagios installation'/><category term='Send/Recieve  email using Telnet'/><category term='linux boot process'/><category term='php'/><category term='AddHandler'/><category term='php_value max_execution_time'/><category term='php on linux'/><category term='Linux Server Security'/><category term='Sender Policy Framework (SPF)'/><category term='mysql user access to database.'/><category term='disable htacces for a domain'/><category term='custom module in cpanel server'/><category term='iptables'/><category term='mysql passowrd reset'/><category term='Unable to open pty. tty'/><category term='zip'/><title type='text'>abhionlinux</title><subtitle type='html'>Blog that is useful in linux administration and webhosting</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default?start-index=101&amp;max-results=100'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>225</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-4630843148439947418</id><published>2012-01-12T17:06:00.000+05:30</published><updated>2012-01-12T17:06:38.325+05:30</updated><title type='text'>Softaculous : Your license is not active or it has expired. If your license has expired, please renew it to continue using this Software.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;If you want to synchronize your license after purchasing one, click on the Refresh License link in your Softaculous Admin Panel. That will syncronize your license information. To synchronize the Scripts / Software, go to the Software Tab in your Softaculous Admin Panel and click on "Update Settings". You will see a log of all scripts being updated.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em; text-align: -webkit-auto;"&gt;Softaculous syncronizes with servers for files and License information when CRON is run. You can force CRON to run via some shell commands to imediately sychronize for the License Information or for Script Files. These commands vary from panel to panel so please run the commands as per your Panel.&lt;/div&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px;"&gt;For&amp;nbsp;&lt;/span&gt;&lt;b style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; text-align: -webkit-auto;"&gt;cPanel&lt;/b&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; text-align: -webkit-auto;"&gt;&amp;nbsp;SSH to your server as root and enter following commands&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; text-align: -webkit-auto;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; line-height: 1.1em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;"&gt;/usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cron.php&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-4630843148439947418?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/4630843148439947418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2012/01/softaculous-your-license-is-not-active.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4630843148439947418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4630843148439947418'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2012/01/softaculous-your-license-is-not-active.html' title='Softaculous : Your license is not active or it has expired. If your license has expired, please renew it to continue using this Software.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3391672657622271213</id><published>2011-12-22T21:35:00.000+05:30</published><updated>2011-12-22T21:35:54.189+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='time zone for a  domain in cpanel'/><title type='text'>How to change the time zone for a  domain</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;You can change the time zone for a domain in a shared server.&lt;br /&gt;&lt;br /&gt;If the server php is compiled with Apache (dso module)&lt;br /&gt;You can use htaccess to set the time zone for a domain.&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: white; background-image: url(http://adminsgroup.com/wp-content/plugins/fv-code-highlighter/public/images/notepaper.png); background-origin: initial; background-position: 0% 0%; background-repeat: repeat repeat; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 11px; line-height: 18px; margin-left: 3.1em !important; overflow-x: auto; overflow-y: auto; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 0px !important; padding-top: 1px !important;"&gt;&lt;span class="css" style="color: magenta; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;SetEnv TZ location&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;For suphp servers,&lt;br /&gt;You need to create custom php.ini for your domain and add the following&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: white; background-image: url(http://adminsgroup.com/wp-content/plugins/fv-code-highlighter/public/images/notepaper.png); background-origin: initial; background-position: 0% 0%; background-repeat: repeat repeat; font-family: Monaco, 'Courier New', Courier, monospace; font-size: 11px; line-height: 18px; margin-left: 3.1em !important; overflow-x: auto; overflow-y: auto; padding-bottom: 1px !important; padding-left: 10px !important; padding-right: 0px !important; padding-top: 1px !important;"&gt;&lt;span class="css" style="color: magenta; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;date.timezone = &lt;span class="css-string" style="color: #006600; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"location"&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;You can get the time zones from&amp;nbsp;&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Trebuchet MS', sans-serif; font-size: 13px;"&gt;http://www.php.net/manual/en/timezones.php&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3391672657622271213?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3391672657622271213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/12/how-to-change-time-zone-for-domain.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3391672657622271213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3391672657622271213'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/12/how-to-change-time-zone-for-domain.html' title='How to change the time zone for a  domain'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2565987009709898465</id><published>2011-12-22T21:17:00.000+05:30</published><updated>2011-12-22T21:17:03.058+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='special device *device-name* does not exist :  LVM'/><title type='text'>special device *device-name* does not exist :  LVM</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;OS in my server's hard disk &amp;nbsp;got corrupted. Only way to retrieve data is perform an OS reload in a new harddisk and connect the old hard disk as secondary. My drives are LVM. I have done OS reload on the new hard disk and connected the old one as secondary. When I try to mount the old hard disk, I am getting the error "special device *device-name* does not exist"&lt;br /&gt;&lt;br /&gt;You can check the number of hard-disk connected to your server using fdisk -l.&lt;br /&gt;&lt;br /&gt;I am trying to mount the old drive using the command.&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #f9f9f9; color: #4a586c; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: italic; line-height: 22px;"&gt;mount /dev/VolGroup02/LogVol00&amp;nbsp;&amp;nbsp; /old&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #f9f9f9; color: #4a586c; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: italic; line-height: 22px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #f9f9f9; color: #4a586c; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: italic; line-height: 22px;"&gt;/dev/VolGroup02/LogVol00 &amp;nbsp;&lt;/span&gt;is the volomegroup name for the old hard disk.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Issue was when the new harddisk has been done with OS reload, its volume group name was&amp;nbsp;&amp;nbsp;/dev/VolGroup01/LogVol00. Old harddisk volume group was already&amp;nbsp;&lt;span class="Apple-style-span" style="background-color: #f9f9f9; color: #4a586c; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: italic; line-height: 22px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: #f9f9f9; color: #4a586c; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: italic; line-height: 22px;"&gt;/dev/VolGroup01/LogVol00 &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #f9f9f9; color: #4a586c; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; font-style: italic; line-height: 22px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;When an os reload is performed, volume group for that drive will be&amp;nbsp;/dev/VolGroup01/LogVol00. This will be done by default. When old harddisk volumegroup name and new harddisk volume group name became same, conflict occurs and can mount the old drive. What we have done is changed the volume group name for old drive to &amp;nbsp;/dev/VolGroup02/LogVol00 &lt;br /&gt;&lt;br /&gt;After that when we try to mount that old drive getting the error special device *device-name* does not exist.&lt;br /&gt;&lt;br /&gt;You can fix it using the command&lt;br /&gt;&lt;br /&gt;&lt;pre style="background-color: #ebf1f5; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #222222; direction: ltr; font-size: 1em; line-height: 19px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; width: 613px;"&gt;&lt;code style="display: inline-block; font-size: 1em; padding-bottom: 0.75em; padding-left: 0.75em; padding-right: 0.75em; padding-top: 0.75em;"&gt;vgchange -ay  /dev/VolGroup02/LogVol00&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'Ubuntu'; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Ubuntu'; font-size: 11pt;"&gt;"vgchange -ay" is to activate all known volume groups in the system.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Ubuntu'; font-size: 11pt;"&gt;vgchange&amp;nbsp;&lt;/span&gt;&lt;span style="font-family: Ubuntu; font-size: 11pt;"&gt;&amp;nbsp;allows you to change the attributes of&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Ubuntu; font-size: 15px;"&gt;one or more volume groups.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt;&lt;span style="font-family: 'Ubuntu'; font-size: 11pt;"&gt;-a Controls  the  availability  of  the logical volumes in the volume group for input/output.  In other&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Ubuntu'; font-size: 11pt;"&gt;              words, makes the logical volumes known/unknown to the kernel.&lt;/span&gt;&lt;!--EndFragment--&gt;&lt;br /&gt;&lt;span style="font-family: 'Ubuntu'; font-size: 11pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #4a586c; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 14px; line-height: 22px;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2565987009709898465?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2565987009709898465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/12/special-device-device-name-does-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2565987009709898465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2565987009709898465'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/12/special-device-device-name-does-not.html' title='special device *device-name* does not exist :  LVM'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-4559157320642168214</id><published>2011-12-14T17:25:00.000+05:30</published><updated>2011-12-14T17:25:31.387+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='cpanel softaculous'/><title type='text'>Site error: the file /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator. - Softaculous</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;When we select&amp;nbsp;Softaculous - Instant Installs under plugins option in WHM, you may get the error&lt;br /&gt;"Site error: the file /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.&lt;b&gt;"&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Solution:&lt;br /&gt;If you are getting this error, make sure that you have installed&amp;nbsp;&amp;nbsp;ioncube loader in your server. You can do this using /scripts/easyapache&lt;br /&gt;&lt;br /&gt;Still you are getting the error after installing&amp;nbsp;&amp;nbsp;ioncube loader,&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: 13px;"&gt;You have to enable cPanels backend ioncube loader (WHM &amp;gt; Tweak settings &amp;gt; Loader to use for internal cPanel PHP).&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: 13px;"&gt;Hope this will fix your issue.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-4559157320642168214?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/4559157320642168214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/12/site-error-file-usrlocalcpanelwhostmgrd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4559157320642168214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4559157320642168214'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/12/site-error-file-usrlocalcpanelwhostmgrd.html' title='Site error: the file /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions.php requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator. - Softaculous'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2305756216933789823</id><published>2011-11-20T05:39:00.000+05:30</published><updated>2011-11-20T05:39:08.793+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='rkhunter'/><title type='text'>RKhunter installation</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;RKhunter is a tool used to scan the server for&amp;nbsp;rootkits, backdoors and local exploits.&lt;br /&gt;&lt;br /&gt;Steps to install RKhunter:&lt;br /&gt;&lt;br /&gt;1. Download from&lt;br /&gt;&lt;br /&gt;&amp;nbsp;wget http://sourceforge.net/projects/rkhunter/files/latest/download?source=files&lt;!--EndFragment--&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt;2 Extract it&lt;br /&gt;tar -xvzf rkhunter-1.3.8.tar.gz&lt;br /&gt;&lt;br /&gt;3. &amp;nbsp;cd rkhunter-1.3.8&lt;!--EndFragment--&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt;4. Run the installation command as given below.&lt;br /&gt;./installer.sh --layout default --install&lt;!--EndFragment--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt;&amp;nbsp; /usr/local/bin/rkhunter --update&lt;!--EndFragment--&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt;&amp;nbsp; /usr/local/bin/rkhunter --propupd&lt;!--EndFragment--&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--StartFragment--&gt;&amp;nbsp; /usr/local/bin/rkhunter -c&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--EndFragment--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--EndFragment--&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2305756216933789823?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2305756216933789823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/11/rkhunter-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2305756216933789823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2305756216933789823'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/11/rkhunter-installation.html' title='RKhunter installation'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3938167117822213688</id><published>2011-11-06T01:07:00.000+05:30</published><updated>2011-11-06T01:07:29.668+05:30</updated><title type='text'>Kaltura Installation</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Kaltura is an open source video platform, video solutions, software and services for video publishing, management and monetization. It is mainly used in video hosting.&lt;br /&gt;Following are the steps to install kalture in a cpanel server (Centos 5.6)&lt;br /&gt;&lt;br /&gt;Pre-requisites:&lt;br /&gt;1. Suphp and suexec should be disable for effective working of Kaltura.&lt;br /&gt;2. &amp;nbsp;ini_set should be enable in php.ini&lt;br /&gt;3. Php modules such as Exif, Mysqli, Iconv should be enabled in the server. This can be done using easyapache.&lt;br /&gt;4. Apache module such as file_cache should be enabled .&lt;br /&gt;5. Suhosin should be disabled in the server&lt;br /&gt;6. Memcached and Pentaho should be installed.&lt;br /&gt;7. &lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Set 'lower_case_table_names = 1' in my.cnf and restart MySQL&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;8. Mysql root password should be taken. You can get this from the file /root/.my.cnf&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Installation:&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;You can download the Kaltura installation file from Kaltura official website. Once the installation files is recieved, unzip that file. You can see a file called "install.php"&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Login to the server as root and run the command given below.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;php install.php&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;This will be asking certian questions such as&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;1.&amp;nbsp;&lt;/span&gt;&lt;i&gt;In order to improve Kaltura Community Edition, we would like your permission to send system data to Kaltura.&amp;nbsp;This information will be used exclusively for improving our software and our service quality. I agree (Y/n)&lt;/i&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&amp;nbsp; Y&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;2.&lt;i&gt;&amp;nbsp;If you wish, please provide your email address so that we can offer you future assistance (leave empty to pass): &amp;nbsp;&lt;/i&gt;admin@abhionliux.in&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;3.&amp;nbsp;&lt;i&gt;The following apachectl script has been detected: /usr/sbin/apachectl. Do you want to use this script to run your Kaltura application? Leave empty to use or provide a pathname to an alternative apachectl script on your server.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Leave it as empty&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;4.&lt;i&gt;&amp;nbsp;The following PHP binary has been detected: /usr/local/bin/php. Do you want to use this script to run your Kaltura application? Leave empty to use or provide a pathname to an alternative PHP binary on your server.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Leave it as empy&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;5.&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;Full target directory path for Kaltura application (leave empty for /opt/kaltura)&lt;/i&gt;&lt;br /&gt;&lt;div&gt;Leave it as empy&lt;/div&gt;&lt;div&gt;&lt;div&gt;6. &lt;i&gt;Please enter the domain name/virtual hostname that will be used for the Kaltura server (without http://)&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;abhionlinux.co.cc&lt;/div&gt;&lt;div&gt;&lt;div&gt;7 . &lt;i&gt;Your primary system administrator email address&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;admin@abhionlinux.co.cc&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;8.&amp;nbsp;&lt;i&gt;The password you want to set for your primary administrator&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;*********&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="font-style: italic;"&gt;9. Database host (leave empty for 'localhost')&lt;/div&gt;&lt;div&gt;Leave empty&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;10. &lt;i&gt;Database port (leave empty for '3306')&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;Leave empty&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;11.&amp;nbsp;&lt;i&gt;Database username (with create &amp;amp; write privileges)&lt;/i&gt;&lt;/div&gt;&lt;div&gt;root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div&gt;12.&lt;i&gt;&amp;nbsp;Database password (leave empty for no password)&lt;/i&gt;&lt;/div&gt;&lt;div&gt;rootpassword&lt;/div&gt;&lt;div&gt;&lt;div&gt;13. &lt;i&gt;The URL to your xymon/hobbit monitoring location. Xymon is an optional installation. Leave empty to set manually later&lt;/i&gt;&lt;/div&gt;&lt;div&gt;Leave Empty&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You will get the following message.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;============================================&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp;Installation Completed Successfully.&lt;/div&gt;&lt;div&gt;Your Kaltura Admin Console credentials:&lt;/div&gt;&lt;div&gt;System Admin user: admin@abhionlinux.co.cc&lt;/div&gt;&lt;div&gt;System Admin password: admin123&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Please keep this information for future use.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To start using Kaltura, please complete the following steps:&lt;/div&gt;&lt;div&gt;1. Add the following line to your /etc/hosts file:&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 127.0.0.1 &amp;nbsp;abhionlinux.co.cc&lt;/div&gt;&lt;div&gt;2. Add the following line to your Apache configurations file (Usually called httpd.conf or apache2.conf):&lt;/div&gt;&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Include /opt/kaltura/app/configurations/apache/my_kaltura.conf&lt;/div&gt;&lt;div&gt;3. Restart apache&lt;/div&gt;&lt;div&gt;4. Browse to your Kaltura start page at: http://abhionlinux.co.cc/start&lt;/div&gt;&lt;div&gt;==============================================&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Once you get this message, open the file&amp;nbsp;/opt/kaltura/app/configurations/apache/my_kaltura.conf and you need to replace the * with the IP address&lt;/div&gt;&lt;div&gt;&lt;div&gt;Eg : &amp;nbsp;VirtualHost *:80 &amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;This should be replaced by &amp;nbsp;VirtualHost 192.168.0.10:80&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now you can access kalture using&amp;nbsp;http://abhionlinux.co.cc/start&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3938167117822213688?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3938167117822213688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/11/kaltura-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3938167117822213688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3938167117822213688'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/11/kaltura-installation.html' title='Kaltura Installation'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-7749718057032242548</id><published>2011-09-19T17:17:00.001+05:30</published><updated>2011-09-19T17:17:35.127+05:30</updated><title type='text'>ffmpeg-php installation</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Download the latest ffmpeg-php. You can download it using&lt;br /&gt;&lt;br /&gt;#&amp;nbsp;wget http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2/download&lt;br /&gt;# tar -xvjf&amp;nbsp;ffmpeg-php-0.6.0.tbz2&lt;br /&gt;#&amp;nbsp;phpize&lt;br /&gt;#&amp;nbsp;./configure --enable-shared&lt;br /&gt;#&amp;nbsp;make&lt;br /&gt;#&amp;nbsp;make install&lt;br /&gt;&lt;br /&gt;Once the installation is completed, you need to add the ffmpeg.so file in your php.ini&lt;br /&gt;&lt;br /&gt;Locate you php.ini using&lt;br /&gt;#&amp;nbsp;&amp;nbsp;php -i | grep php.ini&lt;br /&gt;Configuration File (php.ini) Path =&amp;gt; /usr/local/lib&lt;br /&gt;Loaded Configuration File =&amp;gt; /usr/local/lib/php.ini&lt;br /&gt;&lt;br /&gt;# vi&amp;nbsp;/usr/local/lib/php.ini&lt;br /&gt;&lt;br /&gt;add the following line to your php.ini file.&lt;br /&gt;extension=”ffmpeg.so”&lt;br /&gt;&lt;br /&gt;restart apache&lt;br /&gt;#/etc/init.d/http restart&lt;br /&gt;&lt;br /&gt;You can check the ffmpeg-php module using the command&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# php -m | grep ffmpeg&lt;br /&gt;ffmpeg&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Common issues in installing ffmpeg-php&lt;br /&gt;1. While running make, you will get an error&lt;br /&gt;&lt;div&gt;make: *** [ffmpeg_frame.lo] Error 1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Fix: Copy the file ffmpeg_frame.loT to ffmpeg_frame.lo&lt;/div&gt;&lt;div&gt;#cp ffmpeg_frame.loT ffmpeg_frame.lo&lt;/div&gt;&lt;div&gt;This should fix the above issue.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2. After enabling ffmpeg in php.ini, you can get an error&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;div&gt;php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-&lt;/div&gt;&lt;div&gt;20060613/ffmpeg.so: undefined symbol: register_ffmpeg_frame_class&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Fix : Goto ffmpeg-php installation folder and open the file&amp;nbsp;ffmpeg_frame.c and replace &amp;nbsp;all&lt;/div&gt;&lt;div&gt;PIX_FMT_RGBA32 with &amp;nbsp;PIX_FMT_RGB32&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;cd /usr/local/src/ffmpeg-php&lt;/div&gt;&lt;div&gt;# vi&amp;nbsp;ffmpeg_frame.c&lt;/div&gt;&lt;div&gt;:%s/PIX_FMT_RGBA32/PIX_FMT_RGB32&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;:wq!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;then you need to compile ffmpeg&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#./configure --enable-shared&lt;/div&gt;&lt;div&gt;#make&lt;/div&gt;&lt;div&gt;#make install&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this will help you in installing ffmpeg-php in your server.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-7749718057032242548?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/7749718057032242548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/09/ffmpeg-php-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7749718057032242548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7749718057032242548'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/09/ffmpeg-php-installation.html' title='ffmpeg-php installation'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-1623275980329826945</id><published>2011-09-19T02:58:00.004+05:30</published><updated>2011-09-19T02:58:45.241+05:30</updated><title type='text'>flvtool2</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Arial, 'Trebuchet MS'; font-size: 11px; line-height: 15px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f1ffff; background-image: initial; background-origin: initial; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; font-family: monospace, Courier, Arial; line-height: 1.2em; margin-bottom: 1.1em; margin-top: 1.1em; overflow-x: visible; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;&lt;br /&gt;&lt;/pre&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Arial, 'Trebuchet MS'; font-size: 11px; line-height: 15px;"&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f1ffff; background-image: initial; background-origin: initial; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; font-family: monospace, Courier, Arial; line-height: 1.2em; margin-bottom: 1.1em; margin-top: 1.1em; overflow-x: visible; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;&lt;/pre&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: #f1ffff; font-family: monospace, Courier, Arial; font-size: 11px; line-height: 13px; white-space: pre;"&gt;wget &lt;a class="external free" href="http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz" rel="nofollow" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://linux.justinhartman.com/skins/gumax/external.png); background-origin: initial; background-position: 100% 50%; background-repeat: no-repeat no-repeat; color: #3366bb; padding-right: 13px; text-decoration: none;" title="http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz"&gt;http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Arial, 'Trebuchet MS'; font-size: 11px; line-height: 15px;"&gt;&lt;pre style="background-attachment: initial; background-clip: initial; background-color: #f1ffff; background-image: initial; background-origin: initial; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; color: black; font-family: monospace, Courier, Arial; line-height: 1.2em; margin-bottom: 1.1em; margin-top: 1.1em; overflow-x: visible; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;"&gt;cd /usr/local/src/flvtool2-1.0.6/&lt;br /&gt;ruby setup.rb config&lt;br /&gt;ruby setup.rb setup&lt;br /&gt;ruby setup.rb install&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-1623275980329826945?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/1623275980329826945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/09/flvtool2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1623275980329826945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1623275980329826945'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/09/flvtool2.html' title='flvtool2'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8623382992617101848</id><published>2011-09-19T02:46:00.001+05:30</published><updated>2011-09-19T02:57:35.414+05:30</updated><title type='text'>create db and user in mysql</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; font-style: italic; line-height: 16px;"&gt;mysql -u root -p&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; font-style: italic; line-height: 16px;"&gt;mysql&amp;gt; create database&amp;nbsp;db;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; font-style: italic; line-height: 16px;"&gt;Query OK, 1 row affected (0.00 sec)&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; font-style: italic; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; font-style: italic; line-height: 16px;"&gt;mysql&amp;gt; grant all privileges on amarokdb.* to amarokuser@localhost&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; font-style: italic; line-height: 16px;"&gt;&amp;nbsp;identified by 'passwd';&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Verdana, Tahoma, Arial, sans-serif; font-size: 11px; font-style: italic; line-height: 16px;"&gt;Query OK, 0 rows affected (0.00 sec)&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8623382992617101848?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8623382992617101848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/09/create-db-adb-user-in-mysql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8623382992617101848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8623382992617101848'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/09/create-db-adb-user-in-mysql.html' title='create db and user in mysql'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-4056356289832766599</id><published>2011-09-19T02:45:00.000+05:30</published><updated>2011-09-19T02:45:59.877+05:30</updated><title type='text'>FFmpeg installation</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Installing a52&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;#&amp;nbsp;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; line-height: 15px; white-space: pre;"&gt;&lt;code class="java plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 0, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;wget http:&lt;/code&gt;&lt;code class="java comments" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 130, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;//liba52.sourceforge.net/files/a52dec-0.7.4.tar.gz&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; line-height: 15px; white-space: pre;"&gt;&lt;code class="java comments" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 130, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;# &lt;/code&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; line-height: 15px; white-space: pre;"&gt;&lt;code class="java plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 0, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;tar -zxf a52dec-&lt;/code&gt;&lt;code class="java value" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;0.7&lt;/code&gt;&lt;code class="java plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 0, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;.&lt;/code&gt;&lt;code class="java value" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;4&lt;/code&gt;&lt;code class="java plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 0, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;.tar.gz&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; line-height: 15px; white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;code class="java plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 0, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;# cd a52dec-&lt;/code&gt;&lt;code class="java value" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;0.7&lt;/code&gt;&lt;code class="java plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 0, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;.&lt;/code&gt;&lt;code class="java value" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;4&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; line-height: 15px; white-space: pre;"&gt;&lt;code class="java value" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-left-radius: 0px 0px !important; border-bottom-right-radius: 0px 0px !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-left-radius: 0px 0px !important; border-top-right-radius: 0px 0px !important; border-top-width: 0px !important; bottom: auto !important; box-sizing: content-box !important; color: rgb(0, 153, 0) !important; float: none !important; font-style: normal !important; height: auto !important; left: auto !important; line-height: 1.2em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; overflow-x: visible !important; overflow-y: visible !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"&gt;# &lt;/code&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white; line-height: 15px; white-space: pre;"&gt; ./configure --enable-shared=PKGS&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: white; line-height: 15px; white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;# make&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;# make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;# wget http://sourceforge.net/projects/faac/files/faac-src/faac-1.28/faac-1.28.tar.gz/download&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;# tar -xvzf&amp;nbsp;faac-1.28.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;# ./bootstrap&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;# &amp;nbsp;./configure&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;# make&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;# make install&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;# cd ..&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;installing &amp;nbsp;faad&lt;/div&gt;&lt;div&gt;&lt;div&gt;&amp;nbsp;# wget http://sourceforge.net/projects/faac/files/faad2-src/faad2-2.7/faad2-2.7.tar.gz/download&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;# tar -xvzf faad2-2.7.tar.gz&lt;/div&gt;&lt;div&gt;]# &amp;nbsp;autoreconf -vif&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;# ./configure --disable-drm --disable-mpeg4ip&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;# make&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;# make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;installing lame:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;# wget http://sourceforge.net/projects/lame/files/lame/3.98.4/lame-3.98.4.tar.gz/download&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;# tar -xvzf lame-3.98.4.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;# ./configure&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;# make&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;# make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;intall yasm&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;#&amp;nbsp;wget http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;div style="line-height: 15px; white-space: pre;"&gt;# tar -xvzf yasm-1.1.0.tar.gz&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;]# ./configure&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;#make&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;# make install&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;x264&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt; git clone git://git.videolan.org/x264.git&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13px; line-height: 15px; white-space: pre;"&gt;./configure --enable-shared --prefix=/usr&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;make&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt; make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;xvidcore&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;wget http://downloads.xvid.org/downloads/xvidcore-1.3.2.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&amp;nbsp;tar -xvzf xvidcore-1.3.2.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&amp;nbsp;cd build/generic/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;./configure&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;make&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;a href="http://www.xvid.org/Downloads.43.0.html"&gt;http://www.xvid.org/Downloads.43.0.html&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Sans Serif'; font-size: 13px;"&gt;svn co&amp;nbsp;&lt;a href="https://xavs.svn.sourceforge.net/svnroot/xavs/trunk" style="color: #0000cc;" target="_blank"&gt;https://xavs.svn.sourceforge.&lt;wbr&gt;&lt;/wbr&gt;net/svnroot/xavs/trunk&lt;/a&gt;&amp;nbsp;xavs&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: 'Sans Serif'; font-size: 13px;"&gt;./configure&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;make&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;make install&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;libraw installation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;wget http://sourceforge.net/projects/libraw1394/files/libraw1394/libraw1394-2.0.5.tar.gz/download&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;&amp;nbsp;tar -xvzf libraw1394-2.0.5.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="background-color: #efefef; font-family: Verdana, sans-serif; font-size: 13px;"&gt;./configure&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="background-color: #efefef; font-family: Verdana, sans-serif; font-size: 13px;"&gt;make&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="background-color: #efefef; font-family: Verdana, sans-serif; font-size: 13px;"&gt;make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Sans Serif'; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="background-color: #efefef; font-family: Verdana, sans-serif; font-size: 13px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;wget http://sourceforge.net/projects/libdc1394/files/libdc1394-2/2.1.2/libdc1394-2.1.2.tar.gz/download&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;./configure&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;make&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;wget http://sourceforge.net/projects/opencore-amr/files/opencore-amr/0.1.2/opencore-amr-0.1.2.tar.gz/download&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;./configure&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;make&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef; font-family: Verdana, sans-serif; font-size: 13px;"&gt;&lt;a class="newWindow" href="http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #8b0b04; font-style: normal; text-decoration: none;" title="inserted link"&gt;mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;echo y | cp * /usr/local/lib/codecs/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;echo y | cp * /usr/local/lib64/codecs/&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;libogg&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;wget http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;./configure&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;make&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;make install&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;libvorbis&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef; font-family: Verdana, sans-serif; font-size: x-small;"&gt;wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef; font-family: Verdana, sans-serif; font-size: x-small;"&gt;./configure&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef; font-family: Verdana, sans-serif; font-size: x-small;"&gt;make&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef; font-family: Verdana, sans-serif; font-size: x-small;"&gt;make install&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;tar -xvzf libtheora-1.1.1.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;./configure&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;make&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;make isntall&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;div&gt;export LD_LIBRARY_PATH=/usr/local/lib/&lt;/div&gt;&lt;div&gt;&lt;div&gt;echo /usr/local/lib &amp;gt; /etc/ld.so.conf.d/custom-libs.conf&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;yum install dirac dirac-devel&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="background-color: #efefef; font-family: Verdana, sans-serif; font-size: 13px;"&gt;./configure --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="background-color: #efefef;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="line-height: 15px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-4056356289832766599?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/4056356289832766599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/09/ffmpeg-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4056356289832766599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4056356289832766599'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/09/ffmpeg-installation.html' title='FFmpeg installation'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8875608266870717893</id><published>2011-09-16T16:16:00.001+05:30</published><updated>2011-09-16T16:16:14.514+05:30</updated><title type='text'>MP4Box installation</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;Follow the steps given below to install MP4Box&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;!--StartFragment--&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;#cd /usr/local/src/&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Sans Serif'; font-size: 10pt; text-indent: 0px;"&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# wget http://nchc.dl.sourceforge.net/project/gpac/GPAC/GPAC%200.4.5/gpac-0.4.5.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Sans Serif'; font-size: 10pt; text-indent: 0px;"&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# wget http://nchc.dl.sourceforge.net/project/gpac/GPAC%20extra%20libs/GPAC%20extra%20libs%200.4.5/gpac_extra_libs-0.4.5.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Sans Serif'; font-size: 10pt; text-indent: 0px;"&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# tar -zxvf gpac-0.4.5.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# tar -zxvf gpac_extra_libs-0.4.5.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# cd gpac_extra_libs&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# cp -r * /usr/local/src/gpac/extra_lib&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# cd gpac&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# chmod 755 configure&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# ./configure&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# make lib&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# make apps&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# make install lib&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# make install&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# cp bin/gcc/libgpac.so /usr/lib&lt;/span&gt;&lt;!--EndFragment--&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-indent: 0px;"&gt;&lt;span style="font-family: 'Sans Serif'; font-size: 10pt;"&gt;# which MP4Box&lt;br /&gt;/usr/local/bin/MP4Box&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8875608266870717893?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8875608266870717893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/09/mp4box-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8875608266870717893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8875608266870717893'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/09/mp4box-installation.html' title='MP4Box installation'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2725834397261398059</id><published>2011-06-30T02:29:00.000+05:30</published><updated>2011-06-30T02:29:29.976+05:30</updated><title type='text'>Missing pentaho  while installing Kaltura</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While installing Kaltura on your centos 5.6 64 bit server, you can &amp;nbsp;see the error&lt;br /&gt;"Missing pentaho"&lt;br /&gt;&lt;br /&gt;Fix:&lt;br /&gt;# mkdir&amp;nbsp;/usr/local/pentaho&lt;br /&gt;#&amp;nbsp;&amp;nbsp;wget http://sourceforge.net/projects/pentaho/files/Data%20Integration/3.2.0-stable/pdi-ce-3.2.0-stable.tar.gz&lt;br /&gt;# &amp;nbsp;tar xvzf pdi-ce-3.2.0-stable.tar.gz&lt;br /&gt;# &amp;nbsp;mv data-integration pdi&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ref:&amp;nbsp;https://github.com/instructure/canvas-lms/wiki/Kaltura-setup-instructions&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2725834397261398059?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2725834397261398059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/missing-pentaho-while-installing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2725834397261398059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2725834397261398059'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/missing-pentaho-while-installing.html' title='Missing pentaho  while installing Kaltura'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6310241647316011655</id><published>2011-06-27T04:25:00.001+05:30</published><updated>2011-06-30T03:33:00.364+05:30</updated><title type='text'>how to install memcached on centos</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;You can use the command given below to find the centos version.&lt;br /&gt;&lt;br /&gt;# cat /etc/redhat-release&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Dependency that is needed for memcached is&amp;nbsp;libevent. First we will proceed with &amp;nbsp;libevent.&lt;br /&gt;Steps for installation libevent.&lt;br /&gt;&amp;nbsp;#&amp;nbsp;cd /usr/local/src/&lt;br /&gt;&lt;div&gt;&amp;nbsp;# curl -O http://monkey.org/~provos/libevent-1.4.14b-stable.tar.gz&lt;/div&gt;&lt;div&gt;&amp;nbsp;#&amp;nbsp;tar xzvf libevent-1.4.14b-stable.tar.gz&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;# cd libevent-1.4.14b-stable&lt;/div&gt;&lt;div&gt;&amp;nbsp;# ./configure --prefix=/usr/local/&lt;/div&gt;&lt;div&gt;&amp;nbsp;# make&amp;nbsp;&lt;/div&gt;&lt;div&gt;&amp;nbsp;# make &amp;nbsp;install&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Next we need to &amp;nbsp;install memcached.&lt;/div&gt;&lt;div&gt;# cd /usr/local/src&lt;/div&gt;&lt;div&gt;# curl -O http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz&lt;/div&gt;&lt;div&gt;# tar -xvzf memcached-1.4.5.tar.gz&lt;/div&gt;&lt;div&gt;&lt;div&gt;# cd memcached-1.4.5&lt;/div&gt;&lt;/div&gt;&lt;div&gt;# LDFLAGS='-Wl,--rpath /usr/local/lib' ./configure --prefix=/usr/local&lt;/div&gt;&lt;div&gt;# make&lt;/div&gt;&lt;div&gt;# make install&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;You can verify the memcache using the command&lt;/div&gt;&lt;div&gt;#&amp;nbsp;memcached -u root -d&lt;/div&gt;&lt;div&gt;If there are no errors, memcache is successfully installed and is running.&lt;/div&gt;&lt;div&gt;# ps aux | grep memcached&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Note:&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;pre class="boxed" style="background-color: ghostwhite; border-bottom-color: rgb(222, 222, 222); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(222, 222, 222); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(222, 222, 222); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(222, 222, 222); border-top-style: solid; border-top-width: 1px; overflow-x: auto; overflow-y: auto; padding-bottom: 10px; padding-left: 0px; padding-right: 0px; padding-top: 10px;"&gt;memcached: error while loading shared libraries: libevent-1.4.so.2: &lt;br /&gt;  cannot open shared object file: No such file or directory&lt;br /&gt;  configure: error: libevent is required&lt;br /&gt;  If it's already installed, specify its path using --with-libevent=/dir/&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Install php-memcache&lt;br /&gt;&lt;br /&gt;Please try the following steps&lt;br /&gt;#&amp;nbsp;&lt;span class="Apple-style-span" style="background-color: #f8f8f8; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13px; line-height: 14px; white-space: pre;"&gt;wget &lt;a href="http://pecl.php.net/get/memcache-3.0.3.tgz" style="color: rgb(0, 0, 0) !important; text-decoration: none;"&gt;http://pecl.php.net/get/memcache-3.0.3.tgz&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;# tar -xvzf&amp;nbsp;memcache-3.0.3.tgz&lt;br /&gt;# cd&amp;nbsp;memcache-3.0.3&lt;br /&gt;# phpize&lt;br /&gt;#./configure&lt;br /&gt;# make&lt;br /&gt;# make install&lt;br /&gt;&lt;br /&gt;Open php.ini&lt;br /&gt;# vi /etc/php.ini&lt;br /&gt;add the line given below.&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13px; line-height: 14px; white-space: pre;"&gt;extension=memcache.so&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13px; line-height: 14px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Then restart apache. You can check this my "php -m | grep memcache"&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6310241647316011655?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6310241647316011655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/how-to-install-memcached-on-centos.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6310241647316011655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6310241647316011655'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/how-to-install-memcached-on-centos.html' title='how to install memcached on centos'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5150705529483852721</id><published>2011-06-27T04:16:00.000+05:30</published><updated>2011-06-27T04:16:29.911+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='kloxo'/><title type='text'>How to reset a kloxo admin password</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;If you have forgot the kloxo admin password , you can try the following fix.&lt;br /&gt;&lt;br /&gt;You should have root access to the server.&lt;br /&gt;1. Ssh to the server as root.&lt;br /&gt;2. Run the commands given below.&lt;br /&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px; color: #666666; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;#&amp;nbsp;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px; color: #666666; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif; font-size: 12px;"&gt;cd /usr/local/lxlabs/&lt;a class="st_tag internal_tag" href="http://www.crucialp.com/blog/tag/lxadmin/" rel="tag" style="color: #333333; text-decoration: underline;" title="Posts tagged with lxadmin"&gt;lxadmin&lt;/a&gt;/httpdocs&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px; font-size: 12px;"&gt;# /usr/bin/lphp.exe &amp;nbsp;../bin/common/resetpassword.php admin&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px; font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: black; font-family: 'Times New Roman'; font-size: small;"&gt;You can use the password admin as your kloxo admin password.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #666666; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 10px; -webkit-border-vertical-spacing: 10px; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5150705529483852721?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5150705529483852721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/how-to-reset-kloxo-admin-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5150705529483852721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5150705529483852721'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/how-to-reset-kloxo-admin-password.html' title='How to reset a kloxo admin password'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6111080469491855560</id><published>2011-06-24T00:23:00.000+05:30</published><updated>2011-06-24T00:23:00.579+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='clipbucket'/><title type='text'>Clipbucket admin area showing blank page</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;When trying to access admin area of clipbucket , we will get blank page,&lt;br /&gt;&lt;br /&gt;Fix:&lt;br /&gt;First step we need to check is permission. Make sure that all your files and folders are having 644 and 755 respectively. Still the issue persists, go to step2&lt;br /&gt;&lt;br /&gt;Next step is to fix out the file ClipBucket.class.php and search for the line&amp;nbsp;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"&gt;" function get_cb_news()&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"&gt;{ "&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Below this line, you need to add the following line&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"&gt;"return true "&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"&gt;Try this and your issue will be fixed.&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6111080469491855560?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6111080469491855560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/clipbucket-admin-area-showing-blank.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6111080469491855560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6111080469491855560'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/clipbucket-admin-area-showing-blank.html' title='Clipbucket admin area showing blank page'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6376651390213914393</id><published>2011-06-22T12:30:00.000+05:30</published><updated>2011-06-22T12:30:14.291+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='timeout'/><category scheme='http://www.blogger.com/atom/ns#' term='phpmotion'/><title type='text'>Connection to the server was reset - PHPmotion</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;Hello,&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;When you are trying to upload the larger videos in phpmotion, you may have got this error.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;http://yourdomain.com/&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;cgi-bin/uu_upload.pl?tmp_sid=815e201755c87c014ef49917cd76a186&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;The connection to the server was reset while the page was loading.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif; line-height: 16px;"&gt;The network link was interrupted while negotiating a connection. Please try again&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif; line-height: 16px;"&gt;Fix:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;Issue may be due to apache or php getting timedout. You can fix by increasing the value Timeout in httpd.conf.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6376651390213914393?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6376651390213914393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/connection-to-server-was-reset.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6376651390213914393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6376651390213914393'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/connection-to-server-was-reset.html' title='Connection to the server was reset - PHPmotion'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-1119919608339996765</id><published>2011-06-10T15:06:00.002+05:30</published><updated>2011-06-10T15:06:31.084+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='roundcube'/><title type='text'>SERVICE CURRENTLY NOT AVAILABLE! - Roundcube</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Hello,&lt;br /&gt;&lt;br /&gt;If you are getting this error "&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;"&gt;SERVICE CURRENTLY NOT AVAILABLE!" while accessing roundcube mail, you can fix it by &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: monospace; font-size: 12px; line-height: 12px; white-space: pre;"&gt;/usr/local/cpanel/bin/update-roundcube --force&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: monospace; font-size: 12px; line-height: 12px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: monospace; font-size: 12px; line-height: 12px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-1119919608339996765?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/1119919608339996765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/service-currently-not-available.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1119919608339996765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1119919608339996765'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/06/service-currently-not-available.html' title='SERVICE CURRENTLY NOT AVAILABLE! - Roundcube'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-555071608366774509</id><published>2011-05-25T04:37:00.000+05:30</published><updated>2011-05-25T04:37:19.332+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='memcache'/><title type='text'>How to install memcache in the server</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;You can use the steps below to install memcache&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; line-height: 14px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; line-height: 14px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;cd /usr/local/src/&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;wget http://www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;tar -xvf libevent-1.4.13-stable.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;cd libevent-1.4.13-stable&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;./configure&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;make&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;make install&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;cd ..&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;wget http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;tar -xvf memcached-1.4.5.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;cd memcached-1.4.5&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;./configure &amp;amp;&amp;amp; make&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;make install&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&amp;nbsp;vi /etc/ld.so.conf.d/libevent-i386.conf &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;create this file and add one line -&amp;gt; &amp;nbsp;# /usr/local/lib/&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;/sbin/ldconfig&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;start your memcached server up&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;/usr/local/bin/memcached -u nobody &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: x-small;"&gt;you should add this last command to /etc/rc.local so the memcached server starts if there is a reboot&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-555071608366774509?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/555071608366774509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-install-memcache-in-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/555071608366774509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/555071608366774509'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-install-memcache-in-server.html' title='How to install memcache in the server'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-7184085400973879078</id><published>2011-05-17T10:12:00.002+05:30</published><updated>2011-05-17T10:12:24.373+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>How to clear cache memory(RAM) in linux</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;Clear cache memory.&lt;br /&gt;&lt;br /&gt;You can use the command given below to clear the pagecache&lt;br /&gt;echo 1 &amp;gt; /proc/sys/vm/drop_caches&lt;br /&gt;&lt;br /&gt;To &amp;nbsp;free dentries and inodes, you can use the command&lt;br /&gt;echo 2 &amp;gt; /proc/sys/vm/drop_caches&lt;br /&gt;&lt;br /&gt;To free pagecache, dentries and inodes:&lt;br /&gt;echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-7184085400973879078?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/7184085400973879078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-clear-cache-memoryram-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7184085400973879078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7184085400973879078'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-clear-cache-memoryram-in-linux.html' title='How to clear cache memory(RAM) in linux'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-1866792971355493056</id><published>2011-05-14T21:51:00.000+05:30</published><updated>2011-05-14T21:51:06.589+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='plesk'/><title type='text'>.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;Is some cases, while browsing your domain you will be getting forbidden page. This is the problem with the directory / files permissions.&lt;br /&gt;&lt;br /&gt;From /var/www/vhosts/domain.com/statistics/logs/error_log : &amp;nbsp;You can get the error&lt;br /&gt;&lt;br /&gt;[critical] [client 192.168.1.1] (13)Permission&lt;br /&gt;denied: /var/www/vhosts/domain.com/httpdocs/.htaccess pcfg_openfile:&lt;br /&gt;unable to check htaccess file, ensure it is readable&lt;br /&gt;&lt;br /&gt;This is due to incorrect permission for the httpdocs/httpsdocs&lt;br /&gt;&lt;br /&gt;cd /var/www/vhosts/domain.com/&lt;br /&gt;chmod 755 httpdocs&lt;br /&gt;chmod 755 httpsdocs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This will work for you.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-1866792971355493056?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/1866792971355493056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/htaccess-pcfgopenfile-unable-to-check.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1866792971355493056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1866792971355493056'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/htaccess-pcfgopenfile-unable-to-check.html' title='.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-1848682321658160395</id><published>2011-05-14T17:35:00.000+05:30</published><updated>2011-05-14T17:35:51.758+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg'/><title type='text'>FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;When you try to install ffmpeg-php module in the server, you can get the error&lt;br /&gt;FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1&lt;br /&gt;&lt;br /&gt;There are two fixes for this issue. Try the first one, if it doesnt fix then go to second.&lt;br /&gt;&lt;br /&gt;Fix 1:&lt;br /&gt;&lt;br /&gt;In the latest ffmpeg-php, you need to modify the file ffmpeg_frame.c&lt;br /&gt;Usually location will be /usr/src/ffmpeginstaller/ffmpeg-php-0.6.0/ffmpeg_frame.c&lt;br /&gt;&lt;br /&gt;Open the above mentioned file and &amp;nbsp;replace every instance of PIX_FMT_RGBA32 with PIX_FMT_RGB32&lt;br /&gt;&lt;br /&gt;Then try to configure it,.&lt;br /&gt;&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fix 2:&lt;br /&gt;If the fix1 didnt fix the issue, you can follow this one.&lt;br /&gt;&lt;br /&gt;You need to just copy the file ffmpeg_frame.loT to ffmpeg_frame.lo&lt;br /&gt;&lt;br /&gt;cd /path/to/ffmpeg-php-0.6.0 &amp;nbsp; ie &amp;nbsp;cd /usr/src/ffmpeginstaller/ffmpeg-php-0.6.0&lt;br /&gt;cp &amp;nbsp;ffmpeg_frame.loT ffmpeg_frame.lo&lt;br /&gt;make clean&lt;br /&gt;./configure&lt;br /&gt;&lt;br /&gt;This should fix the issue/&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-1848682321658160395?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/1848682321658160395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/ffmpeg-make-ffmpegframelo-error-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1848682321658160395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1848682321658160395'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/ffmpeg-make-ffmpegframelo-error-1.html' title='FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2401975231846901808</id><published>2011-05-14T16:37:00.002+05:30</published><updated>2011-05-14T16:37:24.519+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>How to restore mysql database in linux plesk</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;You can use the command 'mysql' to restore the database. Exact command is given below.&lt;br /&gt;&lt;br /&gt;mysql -u admin -p`cat /etc/psa/.psa/shadow` database_name &amp;lt; database_dump.sql&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2401975231846901808?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2401975231846901808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-restore-mysql-database-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2401975231846901808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2401975231846901808'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-restore-mysql-database-in-linux.html' title='How to restore mysql database in linux plesk'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-7833703282917555852</id><published>2011-05-12T02:44:00.000+05:30</published><updated>2011-05-12T02:44:34.693+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='dig'/><category scheme='http://www.blogger.com/atom/ns#' term='host'/><category scheme='http://www.blogger.com/atom/ns#' term='nslookup'/><title type='text'>How to install commands host, dig and nslookup in linux.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;In a new linux server, when you try to run the command given below, it will be getting error.&lt;br /&gt;&lt;br /&gt;[root@server /]# host abhionlinux.in&lt;br /&gt;-bash: host: command not found&lt;br /&gt;&lt;br /&gt;In such cases, you need to install the bind-utils package in the server.&lt;br /&gt;&lt;br /&gt;1. ssh to the server.&lt;br /&gt;2 run the command&lt;br /&gt;[root@server /]# yum install bind-utils&lt;br /&gt;&lt;br /&gt;Now host, dig and nslookup will be working fine.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-7833703282917555852?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/7833703282917555852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-install-commands-host-dig-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7833703282917555852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7833703282917555852'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-install-commands-host-dig-and.html' title='How to install commands host, dig and nslookup in linux.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5925280286424846236</id><published>2011-05-08T20:27:00.001+05:30</published><updated>2011-05-12T02:51:33.376+05:30</updated><title type='text'>How to check open ports in linux</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="color: #1c2837; font-family: arial, verdana, tahoma, sans-serif; font-size: 14px; line-height: 20px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #f8f8f8; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; border-bottom-color: rgb(201, 201, 201); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(201, 201, 201); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(201, 201, 201); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(201, 201, 201); border-top-style: solid; border-top-width: 1px; font-size: 11px; line-height: 15px; margin-bottom: 0px; margin-left: 10px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px;"&gt;&lt;span class="pln" style="color: black;"&gt;nmap &lt;/span&gt;&lt;span class="pun" style="color: #666600;"&gt;-&lt;/span&gt;&lt;span class="pln" style="color: black;"&gt;sS &lt;/span&gt;&lt;span class="pun" style="color: #666600;"&gt;-&lt;/span&gt;&lt;span class="pln" style="color: black;"&gt;O &lt;/span&gt;&lt;span class="lit" style="color: #006666;"&gt;127.0&lt;/span&gt;&lt;span class="pun" style="color: #666600;"&gt;.&lt;/span&gt;&lt;span class="lit" style="color: #006666;"&gt;0.1&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2011-05-08 16:49 CEST&lt;br /&gt;Interesting ports on server.abhi.com (127.0.0.1):&lt;br /&gt;Not shown: 1660 closed ports&lt;br /&gt;PORT &amp;nbsp; &amp;nbsp; STATE SERVICE&lt;br /&gt;21/tcp &amp;nbsp; open &amp;nbsp;ftp&lt;br /&gt;22/tcp &amp;nbsp; open &amp;nbsp;ssh&lt;br /&gt;25/tcp &amp;nbsp; open &amp;nbsp;smtp&lt;br /&gt;53/tcp &amp;nbsp; open &amp;nbsp;domain&lt;br /&gt;80/tcp &amp;nbsp; open &amp;nbsp;http&lt;br /&gt;106/tcp &amp;nbsp;open &amp;nbsp;pop3pw&lt;br /&gt;110/tcp &amp;nbsp;open &amp;nbsp;pop3&lt;br /&gt;111/tcp &amp;nbsp;open &amp;nbsp;rpcbind&lt;br /&gt;143/tcp &amp;nbsp;open &amp;nbsp;imap&lt;br /&gt;443/tcp &amp;nbsp;open &amp;nbsp;https&lt;br /&gt;465/tcp &amp;nbsp;open &amp;nbsp;smtps&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;Device type: general purpose&lt;/div&gt;&lt;div&gt;Running: Linux 2.4.X|2.5.X|2.6.X&lt;/div&gt;&lt;div&gt;OS details: Linux 2.5.25 - 2.6.3&amp;nbsp;&lt;/div&gt;&lt;div&gt;Uptime 95 days&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Nmap run completed -- 1 IP address (1 host up) scanned in 2.341 seconds&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5925280286424846236?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5925280286424846236/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-check-open-ports-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5925280286424846236'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5925280286424846236'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-check-open-ports-in-linux.html' title='How to check open ports in linux'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6969444002298112837</id><published>2011-05-07T23:34:00.000+05:30</published><updated>2011-05-07T23:34:26.649+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='reset ssh_config using whm'/><title type='text'>How to reset sshd config using WHM</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In somecases your ssh config may have corrupted or ssh port may have blocked in the server due to mistake. In such cases, you can reset the sshd_config from whm.&lt;br /&gt;Login to your whm, then you need to access the URL given below in your browser. Remember to replace the $IPADDRESS with your IP address. This will reset the ssh port to 22.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Verdana, Arial, Tahoma, Calibri, Geneva, sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="bbcode_code" style="background-attachment: initial; background-clip: initial; background-color: #f2f6f8; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: repeat no-repeat; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; direction: ltr; font-family: monospace; font-size: 12px; height: 36px; line-height: 12px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: scroll; overflow-y: scroll; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: left;"&gt;http://$IPADDRESS:2086/scripts2/doautofixer?autofix=safesshrestart&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6969444002298112837?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6969444002298112837/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-reset-sshd-config-using-whm.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6969444002298112837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6969444002298112837'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/how-to-reset-sshd-config-using-whm.html' title='How to reset sshd config using WHM'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5922997425808161300</id><published>2011-05-05T20:12:00.000+05:30</published><updated>2011-05-05T20:12:21.587+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='cpanel'/><title type='text'>Wrong mysql disk usage in cpanel.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;br /&gt;You have zero databases in your cpanel account. After login to your cpanel, you can see the mysql database consuming more disk space. &amp;nbsp;This can be corrected by the following steps.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Login to server and edit cpanel.config.&lt;br /&gt;&lt;br /&gt;[root@server /]# vi /var/cpanel/users/cpanel.config&lt;br /&gt;&lt;br /&gt;Replace 'disk_usage_include_sqldbs=0' with &amp;nbsp;'disk_usage_include_sqldbs=1'&lt;br /&gt;&lt;br /&gt;Save this file and run the command given below.&lt;br /&gt;&lt;br /&gt;[root@server /]# /scripts/update_db_cache&lt;br /&gt;&lt;br /&gt;In the whm-tweak setting, you need to enable the option&lt;br /&gt;'Use INFORMATION_SCHEMA to acquire MySQL disk usage (MySQL 5+ required) '&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5922997425808161300?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5922997425808161300/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/wrong-mysql-disk-usage-in-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5922997425808161300'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5922997425808161300'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/05/wrong-mysql-disk-usage-in-cpanel.html' title='Wrong mysql disk usage in cpanel.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8509276706366490207</id><published>2011-04-25T03:35:00.000+05:30</published><updated>2011-04-25T03:35:47.455+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='mv'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>/bin/mv: Argument list too long</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;When you are trying to move large number of files such 200000 files. you can use the command&lt;br /&gt;&lt;br /&gt;mv &amp;nbsp;* /path/to/move&lt;br /&gt;&lt;br /&gt;If you try the above command, you will be getting the error &amp;nbsp;&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;"/bin/mv: Argument list too long"&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; font-size: small;"&gt;You can use the command given below to avoid this error&amp;nbsp;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: monospace; font-size: 12px; white-space: pre;"&gt;&lt;span class="pln" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;find &lt;/span&gt;&lt;span class="pln" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #888800;"&gt;/path/to/file&lt;/span&gt;&lt;/span&gt;&lt;span class="pln" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span class="pun" style="color: #888800; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;-&lt;/span&gt;&lt;span class="pln" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;type f &lt;/span&gt;&lt;span class="pun" style="color: #888800; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;|&lt;/span&gt;&lt;span class="pln" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; xargs &lt;/span&gt;&lt;span class="pun" style="color: #888800; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;-&lt;/span&gt;&lt;span class="pln" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;i mv &lt;/span&gt;&lt;span class="str" style="color: #00aa00; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;"{}"&lt;/span&gt;&lt;span class="pln" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt; &lt;/span&gt;&lt;span class="pun" style="color: #888800; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;/&lt;/span&gt;&lt;span class="pln" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;path/to/move&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: monospace; font-size: 12px; white-space: pre;"&gt;&lt;span class="pln" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: monospace; font-size: 12px; white-space: pre;"&gt;&lt;span class="pln" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Try this out.. :)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: monospace; font-size: 12px; white-space: pre;"&gt;&lt;span class="pln" style="color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8509276706366490207?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8509276706366490207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/binmv-argument-list-too-long.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8509276706366490207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8509276706366490207'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/binmv-argument-list-too-long.html' title='/bin/mv: Argument list too long'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2844651356854363817</id><published>2011-04-19T03:41:00.000+05:30</published><updated>2011-04-19T03:41:04.111+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1/'/><title type='text'>FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1/</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Sometimes you will get the error given below when installing ffmpeg-php in your server.&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px;"&gt;&lt;strong&gt;FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px;"&gt;&lt;strong&gt;Fix:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px;"&gt;modify the file&amp;nbsp;ffmpeg_frame.c&amp;nbsp;and replace every instance of&amp;nbsp;&lt;i style="font-weight: normal;"&gt;PIX_FMT_RGBA32&lt;/i&gt;&amp;nbsp;with&amp;nbsp;&lt;strong style="font-weight: normal;"&gt;PIX_FMT_RGB32&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px;"&gt;&lt;strong style="font-weight: normal;"&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;Now run make and make install&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 15px;"&gt;Eg:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 15px;"&gt;&lt;ul class="square" style="list-style-image: initial; list-style-position: outside; list-style-type: square; margin-bottom: 10px; margin-left: 5px; margin-right: 5px; margin-top: 0px; padding-left: 25px;"&gt;&lt;li&gt;vi ffmpeg_frame.c&lt;/li&gt;&lt;li&gt;:%s/PIX_FMT_RGBA32/PIX_FMT_RGB32&lt;/li&gt;&lt;li&gt;:wq!&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Another method is&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;ul class="square" style="list-style-image: initial; list-style-position: outside; list-style-type: square; margin-bottom: 10px; margin-left: 5px; margin-right: 5px; margin-top: 0px; padding-left: 25px;"&gt;&lt;li&gt;cd /path/to/ffmpeg-php-0.6.0&lt;/li&gt;&lt;li&gt;cp -aP ffmpeg_frame.loT ffmpeg_frame.lo&lt;/li&gt;&lt;li&gt;make clean&lt;/li&gt;&lt;li&gt;./configure&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2844651356854363817?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2844651356854363817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/ffmpeg-make-ffmpegframelo-error-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2844651356854363817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2844651356854363817'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/ffmpeg-make-ffmpegframelo-error-1.html' title='FFmpeg :: make: *** [ffmpeg_frame.lo] Error 1/'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-282973033498968710</id><published>2011-04-19T00:19:00.000+05:30</published><updated>2011-04-19T00:19:21.049+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='install yasm'/><title type='text'>How to install yasm</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;You can follow the steps given below to install yasm from source.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="code-java" style="color: #333333; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 1.3; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;"&gt;# wget http:&lt;span class="code-comment" style="background-color: inherit; color: grey;"&gt;//www.tortall.net/projects/yasm/releases/yasm-0.7.0.tar.gz&lt;/span&gt;&lt;/pre&gt;&lt;pre class="code-java" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;"&gt;&lt;span class="code-comment" style="background-color: inherit;"&gt;&lt;pre class="code-java" style="color: #333333; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 1.3; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; white-space: normal;"&gt;# tar zfvx yasm-0.7.0.tar.gz&lt;/pre&gt;&lt;pre class="code-java" style="color: #333333; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 1.3; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; white-space: normal;"&gt;# cd yasm-0.7.0&lt;/pre&gt;&lt;pre class="code-java" style="color: #333333; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 1.3; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; white-space: normal;"&gt;#  ./configure&lt;/pre&gt;&lt;pre class="code-java" style="color: #333333; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 1.3; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; white-space: normal;"&gt;# make &lt;/pre&gt;&lt;pre class="code-java" style="color: #333333; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 1.3; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; white-space: normal;"&gt;# make install&lt;/pre&gt;&lt;pre class="code-java" style="color: #333333; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 1.3; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; white-space: normal;"&gt;&lt;/pre&gt;&lt;pre class="code-java" style="color: #333333; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 1.3; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; white-space: normal;"&gt;You can check the yasm binary using the command&lt;/pre&gt;&lt;pre class="code-java" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; overflow-x: auto; overflow-y: auto; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;# which yasm&lt;br /&gt;/usr/local/bin/yasm&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Courier New', Courier, monospace; font-size: 13px; line-height: 1.3; white-space: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="color: #333333; font-family: Helvetica, Arial, sans-serif; font-size: 13px; line-height: 17px; white-space: normal;"&gt;&lt;/div&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-282973033498968710?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/282973033498968710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/how-to-install-yasm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/282973033498968710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/282973033498968710'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/how-to-install-yasm.html' title='How to install yasm'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3266930894524406247</id><published>2011-04-19T00:13:00.000+05:30</published><updated>2011-04-19T00:13:06.167+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='install yamdi'/><title type='text'>How to install Yamdi</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;You can follow the steps given below to install Yamdi&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Georgia, Utopia, 'Palatino Linotype', Palatino, serif; font-size: 14px; line-height: 21px;"&gt;cd /usr/local/src/&lt;br /&gt;wget http://downloads.sourceforge.net/project/yamdi/yamdi/1.4/yamdi-1.4.tar.gz?use_mirror=ufpr&lt;br /&gt;tar zxf yamdi-1.4.tar.gz&lt;br /&gt;cd yamdi-1.4&lt;br /&gt;gcc yamdi.c -o yamdi -O2 -Wall&lt;br /&gt;mv yamdi /usr/bin/&lt;br /&gt;yamdi -h&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Georgia, Utopia, 'Palatino Linotype', Palatino, serif; font-size: 14px; line-height: 21px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: Georgia, Utopia, 'Palatino Linotype', Palatino, serif; font-size: 14px; line-height: 21px;"&gt;You can check the yamdi binary using "which yamdi'&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3266930894524406247?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3266930894524406247/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/how-to-install-yamdi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3266930894524406247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3266930894524406247'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/how-to-install-yamdi.html' title='How to install Yamdi'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2459510038251428104</id><published>2011-04-09T14:09:00.000+05:30</published><updated>2011-04-09T14:09:12.890+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='qt-faststart'/><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg.'/><title type='text'>How to install  qt-faststart with ffmpeg</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;You can follow the steps given below to install qt-ffmpeg with ffmpeg. For this steps to work out, you should have a working ffmpeg installation in your server.&lt;br /&gt;&lt;br /&gt;# svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg&lt;br /&gt;# cd ffmpeg&lt;br /&gt;# ./configure&lt;br /&gt;# make&lt;br /&gt;#make tools/qt-faststart&lt;br /&gt;#cp -a tools/qt-faststart /usr/bin/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2459510038251428104?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2459510038251428104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/how-to-install-qt-faststart-with-ffmpeg.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2459510038251428104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2459510038251428104'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/how-to-install-qt-faststart-with-ffmpeg.html' title='How to install  qt-faststart with ffmpeg'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-7527898101196140530</id><published>2011-04-04T17:45:00.001+05:30</published><updated>2011-04-04T17:45:43.894+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='exim'/><category scheme='http://www.blogger.com/atom/ns#' term='cpanel'/><category scheme='http://www.blogger.com/atom/ns#' term='Spool file is locked'/><title type='text'>Spool file is locked (another process is handling this message)  : Unable to send emails ,exim</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are many resons for this error. They may be due to dns, firewall.&lt;br /&gt;&lt;br /&gt;Please try the fix given below.&lt;br /&gt;&lt;br /&gt;#cd /var/spool/exim4/db&lt;br /&gt;# mv * /backup&lt;br /&gt;move all the files to a backup folder&lt;br /&gt;&lt;br /&gt;#/etc/init.d/exim restart&lt;br /&gt;&lt;br /&gt;This should fix the issue. If this doesnt fix the issue, please try by restarting the firewall. Firewall may be blocking your emails.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-7527898101196140530?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/7527898101196140530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/spool-file-is-locked-another-process-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7527898101196140530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7527898101196140530'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/spool-file-is-locked-another-process-is.html' title='Spool file is locked (another process is handling this message)  : Unable to send emails ,exim'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6093237185875138601</id><published>2011-04-04T16:08:00.002+05:30</published><updated>2011-04-04T16:08:14.204+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='IP rotation in exim.'/><category scheme='http://www.blogger.com/atom/ns#' term='cpanel'/><title type='text'>How to enable IP rotation in exim.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;If your server are having multiple IP and you want to send each emails in different IP address. You can follow the steps given below. This is used to maintain the ip reputation. While doing this, please make sure that this is not used for spamming.&lt;br /&gt;&lt;br /&gt;Open you exim config,&lt;br /&gt;&lt;br /&gt;vi &amp;nbsp;/etc/exim.conf&lt;br /&gt;&lt;br /&gt;search for the line : interface =&lt;br /&gt;&lt;br /&gt;replace this line with&lt;br /&gt;interface = 192.168.0.1${eval:${substr{-2}{1}{$tod_zulu}}%7+1}&lt;br /&gt;&lt;br /&gt;If your server is having ip's from 192.168.0.11 to 192.168.0.20 , you can use above line.&lt;br /&gt;+1 is &amp;nbsp;is the starting ip ie &amp;nbsp;192.168.0.1'1'&lt;br /&gt;%9 is the incriment value ie 11(192.168.0.11) to how much. here it is 20 (192.168.0.20)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6093237185875138601?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6093237185875138601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/how-to-enable-ip-rotation-in-exim.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6093237185875138601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6093237185875138601'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/04/how-to-enable-ip-rotation-in-exim.html' title='How to enable IP rotation in exim.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2368145920508949497</id><published>2011-03-28T04:54:00.000+05:30</published><updated>2011-03-28T04:54:32.822+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg.so'/><title type='text'>Unable to load dynamic library ‘/usr/lib64/php/modules/ffmpeg.so</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;if you are getting the error message “Unable to load dynamic library ‘/usr/lib64/php/modules/ffmpeg.so” when you add the ffmpeg.so extension to the PHP configuration file i.e. php.ini file and tries to run PHP.&lt;br /&gt;&lt;br /&gt;PHP Warning: &amp;nbsp;PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/ffmpeg.so’ – /usr/lib64/php/modules/ffmpeg.so: undefined symbol: _php_create_ffmpeg_frame in Unknown on line 0&lt;br /&gt;&lt;br /&gt;Please try the fix given below.&lt;br /&gt;&lt;br /&gt;Goto the the ffmpeg-php-0.x.0 directory and edit the ffmpeg_frame.c file&lt;br /&gt;&lt;br /&gt;vi &amp;nbsp;/usr/src/ffmpeg-php-0.6.0/ffmpeg_frame.c&lt;br /&gt;&lt;br /&gt;Now replace every instance of ‘PIX_FMT_RGBA32′ with ‘PIX_FMT_RGB32′ in the file by executing&lt;br /&gt;&lt;br /&gt;Save the file and recompile ffmpeg-php&lt;br /&gt;&lt;br /&gt;#ldconfig&lt;br /&gt;#phpize&lt;br /&gt;#./configure --enable-shared --with-ffmpeg=/usr/local/cpffmpeg&lt;br /&gt;#make -j$cpu&lt;br /&gt;#make install&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2368145920508949497?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2368145920508949497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/unable-to-load-dynamic-library.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2368145920508949497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2368145920508949497'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/unable-to-load-dynamic-library.html' title='Unable to load dynamic library ‘/usr/lib64/php/modules/ffmpeg.so'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-4984954024396775633</id><published>2011-03-28T02:59:00.000+05:30</published><updated>2011-03-28T02:59:16.479+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='phpize'/><title type='text'>phpize : command not found</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;#-bash: phpize: command not found&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #484848; font-family: Verdana, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #484848; font-family: Verdana, sans-serif;"&gt;This error is due to "phpize" command not available on your server. To fix, install php-devel package.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #484848; font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #484848; font-family: Verdana, sans-serif;"&gt;yum &amp;nbsp;install php-devel&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-4984954024396775633?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/4984954024396775633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/phpize-command-not-found.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4984954024396775633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4984954024396775633'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/phpize-command-not-found.html' title='phpize : command not found'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6291805843637824004</id><published>2011-03-28T02:16:00.000+05:30</published><updated>2011-03-28T02:16:30.386+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ffmpeg'/><category scheme='http://www.blogger.com/atom/ns#' term='git'/><title type='text'>How to install GIT</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Git is distributed version control system focused on speed, effectivity and real-world usability on large projects. Following are the steps to intsall Git&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #4e4e4e; font-family: 'Segoe UI', Calibri, 'Myriad Pro', Myriad, 'Trebuchet MS', Helvetica, Arial, sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre style="background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; font-family: 'Courier New', Courier, 'Lucida Console', Monaco, 'DejaVu Sans Mono', 'Nimbus Mono L', 'Bitstream Vera Sans Mono'; font-size: 12px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 1em; overflow-x: hidden; overflow-y: hidden; padding-bottom: 0.8em; padding-left: 0.8em; padding-right: 0.8em; padding-top: 0.8em; white-space: pre-wrap; width: 459px;"&gt;wget http://kernel.org/pub/software/scm/git/git-1.7.3.tar.bz2&lt;br /&gt;tar jxvf git-1.7.3.tar.bz2&lt;br /&gt;cd git-1.7.3&lt;br /&gt;./configure&lt;br /&gt;make &amp;amp;&amp;amp; make install&lt;br /&gt;git&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6291805843637824004?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6291805843637824004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/how-to-install-git.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6291805843637824004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6291805843637824004'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/how-to-install-git.html' title='How to install GIT'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3848596314433898816</id><published>2011-03-23T00:24:00.000+05:30</published><updated>2011-03-23T00:24:26.112+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='yum update error'/><title type='text'>Yum update failed.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;Yum update failed.&lt;br /&gt;===================================&lt;br /&gt;"-bash-3.1# yum update&lt;br /&gt;Loading “installonlyn” plugin&lt;br /&gt;error: no dbpath has been set&lt;br /&gt;error: cannot open Packages database in /%{_dbpath}&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;File “/usr/bin/yum”, line 29, in ?&lt;br /&gt;yummain.main(sys.argv[1:])&lt;br /&gt;File “/usr/share/yum-cli/yummain.py”, line 82, in main&lt;br /&gt;base.getOptionsConfig(args)&lt;br /&gt;File “/usr/share/yum-cli/cli.py”, line 206, in getOptionsConfig&lt;br /&gt;errorlevel=opts.errorlevel)&lt;br /&gt;File “/usr/lib/python2.4/site-packages/yum/__init__.py”, line 132, in&lt;br /&gt;doConfigSetup&lt;br /&gt;self.conf = config.readMainConfig(startupconf)&lt;br /&gt;File “/usr/lib/python2.4/site-packages/yum/config.py”, line 598, in&lt;br /&gt;readMainConfig&lt;br /&gt;yumvars['releasever'] = _getsysver(startupconf.installroot,&lt;br /&gt;startupconf.distroverpkg)&lt;br /&gt;File “/usr/lib/python2.4/site-packages/yum/config.py”, line 661, in&lt;br /&gt;_getsysver&lt;br /&gt;idx = ts.dbMatch(‘provides’, distroverpkg)&lt;br /&gt;TypeError: rpmdb open failed"&lt;br /&gt;==========================&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you are getting this error, you need to clear the database.&lt;br /&gt;&lt;br /&gt;Yum clean all&lt;br /&gt;rm -f /var/lib/rpm/_db*&lt;br /&gt;rpm -rebuilddb&lt;br /&gt;yum update&lt;br /&gt;&lt;br /&gt;If this doesnt fix your issue, try the following steps also.&lt;br /&gt;&lt;br /&gt;rm /dev/urandom&lt;br /&gt;mknod -m 644 /dev/urandom c 1 9&lt;br /&gt;yum clean all.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This should fix your issue.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3848596314433898816?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3848596314433898816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/yum-update-failed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3848596314433898816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3848596314433898816'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/yum-update-failed.html' title='Yum update failed.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-1704938514886885488</id><published>2011-03-21T03:50:00.002+05:30</published><updated>2011-03-21T03:50:47.406+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='performance of the hard disk.'/><title type='text'>Command to check the performance of the hard disk.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;Command to check the performance of the hard disk.&lt;br /&gt;&lt;br /&gt;You can use the command given below to check the hard disk performance.&lt;br /&gt;&lt;br /&gt;hdparm /dev/sda&lt;br /&gt;&lt;br /&gt;/dev/sda:&lt;br /&gt;&amp;nbsp;multcount &amp;nbsp; &amp;nbsp; = 16 (on)&lt;br /&gt;&amp;nbsp;IO_support &amp;nbsp; &amp;nbsp;= &amp;nbsp;1 (32-bit)&lt;br /&gt;&amp;nbsp;readonly &amp;nbsp; &amp;nbsp; &amp;nbsp;= &amp;nbsp;0 (off)&lt;br /&gt;&amp;nbsp;readahead &amp;nbsp; &amp;nbsp; = 256 (on)&lt;br /&gt;&amp;nbsp;geometry &amp;nbsp; &amp;nbsp; &amp;nbsp;= 19457/255/63, sectors = 312581808, start = 0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can replace /dev/sda with the name of your disk device.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-1704938514886885488?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/1704938514886885488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/command-to-check-performance-of-hard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1704938514886885488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1704938514886885488'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/command-to-check-performance-of-hard.html' title='Command to check the performance of the hard disk.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8733490608180011179</id><published>2011-03-20T05:19:00.001+05:30</published><updated>2011-03-20T05:20:31.431+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='LimitInternalRecursion'/><category scheme='http://www.blogger.com/atom/ns#' term='htaccess.'/><category scheme='http://www.blogger.com/atom/ns#' term='cpanel'/><title type='text'>Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit ifnecessary. Use ‘LogLevel debug’ to get a backtrace</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 20px;"&gt;&lt;b&gt;Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit ifnecessary. Use ‘LogLevel debug’ to get a backtrace&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 20px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 20px;"&gt;When you try to browse your website, if you are getting this error. This means that you have exceeded the limit of intername redictions used in your website.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 20px;"&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 20px;"&gt;To avoid &amp;nbsp;this error message simply use following code in .htaccess file.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 20px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;RewriteRule .* - [L]&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8733490608180011179?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8733490608180011179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/request-exceeded-limit-of-10-internal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8733490608180011179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8733490608180011179'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/03/request-exceeded-limit-of-10-internal.html' title='Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit ifnecessary. Use ‘LogLevel debug’ to get a backtrace'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6734817678882235385</id><published>2011-01-22T20:37:00.000+05:30</published><updated>2011-01-22T20:37:00.385+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux plesk backend files'/><title type='text'>Linux Plesk Back end files.</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Plesk root directory :&amp;nbsp; /usr/local/psa&lt;br /&gt;Plesk version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp; /usr/local/psa/version&lt;br /&gt;Plesk Admin pass&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp; /etc/psa/.psa.shadow&lt;br /&gt;Plesk conf file&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /etc/psa/psa.conf&lt;br /&gt;Apache conf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /etc/httpd/conf/httpd.conf&lt;br /&gt;Plesk apache startup script&amp;nbsp; : /usr/local/psa/admin/bin/httpsdctl start&lt;br /&gt;Apache&amp;nbsp;log files&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /var/log/http/&lt;br /&gt;Php conf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp; /etc/php.ini&lt;br /&gt;Named conf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /var/named/run-root/etc/named.conf&lt;br /&gt;Named db&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /var/named/run-root/var/domainname&lt;br /&gt;Log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /var/log/messages&lt;br /&gt;Names restart&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /etc/init.d/named restart&lt;br /&gt;Mysql Db location&amp;nbsp; : /var/lib/mysql&lt;br /&gt;Mysql conf&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /etc/my.cnf&lt;br /&gt;Mysql log&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /var/log/mysql.log&lt;br /&gt;Plesk qmail&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /var/qmail&lt;br /&gt;Mail Dir for domain: /var/qmail/mailnames/domainname&lt;br /&gt;Maillog&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /var/log/maillog&lt;br /&gt;Plesk home dir&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : /var/www/vhosts/domain.com&lt;br /&gt;Plesk Doc root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp; /var/www/vhost/domainname/httpdocs&lt;br /&gt;Subdomain Docroot:&amp;nbsp; /var/www/vhost/domainname/subdomain&lt;br /&gt;Domain specific log: /var/www/vhosts/domainname/statistics/logs&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Plesk Db:&lt;br /&gt;Plesk database is called psa. Admin logins are used to access psa db.&lt;br /&gt;&lt;br /&gt;Following are the tables in psa db&lt;br /&gt;1. Domains&lt;br /&gt;&lt;br /&gt;2. Clients&lt;br /&gt;3. db_users&lt;br /&gt;4. db_bases&lt;br /&gt;5. disk_spaces&lt;br /&gt;6. mail&lt;br /&gt;7.&amp;nbsp;lockout&lt;br /&gt;8. web_users&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6734817678882235385?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6734817678882235385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/01/linux-plesk-back-end-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6734817678882235385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6734817678882235385'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/01/linux-plesk-back-end-files.html' title='Linux Plesk Back end files.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-1201753199489174165</id><published>2011-01-14T04:31:00.000+05:30</published><updated>2011-01-14T04:31:08.267+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordpress moving from subfolder to root folder'/><title type='text'>Move worpress site from subfolder to root</title><content type='html'>Assume that wordpress is installed in /blog folder and root domain is abhionlinux.co.cc&lt;br /&gt;You can follow the steps below to move the blog to root dir.&lt;br /&gt;&lt;br /&gt;1. Backup the folder /blog , this is done as &amp;nbsp;a precaution.&lt;br /&gt;2. Copy all the files in blog to root dir, make sure .htaccess file is also copied. There shouldnt be any index files such as index.php or index.html.&lt;br /&gt;3. Add the following line in wp-config.php under root dir.&lt;br /&gt;&lt;br /&gt;&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;span style="color: #990000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;span style="color: #990000;"&gt;define&lt;/span&gt;&lt;span style="color: #009900;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;'RELOCATE'&lt;/span&gt;&lt;span style="color: #339933;"&gt;,&lt;/span&gt;&lt;span style="color: black; font-weight: bold;"&gt;true&lt;/span&gt;&lt;span style="color: #009900;"&gt;)&lt;/span&gt;&lt;span style="color: #339933;"&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;span style="color: #339933;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;span style="color: #339933;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; white-space: normal;"&gt;4. Open the URL abhionlinux.co.cc/wp-login.php and enter the admin login details.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;span style="color: #339933;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; white-space: normal;"&gt;5. Go to general settings, Make sure &amp;nbsp;in wordpress address field &amp;nbsp;you have abhionlinux.co.cc(root dir) and make blog address URL as&amp;nbsp;&lt;/span&gt;&lt;/span&gt;abhionlinux.co.cc(root dir).&amp;nbsp;Most likely it will be having&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;http://abhionlinux.co.cc/blog, dont leave '/' in domain name.&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;6. Check htaccess in root dir and make sure it is similar to the one given below.&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;====================&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;pre class="html4strict" style="font-family: monospace;"&gt;&lt;span style="color: #009900;"&gt;IfModule mod_rewrite.c&lt;/span&gt;&lt;br /&gt;RewriteEngine On&lt;br /&gt;RewriteBase /&lt;br /&gt;RewriteCond %{REQUEST_FILENAME} !-f&lt;br /&gt;RewriteCond %{REQUEST_FILENAME} !-d&lt;br /&gt;RewriteRule . /index.php [L]&lt;br /&gt;&lt;span style="color: #009900;"&gt;IfModule&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre class="html4strict" style="font-family: monospace;"&gt;&lt;span style="color: #009900;"&gt;===================&lt;/span&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;pre class="php"&gt;&lt;pre class="php" style="font-family: monospace; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; white-space: normal;"&gt;&lt;span style="color: #339933;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: 'Times New Roman'; white-space: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;Now your wordpress site is move from subfolder to root dir.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;7. You can remove the line below from the file&amp;nbsp;wp-config.php&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;div class="wp_syntax"&gt;&lt;div class="code"&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;span style="color: #990000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;span style="color: #990000;"&gt;define&lt;/span&gt;&lt;span style="color: #009900;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;'RELOCATE'&lt;/span&gt;&lt;span style="color: #339933;"&gt;,&lt;/span&gt;&lt;span style="color: black; font-weight: bold;"&gt;true&lt;/span&gt;&lt;span style="color: #009900;"&gt;)&lt;/span&gt;&lt;span style="color: #339933;"&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;span style="color: #339933;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="color: #339933;"&gt;&lt;span class="Apple-style-span" style="color: black;"&gt;&lt;pre class="php" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;Try it out !!!&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;pre class="php"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="white-space: normal;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="php" style="font-family: monospace;"&gt;&lt;span class="Apple-style-span" style="color: #339933;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-1201753199489174165?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/1201753199489174165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/01/move-worpress-site-from-subfolder-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1201753199489174165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1201753199489174165'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/01/move-worpress-site-from-subfolder-to.html' title='Move worpress site from subfolder to root'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2342310881448950580</id><published>2011-01-13T01:50:00.000+05:30</published><updated>2011-01-13T01:50:14.804+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='moodel'/><category scheme='http://www.blogger.com/atom/ns#' term='unable to create directory'/><title type='text'>Moodle : ERROR: Could not find or create a directory (/home/username/public_html/uploaddata/16)</title><content type='html'>After creating the course, when you try to add files/folders in the course you will get an error "ERROR: Could not find or create a directory (/home/username/public_html/uploaddata/16"&lt;br /&gt;&lt;br /&gt;This is due permission/ownership issue/.&lt;br /&gt;Make sure that all your files and folders are having correct &amp;nbsp;ownership (username.username)&lt;br /&gt;Check the permission for /uploaddata/, this should be set to 777.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2342310881448950580?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2342310881448950580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/01/moodle-error-could-not-find-or-create.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2342310881448950580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2342310881448950580'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/01/moodle-error-could-not-find-or-create.html' title='Moodle : ERROR: Could not find or create a directory (/home/username/public_html/uploaddata/16)'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8072955928288295452</id><published>2011-01-13T01:47:00.000+05:30</published><updated>2011-01-13T01:47:03.676+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='moodel'/><category scheme='http://www.blogger.com/atom/ns#' term='session timeout'/><title type='text'>Unable to login to Moodle site "Your session has timed out. Please login again"</title><content type='html'>When you try to login to your Moodle admin section, &amp;nbsp;you will get an error showing "Your session has timed out. Please login again"&lt;br /&gt;&lt;br /&gt;Fix:&lt;br /&gt;Check whether the folder /uploaddata/sessions/ is having 777 permission.&lt;br /&gt;Clear all the session files in this folder.&lt;br /&gt;&lt;br /&gt;Then you will be able to login to your website.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8072955928288295452?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8072955928288295452/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2011/01/unable-to-login-to-moodle-site-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8072955928288295452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8072955928288295452'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2011/01/unable-to-login-to-moodle-site-your.html' title='Unable to login to Moodle site &quot;Your session has timed out. Please login again&quot;'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8861518686584881874</id><published>2010-12-23T03:24:00.002+05:30</published><updated>2010-12-23T03:24:36.107+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='PGsql database'/><category scheme='http://www.blogger.com/atom/ns#' term='cpanel'/><title type='text'>PGsql database not showing in cpanel</title><content type='html'>Go to &lt;em&gt;/var/lib/pgsql/data/pg_hba.conf &lt;/em&gt;&lt;br /&gt;Change ‘md5′ to ‘trust’.&lt;br /&gt;It should look like :&lt;br /&gt;&lt;blockquote&gt;local all all trust&lt;br /&gt;host all all 127.0.0.1 255.255.255.255 trust&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8861518686584881874?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8861518686584881874/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/12/pgsql-database-not-showing-in-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8861518686584881874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8861518686584881874'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/12/pgsql-database-not-showing-in-cpanel.html' title='PGsql database not showing in cpanel'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-4658216466301828451</id><published>2010-10-22T03:22:00.002+05:30</published><updated>2010-10-22T03:22:59.505+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Xdebug'/><title type='text'>Error while installin  Xdebug pecl module</title><content type='html'>[root@server ~]#pecl install xdebug&lt;br /&gt;&lt;br /&gt;downloading xdebug-2.0.3.tgz …&lt;br /&gt;Starting to download xdebug-2.0.3.tgz (286,325 bytes)&lt;br /&gt;……………………………….done: 286,325 bytes&lt;br /&gt;66 source files, building&lt;br /&gt;running: phpize&lt;br /&gt;Configuring for:&lt;br /&gt;PHP Api Version: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20041225&lt;br /&gt;Zend Module Api No: &amp;nbsp; &amp;nbsp; &amp;nbsp;20060613&lt;br /&gt;Zend Extension Api No: &amp;nbsp; 220060519&lt;br /&gt;building in /var/tmp/pear-build-root/xdebug-2.0.3&lt;br /&gt;running: /root/tmp/pear/cache/xdebug-2.0.3/configure&lt;br /&gt;checking for egrep… grep -E&lt;br /&gt;checking for a sed that does not truncate output… /bin/sed&lt;br /&gt;checking for gcc… gcc&lt;br /&gt;checking for C compiler default output file name… a.out&lt;br /&gt;checking whether the C compiler works… configure: error: cannot run C compiled programs.&lt;br /&gt;If you meant to cross compile, use `–host’.&lt;br /&gt;See `config.log’ for more details.&lt;br /&gt;ERROR: `/root/tmp/pear/cache/xdebug-2.0.3/configure’ failed&lt;br /&gt;&lt;br /&gt;FIX:&lt;br /&gt;Execute the commands:-&lt;br /&gt;&lt;br /&gt;[root@server ~]#cd /var/tmp/&lt;br /&gt;[root@server ~]#rm -fr pear pear-build-root&lt;br /&gt;[root@server ~]#ln -s /root/tmp/pear-build-root .&lt;br /&gt;[root@server ~]#mkdir -p /root/tmp/pear/download&lt;br /&gt;&lt;br /&gt;Try to install the package now:-&lt;br /&gt;&lt;br /&gt;[root@server ~]#pecl install xdebug&lt;br /&gt;&lt;br /&gt;It will be installed correctly in the server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-4658216466301828451?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/4658216466301828451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/10/error-while-installin-xdebug-pecl.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4658216466301828451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4658216466301828451'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/10/error-while-installin-xdebug-pecl.html' title='Error while installin  Xdebug pecl module'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-4153035201150408511</id><published>2010-10-20T06:22:00.000+05:30</published><updated>2010-10-20T06:22:31.190+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='interface ip'/><category scheme='http://www.blogger.com/atom/ns#' term='exim'/><title type='text'>Change exim interface IP address</title><content type='html'>We can change the exim interface IP by editing exim.conf.&lt;br /&gt;&lt;br /&gt;1. Open exim.conf in the text editor.&lt;br /&gt;&lt;br /&gt;vi /etc/exim.conf&lt;br /&gt;&lt;br /&gt;2. Check for the following lines in exim.conf&lt;br /&gt;======================&lt;br /&gt;remote_smtp:&lt;br /&gt;&lt;br /&gt;driver = smtp&lt;br /&gt;&lt;br /&gt;interface=&lt;br /&gt;======================&lt;br /&gt;You need to modify this as given below&lt;br /&gt;&lt;br /&gt;*******************&lt;br /&gt;remote_smtp:&lt;br /&gt;&lt;br /&gt;driver = smtp&lt;br /&gt;&lt;br /&gt;interface=xx.xx.xx.xx&lt;br /&gt;&lt;br /&gt;Where &amp;nbsp;xx.xx.xx.xx with your IP address.&lt;br /&gt;******************&lt;br /&gt;&lt;br /&gt;3. You need to restart exim service in the server.&lt;br /&gt;&lt;br /&gt;/etc/init.d/exim restart&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-4153035201150408511?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/4153035201150408511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/10/change-exim-interface-ip-address.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4153035201150408511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4153035201150408511'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/10/change-exim-interface-ip-address.html' title='Change exim interface IP address'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5333405782057976034</id><published>2010-10-15T19:38:00.000+05:30</published><updated>2010-10-15T19:38:00.394+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ftp in command line mode.'/><title type='text'>How to upload multiple files using ftp in command line mode.</title><content type='html'>You can use lftp command to upload multiple files&lt;br /&gt;&lt;br /&gt;lftp hostname&lt;br /&gt;&lt;br /&gt;&amp;gt; user ftpusername ftppassword&lt;br /&gt;&amp;gt; mirror source destination [to download entire directory]&lt;br /&gt;&amp;gt; mirror -R source destination [to upload entire directory]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5333405782057976034?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5333405782057976034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/10/how-to-upload-multiple-files-using-ftp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5333405782057976034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5333405782057976034'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/10/how-to-upload-multiple-files-using-ftp.html' title='How to upload multiple files using ftp in command line mode.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2561200581239473669</id><published>2010-10-15T19:17:00.001+05:30</published><updated>2010-10-15T19:17:47.457+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='plugins'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='uploading themes'/><title type='text'>Uploading Error in WordPress. “Unable to create directory-Is its parent directory writable by the server?"</title><content type='html'>While uploading files such as plugins and themes, we will get an error “Unable to create directory /home/username/public_html/wp-content/uploads/2010/10. Is its parent directory writable by the server?”&lt;br /&gt;&lt;br /&gt;This is due to changes in server, host or upgrading to new version&lt;br /&gt;&lt;br /&gt;Firstly, we need to check the upload file path.&lt;br /&gt;&lt;br /&gt;1. Login to wp-admin&lt;br /&gt;2. Click on setting --&amp;gt; media --&amp;gt; "Store upload in this folder"&lt;br /&gt;&amp;nbsp;&amp;nbsp; It will be like /home/username/public_html/wp-content/uploads , change it to wp-contents/upload.&lt;br /&gt;&lt;br /&gt;This will fix you issue. If this doesnt fix the issue, you need to check the folder permission. Change the permission of wp-content and uploads to 777 and correct ownership of all the files/folders.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2561200581239473669?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2561200581239473669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/10/uploading-error-in-wordpress-unable-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2561200581239473669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2561200581239473669'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/10/uploading-error-in-wordpress-unable-to.html' title='Uploading Error in WordPress. “Unable to create directory-Is its parent directory writable by the server?&quot;'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-7700466019555832943</id><published>2010-10-03T18:33:00.000+05:30</published><updated>2010-10-03T18:33:47.434+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='vps time zone'/><title type='text'>how to set time zone in VPS node (OpenVZ)</title><content type='html'>Below is the steps to set the time zone for a particular node in VPS.&lt;br /&gt;&lt;br /&gt;1. Login to the main node.(SSH).&lt;br /&gt;2. Stop the node(container) which you want to set time.&lt;br /&gt;&amp;nbsp;&amp;nbsp; # vzctl stop 777&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 777 = Container ID&lt;br /&gt;3.Set the container to have capability to change the time zone.&lt;br /&gt;&amp;nbsp;&amp;nbsp; # vzctl set 777 --capability sys_time:on --save&lt;br /&gt;&lt;br /&gt;4. Start the container and login to it.&lt;br /&gt;&amp;nbsp;&amp;nbsp; # vzctl start 777&lt;br /&gt;&amp;nbsp;&amp;nbsp; # vzctl enter 777&lt;br /&gt;5. Change your local timezone.&lt;br /&gt;&amp;nbsp;&amp;nbsp; # mv /etc/localtime /etc/localtime_bk&lt;br /&gt;&amp;nbsp;&amp;nbsp; # ln -s /usr/share/zoneinfo/America/Chicago /etc/localtime&lt;br /&gt;6. Set the date&lt;br /&gt;&amp;nbsp;&amp;nbsp; # date 100318312010&lt;br /&gt;&amp;nbsp; time has been set to 18.31 on 3rd Oct 2010&lt;br /&gt;&amp;nbsp; (10-Month, 03-Day, 06-Hours,&amp;nbsp; 31-Minutes,&amp;nbsp; 2010 -Year&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-7700466019555832943?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/7700466019555832943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/10/how-to-set-time-zone-in-vps-node-openvz.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7700466019555832943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7700466019555832943'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/10/how-to-set-time-zone-in-vps-node-openvz.html' title='how to set time zone in VPS node (OpenVZ)'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3143430751853433351</id><published>2010-09-25T07:53:00.000+05:30</published><updated>2010-09-25T07:53:24.504+05:30</updated><title type='text'>Phpmotion : Uploading video asks .pl-File to download</title><content type='html'>When we try to upload videos in to phpmotion, it will be asking to download&amp;nbsp;uu_upload.pl.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you are getting the download an upload script fo video, it means that your site is not executing the script but it is treating as plain text type doc. what we have to do is to make your site to run .pl and .cgi files.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For this, you need to check&amp;nbsp;the permission of cgi-bin folder and files inside it,. it should be 755.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To make your cgi and pl files to be run in your site, you need to add the following lines in your htaccess.&lt;/div&gt;&lt;div&gt;===============================&lt;br /&gt;&lt;pre class="Cpp" name="code"&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;AddHandler cgi-script .cgi .pl&lt;br /&gt;&lt;files \.pl$"="" ~=""&gt; Options +ExecCGI&lt;/files&gt; &lt;files \.cgi$"="" ~=""&gt; Options +ExecCGI&lt;/files&gt;&lt;/div&gt;&lt;div&gt;===============================&lt;br /&gt;&lt;br /&gt;&lt;a href="http://phpmotion.com/forum/index.php?topic=3539.0"&gt;http://phpmotion.com/forum/index.php?topic=3539.0&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3143430751853433351?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3143430751853433351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/09/phpmotion-uploading-video-asks-pl-file_25.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3143430751853433351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3143430751853433351'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/09/phpmotion-uploading-video-asks-pl-file_25.html' title='Phpmotion : Uploading video asks .pl-File to download'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2028706682697487485</id><published>2010-09-25T07:43:00.000+05:30</published><updated>2010-09-25T07:43:26.762+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='flength phpmotion'/><category scheme='http://www.blogger.com/atom/ns#' term='asks pl file to download'/><title type='text'>Phpmotion : Uploading video asks .pl-File to download</title><content type='html'>When we try to upload videos in to phpmotion, it will be asking to download&amp;nbsp;uu_upload.pl.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you are getting the download an upload script fo video, it means that your site is not executing the script but it is treating as plain text type doc. what we have to do is to make your site to run .pl and .cgi files.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For this, you need to check&amp;nbsp;the permission of cgi-bin folder and files inside it,. it should be 755.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To make your cgi and pl files to be run in your site, you need to add the following lines in your htaccess.&lt;/div&gt;&lt;div&gt;===============================&lt;/div&gt;&lt;div&gt;AddHandler cgi-script .cgi .pl&lt;br /&gt;&lt;files \.pl$"="" ~=""&gt;&lt;br /&gt;Options +ExecCGI&lt;/files&gt;&lt;br /&gt;&lt;files \.cgi$"="" ~=""&gt;&lt;br /&gt;Options +ExecCGI&lt;/files&gt;&lt;/div&gt;&lt;div&gt;===============================&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2028706682697487485?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2028706682697487485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/09/phpmotion-uploading-video-asks-pl-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2028706682697487485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2028706682697487485'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/09/phpmotion-uploading-video-asks-pl-file.html' title='Phpmotion : Uploading video asks .pl-File to download'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3427451265280126434</id><published>2010-07-01T15:10:00.000+05:30</published><updated>2010-07-01T15:10:47.734+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='word-press url change'/><title type='text'>word-press url change, site not loading correctly</title><content type='html'>If you wordpress url has changed, while accessing the domain. Your site will not load correctly.&lt;br /&gt;For this you need to change the values in the wordpress database.&lt;br /&gt;&lt;br /&gt;First you need to change the siteurl field inthe wp_otions table,&lt;br /&gt;&lt;br /&gt;select * from wp_option where option_name="siteurl";&lt;br /&gt;&lt;br /&gt;update wp_options SET option_value="http://newdomainname.com" where option_name="siteurl"&lt;br /&gt;&lt;br /&gt;Then you need to update the "home" field in the&amp;nbsp;wp_otions table,&lt;br /&gt;select * from wp_options where option_name="home";&lt;br /&gt;update wp_options SET option_value="http://newdomainname.com" where option_name="home";&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3427451265280126434?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3427451265280126434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/07/word-press-url-change-site-not-loading.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3427451265280126434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3427451265280126434'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/07/word-press-url-change-site-not-loading.html' title='word-press url change, site not loading correctly'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-9045471228131719709</id><published>2010-07-01T14:46:00.000+05:30</published><updated>2010-07-01T14:46:36.684+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Queueprocd Failed in whm/cpanel'/><title type='text'>Queueprocd Failed.</title><content type='html'>Usually you need to check perlmodules installed in the server /scripts/checkperlmodules&lt;br /&gt;Then /scripts/upcp should fix the issue.&lt;br /&gt;&lt;br /&gt;If this does not fix the issue, it may be issue with the perl.&lt;br /&gt;Check whether there are two perl binaries in the server.&lt;br /&gt;&lt;br /&gt;For eg :&lt;br /&gt;&lt;br /&gt;/usr/bin/perl&lt;br /&gt;/usr/local/bin/perl&lt;br /&gt;&lt;br /&gt;Solution :&lt;br /&gt;You need to remove /usr/bin/perl, and created a symlink for it to /usr/local/bin/perl via:&lt;br /&gt;ln -s /usr/local/bin/perl /usr/bin/perl&lt;br /&gt;&lt;br /&gt;This is the proper setup to allow for Perl to function properly with cPanel. Once this was fixed, You need to run the following command:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/scripts/checkperlmodules --full&lt;br /&gt;Upon testing, you can see all Perl modules are now properly installed, and Queueprocd is up well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-9045471228131719709?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/9045471228131719709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/07/queueprocd-failed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/9045471228131719709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/9045471228131719709'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/07/queueprocd-failed.html' title='Queueprocd Failed.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5723842648389257564</id><published>2010-06-29T14:26:00.000+05:30</published><updated>2010-06-29T14:26:58.183+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='suexec'/><category scheme='http://www.blogger.com/atom/ns#' term='suphp'/><title type='text'>How to check the server is Suexec</title><content type='html'>Login into you server with the root login details and run following command &lt;br /&gt;&lt;br /&gt;[root@server]# /usr/local/cpanel/bin/rebuild_phpconf --current&lt;br /&gt;&lt;br /&gt;If server is Suexec then result would look like&lt;br /&gt;&lt;br /&gt;DEFAULT PHP: 5&lt;br /&gt;PHP4 SAPI: suphp&lt;br /&gt;PHP5 SAPI: suphp&lt;br /&gt;SUEXEC: enabled  &lt;br /&gt;&lt;br /&gt;If you are not sure about Shell then you can also check the SuExec is enabled or not? from your WHM.Lgin into your WHM and in the menu find Configure PHP and SuExec &lt;br /&gt;&lt;br /&gt;Check the drop down box for  "PHP 4/5 Handler" - and if beside that it says "suPHP" - Then your sever is SuExec enabled&lt;br /&gt;&lt;br /&gt;If you are not having server root login details or WHM access.Then you can create a php file udner your account from cPanel &amp;gt;&amp;gt; File Manager and change the permissions on that file to 777 and open it in a browser. If it gives 500 Internal Server Error, your most probably running suPHP.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As well as you can also create the phpinfo page under your account from your cPanel &amp;gt;&amp;gt; File manager For ex. phpinfo.php with the following code &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After creating phpinfo.php page browse it &lt;a href="http://%3cb%3ehttp//yourdomainname.com/phpinfo.php%3C/b%3E" target="_blank"&gt;http://yourdomainname.com/phpinfo.php&lt;/a&gt; and if it shows &lt;br /&gt;&lt;br /&gt;Server API = Apache then server is not running PHP in Suexec mode&lt;br /&gt;&lt;br /&gt;And if&lt;br /&gt;&lt;br /&gt;Server API = CGI    the server is running PHP in Suexec mode   &amp;nbsp;&lt;!-- / message --&gt;                  &lt;!-- sig --&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5723842648389257564?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5723842648389257564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/06/how-to-check-server-is-suexec.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5723842648389257564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5723842648389257564'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/06/how-to-check-server-is-suexec.html' title='How to check the server is Suexec'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-166168640204081934</id><published>2010-06-09T13:13:00.000+05:30</published><updated>2010-06-09T13:13:21.666+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='mit number of connections'/><category scheme='http://www.blogger.com/atom/ns#' term='iptables'/><title type='text'>limit number of connection to a server using IPTABLES</title><content type='html'>We can limit number of connections to the server using the command below.&lt;br /&gt;&lt;br /&gt;iptables -I INPUT -p tcp --syn --dport 22 -m connlimit --conlimit-above 2 -j REJECT&lt;br /&gt;&lt;br /&gt;service iptables save&lt;br /&gt;&lt;br /&gt;service iptables restart&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-166168640204081934?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/166168640204081934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/06/limit-number-of-connection-to-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/166168640204081934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/166168640204081934'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/06/limit-number-of-connection-to-server.html' title='limit number of connection to a server using IPTABLES'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6275317478005497170</id><published>2010-06-08T11:10:00.002+05:30</published><updated>2010-06-08T11:10:40.785+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='php_value max_execution_time'/><title type='text'>How to increase maximum execution time using htaccess</title><content type='html'>You can change the maximum execution time value using the following&lt;br /&gt;&lt;br /&gt;php_value max_execution_time 2000&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6275317478005497170?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6275317478005497170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/06/how-to-increase-maximum-execution-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6275317478005497170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6275317478005497170'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/06/how-to-increase-maximum-execution-time.html' title='How to increase maximum execution time using htaccess'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-725945061617796253</id><published>2010-06-05T16:31:00.000+05:30</published><updated>2010-06-05T16:31:36.786+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenSSH Public Key Authentication'/><title type='text'>OpenSSH Public Key Authentication</title><content type='html'>Public-key authentication is based on the use of digital signatures. Each user creates a pair of 'key' files. One of these key files is the user's public key, and the other is the user's private key. The server knows the user's public key, and only the user has the private key.&lt;br /&gt;&lt;br /&gt;When the user tries to authenticate herself, the server checks for matching public keys and sends a challenge to the user end. The user is authenticated by signing the challenge using her private key.&lt;br /&gt;&amp;nbsp;Remember that your private key file is used to authenticate you. Never expose your private keys. If anyone else can access your private key file, they can attempt to login to the remote host computer as you, and claim to be you. Therefore it is extremely important that you keep your private key file in a secure place and make sure that no one else has access to it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Public-key authentication is &amp;nbsp;is based on the use of digital signatures. Each users have to create a pair of keys. ie public key and private key. Private key is owned by user and the public key is given to the server. When the user tries to authenticate, server check for the matching public key and sends a challenge to the user. Private key is used to authenticate the user, so never provide your private keys to others. If anyone got your private key, they can login to the server as you. &amp;nbsp;So keep your private key file in a secure place and make sure that no one else has access to it.&lt;br /&gt;Secure Shell (SSH) public key authentication is used for clients to acess servers without using passwords.&lt;br /&gt;&lt;br /&gt;Steps to configure public key.&lt;br /&gt;OpenSSH is the SSH software installed on the client system. The ssh -V &amp;nbsp;will show the openssh details in the server.&lt;br /&gt;&lt;br /&gt;$ ssh -V&lt;br /&gt;OpenSSH_3.6.1p1+CAN-2003-0693, SSH protocols 1.5/2.0, OpenSSL 0x0090702f&lt;br /&gt;&lt;br /&gt;If ssh is running on a non standard port, you need to put the custom port. You can provide the custom port as follows.&lt;br /&gt;&lt;br /&gt;$ ssh -p 1111 &amp;nbsp;server.test.com&lt;br /&gt;or&lt;br /&gt;$ ssh -oPort=1111 server.test.com&lt;br /&gt;&lt;br /&gt;RSA key pair will be generated in the client system.Public key will be provided to the server that is to be connnected, while the private key should remain in the secured area in the &amp;nbsp;client system.By default it will be in ~/.ssh/id_rsa&lt;br /&gt;New keys can be generated using the command &amp;nbsp;ssh-keygen&lt;br /&gt;&lt;br /&gt;client$ mkdir ~/.ssh&lt;br /&gt;client$ chmod 700 ~/.ssh&lt;br /&gt;client$ ssh-keygen -t rsa&lt;br /&gt;Enter passphrase&lt;br /&gt;Enter same passphrase again:&lt;br /&gt;&lt;br /&gt;File permissions should be protected to prevent other users from being able &amp;nbsp;to read the key pairs.OpenSSH may refuse to support public key authentication if the file permissions are too open.&lt;br /&gt;&lt;br /&gt;$ chmod -R 700 ~/.ssh&lt;br /&gt;&lt;br /&gt;Public key must be copied to any servers that will be accesses by the client.Public key information to be copied should be located in the ~/.ssh/id_rsa.pub file on the client. Public key data must be appended into ~/.ssh/authorized_keys file on the servers.&lt;br /&gt;&lt;br /&gt;First upload &amp;nbsp;public key from client to server&lt;br /&gt;&lt;br /&gt;Client$ scp ~/.ssh/id_rsa.pub root@server.test.com&lt;br /&gt;&lt;br /&gt;Setup the public key in the server&lt;br /&gt;&lt;br /&gt;server$ mkdir ~/.ssh&lt;br /&gt;erver$ chmod 700 ~/.ssh&lt;br /&gt;server$ cat ~/id_rsa.pub &amp;gt;&amp;gt; ~/.ssh/authorized_keys&lt;br /&gt;server$ chmod 600 ~/.ssh/authorized_keys&lt;br /&gt;&lt;br /&gt;We should always append new public key data to the authorized_keys file, as multiple public keys may be in use. Each public key entry must be on a different line&lt;br /&gt;&lt;br /&gt;&amp;nbsp;"from" statement can be used before public key entries in the ~/.ssh/authorized_keys file on the servers to limit where the client system is permitted to access the server from. Without a from limit, any client will the appropriate private key data will be able to connect to the server from anywhere. Key pair should only work, if the client connecting to the server is from a host under test.com, set from="*.test.com" before the public key data.&lt;br /&gt;&lt;br /&gt;server$ cat ~/.ssh/authorized_keys&lt;br /&gt;from="*.test.com" ssh-rsa AAAAB3NzaC1&lt;br /&gt;&lt;br /&gt;Multiple hosts or addresses can be specified as comma separated values.&lt;br /&gt;from="*.test.com,,external.example.com"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-725945061617796253?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/725945061617796253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/06/openssh-public-key-authentication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/725945061617796253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/725945061617796253'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/06/openssh-public-key-authentication.html' title='OpenSSH Public Key Authentication'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-7973252147867045822</id><published>2010-05-29T16:44:00.002+05:30</published><updated>2010-05-29T16:44:46.164+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='flength phpmotion'/><title type='text'>Video uploading throws error -- Failed to find flength file.</title><content type='html'>&lt;span class="mediumtext"&gt; &lt;span class="mediumtext"&gt;This is a well known error with the uploader component (which is commonly used by many scripts like clipshare,  phpmotion etc). This is just a cosmetic error and nothing to do with the real uploading process. The best "workaround" for this issue is to disable the error message. To do so, locate the file &lt;/span&gt;&lt;span class="smalltext" style="color: blue; font-style: italic; font-weight: bold;"&gt;cgi-bin/uu_ini_status.pl&lt;/span&gt;&lt;span class="mediumtext"&gt; inside your script folder&lt;/span&gt;&lt;span class="smalltext"&gt; and change the value of &lt;span style="color: blue; font-style: italic; font-weight: bold;"&gt;my $flength_file_exists&lt;/span&gt; from 0 to 1.&lt;/span&gt;&lt;span class="mediumtext"&gt;  &lt;br /&gt;&lt;br /&gt;The bad news is, you won't see the upload status counter. The  good news is, your upload process will work just fine!&lt;/span&gt;&lt;span class="smalltext"&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-7973252147867045822?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/7973252147867045822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/05/video-uploading-throws-error-failed-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7973252147867045822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7973252147867045822'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/05/video-uploading-throws-error-failed-to.html' title='Video uploading throws error -- Failed to find flength file.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8343847269668938022</id><published>2010-05-28T19:43:00.000+05:30</published><updated>2010-05-28T19:43:53.025+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='phpmotion'/><title type='text'>PhpMotion Installation</title><content type='html'>If you want to run PHPmotion you will need either to have a dedicated server  with the following required &lt;strong&gt;modules&lt;/strong&gt; installed OR a web  hosting provider that already has these features.&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Servers  - Linux/Unix server&lt;/h4&gt;&lt;hr /&gt;  &lt;ul&gt;&lt;li&gt; PHP 4.3 and above (including support of CLI)      &lt;/li&gt;&lt;li&gt; &lt;a class="missingpage" href="http://wiki.phpmotion.com/MySQL/edit" title="Create this page"&gt;MySQL&lt;/a&gt;  database server   &lt;/li&gt;&lt;li&gt; LAME MP3 Encoder      &lt;/li&gt;&lt;li&gt; Libogg + Libvorbis      &lt;/li&gt;&lt;li&gt; Mencoder and also Mplayer      &lt;/li&gt;&lt;li&gt; FFMpeg-PHP      &lt;/li&gt;&lt;li&gt; GD Library 2 or higher      &lt;/li&gt;&lt;li&gt; CGI-BIN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;h4&gt;PHP Settings&lt;/h4&gt;&lt;hr /&gt;  &lt;ul&gt;&lt;li&gt; open_basedir = (no value)    &lt;/li&gt;&lt;li&gt; upload_max_filesize = 100M     &lt;/li&gt;&lt;li&gt; post_max_size = 100M     &lt;/li&gt;&lt;li&gt; max_execution_time = 1500 &lt;/li&gt;&lt;li&gt; session.gc_maxlifetime = 14000 &lt;/li&gt;&lt;li&gt; safe_mode = off &lt;/li&gt;&lt;li&gt; enable_dl = On&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;Apache Web Server&lt;/h4&gt;&lt;hr /&gt;  &lt;ul&gt;&lt;li&gt; .htaccess support &lt;/li&gt;&lt;li&gt; mod rewrite&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;You will need to have your Mysql Database Information. You can create a  Mysql database via your web hosts control panel&lt;br /&gt;- &lt;strong&gt;Mysql Database Name&lt;/strong&gt;&lt;br /&gt;- &lt;strong&gt;Mysql Database User Name&lt;/strong&gt;&lt;br /&gt;- &lt;strong&gt;Mysql Database Password&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2 style="font-weight: normal;"&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Downloading PHPmotion&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;&lt;hr /&gt;  You can download phpmotion from the URL&lt;br /&gt;http://phpmotion.com/content/view/1/180/&lt;br /&gt;&lt;br /&gt;&lt;h2&gt; &lt;span style="font-size: small;"&gt;General Instructions&lt;/span&gt;&lt;/h2&gt;&lt;hr /&gt;   &lt;ul&gt;&lt;li&gt; Unzip the download file &lt;/li&gt;&lt;li&gt; Upload &lt;strong&gt;(the contents)&lt;/strong&gt; to your website using  FTP &lt;/li&gt;&lt;li&gt; The following files MUST be uploaded in Binary mode &lt;ul&gt;&lt;li&gt; &lt;strong&gt;/phpshiled/&lt;/strong&gt;all files in this folder &lt;/li&gt;&lt;li&gt; &lt;strong&gt;/classes/&lt;/strong&gt;config.php &lt;/li&gt;&lt;li&gt; &lt;strong&gt;/addons/customprofile/pimp.class.php&lt;/strong&gt; &lt;/li&gt;&lt;li&gt; &lt;strong&gt;/addons/customprofile/index.php&lt;/strong&gt; &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt; The following files must be CHMOD to &lt;strong&gt;755&lt;/strong&gt; &lt;ul&gt;&lt;li&gt;&lt;strong&gt;/cgi-bin/&lt;/strong&gt;all files and folder in this folder &lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt; Start the installation wizard by (opening in your  broswer) &lt;a class="ext" href="http://www.yourdomain.com/setup"&gt;http://www.yourdomain.com/setup&lt;/a&gt;  (you will be required to chmod a few more files by the setup wizard)&lt;/li&gt;&lt;/ul&gt;The setup wizard will guide you through the rest of the installation  process.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt; &lt;span style="font-size: small;"&gt;Additional Instructions&lt;/span&gt;&lt;/h2&gt;&lt;hr /&gt;&lt;h4 style="font-weight: normal;"&gt;&lt;span class="underline"&gt;Installing to a Sub-Directory&lt;/span&gt;&lt;/h4&gt;If you are installing to a sub directory (example: &lt;a class="ext" href="http://www.yourdomain.com/**myvideos**"&gt;http://www.yourdomain.com/**phpmotion**&lt;/a&gt;)  you should do all the steps above and also the steps below &lt;strong&gt;additional&lt;/strong&gt;  steps&lt;br /&gt;&lt;br /&gt;Edit the following files to include your subfolder name: (in this  example the subfolder name we have inserted is &lt;strong&gt;phpmotion )&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt; /cgi-bin/uu_default_config.pm &lt;/li&gt;&lt;li&gt; /cgi-bin/audio/uu_default_config.pm&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div class="indent"&gt;&lt;!--start GeSHi--&gt; &lt;div class="code" style="font-family: monospace;"&gt;&amp;nbsp; &amp;nbsp; temp_dir &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; &lt;span class="re0"&gt;$ENV&lt;/span&gt;&lt;span class="br0"&gt;{&lt;/span&gt;&lt;span class="st0"&gt;'DOCUMENT_ROOT'&lt;/span&gt;&lt;span class="br0"&gt;}&lt;/span&gt; . &lt;span class="st0"&gt;'/phpmotion/temp/'&lt;/span&gt;,&lt;br /&gt;&amp;nbsp; &amp;nbsp; upload_dir &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; &lt;span class="re0"&gt;$ENV&lt;/span&gt;&lt;span class="br0"&gt;{&lt;/span&gt;&lt;span class="st0"&gt;'DOCUMENT_ROOT'&lt;/span&gt;&lt;span class="br0"&gt;}&lt;/span&gt; . &lt;span class="st0"&gt;'/phpmotion/uploads/avi/'&lt;/span&gt;,&lt;br /&gt;&amp;nbsp; &amp;nbsp; redirect_url &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; &lt;span class="st0"&gt;'/phpmotion/uploader_finished.php'&lt;/span&gt;,&lt;br /&gt;&amp;nbsp; &amp;nbsp; path_to_upload &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; &lt;span class="st0"&gt;'/phpmotion/uploads/avi/'&lt;/span&gt;,&lt;/div&gt;&lt;!--end GeSHi--&gt; &lt;/div&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt; /audio_uploader_conlib.php &lt;/li&gt;&lt;li&gt; /uploader_conlib.php&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div class="indent"&gt;&lt;div class="code"&gt; &lt;pre&gt;$path_to_upload_script      = '/&lt;span class="st0"&gt;phpmotion&lt;/span&gt;/cgi-bin/uu_upload.pl';&lt;br /&gt; $path_to_ini_status_script  = '/&lt;span class="st0"&gt;phpmotion&lt;/span&gt;/cgi-bin/uu_ini_status.pl';&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt; /.htaccess&lt;/li&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="indent"&gt;&lt;div class="code"&gt; &lt;pre&gt;#----- if phpmotion is installed in a sub directory edit the RewriteBase as follows -----#&lt;br /&gt;  # EXAMPLE =&amp;gt; RewriteBase /&lt;span class="st0"&gt;phpmotion&lt;/span&gt;&lt;br /&gt;  # EXAMPLE =&amp;gt; RewriteBase /&lt;span class="st0"&gt;phpmotion&lt;/span&gt;&lt;br /&gt;  RewriteBase /&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;For trouble sooting common errors in phpmotion,&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;http://wiki.phpmotion.com/CommonInstallationErrors&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8343847269668938022?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8343847269668938022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/05/phpmotion-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8343847269668938022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8343847269668938022'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/05/phpmotion-installation.html' title='PhpMotion Installation'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-4526784239316070997</id><published>2010-05-21T10:39:00.000+05:30</published><updated>2010-05-21T10:39:11.645+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Clipbucket Video error :  &quot;This video might not work properly &quot;'/><title type='text'>Clipbucket Video error :  "This video might not work properly "</title><content type='html'>When we try to play the upoaded video in clipbucket, we will get the error "This video might not work properly " in the top of the video. This is becuase, server is unable to convert that video. To solve this issue, we need to add a cron under the user to convert the video and should verify the converted video.&lt;br /&gt;&lt;br /&gt;vi /var/spool/cron/abhilash&lt;br /&gt;* * * * * php -q /relative/path/to/clipbucket/actions/video_convert.php&lt;br /&gt;* * * * * php -q /relative/path/to/clipbucket/actions/verify_converted_videos.php&lt;br /&gt;&lt;br /&gt;Then restart the cron &amp;nbsp;/etc/init.d/crond restart&lt;br /&gt;&lt;br /&gt;For any further clarification of clipbucket installation you can refer the link:&lt;br /&gt;http://docs.clip-bucket.com/clipbucket-docs/clipbucket-installation&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-4526784239316070997?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/4526784239316070997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/05/clipbucket-video-error-this-video-might.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4526784239316070997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/4526784239316070997'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/05/clipbucket-video-error-this-video-might.html' title='Clipbucket Video error :  &quot;This video might not work properly &quot;'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5957598756069366770</id><published>2010-05-17T10:20:00.000+05:30</published><updated>2010-05-17T10:20:59.977+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='rvskin'/><title type='text'>RVSkin installation in cpanel server</title><content type='html'>SSH as root to server that was registered while purchasing the    license and run:&lt;br /&gt;mkdir /root/rvadmin&lt;br /&gt;cd /root/rvadmin&lt;br /&gt;wget  http://download.rvglobalsoft.com/download.php/download/rvskin-auto/saveto/rvauto.tar.bz2&lt;br /&gt;bunzip2 -d rvauto.tar.bz2&lt;br /&gt;&amp;nbsp;tar -xvf rvauto.tar&lt;br /&gt;&amp;nbsp;perl  /root/rvadmin/auto_rvskin.pl&lt;br /&gt;&lt;br /&gt;Answer a couple of questions on your shell, and wait until it    finishes. First installation will take 2- 5 minutes to install.    Installer will create a new hosting account 'rvadmin'. Don't    terminate it. It will be used for internal RVSkin configuration    management.&lt;br /&gt;&lt;br /&gt;Log in to RVSkin Manager. Both root and reseller are able to    access RVSkin Manager in WHM / Plugins (at the bottom left menu). If    you cannot find the RVSkin Manager menu, please close WHM and open it    again&lt;br /&gt;&lt;span class="textred"&gt;If there is no messages display on the skin,    please run this command on your SSH.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;rm -f /usr/local/cpanel/Cpanel/rvversion&lt;br /&gt;perl /root/rvadmin/auto_rvskin.pl&lt;br /&gt;&lt;br /&gt;In RVSkin Manager:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Set global configuration&lt;/li&gt;&lt;li&gt;Set default language&lt;/li&gt;&lt;li&gt;Create default feature list for user and for reseller&lt;/li&gt;&lt;li&gt;Set tweak setting, reseller feature control, body links, top    links, help, tutorial links, and etc.&lt;/li&gt;&lt;li&gt;Test configuration setting in 2 hosting accounts.    &lt;ul&gt;&lt;li&gt;rvadmin: this account can consider to be account belong to root&lt;/li&gt;&lt;li&gt;reseller's client: this account will reflect setting from     reseller skin manager. If it is not configured, it will remain     anonymous.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If you are having any issues in installing rvskin&amp;nbsp;&lt;/div&gt;&lt;div&gt;http://www.rvskin.com/index.php?page=public/installation_troubleshooting&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5957598756069366770?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5957598756069366770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/05/rvskin-installation-in-cpanel-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5957598756069366770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5957598756069366770'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/05/rvskin-installation-in-cpanel-server.html' title='RVSkin installation in cpanel server'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5096299943278150243</id><published>2010-05-12T22:20:00.001+05:30</published><updated>2010-05-14T17:33:33.569+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Send/Recieve  email using Telnet'/><title type='text'>Send/Recieve  email using Telnet</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Verdana;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Verdana;"&gt;Send mail through SMTP using Telnet&lt;br /&gt;&lt;br /&gt;Telnet to the server via port 25.&lt;br /&gt;&lt;br /&gt;1. Type “EHLO example.com” and hit enter.&lt;br /&gt;&lt;br /&gt;2. &amp;nbsp;“MAIL FROM: sender@domain.com” and hit enter.&lt;br /&gt;&lt;br /&gt;3. &amp;nbsp;“RCPT TO: recipient@domain.com” and hit enter.&lt;br /&gt;&lt;br /&gt;4. &amp;nbsp;“DATA” and hit enter.&lt;br /&gt;&lt;br /&gt;5. Type your message body and hit enter.&lt;br /&gt;&lt;br /&gt;6. Key in ” . ” and press enter to exit.&lt;br /&gt;&lt;br /&gt;You will recieve the mail.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==============================================&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;root@test.com]# telnet 192.168.0.25 25&lt;br /&gt;Trying 192.168.0.25...&lt;br /&gt;Connected to 192.168.0.25 (192.168.0.25).&lt;br /&gt;Escape character is '^]'.&lt;br /&gt;220 test.tt.example.com ESMTP MAIL Service, Version: 5.0.2195.6713 ready at Thu, 3 Apr 2008 15:39:17 +0800&lt;br /&gt;EHLO Vsource.com&lt;br /&gt;250-smtp11.klk.example.com Hello [192.168.0.192]&lt;br /&gt;250-AUTH GSSAPI NTLM LOGIN&lt;br /&gt;250-AUTH=LOGIN&lt;br /&gt;250-TURN&lt;br /&gt;250-ATRN&lt;br /&gt;250-SIZE&lt;br /&gt;250-ETRN&lt;br /&gt;250-PIPELINING&lt;br /&gt;250-DSN&lt;br /&gt;250-ENHANCEDSTATUSCODES&lt;br /&gt;250-8bitmime&lt;br /&gt;250-BINARYMIME&lt;br /&gt;250-CHUNKING&lt;br /&gt;250-VRFY&lt;br /&gt;250 OK&lt;br /&gt;MAIL FROM: abhi@example.com&lt;br /&gt;250 2.1.0 abhi@example.com....Sender OK&lt;br /&gt;RCPT TO: abhi_tt@example.com&lt;br /&gt;250 2.1.5 abhi_tt@example.com&lt;br /&gt;DATA&lt;br /&gt;354 Start mail input; end with .&lt;br /&gt;this is a test over SMTP&lt;br /&gt;.&lt;br /&gt;250 2.6.0 Queued mail for delivery&lt;br /&gt;quit&lt;br /&gt;221 2.0.0 smtp11.klk.example.com Service closing transmission channel&lt;br /&gt;Connection closed by foreign host.&lt;br /&gt;[root@test.com]#&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5096299943278150243?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5096299943278150243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/05/sendrecieve-email-using-telnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5096299943278150243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5096299943278150243'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/05/sendrecieve-email-using-telnet.html' title='Send/Recieve  email using Telnet'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8135071583165648541</id><published>2010-04-21T00:48:00.000+05:30</published><updated>2010-04-21T00:48:56.985+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='addind multiple IP&apos;s to linux server'/><title type='text'>How to set multiple IP addresses using Linux command line</title><content type='html'>Go to /etc/sysconfig/network-scripts&lt;br /&gt;Make multiple copies of ifcfg-eth0 and name them as ifcfg-eth0:0, ifcfg-eth0:1 etc.&lt;br /&gt;Open each of them and at least change the IPADDR to your chosen IP address and the NETMASK to the subnet mask for that IP address.&lt;br /&gt;A sample entry would look like this:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;DEVICE=eth0:0&lt;br /&gt;BOOTPROTO=static&lt;br /&gt;IPADDR=34.123.111.21&lt;br /&gt;NETMASK=255.255.255.0&lt;br /&gt;ONBOOT=yes&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Restart the network:&lt;br /&gt;&lt;strong style="font-weight: normal;"&gt;/sbin/service network restart&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-weight: normal;"&gt;/etc/init.d/ipaliases restart (for cpanel servers)&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-weight: normal;"&gt;If you have more than 100's of IP, it is difficult to choose above method. For that&amp;nbsp; you can try the following method.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-weight: normal;"&gt; &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;code&gt;[root@server ~]#&lt;/code&gt;&lt;code&gt;d /etc/sysconfig/network-scripts/&lt;/code&gt;  – this is where the network settings are being searched for &lt;br /&gt;&lt;code&gt;[root@server network-scripts]# vi ifcfg-eth0-range0&lt;/code&gt; – this will be the file where we define the new IP class(considering that our main interface is called eth0)&lt;br /&gt;Add this content to the file:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;IPADDR_START=192.168.0.1&lt;br /&gt;IPADDR_END=&lt;/code&gt;&lt;code&gt;192.168.0.&lt;/code&gt;&lt;code&gt;.28&lt;br /&gt;CLONENUM_START=1&lt;br /&gt;NETMASK=255.255.255.240&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Explanation:&lt;br /&gt;IPADDR_START – the first IP of the class you want to add&lt;br /&gt;IPADDR_END – last IP of the class you want to add&lt;br /&gt;CLONENUM_START – the number with which the virtual interface will start, this will create the virtual interfaces eth0:1 to eth0:28.&lt;br /&gt;If you have more classes that you want to add on the next class CLONENUM will start at 29.&lt;br /&gt;NETMASK – the mask for the IP class&lt;br /&gt;After all this was added to the file and edited accordingly just save and restart the network.&lt;br /&gt;&lt;br /&gt;. &lt;br /&gt;&lt;strong&gt;&lt;span style="font-weight: normal;"&gt; &lt;/span&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8135071583165648541?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8135071583165648541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/04/how-to-set-multiple-ip-addresses-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8135071583165648541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8135071583165648541'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/04/how-to-set-multiple-ip-addresses-using.html' title='How to set multiple IP addresses using Linux command line'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6541935417372217948</id><published>2010-04-20T17:59:00.000+05:30</published><updated>2010-04-20T17:59:05.527+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='cacti'/><title type='text'>Install and Configure Cacti Network Graphing Tool</title><content type='html'>Cacti is a complete frontend to RRDTool, it stores all of the necessary  information to create graphs and populate them with data in a MySQL  database. The frontend is completely PHP driven. Along with being able  to maintain Graphs, Data Sources, and Round Robin Archives in a  database, cacti handles the data gathering. There is also SNMP support  for those used to creating traffic graphs with MRTG.&lt;br /&gt;&lt;br /&gt;&lt;h2 style="font-weight: normal;"&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Required software(s)&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;You need to install the following software on RHEL / Fedora / CentOS  Linux:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;MySQL Server : Store cacti data.&lt;/li&gt;&lt;li&gt;NET-SNMP server - SNMP (Simple Network Management Protocol) is a  protocol used for network management. &lt;/li&gt;&lt;li&gt;PHP with net-snmp module - Access SNMP data using PHP. &lt;/li&gt;&lt;li&gt;Apache / lighttpd / ngnix webserver : Web server to display graphs  created with PHP and RRDTOOL&lt;/li&gt;&lt;/ol&gt;First, login as root user and type the following command to install mysql, apache  and php &lt;br /&gt;&lt;code&gt;# &lt;b&gt;yum install mysql-server mysql php-mysql php-pear php-common  php-gd php-devel php php-mbstring php-cli php-snmp php-pear-Net-SMTP  php-mysql httpd&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3 style="font-weight: normal;"&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Configure MySQL server&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;First, set root password:&lt;br /&gt;&lt;code&gt;#&lt;b&gt; mysqladmin -u root password NEWPASSWORD&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Create cacti MySQL database&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;Create a database called cacti, enter:&lt;br /&gt;&lt;code&gt;# &lt;b&gt;mysql -u root -p -e 'create database cacti'&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Create a user called cacti with a password called zYn95ph43zYtq,  enter:&lt;br /&gt;&lt;code&gt;# mysql -u root -p&lt;/code&gt; &lt;br /&gt;&lt;pre class="sql"&gt;mysql&amp;gt; &lt;span style="color: #993333; font-weight: bold;"&gt;GRANT&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold;"&gt;ALL&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold;"&gt;ON&lt;/span&gt; cacti.* &lt;span style="color: #993333; font-weight: bold;"&gt;TO&lt;/span&gt; cacti@localhost &lt;span style="color: #993333; font-weight: bold;"&gt;IDENTIFIED&lt;/span&gt; &lt;span style="color: #993333; font-weight: bold;"&gt;BY&lt;/span&gt; &lt;span style="color: red;"&gt;'zYn95ph43zYtq'&lt;/span&gt;;&lt;br /&gt;mysql&amp;gt; &lt;span style="color: #993333; font-weight: bold;"&gt;FLUSH&lt;/span&gt; privileges;&lt;br /&gt;mysql&amp;gt; \q&lt;/pre&gt;&lt;pre class="sql"&gt;&amp;nbsp;&lt;/pre&gt;&lt;h3&gt;Install snmpd&lt;/h3&gt;Type the following command to install net-snmpd&lt;br /&gt;&lt;code&gt;# yum install net-snmp-utils php-snmp net-snmp-libs&lt;/code&gt;&lt;br /&gt;Configure snmpd, open /etc/snmp/snmpd.conf&lt;br /&gt;&lt;code&gt;# vi /etc/snmp/snmpd.conf&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Append / modify it as follows (see snmpd.conf man page  for details): &lt;br /&gt;&lt;pre&gt;com2sec local     localhost           public&lt;br /&gt;group MyRWGroup v1         local&lt;br /&gt;group MyRWGroup v2c        local&lt;br /&gt;group MyRWGroup usm        local&lt;br /&gt;view all    included  .1                               80&lt;br /&gt;access MyRWGroup ""      any       noauth    exact  all    all    none&lt;br /&gt;syslocation Unknown (edit /etc/snmp/snmpd.conf)&lt;br /&gt;syscontact Root &lt;root@localhost&gt; (configure /etc/snmp/snmp.local.conf)&lt;br /&gt;pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat&lt;/root@localhost&gt;&lt;/pre&gt;Save and close the file. Turn on snmpd service:&lt;br /&gt;&lt;code&gt;# /etc/init.d/snmpd start&lt;br /&gt;# chkconfig snmpd on&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Make sure you are getting information from snmpd:&lt;br /&gt;&lt;code&gt;# snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex&lt;/code&gt;&lt;br /&gt;Sample ouptut: &lt;br /&gt;&lt;pre&gt;IP-MIB::ipAdEntIfIndex.10.10.29.68 = INTEGER: 2&lt;br /&gt;IP-MIB::ipAdEntIfIndex.67.yy.zz.eee = INTEGER: 3&lt;br /&gt;IP-MIB::ipAdEntIfIndex.127.0.0.1 = INTEGER: 1&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;&lt;span style="font-size: small;"&gt;Install cacti&lt;/span&gt;&lt;/h2&gt;First, make sure EPEL repo is enabled. Type the following command to  install cacti:&lt;br /&gt;&lt;code&gt;# yum install cacti&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;To install &lt;/code&gt;&lt;a href="http://www.cyberciti.biz/faq/rhel-fedora-centos-linux-enable-epel-repo/" target="_blank"&gt;EPEL repo&lt;/a&gt;&lt;br /&gt;&lt;code&gt;http://www.cyberciti.biz/faq/rhel-fedora-centos-linux-enable-epel-repo/&amp;nbsp;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;&lt;span style="font-size: small;"&gt;Install cacti tables&lt;/span&gt;&lt;/h3&gt;Type the following command to find out cacti.sql path:&lt;br /&gt;&lt;code&gt;# rpm -ql cacti | grep cacti.sql&lt;/code&gt;&lt;br /&gt;Sample output:&lt;br /&gt;&lt;pre&gt;/usr/share/doc/cacti-0.8.7d/cacti.sql&lt;/pre&gt;Type the following command to install cacti tables (you need to type  the cacti user password):&lt;br /&gt;&lt;code&gt;# mysql -u cacti -p cacti &amp;lt;  /usr/share/doc/cacti-0.8.7d/cacti.sql&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;span style="font-size: small;"&gt;Configure cacti&lt;/span&gt;&lt;/h3&gt;Open /etc/cacti/db.php file, enter:&lt;br /&gt;&lt;code&gt;# vi /etc/cacti/db.php&lt;/code&gt;&lt;br /&gt;Make changes as follows:&lt;br /&gt;&lt;pre class="php"&gt;&amp;nbsp;&lt;br /&gt;&lt;span style="color: grey; font-style: italic;"&gt;/* make sure these values refect your actual database/host/user/password */&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;$database_type&lt;/span&gt; = &lt;span style="color: red;"&gt;"mysql"&lt;/span&gt;;&lt;br /&gt;&lt;span style="color: blue;"&gt;$database_default&lt;/span&gt; = &lt;span style="color: red;"&gt;"cacti"&lt;/span&gt;;&lt;br /&gt;&lt;span style="color: blue;"&gt;$database_hostname&lt;/span&gt; = &lt;span style="color: red;"&gt;"localhost"&lt;/span&gt;;&lt;br /&gt;&lt;span style="color: blue;"&gt;$database_username&lt;/span&gt; = &lt;span style="color: red;"&gt;"cacti"&lt;/span&gt;;&lt;br /&gt;&lt;span style="color: blue;"&gt;$database_password&lt;/span&gt; = &lt;span style="color: red;"&gt;"zYn95ph43zYtq"&lt;/span&gt;;&lt;br /&gt;&lt;span style="color: blue;"&gt;$database_port&lt;/span&gt; = &lt;span style="color: red;"&gt;"3306"&lt;/span&gt;;&lt;br /&gt;&amp;nbsp;&lt;/pre&gt;Save and close the file.&lt;br /&gt;&lt;h3&gt;&lt;span style="font-size: small;"&gt;Configure httpd&lt;/span&gt;&lt;/h3&gt;Open /etc/httpd/conf.d/cacti.conf file, enter:&lt;br /&gt;&lt;code&gt;# vi /etc/httpd/conf.d/cacti.conf&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;You need to update  allow from line. Either set to ALL or your LAN  subnet to allow access to cacti: &lt;br /&gt;&lt;pre class="ini"&gt;&amp;nbsp;&lt;br /&gt;#&lt;br /&gt;# Cacti: An rrd based graphing tool&lt;br /&gt;#&lt;br /&gt;Alias /cacti    /usr/share/cacti&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;directory cacti="" share="" usr=""&gt;&lt;br /&gt;        Order Deny,Allow&lt;br /&gt;        Deny from all&lt;br /&gt;        Allow from &lt;span&gt;10.0&lt;/span&gt;&lt;span&gt;.0&lt;/span&gt;&lt;span&gt;.0&lt;/span&gt;/&lt;span&gt;8&lt;/span&gt;&lt;/directory&gt;&lt;br /&gt;&amp;nbsp;&lt;/pre&gt;Another option is create /usr/share/cacti/.htaccess file and &lt;a href="http://www.cyberciti.biz/faq/howto-setup-apache-password-protect-directory-with-htaccess-file/" target="_blank"&gt;password protect&lt;/a&gt; the directory. Finally, restart  httpd:&lt;br /&gt;&lt;code&gt;# service httpd restart&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;span style="font-size: small;"&gt;Setup cacti cronjob&lt;/span&gt;&lt;/h3&gt;Open /etc/cron.d/cacti file, enter:&lt;br /&gt;&lt;code&gt;# vi /etc/cron.d/cacti&lt;/code&gt;&lt;br /&gt;Uncomment the line:&lt;br /&gt;&lt;pre&gt;*/5 * * * *     cacti   /usr/bin/php /usr/share/cacti/poller.php &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;/pre&gt;Save and close the file.&lt;br /&gt;&lt;h2 style="font-weight: normal;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;Run cacti installer&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;Now cacti is ready to install. Fire a webbrowser and type the url:&lt;br /&gt;&lt;code&gt;http://your.example.com/cacti/&lt;/code&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;code&gt;http://your.server.ip.address/cacti/&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The default username and password for cacti is admin / admin. Upon first  login, you will be force to change the default password.&lt;code&gt; &lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;.&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="sql"&gt;&amp;nbsp;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6541935417372217948?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6541935417372217948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/04/install-and-configure-cacti-network.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6541935417372217948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6541935417372217948'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/04/install-and-configure-cacti-network.html' title='Install and Configure Cacti Network Graphing Tool'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5360407659045528630</id><published>2010-04-10T12:52:00.004+05:30</published><updated>2010-04-10T12:54:32.315+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='semaphore'/><title type='text'>Semaphore issue - Unable to start apache.</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Semaphores  are used for communicating between the active processes of a certain  application.  In the case of Apache, they're used to communicate  between the parent and child processes.  If Apache can't write these  things down, then it can't communicate properly with all of the  processes it starts.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I'd assume if you're reading this article,  Apache has stopped running.  Run this command as root&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;# ipcs -s&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;If you see a list of semaphores, Apache has not cleaned up after itself,  and some semaphores are stuck.   Clear them out with this command:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="white-space: pre;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;# for i in `ipcs -s | awk '/httpd/ {print $2}'`; do (ipcrm -s $i); done&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre class="html"&gt;&lt;/pre&gt;&lt;pre class="html"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Now, in almost all cases, Apache should start properly.  If it doesn't, &lt;br /&gt;you may just be completely out of available semaphores.  You may want to&lt;br /&gt; increase your available semaphores, and you'll need to tickle your &lt;br /&gt;kernel to do so.  Add this to /etc/sysctl.conf:&lt;/span&gt;&lt;/pre&gt;&lt;pre class="html"&gt;&lt;/pre&gt;&lt;pre class="html" style="font-family: monospace;"&gt;&lt;pre class="html"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;kernel.msgmni = 1024&lt;br /&gt;kernel.sem = 250 256000 32 1024&lt;/span&gt;&lt;/pre&gt;&lt;pre class="html"&gt;&lt;/pre&gt;&lt;pre class="html"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;And then run &lt;/span&gt;&lt;code&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;sysctl -p&lt;/span&gt;&lt;/code&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt; to pick up the new changes.&lt;/span&gt;&lt;/pre&gt;&lt;pre class="html" style="font-family: monospace;"&gt;&lt;/pre&gt;&lt;pre class="html" style="font-family: monospace;"&gt;&lt;/pre&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5360407659045528630?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5360407659045528630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/04/semaphore-issue-unable-to-start-apache_2169.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5360407659045528630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5360407659045528630'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/04/semaphore-issue-unable-to-start-apache_2169.html' title='Semaphore issue - Unable to start apache.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-198967591723879573</id><published>2010-04-08T14:52:00.002+05:30</published><updated>2010-04-08T14:52:35.275+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='OS version in linux'/><title type='text'>how to know the OS version in linux</title><content type='html'>uname -a &lt;br /&gt;cat /proc/version&lt;br /&gt;cat /etc/issue&lt;br /&gt;&lt;br /&gt;/etc/redhat-release&lt;br /&gt;/etc/debian_version&lt;br /&gt;/etc/SuSE-release&lt;br /&gt;/etc/slackware-version&lt;br /&gt;/etc/gentoo-release&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-198967591723879573?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/198967591723879573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/04/how-to-know-os-version-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/198967591723879573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/198967591723879573'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/04/how-to-know-os-version-in-linux.html' title='how to know the OS version in linux'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8417818222865695582</id><published>2010-03-27T19:32:00.000+05:30</published><updated>2010-03-27T19:32:51.252+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Compilation of apache and php'/><title type='text'>Compilation of apache and php</title><content type='html'>Apache 2 source distribution available from http://www.apache.org.&lt;br /&gt;PHP source distribution available from http://www.php.net/.&lt;br /&gt;For the compilation make and gcc must be installed in the server. If it is not installed you can download it and install from&amp;nbsp; ftp://mirrors.kernel.org/gnu/&lt;br /&gt;&lt;br /&gt;Before starting to compile Apache and PHP you must uninstall all previous Apache and PHP related RPMs installed on your system. To uninstall these packages you can use Red Hat Package Manager (rpm) utility. If you are using X Windows you can also use GUI utilities like gnorpm&amp;nbsp; and kpackge, if installed, to uninstall these RPMs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Compiling Apache&lt;br /&gt;&lt;br /&gt;Using shell, (or open a new virtual console window if working in X Windows) change to directory where you have downloaded Apache 2 source. In my case it is /usr/src.&lt;br /&gt;&lt;br /&gt;$ cd /usr/src&lt;br /&gt;$ gunzip httpd-2.0.44.tar.gz or gzip -d httpd-2.0.44.tar.gz&lt;br /&gt;$ tar -zxvf httpd-2.0.44.tar.gz&lt;br /&gt;$ cd /usr/src/httpd-2.0.44&lt;br /&gt;Now we have to configure apache for compilation.&lt;br /&gt;&lt;br /&gt;./configure --help&lt;br /&gt;&lt;br /&gt;$ ./configure --prefix=/wwwroot --enable-so&lt;br /&gt;&lt;br /&gt;First option --prefix tells configure script that we want Apache to be installed in directory /wwwroot. If we don't provide a prefix option than it'll be installed in default location, which is /usr/local/apache2.&lt;br /&gt;&lt;br /&gt;I am installing everything in /wwwroot because:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. when a new version of PHP and Apache is released, I only have to rename /wwwroot directory to some other name like /wwwrootold and then I can install new versions in /wwwroot directory again. If new installation works properly then I can simply copy configuration files from old directory to /wwwroot.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2. users new to compiling software from source, after compiling and installing it, try to find a way to uninstall the software. So, benefit of keeping everything at one place is; if someone wants to uninstall Apache and PHP then he just has to delete /wwwroot directory (After stopping Apache, if it is running).&lt;br /&gt;&lt;br /&gt;Second option --enable-so tells configure to enable module so, which allows Apache to load shared modules. We need this option because we are compiling PHP as Apache shared module.&lt;br /&gt;&lt;br /&gt;Example Apache configure command line looks like this. After configure finishes we have to compile Apache.&lt;br /&gt;make&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To compile Apache a utility called make is used. make reads a file named Makefile in the source directory. In the Makefile step by step instructions are written about how to compile the software. Benefit of using make is that if some of the source files are changed and we compile software again, then only files which are changed and files which depend on changed files are recompiled.&lt;br /&gt;&lt;br /&gt;To compile Apache source we have to issue this command in the Apache source directory (/usr/src/httpd-2.0.44):&lt;br /&gt;&lt;br /&gt;$ make&lt;br /&gt;&lt;br /&gt;When you type make It will start compiling Apache. It will take several minutes depending upon the speed of your computer. After make finishes, shell prompt is available. Now source has been compiled. We will use make install command to install Apache&lt;br /&gt;&lt;br /&gt;$ make install&lt;br /&gt;&lt;br /&gt;This will install Apache to /wwwroot directory. Now test your Apache installation by starting Apache:&lt;br /&gt;&lt;br /&gt;$ /wwwroot/bin/apachectl start&lt;br /&gt;&lt;br /&gt;If you are returned to shell prompt and no error etc. is displayed then Apache is started.&lt;br /&gt;&lt;br /&gt;Now you can open a web browser like lynx and visit Apache homepage:&lt;br /&gt;&lt;br /&gt;$ lynx http://localhost&lt;br /&gt;&lt;br /&gt;It'll show Apache homepage, where you can read Apache documentation to know more about Apache.&lt;br /&gt;&lt;br /&gt;To stop Apache you can use:&lt;br /&gt;&lt;br /&gt;$ /wwwroot/bin/apachectl stop&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Compiling PHP&lt;br /&gt;&lt;br /&gt;Change to directory where you have downloaded PHP source.&lt;br /&gt;&lt;br /&gt;$ cd /usr/src&lt;br /&gt;&lt;br /&gt;Then we have to extract PHP source files from php-4.3.0.tar.gz file.&lt;br /&gt;&lt;br /&gt;To decompress the compressed file use:&lt;br /&gt;&lt;br /&gt;$ gunzip php-4.3.0.tar.gz&lt;br /&gt;&lt;br /&gt;You will have a file named php-4.3.0.tar in your current directory. Now to extract its contents use:&lt;br /&gt;&lt;br /&gt;$ tar -xvf php-4.3.0.tar&lt;br /&gt;&lt;br /&gt;Both above steps can be completed by using this command:&lt;br /&gt;$ tar -zxvf php-4.3.0.tar.gz&lt;br /&gt;&lt;br /&gt;A new directory php-4.3.0 will be created in your current directory. For me its /usr/src/php-4.3.0.&lt;br /&gt;&lt;br /&gt;Now change to this directory:&lt;br /&gt;&lt;br /&gt;$ cd /usr/src/php-4.3.0&lt;br /&gt;&lt;br /&gt;Now we have to configure PHP for compilation process. There are hundreds of options which can be provided to configure script. These options include the option to specify where PHP should be installed, which functionality should be enabled, like functionality to access mysql databases from PHP and which extensions have to be compiled etc. To see a list of options supported by PHP configure, type:&lt;br /&gt;&lt;br /&gt;$ ./configure --help&lt;br /&gt;&lt;br /&gt;It'll show a list of all options supported by the version of PHP that you are using.&lt;br /&gt;&lt;br /&gt;Extensions provide additional functionality which core PHP doesn't provide. For example to create images --with-gd option can be used. But for these extensions to work, appropriate libraries must have been installed. If you use some --with option and that library isn't installed on your system then configure will fail. So, my advice is, for the first time don't try to use any extension.&lt;br /&gt;&lt;br /&gt;To compile PHP as Apache shared module we have to provide path to apache apxs utility, which in our case was installed in /wwwroot/bin/ when we installed Apache. So, in PHP source directory (/usr/src/php-4.3.0) execute this command :&lt;br /&gt;&lt;br /&gt;$ ./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-config-file-path=/wwwroot/php --with-mysql&lt;br /&gt;&lt;br /&gt;First option --prefix=/wwwroot/php tells configure script that we want PHP to be installed in /wwwroot/php directory. Otherwise it'll be installed in some default location (/usr/local).&lt;br /&gt;&lt;br /&gt;Second option --with-apxs2 specifies that we want to install PHP as Apache 2 shared module.&lt;br /&gt;&lt;br /&gt;Third option --with-config-file-path specifies that PHP should look for php.ini file in /wwwroot/php directory. Php.ini file contains various settings, which can be used to configure PHP after it has been installed. Settings like path to directory where php extensions are installed. Options like max_execution_time in php.ini specifies maximum time a script is allowed to run before it is terminated by PHP parser.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {Note} You don't have to specify name of the php.ini file when using --with-config-file-path option. Only directory path where php.ini file will be stored has to be specified. So, don't use --with-config-file-path=/wwwroot/php/php.ini, but instead use --with-config-file-path=/wwwroot/php. &lt;br /&gt;&lt;br /&gt;Fourth option --with-mysql enables support to access mysql databases through PHP. After --with-mysql we can optionally specify directory where mysql is installed like --with-mysql=/usr/local/mysql. To use mysql database functions you must have mysql database installed on your system. If you don't have mysql installed you can remove this option. If this option is not used then library, which is bundled with PHP is used to access mysql databases.&lt;br /&gt;&lt;br /&gt;After configure finishes. You have to type make to compile PHP:&lt;br /&gt;&lt;br /&gt;$ make&lt;br /&gt;&lt;br /&gt;It will take several minutes to compile. After make finishes and, no error etc. is displayed then PHP has been compiled successfully. If any warning is displayed then, normally, you can ignore it.&lt;br /&gt;&lt;br /&gt;After this, if Apache is running stop Apache:&lt;br /&gt;&lt;br /&gt;$ /wwwroot/bin/apachectl stop&lt;br /&gt;&lt;br /&gt;Now you can execute make install from within PHP source directory to install PHP to /wwwroot/php directory:&lt;br /&gt;&lt;br /&gt;$ make install&lt;br /&gt;&lt;br /&gt;make install will install PHP4 module to Apache's modules sub-directory (/wwwroot/modules) and add a line like this:&lt;br /&gt;&lt;br /&gt;LoadModule php4_module modules/libphp4.so&lt;br /&gt;&lt;br /&gt;to apache configuration file (/wwwroot/conf/httpd.conf). This line allows Apache to automatically load PHP module when Apache starts. If this line is not added by PHP install, which in my case wasn't,&amp;nbsp; then you can add it yourself. To add this line yourself, search for a word LoadModule in /wwwroot/conf/httpd.conf file. This word will be somewhere under section "Dynamic Shared Object (DSO) Support". Under this section, on a new line, add the above line.&lt;br /&gt;&lt;br /&gt;Now you have to add another line to this httpd.conf file so that Apache invokes PHP parser whenever a file with extension php (.php) is accessed. When PHP parser is invoked by Apache it reads .php file which contains PHP code blocks, html tags and other text. Parser then executes PHP code found inside  blocks and then merges PHP code results and other html content (as is). Resulting output is then sent back to Apache which in turn sends it to web browser which requested the file.&lt;br /&gt;&lt;br /&gt;The line to be added is:&lt;br /&gt;&lt;br /&gt;AddType application/x-httpd-php .php&lt;br /&gt;&lt;br /&gt;To add this line search for word AddType in httpd.conf file. There will be a line like this:&lt;br /&gt;&lt;br /&gt;AddType application/x-tar .tgz&lt;br /&gt;&lt;br /&gt;Below this line add (on a new line):&lt;br /&gt;&lt;br /&gt;AddType application/x-httpd-php .php&lt;br /&gt;&lt;br /&gt;You can add any file extension in addition to .php if you want to invoke PHP parser for any other file extension also. Like:&lt;br /&gt;&lt;br /&gt;AddType application/x-httpd-php .phtml&lt;br /&gt;&lt;br /&gt;will invoke PHP parser whenever any file with phtml extension (.phtml) is accessed.&lt;br /&gt;&lt;br /&gt;Save this file and then start Apache:&lt;br /&gt;&lt;br /&gt;$ /wwwroot/bin/apachectl start&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Enabling some PHP extensions:&lt;br /&gt;&lt;br /&gt;You can get list of core configure options supported by PHP see http://www.php.net/manual/en/configure.php. &lt;br /&gt;&lt;br /&gt;For example if you want to create images using PHP, you first need to install gd library using RPMs or by compiling from source. Then you can use --with-gd option to enable gd support from PHP like this:&lt;br /&gt;&lt;br /&gt;$ ./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-config-file-path=/wwwroot/php --with-gd&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {Note} GD depends on some other libraries to create images in different formats. So, some other libraries like png, jpeg , zlib also have to be installed. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8417818222865695582?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8417818222865695582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/compilation-of-apache-and-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8417818222865695582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8417818222865695582'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/compilation-of-apache-and-php.html' title='Compilation of apache and php'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-539702053115032486</id><published>2010-03-25T21:51:00.002+05:30</published><updated>2010-03-25T21:51:44.489+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='FTP'/><title type='text'>Unable to upload large files via ftp</title><content type='html'>Add the following lines to&amp;nbsp; lines to /etc/proftpd.conf&lt;br /&gt;&lt;blockquote&gt; ================&lt;br /&gt;AllowRetrieveRestart on&lt;br /&gt;AllowOverwrite on&lt;br /&gt;AllowStoreRestart on&lt;br /&gt;================&lt;/blockquote&gt;Restart ftp and this should fix the issue.&lt;br /&gt;&lt;br /&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-539702053115032486?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/539702053115032486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/unable-to-upload-large-files-via-ftp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/539702053115032486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/539702053115032486'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/unable-to-upload-large-files-via-ftp.html' title='Unable to upload large files via ftp'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2726695424680153337</id><published>2010-03-18T11:51:00.001+05:30</published><updated>2010-03-26T19:27:54.904+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Server Security'/><category scheme='http://www.blogger.com/atom/ns#' term='interview'/><title type='text'>Linux Server Security</title><content type='html'>Following are the steps for securing cpanel servers:&lt;br /&gt;&lt;br /&gt;1. Sysctl Hardening&lt;br /&gt;http://www.eth0.us/sysctl&lt;br /&gt;&lt;br /&gt;2.Secure /tmp&lt;br /&gt;http://www.eth0.us/tmp&lt;br /&gt;&lt;br /&gt;3.LES Linux Environment Security&lt;br /&gt;Linux Environment Security is intended as a facility                to quickly &amp;amp; easily secure RedHat/RPM based environments (i.e:                turbo linux, open linux). It does such by enforcing root-only permissions                on system binaries (binaries that have no place being &lt;br /&gt;executed by normal users), enforcing root-only path traversal on                system paths, enforcing immutable bit on essential rpm package contents                (i.e: coreutils), and enforcing immutable bit on shell profile scripts.&lt;br /&gt;&lt;br /&gt;4.Removal of Insecure packages&lt;br /&gt;&lt;br /&gt;Please check to see the packages that are not needed on a web server. You can use the command rpm -qa to list all the installed rpm packages on the server. From the list remove packages choose the packages that are not required.&lt;br /&gt;Some common examples of  unnecessary packages are given below.&lt;br /&gt;&amp;nbsp;mtools&lt;br /&gt;yp-tools&lt;br /&gt;redhat-config-nfs&lt;br /&gt;redhat-config-samba&lt;br /&gt;tftp-server&lt;br /&gt;ypserv&lt;br /&gt;redhat-config-printer-gui&lt;br /&gt;samba&lt;br /&gt;samba-swat&lt;br /&gt;cups&lt;br /&gt;gmp-devel&lt;br /&gt;ElectricFence&lt;br /&gt;doxygen&lt;br /&gt;Xfree86-xfs&lt;br /&gt;redhat-config-printer&lt;br /&gt;cups-libs&lt;br /&gt;samba-common&lt;br /&gt;samba-client&lt;br /&gt;&lt;br /&gt;5.Firewall (CSF + LFD)&lt;br /&gt;6.AIDE (Advanced Intrusion Detection Environment)&lt;br /&gt;http://www.cs.tut.fi/~rammer/aide.html&lt;br /&gt;&lt;br /&gt;7. Logwatch Installation and configuration&lt;br /&gt;8. ClamAV (virus scanner) Installation with Exim on cPanel servers&lt;br /&gt;9. Installing chkrootkit&lt;br /&gt;10. LibSafe Installation&lt;br /&gt;&lt;a href="http://www.securecentos.com/temp/installing-les-linux-environment-security.html" target="_blank"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2726695424680153337?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2726695424680153337/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/linux-server-security.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2726695424680153337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2726695424680153337'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/linux-server-security.html' title='Linux Server Security'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3081831301111506685</id><published>2010-03-18T00:42:00.002+05:30</published><updated>2010-03-18T00:42:11.601+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sender Policy Framework (SPF)'/><title type='text'>Sender Policy Framework (SPF)</title><content type='html'>Sender Policy Framework (SPF), is an e-mail validation system designed to prevent e-mail spam by addressing a common vulnerability, source address spoofing. SPF allows administrators to specify which hosts are allowed to send e-mail from a given domain by creating a specific DNS SPF record in the public DNS..&lt;br /&gt;&lt;br /&gt;example.org. IN SPF "v=spf1 a mx -all"&lt;br /&gt;&lt;br /&gt;"v=" defines the version of SPF used. The following words provide mechanisms to use to determine if a domain is eligible to send mail. The "a" and "mx" specify the systems permitted to send messages for the given domain. The "-all" at the end specifies that, if the previous mechanisms did not match, the message should be rejected.&lt;br /&gt;[edit] Mechanisms&lt;br /&gt;&lt;br /&gt;Eight mechanisms are defined:&lt;br /&gt;ALL &amp;nbsp;&amp;nbsp;&amp;nbsp; Matches always; used for a default result like -all for all IPs not matched by prior mechanisms.&lt;br /&gt;A &amp;nbsp;&amp;nbsp;&amp;nbsp; If the domain name has an address record (A or AAAA) that can be resolved to the sender's address, it will match.&lt;br /&gt;IP4 &amp;nbsp;&amp;nbsp;&amp;nbsp; If the sender is in a given IPv4 address range, match.&lt;br /&gt;IP6 &amp;nbsp;&amp;nbsp;&amp;nbsp; If the sender is in a given IPv6 address range, match.&lt;br /&gt;MX &amp;nbsp;&amp;nbsp;&amp;nbsp; If the domain name has an MX record resolving to the sender's address, it will match (i.e. the mail comes from one of the domain's mail servers).&lt;br /&gt;PTR &amp;nbsp;&amp;nbsp;&amp;nbsp; If the domain name (PTR record) for the client's address is in the given domain and that domain name resolves to the client's address (forward-confirmed reverse DNS), match.&lt;br /&gt;&lt;br /&gt;EXISTS &amp;nbsp;&amp;nbsp;&amp;nbsp; If the given domain name resolves to any address, match (no matter the address it resolves to). This is rarely used. Along with the SPF macro language it offers more complex matches like DNSBL-queries.&lt;br /&gt;&lt;br /&gt;INCLUDE &amp;nbsp;&amp;nbsp;&amp;nbsp; If the included (a misnomer) policy passes the test this mechanism matches. This is typically used to include policies of more than one ISP.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3081831301111506685?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3081831301111506685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/sender-policy-framework-spf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3081831301111506685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3081831301111506685'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/sender-policy-framework-spf.html' title='Sender Policy Framework (SPF)'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2608501654165900768</id><published>2010-03-18T00:30:00.001+05:30</published><updated>2010-03-18T00:30:31.181+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ext2 and ext3'/><title type='text'>Ext2 Vs ext3</title><content type='html'>Ext3 filesystem is nothing but next version of ext2 filesystem with journaling support. Ext3 has been structurally implemented same as ext2 so they have same data structures. he most important difference between Ext2 and Ext3 is that Ext3 supports journaling which allows fast recovery from disk problems. You also get reliability and a better performance with ext3. Ext3 is designed to take care of both metadata and data. &lt;br /&gt;&lt;br /&gt;Ext3 is a tiny bit slower than ext2 is, but it holds tremendous advantages. There is really only one difference between ext2 and ext3, and that is that ext3 uses a journal to prevent filesystem corruption in the case of an unclean shutdown (ie. before the filesystem is synced to disk). That makes ext3 a bit slower than ext2 since all metadata changes are written to the journal, and then flushed to disk, but on the other hand you don't risk having the entire filesystem destroyed at power failure or if an unwitted person turns the computer off uncleanly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2608501654165900768?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2608501654165900768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/ext2-vs-ext3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2608501654165900768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2608501654165900768'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/ext2-vs-ext3.html' title='Ext2 Vs ext3'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5490554631891023991</id><published>2010-03-18T00:22:00.003+05:30</published><updated>2010-03-18T00:22:50.598+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='inode'/><title type='text'>Inode</title><content type='html'>Inode is a unique number given to a file in Unix OS. Every file in Unix has a inode number. Inodes store information of files, such as user and group ownership, access mode (read, write, execute permissions) and type of file. When a file system is created, data structures are created that contain information about files. Each file is associated with an inode that is identified by an inode number &lt;br /&gt;&lt;br /&gt;File names and directory implications:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Inodes do not contain file names, only file metadata.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Unix directories are lists of "link" structures, each of which contains one filename and one inode number.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * The kernel must search a directory looking for a particular filename and then convert the filename to the correct corresponding inode number if the name is found.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5490554631891023991?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5490554631891023991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/inode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5490554631891023991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5490554631891023991'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/inode.html' title='Inode'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6494347572340145427</id><published>2010-03-18T00:05:00.003+05:30</published><updated>2010-03-18T00:09:38.941+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='load in linux server'/><title type='text'>Load in the server</title><content type='html'>Load :&amp;nbsp; Measure of the amount of work done by a computer systems.&lt;br /&gt;Load average : Average system load over a period of time.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;An idle computer has a load number of 0 and each process using or waiting for CPU adds to the load number by 1. Most UNIX systems count only processes in the running (on CPU) or runnable (waiting for CPU) states. However, Linux also includes processes in uninterruptible sleep states (usually waiting for disk activity), which can lead to markedly different results if many processes remain blocked in I/O&amp;nbsp; due to a busy or stalled I/O system. This, for example, includes processes blocking due to an NFS server failure or to slow media (e.g., USB 1.x storage devices). Such circumstances can result in an elevated load average, which does not reflect an actual increase in CPU use (but still gives an idea on how long users have to wait).&lt;br /&gt;&lt;br /&gt;Systems calculate the load average as the exponentially damped/weighted moving average of the load number. The three values of load average refer to the past one, five, and fifteen minutes of system operation.&lt;br /&gt;&lt;br /&gt;For single-CPU systems that are CPU-bound, one can think of load average as a percentage of system utilization during the respective time period. For systems with multiple CPUs, one must divide the number by the number of processors in order to get a comparable percentage.&lt;br /&gt;&lt;br /&gt;For example, one can interpret a load average of "1.73 0.50 7.98" on a single-CPU system as:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * during the last minute, the CPU was overloaded by 73% (1 CPU with 1.73 runnable processes, so that 0.73 processes had to wait for a turn)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * during the last 5 minutes, the CPU was underloaded 50% (no processes had to wait for a turn)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * during the last 15 minutes, the CPU was overloaded 698% (1 CPU with 7.98 runnable processes, so that 6.98 processes had to wait for a turn)&lt;br /&gt;&lt;br /&gt;This means that this CPU could have handled all of the work scheduled for the last minute if it were 1.73 times as fast, or if there were two (1.73 rounded up) times as many CPUs, but that over the last five minutes it was twice as fast as necessary to prevent runnable processes from waiting their turn.&lt;br /&gt;&lt;br /&gt;In a system with four CPUs, a load average of 3.73 would indicate that there were, on average, 3.73 processes ready to run, and each one could be scheduled into a CPU.&lt;br /&gt;&amp;nbsp; &lt;br /&gt;On Linux systems, the load-average is not calculated on each clock  tick, but driven by a variable value that is based on the HZ frequency  setting and tested on each clock tick. (HZ variable is the pulse rate of  particular Linux kernel activity. 1HZ is equal to one clock tick; 10ms  by default.) Although the HZ value can be configured in some versions of  the kernel, it is normally set to 100. The calculation code uses the HZ  value to determine the CPU Load calculation frequency. Specifically,  the timer.c:calc_load() function will run the an algorithm every 5 * HZ,  or roughly every five seconds. Following is that function in its  entirety:&lt;br /&gt;&lt;div class="mw-geshi" dir="ltr" style="text-align: left;"&gt; &lt;div class="c source-c" style="font-family: monospace;"&gt; &lt;pre class="de1"&gt;&lt;span class="kw4"&gt;unsigned&lt;/span&gt; &lt;span class="kw4"&gt;long&lt;/span&gt; avenrun&lt;span class="br0"&gt;[&lt;/span&gt;3&lt;span class="br0"&gt;]&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;span class="kw4"&gt;static&lt;/span&gt; &lt;span class="kw2"&gt;inline&lt;/span&gt; &lt;span class="kw4"&gt;void&lt;/span&gt; calc_load&lt;span class="br0"&gt;(&lt;/span&gt;&lt;span class="kw4"&gt;unsigned&lt;/span&gt; &lt;span class="kw4"&gt;long&lt;/span&gt; ticks&lt;span class="br0"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span class="br0"&gt;{&lt;/span&gt;&lt;br /&gt;   &lt;span class="kw4"&gt;unsigned&lt;/span&gt; &lt;span class="kw4"&gt;long&lt;/span&gt; active_tasks&lt;span class="sy0"&gt;;&lt;/span&gt; &lt;span class="coMULTI"&gt;/* fixed-point */&lt;/span&gt;&lt;br /&gt;   &lt;span class="kw4"&gt;static&lt;/span&gt; &lt;span class="kw4"&gt;int&lt;/span&gt; count &lt;span class="sy0"&gt;=&lt;/span&gt; LOAD_FREQ&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;   count &lt;span class="sy0"&gt;-=&lt;/span&gt; ticks&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br /&gt;   &lt;span class="kw1"&gt;if&lt;/span&gt; &lt;span class="br0"&gt;(&lt;/span&gt;count &lt;span class="sy0"&gt;&amp;lt;&lt;/span&gt; 0&lt;span class="br0"&gt;)&lt;/span&gt; &lt;span class="br0"&gt;{&lt;/span&gt;&lt;br /&gt;      count &lt;span class="sy0"&gt;+=&lt;/span&gt; LOAD_FREQ&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br /&gt;      active_tasks &lt;span class="sy0"&gt;=&lt;/span&gt; count_active_tasks&lt;span class="br0"&gt;(&lt;/span&gt;&lt;span class="br0"&gt;)&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br /&gt;      CALC_LOAD&lt;span class="br0"&gt;(&lt;/span&gt;avenrun&lt;span class="br0"&gt;[&lt;/span&gt;0&lt;span class="br0"&gt;]&lt;/span&gt;&lt;span class="sy0"&gt;,&lt;/span&gt; EXP_1&lt;span class="sy0"&gt;,&lt;/span&gt; active_tasks&lt;span class="br0"&gt;)&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br /&gt;      CALC_LOAD&lt;span class="br0"&gt;(&lt;/span&gt;avenrun&lt;span class="br0"&gt;[&lt;/span&gt;1&lt;span class="br0"&gt;]&lt;/span&gt;&lt;span class="sy0"&gt;,&lt;/span&gt; EXP_5&lt;span class="sy0"&gt;,&lt;/span&gt; active_tasks&lt;span class="br0"&gt;)&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br /&gt;      CALC_LOAD&lt;span class="br0"&gt;(&lt;/span&gt;avenrun&lt;span class="br0"&gt;[&lt;/span&gt;2&lt;span class="br0"&gt;]&lt;/span&gt;&lt;span class="sy0"&gt;,&lt;/span&gt; EXP_15&lt;span class="sy0"&gt;,&lt;/span&gt; active_tasks&lt;span class="br0"&gt;)&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;br /&gt;   &lt;span class="br0"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="br0"&gt;}&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;The avenrun array contains 1-minute, 5-minute and 15-minute average.  The CALC_LOAD macro and its associated values are defined in sched.h&amp;nbsp;:&lt;br /&gt;&lt;div class="mw-geshi" dir="ltr" style="text-align: left;"&gt; &lt;div class="c source-c" style="font-family: monospace;"&gt; &lt;pre class="de1"&gt;define FSHIFT   &lt;span class="nu0"&gt;11&lt;/span&gt;  &lt;span class="coMULTI"&gt;/* nr of bits of precision */&lt;/span&gt;&lt;br /&gt;   define FIXED_1  &lt;span class="br0"&gt;(&lt;/span&gt;&lt;span class="nu0"&gt;1&lt;/span&gt;&lt;span class="sy0"&gt;&amp;lt;&amp;lt;&lt;/span&gt;FSHIFT&lt;span class="br0"&gt;)&lt;/span&gt; &lt;span class="coMULTI"&gt;/* 1.0 as fixed-point */&lt;/span&gt;&lt;br /&gt;   define LOAD_FREQ &lt;span class="br0"&gt;(&lt;/span&gt;&lt;span class="nu0"&gt;5&lt;/span&gt;&lt;span class="sy0"&gt;*&lt;/span&gt;HZ&lt;span class="br0"&gt;)&lt;/span&gt; &lt;span class="coMULTI"&gt;/* 5 sec intervals */&lt;/span&gt;&lt;br /&gt;   define EXP_1  &lt;span class="nu0"&gt;1884&lt;/span&gt;  &lt;span class="coMULTI"&gt;/* 1/exp(5sec/1min) as fixed-point */&lt;/span&gt;&lt;br /&gt;   define EXP_5  &lt;span class="nu0"&gt;2014&lt;/span&gt;  &lt;span class="coMULTI"&gt;/* 1/exp(5sec/5min) */&lt;/span&gt;&lt;br /&gt;   define EXP_15 &lt;span class="nu0"&gt;2037&lt;/span&gt;  &lt;span class="coMULTI"&gt;/* 1/exp(5sec/15min) */&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;   define CALC_LOAD&lt;span class="br0"&gt;(&lt;/span&gt;load&lt;span class="sy0"&gt;,&lt;/span&gt;exp&lt;span class="sy0"&gt;,&lt;/span&gt;n&lt;span class="br0"&gt;)&lt;/span&gt; \&lt;br /&gt;      load &lt;span class="sy0"&gt;*=&lt;/span&gt; exp&lt;span class="sy0"&gt;;&lt;/span&gt; \&lt;br /&gt;      load &lt;span class="sy0"&gt;+=&lt;/span&gt; n&lt;span class="sy0"&gt;*&lt;/span&gt;&lt;span class="br0"&gt;(&lt;/span&gt;FIXED_1&lt;span class="sy0"&gt;-&lt;/span&gt;exp&lt;span class="br0"&gt;)&lt;/span&gt;&lt;span class="sy0"&gt;;&lt;/span&gt; \&lt;br /&gt;      load &lt;span class="sy0"&gt;&amp;gt;&amp;gt;=&lt;/span&gt; FSHIFT&lt;span class="sy0"&gt;;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6494347572340145427?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6494347572340145427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/load-in-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6494347572340145427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6494347572340145427'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/03/load-in-server.html' title='Load in the server'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5929690738610157515</id><published>2010-02-26T09:42:00.002+05:30</published><updated>2010-02-26T09:42:41.774+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='enable tun/tap device with nat'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='vpn'/><title type='text'>How to enable tun/tap device with nat</title><content type='html'>OpenVZ supports VPN inside a container via kernel TUN/TAP module and device. To allow container #101 to use the TUN/TAP device the following should be done:&lt;br /&gt;&lt;br /&gt;Make sure the tun module has been already loaded on the hardware node: &lt;br /&gt;&lt;br /&gt;# lsmod | grep tun&lt;br /&gt;&lt;br /&gt;If it is not there, use the following command to load tun module: .&lt;br /&gt;# modprobe tun&lt;br /&gt;&lt;br /&gt;To make sure that tun module will be automatically loaded on every reboot you can also add it or into /etc/modules.conf (on RHEL see /etc/sysconfig/modules/ directory) or into /etc/sysconfig/vz-scripts/CTID.mount. (echo 'modprobe tun' &amp;gt;&amp;gt; /etc/sysconfig/vz-scripts/CTID.mount) &lt;br /&gt;&lt;br /&gt;Granting container an access to TUN/TAP &lt;br /&gt;&lt;br /&gt;Allow your container to use the tun/tap device by running the following commands on the host node:&lt;br /&gt;&lt;br /&gt;vzctl set 101 --devices c:10:200:rw --save&lt;br /&gt;vzctl set 101 --capability net_admin:on --save&lt;br /&gt;&lt;br /&gt;And create the character device file inside the container (execute the following on the host node):&lt;br /&gt;&lt;br /&gt;vzctl exec 101 mkdir -p /dev/net&lt;br /&gt;vzctl exec 101 mknod /dev/net/tun c 10 200&lt;br /&gt;vzctl exec 101 chmod 600 /dev/net/tun&lt;br /&gt;&lt;br /&gt;Configuring VPN inside container&lt;br /&gt;&lt;br /&gt;After the configuration steps above are done it is possible to use VPN software working with TUN/TAP inside container just like on a usual standalone linux box.&lt;br /&gt;&lt;br /&gt;The following software can be used for VPN with TUN/TAP:&lt;br /&gt;&lt;br /&gt;* Virtual TUNnel (http://vtun.sourceforge.net)&lt;br /&gt;* OpenVPN (http://openvpn.net) &lt;br /&gt;&lt;br /&gt;If NAT is needed within the VE, this error will occur on attempts to use NAT:&lt;br /&gt;&lt;br /&gt;# iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5929690738610157515?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5929690738610157515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/02/how-to-enable-tuntap-device-with-nat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5929690738610157515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5929690738610157515'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/02/how-to-enable-tuntap-device-with-nat.html' title='How to enable tun/tap device with nat'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-7979746550602354584</id><published>2010-01-26T17:44:00.002+05:30</published><updated>2010-01-26T17:44:32.697+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='add a new hard disk to linux server'/><title type='text'>How to add a new hdd to linux server.</title><content type='html'>Issue the command&amp;nbsp; fdisk -l,&amp;nbsp; you can see the new hard disk connected to the server.&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;----------------------------------------------------&lt;br /&gt;Disk /dev/sda: 1500.3 GB, 1500301910016 bytes&lt;br /&gt;255 heads, 63 sectors/track, 182401 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; Device Boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks&amp;nbsp;&amp;nbsp; Id&amp;nbsp; System&lt;br /&gt;/dev/sda1&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 104391&amp;nbsp;&amp;nbsp; 83&amp;nbsp; Linux&lt;br /&gt;/dev/sda2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 182401&amp;nbsp; 1465031610&amp;nbsp;&amp;nbsp; 8e&amp;nbsp; Linux LVM&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes&lt;br /&gt;255 heads, 63 sectors/track, 182401 cylinders&lt;br /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;br /&gt;&lt;br /&gt;Disk /dev/sdb doesn't contain a valid partition table&lt;br /&gt;-------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Then you need to create a partition in the new server. Using the command 'n', you can create a new partition. Select the partition number and issue the command "w" to write write the partition.&lt;br /&gt;&lt;br /&gt;------------------------------------------------------&lt;br /&gt;Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel&lt;br /&gt;Building a new DOS disklabel. Changes will remain in memory only,&lt;br /&gt;until you decide to write them. After that, of course, the previous&lt;br /&gt;content won't be recoverable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The number of cylinders for this disk is set to 182401.&lt;br /&gt;There is nothing wrong with that, but this is larger than 1024,&lt;br /&gt;and could in certain setups cause problems with:&lt;br /&gt;1) software that runs at boot time (e.g., old versions of LILO)&lt;br /&gt;2) booting and partitioning software from other OSs&lt;br /&gt;&amp;nbsp;&amp;nbsp; (e.g., DOS FDISK, OS/2 FDISK)&lt;br /&gt;Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Command (m for help): n&lt;br /&gt;Command action&lt;br /&gt;&amp;nbsp;&amp;nbsp; e&amp;nbsp;&amp;nbsp; extended&lt;br /&gt;&amp;nbsp;&amp;nbsp; p&amp;nbsp;&amp;nbsp; primary partition (1-4)&lt;br /&gt;e&lt;br /&gt;Partition number (1-4):&lt;br /&gt;Value out of range.&lt;br /&gt;Partition number (1-4): 1&lt;br /&gt;First cylinder (1-182401, default 1):&lt;br /&gt;Using default value 1&lt;br /&gt;Last cylinder or +size or +sizeM or +sizeK (1-182401, default 182401):&lt;br /&gt;Using default value 182401&lt;br /&gt;&lt;br /&gt;Command (m for help): w&lt;br /&gt;The partition table has been altered!&lt;br /&gt;&lt;br /&gt;Calling ioctl() to re-read partition table.&lt;br /&gt;Syncing disks.&lt;br /&gt;&lt;br /&gt;----------------------------------&lt;br /&gt;&lt;br /&gt;Then you have to create a file system in the new hard disk.&lt;br /&gt;mkfs -t ext3 /dev/sdb1&amp;nbsp; or mkfs.ext3 /dev/sdb1&lt;br /&gt;&lt;br /&gt;------------------------------------------&lt;br /&gt;[root@localhost ~]# mkfs.ext3 /dev/sdb1&lt;br /&gt;mke2fs 1.39 (29-May-2006)&lt;br /&gt;Filesystem label=&lt;br /&gt;OS type: Linux&lt;br /&gt;Block size=4096 (log=2)&lt;br /&gt;Fragment size=4096 (log=2)&lt;br /&gt;183091200 inodes, 366181585 blocks&lt;br /&gt;18309079 blocks (5.00%) reserved for the super user&lt;br /&gt;First data block=0&lt;br /&gt;Maximum filesystem blocks=0&lt;br /&gt;11175 block groups&lt;br /&gt;32768 blocks per group, 32768 fragments per group&lt;br /&gt;16384 inodes per group&lt;br /&gt;Superblock backups stored on blocks:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 102400000, 214990848&lt;br /&gt;&lt;br /&gt;Writing inode tables: done&lt;br /&gt;Creating journal (32768 blocks): done&lt;br /&gt;Writing superblocks and filesystem accounting information:&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;This filesystem will be automatically checked every 32 mounts or&lt;br /&gt;180 days, whichever comes first.&amp;nbsp; Use tune2fs -c or -i to override.&lt;br /&gt;---------------------------------------------&lt;br /&gt;&lt;br /&gt;Then you have to mount the hard disk to the directory /home1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mount /dev/sdb1 /home1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-7979746550602354584?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/7979746550602354584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/how-to-add-new-hdd-to-linux-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7979746550602354584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7979746550602354584'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/how-to-add-new-hdd-to-linux-server.html' title='How to add a new hdd to linux server.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6482960567160853911</id><published>2010-01-25T04:18:00.000+05:30</published><updated>2010-01-25T04:18:04.811+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Exim : 451-The server has reached its limit for processing requests from your host.n451 Please try again later'/><category scheme='http://www.blogger.com/atom/ns#' term='retry time not reached for any host after a long failure period'/><title type='text'>Exim : 451-The server has reached its limit for processing requests from your host.n451 Please try again later.</title><content type='html'>451-The server has reached its limit for processing requests from your host.n451 Please try again later.&lt;br /&gt;&lt;br /&gt;its probably exim's ratelimiting, add your servers IP's to the whitelist in WHM &amp;gt; Exim Configuration&lt;br /&gt;&lt;br /&gt;Also check the value of the 'Maximum Emails a Domain Can Send In 1 Hour' value in WHM &amp;gt; Tweak Settings&lt;br /&gt;&lt;br /&gt;retry time not reached for any host after a long failure period&lt;br /&gt;&lt;br /&gt;exim_tidydb -t 10m /var/spool/exim retry&lt;br /&gt;exim_tidydb -t 10m /var/spool/exim wait-remote_smtp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6482960567160853911?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6482960567160853911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/exim-451-server-has-reached-its-limit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6482960567160853911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6482960567160853911'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/exim-451-server-has-reached-its-limit.html' title='Exim : 451-The server has reached its limit for processing requests from your host.n451 Please try again later.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-6727609505116542693</id><published>2010-01-24T09:28:00.000+05:30</published><updated>2010-01-24T09:28:05.407+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='creating swapfile'/><title type='text'>How to create a swap file</title><content type='html'>To add a swap file:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;                    Determine the size of the new swap file in megabytes and multiply  by 1024 to determine the number of blocks. For example, the block size  of a 64 MB swap file is 65536.      &lt;br /&gt;&lt;/li&gt;&lt;li&gt;                    At a shell prompt as root, type the following command with &lt;code class="command"&gt;count&lt;/code&gt; being equal to the desired block size:      &lt;br /&gt;&lt;pre class="screen"&gt;&lt;code class="command"&gt;dd if=/dev/zero of=/swapfile bs=1024 count=65536&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;                    Setup the swap file with the command:      &lt;br /&gt;&lt;pre class="screen"&gt;&lt;code class="command"&gt;mkswap /swapfile&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;                    To enable the swap file immediately but not automatically at boot  time:      &lt;br /&gt;&lt;pre class="screen"&gt;&lt;code class="command"&gt;swapon /swapfile&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;                    To enable it at boot time, edit &lt;code class="filename"&gt;/etc/fstab&lt;/code&gt;  to include the following entry:      &lt;br /&gt;&lt;pre class="screen"&gt;&lt;code class="computeroutput"&gt;/swapfile swap swap defaults 0 0&lt;/code&gt;&lt;br /&gt;&lt;/pre&gt;The next time the system boots, it enables the new swap file.      &lt;br /&gt;&lt;/li&gt;&lt;li&gt;                    After adding the new swap file and enabling it, verify it is  enabled by viewing the output of the command &lt;code class="command"&gt;cat  /proc/swaps&lt;/code&gt; or &lt;code class="command"&gt;free&lt;/code&gt;.      &lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-6727609505116542693?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/6727609505116542693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/how-to-create-swap-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6727609505116542693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/6727609505116542693'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/how-to-create-swap-file.html' title='How to create a swap file'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5914920755973218441</id><published>2010-01-24T08:55:00.000+05:30</published><updated>2010-01-24T08:55:33.426+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='tcp vs udp'/><title type='text'>TCP vs UDP</title><content type='html'>&lt;span style="color: #996633;"&gt;&lt;em&gt;&lt;b&gt;TCP: &lt;/b&gt;&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #996633;"&gt;&lt;em&gt;Reliability&lt;/em&gt;&lt;/span&gt;: TCP  is connection-oriented protocol. When a file or message send it will  get delivered unless connections fails. If connection lost, the server  will request the lost part. There is no corruption while transferring a  message. &lt;br /&gt;&lt;br /&gt;&lt;span style="color: #996633;"&gt;&lt;em&gt;Ordered&lt;/em&gt;&lt;/span&gt;: If you  send two messages along a connection, one after the other, you know the  first message will get there first. You don't have to worry about data  arriving in the wrong order.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #996633;"&gt;&lt;em&gt;Heavyweight&lt;/em&gt;&lt;/span&gt;: -  when the low level parts of the TCP "stream" arrive in the wrong order,  resend requests have to be sent, and all the out of sequence parts have  to be put back together, so requires a bit of work to piece together.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #996633;"&gt;&lt;em&gt;Streaming&lt;/em&gt;&lt;/span&gt;:  Data  is read as a "stream," with nothing distinguishing where one packet  ends and another begins. There may be multiple packets per read call.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #996633;"&gt;&lt;em&gt;Examples&lt;/em&gt;&lt;/span&gt;:  World  Wide Web (Apache TCP port 80), e-mail (SMTP TCP port 25 Postfix MTA),  File Transfer Protocol (FTP port 21) and Secure Shell (OpenSSH port 22)  etc. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;UDP&lt;/b&gt;:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #996633;"&gt;&lt;em&gt;Reliability&lt;/em&gt;&lt;/span&gt;: UDP  is connectionless protocol. When you a send a data or message, you  don't know if it'll get there, it could get lost on the way. There may  be  corruption while transferring a message.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #996633;"&gt;&lt;em&gt;Ordered&lt;/em&gt;&lt;/span&gt;: If you  send two messages out, you don't know what order they'll arrive in i.e. &lt;strong&gt;no  ordered&lt;/strong&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #996633;"&gt;&lt;em&gt;Lightweight&lt;/em&gt;&lt;/span&gt;: No  ordering of messages, no tracking connections, etc. It's just fire and  forget! This means it's a lot quicker, and the network card / OS have to  do very little work to translate the data back from the packets.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #996633;"&gt;&lt;em&gt;Datagrams&lt;/em&gt;&lt;/span&gt;:   Packets are sent individually and are guaranteed to be whole if they  arrive. One packet per one read call.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #996633;"&gt;&lt;em&gt;Examples&lt;/em&gt;&lt;/span&gt;:   Domain Name System (DNS UDP port 53), streaming media applications such  as IPTV or movies, Voice over IP (VoIP), Trivial File Transfer Protocol  (TFTP) and online multiplayer games etc&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5914920755973218441?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5914920755973218441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/tcp-vs-udp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5914920755973218441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5914920755973218441'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/tcp-vs-udp.html' title='TCP vs UDP'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3935959536610601832</id><published>2010-01-24T08:39:00.000+05:30</published><updated>2010-01-24T08:39:03.114+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ssh secure hardening'/><title type='text'>Simple steps for SSH Server Hardening.</title><content type='html'>SSH Server Hardening in one of the security part to secure your  server.Refer following steps to secure SSH.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: maroon;"&gt;root@serevr[~]#pico  /etc/ssh/sshd_config&lt;/span&gt;&lt;br /&gt;Uncomment&amp;nbsp; #Protocol 2, 1&lt;br /&gt;Change to Protocol 2&lt;br /&gt;Append these lines to the bottom:&lt;br /&gt;LoginGraceTime 120&lt;br /&gt;IgnoreRhosts yes&lt;br /&gt;X11Forwarding no&lt;br /&gt;&lt;br /&gt;Save file and restart the SSH service.&lt;br /&gt;&lt;span style="color: maroon;"&gt;root@serevr[~]#/etc/rc.d/init.d/sshd  restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: maroon;"&gt;Note : &lt;/span&gt;SSH Protocol one&amp;nbsp;  based servers are  facing many automated root kits attacks.As a result  to step up the security Protcol 2 should be enabled on server.The reason  to use SSH Protocol 2 on any webserver is that it is more secure as  compare to protocol 1.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3935959536610601832?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3935959536610601832/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/simple-steps-for-ssh-server-hardening.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3935959536610601832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3935959536610601832'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/simple-steps-for-ssh-server-hardening.html' title='Simple steps for SSH Server Hardening.'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5126245699090933030</id><published>2010-01-22T19:00:00.002+05:30</published><updated>2010-01-22T19:00:58.461+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='sed'/><title type='text'>Basic sed tricks</title><content type='html'>&lt;div class="entry-content"&gt;                       &lt;ol&gt;&lt;li&gt;&lt;b&gt;What is sed?&lt;/b&gt; - sed is &lt;b&gt;s&lt;/b&gt;tream &lt;b&gt;ed&lt;/b&gt;itor, a Unix tool for working with streams of text data. See &lt;a href="http://www.grymoire.com/Unix/Sed.html#toc-uh-0"&gt;the awful truth about sed&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How do you substitute strings with sed?&lt;/b&gt; - Use ’s/old/new’ command, so sed ’s/hello/goodbye/’ would substitute the occurrence of the word hello to goodbye.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How do you inject text with sed?&lt;/b&gt; - &amp;amp; in the substitution string defines the pattern found in the search string. As an example, here’s us trying to find a word ‘hello’ and replacing it with ‘hello and how are you’:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo ‘hello there’ | sed ’s/^hello/&amp;amp; and how are you/’&lt;/li&gt;&lt;li&gt;&lt;b&gt;Can I find several patterns and refer to them in the replacement string&lt;/b&gt;? - Yes, use (pattern) and then refer to your patterns as \1, \2, \3 and so on.&lt;/li&gt;&lt;li&gt;&lt;b&gt;If the string is ‘old old old’ and I run ’s/old/new’, I get ‘new old old’ as the result. I need ‘new new new&lt;/b&gt;‘. - You forgot the global modifier, which would replace every occurrence of the pattern with the substitution. ’s/old/new/&lt;b&gt;g&lt;/b&gt;‘ will work.&lt;/li&gt;&lt;li&gt;&lt;b&gt;But I want ‘old old new’ from the previous example&lt;/b&gt;. - Just use the numeric modifier saying you want the third occurrence to be replaced. ’s/old/new/&lt;b&gt;3&lt;/b&gt;‘ will work.&lt;/li&gt;&lt;li&gt;&lt;b&gt;I wrote a rather complex sed script. How do I save and run it&lt;/b&gt;? - Assuming that your file is named myscript1.sed, you can invoke sed -f myscript1.sed.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How do I delete trailing whitespaces from each line&lt;/b&gt;? - sed ’s/[ \t]*$//’ Here we’re replacing any occurrence of a space or a tab with nothing. Check &lt;a href="http://www.catonmat.net/blog/wp-content/uploads/2008/09/sed1line.txt"&gt;sed one-liners&lt;/a&gt; for more examples.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How do you print just a few first lines of the file&lt;/b&gt;? - sed 1q will give you just the first line, sed 10q the first 10 lines.&lt;/li&gt;&lt;li&gt;&lt;b&gt;How do you replace a pattern only if it’s found, so that it’s executed faster&lt;/b&gt;? - Nest the replacement statement: sed ‘/old/ s/old/new/g’ file.txt&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5126245699090933030?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5126245699090933030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/basic-sed-tricks.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5126245699090933030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5126245699090933030'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/basic-sed-tricks.html' title='Basic sed tricks'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-1580055136429403224</id><published>2010-01-22T06:26:00.000+05:30</published><updated>2010-01-22T06:26:06.466+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='assign a range of IP&apos;s to server'/><title type='text'>How to assign a range of IP's to server</title><content type='html'>Create a file /etc/sysconfig/network-scripts/ifcfg-eth0-range0 add the following entries&lt;br /&gt;&lt;br /&gt;IPADDR_START=192.168.0.0&lt;br /&gt;IPADDR_END=192.168.0.100&lt;br /&gt;CLONENUM_START=1&lt;br /&gt;&lt;br /&gt;Save it and restart network&lt;br /&gt;/etc/init.d/network restart&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-1580055136429403224?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/1580055136429403224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/how-to-assign-range-of-ips-to-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1580055136429403224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1580055136429403224'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/how-to-assign-range-of-ips-to-server.html' title='How to assign a range of IP&apos;s to server'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-7278214939968138098</id><published>2010-01-20T18:51:00.000+05:30</published><updated>2010-01-20T18:51:11.091+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='email limit for a domain'/><category scheme='http://www.blogger.com/atom/ns#' term='maildir and mbox'/><title type='text'>Mbox vs Maildir: Mail Storage Formats</title><content type='html'>The Unix world has two ways of storing mail messages, the traditional mbox format and the newer maildir format. Postfix and Dovecot supports the two mail storage format so you can use any format, but I highly recommend you use the maildir format.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Mbox Format:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This is the traditional way of storing mail messages in the Unix world. In this format, a regular text file which serves as the mail user’s mailbox file is created.&lt;br /&gt;&lt;br /&gt;How Mbox works&lt;br /&gt;Receiving and storing a mail&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. Lock the mailbox.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2. Append the header (usually “From [sender's email address] [date and time received]“) and the mail into the mailbox file.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 3. Unlock the mailbox.&lt;br /&gt;&lt;br /&gt;Retrieving a mail&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. Lock the mailbox.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2. Locate and read the mail.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 3. Update the mail status flag.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4. Unlock the mailbox.&lt;br /&gt;&lt;br /&gt;Deleting a mail&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. Lock the mailbox.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2. Move the contents of the mailbox, beginning from the position right after the mail to be deleted until the end of the mailbox, into the position of the mail to be deleted.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 3. Reduce the size of the mailbox file by the size of the deleted mail.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4. Unlock the mailbox.&lt;br /&gt;&lt;br /&gt;Searching a mail&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. Lock the mailbox.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2. Search the mailbox.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 3. Unlock the mailbox.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advantages&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Format is universally supported.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Appending a new mail into the mailbox file is fast.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Searching text inside a single mailbox file is fast.&lt;br /&gt;&lt;br /&gt;Disadvantages&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Has file locking problems.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Has problems when used with network file systems.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Format is prone to corruption.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The Maildir Format&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This is a new way of storing mail messages. In this format, a directory usually named Maildir is created for each mail user. &lt;br /&gt;Under this directory are three more directories named new, cur and tmp.&lt;br /&gt;&lt;br /&gt;How Maildir works&lt;br /&gt;Receiving and storing a mail&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. Create a unique file in the tmp directory.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2. Write the mail into the newly created file.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 3. Move the completely written mail into the new directory.&lt;br /&gt;&lt;br /&gt;Retrieving a mail&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. Locate and read the mail.&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2. Move the mail from new into the cur directory and append the mail status flag into the filename.&lt;br /&gt;&lt;br /&gt;Deleting a mail&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. Delete the file containing the mail.&lt;br /&gt;&lt;br /&gt;Searching a mail&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. Search each and every mail file.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Advantages&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Locating, retrieving and deleting a specific mail is fast.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Minimal to no file locking needed.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Can be used on network file system.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Immune to mailbox corruption (assuming the hardware will not fail).&lt;br /&gt;&lt;br /&gt;Disadvantages&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Some filesystems may not efficiently handle a large number of small files.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Searching text, which requires all mail files to be opened is slow.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-7278214939968138098?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/7278214939968138098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/mbox-vs-maildir-mail-storage-formats.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7278214939968138098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7278214939968138098'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/mbox-vs-maildir-mail-storage-formats.html' title='Mbox vs Maildir: Mail Storage Formats'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-7024875791133402010</id><published>2010-01-20T18:27:00.000+05:30</published><updated>2010-01-20T18:27:30.129+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='semaphore'/><category scheme='http://www.blogger.com/atom/ns#' term='unable to start apache'/><title type='text'>Unable to start apache " pid file /usr/local/apache/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run? semget: No space left on device"</title><content type='html'>If you are unable to start apache and you are getting the error log as &lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset; height: 50px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;"&gt;[Sat Oct 10 00:11:01 2008] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run?&lt;br /&gt;semget: No space left on device&lt;/pre&gt;&amp;nbsp; &lt;br /&gt;It means There is no more space left in Semaphore Arrays for Apache.&lt;br /&gt;&lt;b&gt;semaphore &lt;/b&gt;is a location in memory whose value can be tested and set by more than one process.&lt;br /&gt;you can check the semaphore arrays on your server using the following command&lt;br /&gt;&lt;br /&gt;ipcs -s&lt;br /&gt;&lt;br /&gt;It results &lt;br /&gt;&lt;br /&gt;------ Semaphore Arrays --------&lt;br /&gt;key        semid      owner      perms      nsems&lt;br /&gt;0x00000000 360448     nobody    600        1&lt;br /&gt;0x00000000 393217     nobody    600        1&lt;br /&gt;0x00000000 425986     nobody    600        1&lt;br /&gt;0x00000000 458755     nobody    600        1&lt;br /&gt;0x00000000 524292     nobody    600        1&lt;br /&gt;0x00000000 1114117    nobody    600        1&lt;br /&gt;0x00000000 1441798    nobody    600        1&lt;br /&gt;0x00000000 3604487    nobody    600        1&lt;br /&gt;0x00000000 3702792    nobody    600        1&lt;br /&gt;0x00000000 3768329    nobody    600        1&lt;br /&gt;0x00000000 6422538    nobody    600        1&lt;br /&gt;0x00000000 7077899    nobody    600        1&lt;br /&gt;&lt;br /&gt;If here you get big list of  semaphores it means  some semaphores are stuck. You can clear them out with this command:&lt;br /&gt;&lt;br /&gt;for i in `ipcs -s | awk '/nobody/ {print $2}'`; do (ipcrm -s $i); done&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Restart apache&lt;br /&gt;#/etc/init.d/httpd restart&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-7024875791133402010?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/7024875791133402010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/unable-to-start-apache-pid-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7024875791133402010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7024875791133402010'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/unable-to-start-apache-pid-file.html' title='Unable to start apache &quot; pid file /usr/local/apache/logs/httpd.pid overwritten — Unclean shutdown of previous Apache run? semget: No space left on device&quot;'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8397372286909863784</id><published>2010-01-05T20:20:00.000+05:30</published><updated>2010-01-05T20:20:49.925+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='open vz'/><category scheme='http://www.blogger.com/atom/ns#' term='VPS : tty device is not owned by group `tty’'/><title type='text'>VPS : tty device is not owned by group `tty’</title><content type='html'>If you’re unable to SSH into a VPS server, try accessing the VPS from the OpenVZ hardware node.&lt;br /&gt;&lt;br /&gt;    [root@VS ~]# vzctl enter VID&lt;br /&gt;    entered into VE 1022&lt;br /&gt;    mesg: error: tty device is not owned by group `tty’&lt;br /&gt;&lt;br /&gt;Here you can see that there is an error related to tty. This error can be resolved by changing the group of the tty files.&lt;br /&gt;&lt;br /&gt;vzctl exec VIS'chgrp tty /dev/ttyp* /dev/ptyp*'&lt;br /&gt;&lt;br /&gt;There can be many other reasons related to SSH failures.&lt;br /&gt;&lt;br /&gt;You might like check on udev package also (You will normally find this issue on CentOS5)&lt;br /&gt;&lt;br /&gt;    Find the udev rpm on the VPS server,&lt;br /&gt;&lt;br /&gt;    root@vps1 [/]# rpm -qa | grep udev&lt;br /&gt;    udev-095-14.16.el5&lt;br /&gt;&lt;br /&gt;    Remove it from the server&lt;br /&gt;    root@vps1 [/]# rpm -e –nodeps udev&lt;br /&gt;&lt;br /&gt;Once this is done, your SSH should start working fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8397372286909863784?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8397372286909863784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/vps-tty-device-is-not-owned-by-group.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8397372286909863784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8397372286909863784'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2010/01/vps-tty-device-is-not-owned-by-group.html' title='VPS : tty device is not owned by group `tty’'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3190830663732766301</id><published>2009-12-23T21:31:00.000+05:30</published><updated>2009-12-23T21:31:01.474+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='install fantastico'/><category scheme='http://www.blogger.com/atom/ns#' term='cpanel'/><title type='text'>Installing fantastico on a cPanel Server</title><content type='html'>Here are the steps:-&lt;br /&gt;============&lt;br /&gt;&lt;br /&gt;Login to server WHM &gt;&gt; Plugins &gt;&gt; Fantastico De Luxe WHM Admin &gt;&gt; Click here &gt;&gt; Select a version from the drop down menu &gt;&gt; Follow the remaining installation steps, using the default information.&lt;br /&gt;&lt;br /&gt;If the Fantastico install option is not available,then we have to download Fantastico manually onto our server.&lt;br /&gt;&lt;br /&gt;=========================================&lt;br /&gt;1) Login to the server via ssh&lt;br /&gt;&lt;br /&gt;2) Change the  folder using the command:&lt;br /&gt;&lt;br /&gt;[root@localhost ~]#cd /usr/local/cpanel/whostmgr/docroot/cgi&lt;br /&gt;&lt;br /&gt;3) Download the Fantastico install file using the command&lt;br /&gt;&lt;br /&gt;[root@localhost ~]#wget http://www.netenberg.com/files/free/fantastico_whm_admin.tgz&lt;br /&gt;&lt;br /&gt;4) Extract the install file using the command:&lt;br /&gt;&lt;br /&gt;[root@localhost ~]#tar -xzpf fantastico_whm_admin.tgz&lt;br /&gt;&lt;br /&gt;5) Remove the install file using the command:&lt;br /&gt;&lt;br /&gt;[root@localhost ~]#rm -rf fantastico_whm_admin.tgz&lt;br /&gt;&lt;br /&gt;6) Log out of the SSH connection.&lt;br /&gt;&lt;br /&gt;7) log back into cPanel.&lt;br /&gt;&lt;br /&gt;8)Go through  Plugins &gt;&gt; Fantastico De Luxe WHM Admin&lt;br /&gt;&lt;br /&gt;9) Continue the install using the above mentioned steps.&lt;br /&gt;========================================&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3190830663732766301?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3190830663732766301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/installing-fantastico-on-cpanel-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3190830663732766301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3190830663732766301'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/installing-fantastico-on-cpanel-server.html' title='Installing fantastico on a cPanel Server'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2285381423554884548</id><published>2009-12-23T21:28:00.002+05:30</published><updated>2009-12-23T21:28:31.448+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='fantastico'/><category scheme='http://www.blogger.com/atom/ns#' term='cpanel'/><title type='text'>Fantastico Showing Blank Page</title><content type='html'>Fantastico is showing blank page after installation.New installation was  also giving the blank page.&lt;br /&gt;&lt;br /&gt;FIX:-&lt;br /&gt;====&lt;br /&gt;Change the following on config.php file.&lt;br /&gt;&lt;br /&gt;#define(”PLUGIN_ROOTDIR”,”/tmp”);&lt;br /&gt;define(”PLUGIN_ROOTDIR”,”plugins”);&lt;br /&gt;&lt;br /&gt;Cause:-&lt;br /&gt;The server is PHP-SUEXEC enabled so the plugin_rootdir should be given&lt;br /&gt;as “plugins” in config.php file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2285381423554884548?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2285381423554884548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/fantastico-showing-blank-page.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2285381423554884548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2285381423554884548'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/fantastico-showing-blank-page.html' title='Fantastico Showing Blank Page'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-400833726932394663</id><published>2009-12-23T20:21:00.000+05:30</published><updated>2009-12-23T20:21:18.139+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='joomla site'/><category scheme='http://www.blogger.com/atom/ns#' term='memory issue'/><title type='text'>Fix for memory limit error in joomla site</title><content type='html'>You could see memory limit error on joomla sites. Even though you increase memory limit on php.ini file, it will not solve.&lt;br /&gt;&lt;br /&gt;In Apache error logs you can find the following:-&lt;br /&gt;&lt;br /&gt;===================================================&lt;br /&gt;[Wed Feb 6 05:56:26 2008] [error] (22)Invalid argument: setrlimit: failed to set memory limit&lt;br /&gt;[Wed Feb 7 09:48:26 2008] [error] (22)Invalid argument: setrlimit: failed to set memory limit&lt;br /&gt;===================================================&lt;br /&gt;Fix:-&lt;br /&gt;Remove the following entries from apache configuration file.&lt;br /&gt;&lt;br /&gt;1. RLimitMEM 519640064&lt;br /&gt;2. RLimitCPU 240&lt;br /&gt;&lt;br /&gt;Restart apache after this. This will fix the issue&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-400833726932394663?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/400833726932394663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/fix-for-memory-limit-error-in-joomla.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/400833726932394663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/400833726932394663'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/fix-for-memory-limit-error-in-joomla.html' title='Fix for memory limit error in joomla site'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-2789055673171203323</id><published>2009-12-23T20:16:00.002+05:30</published><updated>2009-12-23T20:16:56.007+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='fantastico'/><category scheme='http://www.blogger.com/atom/ns#' term='cpanel'/><title type='text'>Error "This application is currently not available” in fantastico</title><content type='html'>The user is  getting the following error while accessing fantastico :&lt;br /&gt;This application is currently not available&lt;br /&gt;&lt;br /&gt;Fix:-&lt;br /&gt;====&lt;br /&gt;You have to make register_global = On in /usr/local/cpanel/3rdparty/etc/php.ini&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-2789055673171203323?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/2789055673171203323/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/error-this-application-is-currently-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2789055673171203323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/2789055673171203323'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/error-this-application-is-currently-not.html' title='Error &quot;This application is currently not available” in fantastico'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-1375264848573272652</id><published>2009-12-23T20:14:00.000+05:30</published><updated>2009-12-23T20:14:09.481+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='connect mysql from remote server'/><category scheme='http://www.blogger.com/atom/ns#' term='fantastico'/><category scheme='http://www.blogger.com/atom/ns#' term='cpanel'/><title type='text'>“cannot connect to mysql ” in fantastico</title><content type='html'>If you are getting an error like “cannot connect to mysql ” in fantastico&lt;br /&gt;then check if the soft link is there in /tmp. If there is no softlink.Issue the following command:-&lt;br /&gt;&lt;br /&gt;[root@bigboy ~]#ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-1375264848573272652?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/1375264848573272652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/cannot-connect-to-mysql-in-fantastico.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1375264848573272652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1375264848573272652'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/cannot-connect-to-mysql-in-fantastico.html' title='“cannot connect to mysql ” in fantastico'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-1800256524749631400</id><published>2009-12-23T19:56:00.000+05:30</published><updated>2009-12-23T19:56:01.906+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='named'/><category scheme='http://www.blogger.com/atom/ns#' term='FTP'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='exim'/><category scheme='http://www.blogger.com/atom/ns#' term=': cPanel'/><category scheme='http://www.blogger.com/atom/ns#' term='Configuration files in cpanel server'/><title type='text'>Configuration files in cpanel server</title><content type='html'>Apache:-&lt;br /&gt;&lt;br /&gt;/usr/local/apache/ bin-&gt;Apache binaries are stored here&lt;br /&gt;/usr/local/apache/conf–&gt;configuration files – httpd.conf&lt;br /&gt;/usr/local/apache/cgi-bin-&gt;Cgi bin directory&lt;br /&gt;/usr/local/apache/domlogs–&gt;domain log files are stored here&lt;br /&gt;/usr/local/apache/htdocs-&gt;default doucument root of the server&lt;br /&gt;/usr/local/apache/include–&gt;contains header files&lt;br /&gt;/usr/local/apache/modules–&gt;Contains shared object (.so) files&lt;br /&gt;/usr/local/apache/logs–&gt;apache logs contains access_log, errorlog and suexec_log&lt;br /&gt;&lt;br /&gt;Exim:-&lt;br /&gt;&lt;br /&gt;-&gt;/etc/exim.conf – exim  configuration file&lt;br /&gt;-&gt;/etc/localdomains – list of  the domains which are  allowed to relay mail&lt;br /&gt;-&gt;/var/log/exim_mainlog – exim main log file&lt;br /&gt;-&gt; /var/log/exim_rejectlog – Contains the logs for the rejected mails.&lt;br /&gt;-&gt;/var/log/exim_paniclog – Contains exim errors&lt;br /&gt;-&gt;/var/spool/exim/input-Mail queue for exim&lt;br /&gt;-&gt;/etc/valiases/domainname.com- Email forwarders and catchall.&lt;br /&gt;-&gt;/etc/vfilters/domainname.com-Email filter&lt;br /&gt;-&gt;/home/username/etc/domainname/passwd-POP authentication file&lt;br /&gt;&lt;br /&gt;ProFTPD:-&lt;br /&gt;&lt;br /&gt;-&gt; /etc/proftpd-configuration file&lt;br /&gt;-&gt;/var/log/messages-ftp logs&lt;br /&gt;-&gt;/etc/proftpd/username- All the ftp accounts and password will be listed here.&lt;br /&gt;&lt;br /&gt;Pure-FTPD:-&lt;br /&gt;&lt;br /&gt;-&gt;/etc/pure-ftpd.conf-Pureftpd configuration file.&lt;br /&gt;-&gt;/etc/pure-ftpd/ip-address-document root for the anonymous ftp&lt;br /&gt;&lt;br /&gt;Mysql:-&lt;br /&gt;&lt;br /&gt;/etc/my.cnf-&gt;configuration file&lt;br /&gt;/root/.my.cnf-&gt;Contains the root password&lt;br /&gt;/var/lib/mysql –Data directory which contains all the MySql databases.&lt;br /&gt;&lt;br /&gt;SSHD:-&lt;br /&gt;&lt;br /&gt;/etc/ssh/sshd_config-&gt;configuarton file&lt;br /&gt;/var/log/messages-&gt; Log file&lt;br /&gt;/etc/banner-&gt;Contains the banner to be displayed&lt;br /&gt;&lt;br /&gt;Named:-&lt;br /&gt;&lt;br /&gt;/etc/named.conf-&gt;Main configuration file&lt;br /&gt;/var/named-&gt;Directory which contains the db records&lt;br /&gt;/var/log/messages-&gt; Log file&lt;br /&gt;&lt;br /&gt;Cpanel Configuration files:-&lt;br /&gt;&lt;br /&gt;/usr/local/cpanel-/bin –&gt; cpanel binaries&lt;br /&gt;/usr/local/cpanel/cgi-sys –&gt; Contains cgi files like formmail.cgi etc&lt;br /&gt;/usr/local/cpanel-/base –&gt; phpmyadmin, squirrelmail, skins, webmail etc&lt;br /&gt;/usr/local/cpanel-/logs -&gt;  cpanel access log, error log etc&lt;br /&gt;/usr/local/cpanel/ 3rdparty/ –Fantastico,mailman files are located here&lt;br /&gt;/usr/local/cpanel-/addons –&gt; AdvancedGuestBook, phpBB etc&lt;br /&gt;/var/cpanel/users/username – &gt;cpanel user file&lt;br /&gt;/var/cpanel/cpanel.config –&gt; cpanel configuration file.&lt;br /&gt;/var/cpanel/resellers –&gt; Reseller configuration files.&lt;br /&gt;/var/log/dcpumon –&gt; Top log process&lt;br /&gt;/etc/wwwacct.conf –&gt; account creation default file&lt;br /&gt;/etc/cpupdate.conf – &gt;cPanel Updation Config file&lt;br /&gt;/etc/cpbackup.conf –&gt; Backup configuration file&lt;br /&gt;/var/cpanel/bandwidth –&gt; Contains bandwidth usage details of the domains.&lt;br /&gt;&lt;br /&gt;Name server and IP configuration files:-&lt;br /&gt;&lt;br /&gt;/etc/sysconfig/network –Network configuration files&lt;br /&gt;/etc/hosts-&gt;Contains hostname of the server&lt;br /&gt;/etc/resolv.conf –&gt; Resolver Configuration&lt;br /&gt;/etc/nameserverips –&gt;Contains the name server IP details&lt;br /&gt;/etc/ips –&gt;List of all the  ip addresses except the shared ip on the server.&lt;br /&gt;/etc/ipaddrpool – &gt;ip addresses which are free&lt;br /&gt;/etc/ips.dnsmaster –&gt; name server ips&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-1800256524749631400?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/1800256524749631400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/configuration-files-in-cpanel-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1800256524749631400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/1800256524749631400'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/configuration-files-in-cpanel-server.html' title='Configuration files in cpanel server'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-7275273828222422351</id><published>2009-12-23T18:56:00.003+05:30</published><updated>2009-12-23T19:23:33.567+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='named'/><category scheme='http://www.blogger.com/atom/ns#' term='wild card dns'/><category scheme='http://www.blogger.com/atom/ns#' term='abhionlinux.co.cc'/><title type='text'>How to setup Wild Card Entry For a Domain</title><content type='html'>Edit the DNS zone file:-&lt;br /&gt;&lt;br /&gt;Open the zone db file corresponding to the domain (For eg, domain.com)&lt;br /&gt;[root@localhost ~]#vi /var/named/domain.com.db&lt;br /&gt;Add the following line:-&lt;br /&gt;================&lt;br /&gt;* IN A IPaddress&lt;br /&gt;=================&lt;br /&gt;save and exit&lt;br /&gt;restart named&lt;br /&gt;&lt;br /&gt;[root@localhost ~]# /etc/init.d/named restart&lt;br /&gt;&lt;br /&gt;Edit httpd conf file:-&lt;br /&gt;&lt;br /&gt;[root@localhost ~]#vi /usr/local/apache/conf/httpd.conf&lt;br /&gt;&lt;br /&gt;Add the following entry:-&lt;br /&gt;&lt;br /&gt;===================&lt;br /&gt;server alias *.domain.com&lt;br /&gt;===================&lt;br /&gt;&lt;br /&gt;save and exit&lt;br /&gt;&lt;br /&gt;restart httpd&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-7275273828222422351?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/7275273828222422351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/how-to-setup-wild-card-entry-for-domain.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7275273828222422351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/7275273828222422351'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/how-to-setup-wild-card-entry-for-domain.html' title='How to setup Wild Card Entry For a Domain'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3153786380904661235</id><published>2009-12-23T18:51:00.001+05:30</published><updated>2009-12-23T18:51:54.119+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='check DNS zone file'/><category scheme='http://www.blogger.com/atom/ns#' term='named.conf'/><category scheme='http://www.blogger.com/atom/ns#' term='abhionlinux.co.cc'/><title type='text'>How to check DNS zone file configuration for errors</title><content type='html'>You can use the named-checkzone command to check the zone db for errors:-&lt;br /&gt;&lt;br /&gt;[root@server]# named-checkzone abhionlinux.com /var/named/abhionlinux.com.db&lt;br /&gt;Output:-&lt;br /&gt;zone abhionlinux.com/IN: loaded serial 12&lt;br /&gt;OK&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;[root@server]# named-checkconf /etc/named.conf&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3153786380904661235?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3153786380904661235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/how-to-check-dns-zone-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3153786380904661235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3153786380904661235'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/how-to-check-dns-zone-file.html' title='How to check DNS zone file configuration for errors'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3914435857080903664</id><published>2009-12-23T18:33:00.002+05:30</published><updated>2009-12-23T18:33:52.907+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Install YUM in the server'/><title type='text'>Install YUM in the server</title><content type='html'>for file in \&lt;br /&gt;    gmp-4.1.4-10.el5.x86_64.rpm \&lt;br /&gt;    readline-5.1-1.1.x86_64.rpm \&lt;br /&gt;    python-2.4.3-21.el5.x86_64.rpm \&lt;br /&gt;    libxml2-2.6.26-2.1.2.1.x86_64.rpm \&lt;br /&gt;    libxml2-python-2.6.26-2.1.2.1.x86_64.rpm \&lt;br /&gt;    expat-1.95.8-8.2.1.x86_64.rpm \&lt;br /&gt;    python-elementtree-1.2.6-5.x86_64.rpm \&lt;br /&gt;    sqlite-3.3.6-2.x86_64.rpm \&lt;br /&gt;    python-sqlite-1.1.7-1.2.1.x86_64.rpm \&lt;br /&gt;    elfutils-0.125-3.el5.x86_64.rpm \&lt;br /&gt;    rpm-python-4.4.2-48.el5.x86_64.rpm \&lt;br /&gt;    m2crypto-0.16-6.el5.2.x86_64.rpm \&lt;br /&gt;    python-urlgrabber-3.1.0-2.noarch.rpm \&lt;br /&gt;    yum-3.2.8-9.el5.centos.1.noarch.rpm&lt;br /&gt;  do rpm -Uvh http://mirror.centos.org/centos-5/5.2/os/x86_64/CentOS/$file;&lt;br /&gt;done&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3914435857080903664?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3914435857080903664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/install-yum-in-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3914435857080903664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3914435857080903664'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/install-yum-in-server.html' title='Install YUM in the server'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3070382664686526329</id><published>2009-12-23T13:40:00.001+05:30</published><updated>2009-12-23T13:47:28.684+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='DB_RUNRECOVERY: Fatal error'/><category scheme='http://www.blogger.com/atom/ns#' term='run database recovery'/><category scheme='http://www.blogger.com/atom/ns#' term='yum'/><title type='text'>DB_RUNRECOVERY: Fatal error, run database recovery</title><content type='html'>If you are getting error message like this when you are trying to do an yum update.&lt;br /&gt;&lt;br /&gt;Error message like -&gt;&lt;br /&gt;============================================&lt;br /&gt;ror: error(-3097 getting "system-config-display.mo" records from Basenames index&lt;br /&gt;rpmdb: PANIC: fatal region error detected; run recovery&lt;br /&gt;error: db4 error(-3097 from dbcursor-&gt;c_get: DB_RUNRECOVERY: Fatal error, run database recovery&lt;br /&gt;error: error(-3097 getting "system-config-display.mo" records from Basenames index&lt;br /&gt;rpmdb: PANIC: fatal region error detected; run recovery&lt;br /&gt;error: db4 error(-3097 from dbcursor-&gt;c_get: DB_RUNRECOVERY: Fatal error, run database recovery&lt;br /&gt;error: error(-3097 getting "system-config-display.mo" records from Basenames index&lt;br /&gt;rpmdb: PANIC: fatal region error detected; run recovery&lt;br /&gt;error: db4 error(-3097 from dbcursor-&gt;c_get: DB_RUNRECOVERY: Fatal error, run database recovery&lt;br /&gt;error: error(-3097 getting "system-config-display.mo" records from Basenames index&lt;br /&gt;************************************************** *****&lt;br /&gt;&lt;br /&gt;try the following steps.&lt;br /&gt;&lt;br /&gt;rm -f /var/lib/rpm/__db*&lt;br /&gt;rpm -vv --rebuilddb&lt;br /&gt;rpm -Va&lt;br /&gt;yum update&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3070382664686526329?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3070382664686526329/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/dbrunrecovery-fatal-error-run-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3070382664686526329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3070382664686526329'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/dbrunrecovery-fatal-error-run-database.html' title='DB_RUNRECOVERY: Fatal error, run database recovery'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5896785089438389993</id><published>2009-12-22T19:57:00.000+05:30</published><updated>2009-12-22T19:57:41.053+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='increase the size of /tmp partition in Linux'/><title type='text'>How to increase the size of /tmp partition in Linux?</title><content type='html'>Proceed with the given steps:-&lt;br /&gt;========================&lt;br /&gt;1)Stop MySql service and process kill the tailwatchd process.&lt;br /&gt;&lt;br /&gt;[root@localhost ~]# /etc/init.d/mysqld stop&lt;br /&gt;Stopping MySQL:                                            [  OK  ]&lt;br /&gt;[root@localhost ~]#pstree -p | grep tailwatchd&lt;br /&gt;Find the tailwatchd process id and kill it&lt;br /&gt;[root@localhost ~]# kill -9 2522&lt;br /&gt;&lt;br /&gt;2)Take a backup of /tmp as /tmp.bak&lt;br /&gt;[root@localhost ~]#cp -prf /tmp /tmp.bak&lt;br /&gt;&lt;br /&gt;3)Create a 2GB file  in the avaliable freespace&lt;br /&gt;&lt;br /&gt;==============================&lt;br /&gt;[root@localhost dev]# dd if=/dev/zero of=/usr/tmpDSK bs=1024k count=2048&lt;br /&gt;2048+0 records in&lt;br /&gt;2048+0 records out&lt;br /&gt;2147483648 bytes (2.1 GB) copied, 73.6908 seconds, 29.1 MB/s&lt;br /&gt;==============================&lt;br /&gt;&lt;br /&gt;[root@localhost dev]# du -sch /usr/tmpDSK&lt;br /&gt;2.1G    /usr/tmpDSK&lt;br /&gt;2.1G    total&lt;br /&gt;&lt;br /&gt;4)Assign ext3 filesystem to the file&lt;br /&gt;====================================&lt;br /&gt;[root@localhost dev]# mkfs -t ext3 /usr/tmpDSK&lt;br /&gt;mke2fs 1.39 (29-May-2006)&lt;br /&gt;/usr/tmpDSK is not a block special device.&lt;br /&gt;Proceed anyway? (y,n) y&lt;br /&gt;Filesystem label=&lt;br /&gt;OS type: Linux&lt;br /&gt;262144 inodes, 524288 blocks&lt;br /&gt;26214 blocks (5.00%) reserved for the super user&lt;br /&gt;First data block=0&lt;br /&gt;Writing inode tables: done&lt;br /&gt;Creating journal (16384 blocks): done&lt;br /&gt;Writing superblocks and filesystem accounting information: done&lt;br /&gt;This filesystem will be automatically checked every 25 mounts or&lt;br /&gt;180 days, whichever comes first.  Use tune2fs -c or -i to override.&lt;br /&gt;====================================&lt;br /&gt;5) Check the file system type:-&lt;br /&gt;&lt;br /&gt;[root@localhost dev]# file /usr/tmpDSK&lt;br /&gt;&lt;br /&gt;/usr/tmpDSK: Linux rev 1.0 ext3 filesystem data (large files)&lt;br /&gt;Note:-&lt;br /&gt;=====&lt;br /&gt;You may also  use the following comands for making ext3 file system on a file:&lt;br /&gt;[root@localhost dev]#mkfs.ext3 /usr/tmpDSK&lt;br /&gt;[root@localhost dev]#mke2fs  /usr/tmpDSK&lt;br /&gt;&lt;br /&gt;6)Unmount /tmp partition&lt;br /&gt;&lt;br /&gt;[root@localhost dev]#umount /tmp&lt;br /&gt;&lt;br /&gt;7))Mount the new /tmp filesystem with noexec&lt;br /&gt;&lt;br /&gt;[root@localhost dev]#mount -o loop,noexec,nosuid,rw /usr/tmpDSK /tmp&lt;br /&gt;&lt;br /&gt;8) Set the correct permission for /tmp&lt;br /&gt;&lt;br /&gt;[root@localhost dev]# install -d –mode=1777 /tmp&lt;br /&gt;[root@localhost dev]# ls -ld /tmp&lt;br /&gt;drwxrwxrwt 3 root root 4096 Feb  6 08:42 /tmp&lt;br /&gt;( you may use the command  chmod 1777 /tmp for doing the same )&lt;br /&gt;==========================&lt;br /&gt;&lt;br /&gt;[root@localhost dev]# df -h&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/sda9              28G  6.4G   20G  25% /&lt;br /&gt;/dev/sda8              99M   10M   84M  11% /boot&lt;br /&gt;tmpfs                 500M     0  500M   0% /dev/shm&lt;br /&gt;/usr/tmpDSK           2.0G   68M  1.9G   4% /tmp&lt;br /&gt;==========================&lt;br /&gt;7)Restore the content of old /tmp.bkp directory&lt;br /&gt;&lt;br /&gt;[root@localhost dev]# cp -rpf /tmp.bak/* /tmp&lt;br /&gt;&lt;br /&gt;8) Restart the mysql and tailwathchd services.&lt;br /&gt;&lt;br /&gt;[root@localhost dev]# /etc/init.d/mysql start&lt;br /&gt;[root@localhost dev]# /scripts/restartsrv_tailwatchd&lt;br /&gt;&lt;br /&gt;9)Edit the fstab  and replace /tmp  entry line with :-&lt;br /&gt;=========================================&lt;br /&gt;/usr/tmpDSK             /tmp                    ext3    loop,noexec,nosuid,rw  0 0=========================================&lt;br /&gt;10) Mount all filesystems&lt;br /&gt;&lt;br /&gt;[root@localhost dev]#mount -a&lt;br /&gt;&lt;br /&gt;Check it now:-&lt;br /&gt;============================&lt;br /&gt;[root@localhost ~]# df -h&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/sda9              28G  6.4G   20G  25% /&lt;br /&gt;/dev/sda8              99M   10M   84M  11% /boot&lt;br /&gt;tmpfs                 500M     0  500M   0% /dev/shm&lt;br /&gt;/usr/tmpDSK           2.0G   68M  1.9G   4% /tmp&lt;br /&gt;============================&lt;br /&gt;Done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5896785089438389993?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5896785089438389993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/how-to-increase-size-of-tmp-partition.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5896785089438389993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5896785089438389993'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/how-to-increase-size-of-tmp-partition.html' title='How to increase the size of /tmp partition in Linux?'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-582248192551919207</id><published>2009-12-22T19:32:00.002+05:30</published><updated>2009-12-22T19:32:43.482+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Syn flood attack'/><title type='text'>How to prevent the Syn flood attack?</title><content type='html'>1)Enable SYN cookies mechanism in the server.&lt;br /&gt;&lt;br /&gt;SYN cookies mechanism can be enabled in the following way:&lt;br /&gt;&lt;br /&gt;    [root@server src]## echo 1 &gt; /proc/sys/net/ipv4/tcp_syncookies&lt;br /&gt;&lt;br /&gt;2)Increase the backlog queue:-&lt;br /&gt;&lt;br /&gt;A tcp_max_backlog variable_defines how many half-open connections can be kept by the backlog queue.&lt;br /&gt;&lt;br /&gt;change the default size of the backlog queue to 2048 by executing the the sysctl command:&lt;br /&gt;&lt;br /&gt;    [root@server src]# sysctl -w net.ipv4.tcp_max_syn_backlog="2048"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-582248192551919207?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/582248192551919207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/how-to-prevent-syn-flood-attack.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/582248192551919207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/582248192551919207'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/how-to-prevent-syn-flood-attack.html' title='How to prevent the Syn flood attack?'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-3787605135810708503</id><published>2009-12-22T16:40:00.001+05:30</published><updated>2010-04-12T11:12:01.011+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Getting custom php.ini working on php-cgi'/><title type='text'>Getting custom php.ini working on php-cgi</title><content type='html'>1, Copy the servers default php.ini to your home directory&lt;br /&gt;&lt;br /&gt;2, Make the following directory in user home directoy and chown to user:user&lt;br /&gt;cgi-bin&lt;br /&gt;&lt;br /&gt;3, Create a file php.cgi in cgi-bin with the following content&lt;br /&gt;#!/bin/sh&lt;br /&gt;exec /usr/local/cpanel/cgi-sys/php5 -c /home/user/public_html/&lt;br /&gt;&lt;br /&gt;4, Chmod +x php.cgi and chown the file to user:user.&lt;br /&gt;&lt;br /&gt;5, Add the following in the .htaccess.&lt;br /&gt;&lt;br /&gt;Action application/x-httpd-php5 /cgi-bin/php.cgi&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-3787605135810708503?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/3787605135810708503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/getting-custom-phpini-working-on-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3787605135810708503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/3787605135810708503'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/getting-custom-phpini-working-on-php.html' title='Getting custom php.ini working on php-cgi'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8192426207737628747</id><published>2009-12-22T11:39:00.000+05:30</published><updated>2009-12-22T11:39:38.502+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='custom module in cpanel server'/><category scheme='http://www.blogger.com/atom/ns#' term='mod_'/><category scheme='http://www.blogger.com/atom/ns#' term='mod_python'/><title type='text'>Installing a custom module in cpanel server</title><content type='html'>To install a custom module:&lt;br /&gt;&lt;br /&gt;   1. Download and unzip it into /var/cpanel/easy/apache/custom_opt_mods/.&lt;br /&gt;   2. When logged into your server as root, you can install any module listed below by running the following commands. Be sure to replace $NAME.tar.gz with the filename of the module you wish to download: &lt;br /&gt;&lt;br /&gt;wget http://easyapache.cpanel.net/optmods/$NAME.tar.gz&lt;br /&gt;tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf $NAME.tar.gz&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;If you want to install mod_python&lt;br /&gt;&lt;br /&gt;cd /var/cpanel/easy/apache/custom_opt_mods&lt;br /&gt; &lt;br /&gt;wget http://twiki.cpanel.net/twiki/pub/EasyApache3/CustomMods/custom_opt_mod-mod_python.tar.gz&lt;br /&gt;tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf custom_opt_mod-mod_python.tar.gz&lt;br /&gt;&lt;br /&gt;Reference : http://docs.cpanel.net/twiki/bin/view/EasyApache3/CustomMods&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8192426207737628747?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8192426207737628747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/installing-custom-module-in-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8192426207737628747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8192426207737628747'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/installing-custom-module-in-cpanel.html' title='Installing a custom module in cpanel server'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-8262984595327396808</id><published>2009-12-17T19:21:00.002+05:30</published><updated>2009-12-17T19:21:54.549+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='wine installation'/><title type='text'>Install Wine on CentOS 5</title><content type='html'>Trying to install wine using the usual yum command but here is what it says when giving the following command.&lt;br /&gt;&lt;br /&gt;shell&gt;&gt; yum install wine&lt;br /&gt;Loading “fastestmirror” plugin&lt;br /&gt;Loading mirror speeds from cached hostfile&lt;br /&gt;* base: centose.centos.org&lt;br /&gt;* updates: centosj.centos.org&lt;br /&gt;* addons: centosh3.centos.org&lt;br /&gt;* extras: centose-msync-dvd.centos.org&lt;br /&gt;Excluding Packages in global exclude list&lt;br /&gt;Finished&lt;br /&gt;Setting up Install Process&lt;br /&gt;Parsing package install arguments&lt;br /&gt;No package wine available.&lt;br /&gt;Nothing to do&lt;br /&gt;&lt;br /&gt;Well the reason is Wine software is not a part of standard CentOS. There is a section on 3rd party repositories called RPMForge. So we will proceed installing the Repositories.&lt;br /&gt;&lt;br /&gt;1.) You should make sure that you have Priorities installed&lt;br /&gt;&lt;br /&gt;yum-priorities is available in the CentOS 5 repositories:&lt;br /&gt;&lt;br /&gt;yum install yum-priorities&lt;br /&gt;&lt;br /&gt;Plugins are enabled in CentOS 5 by default&lt;br /&gt;&lt;br /&gt;Make sure that yum-priorities is enabled by editing the /etc/yum/pluginconf.d/priorities.conf file, and ensuring that it contains the following lines:&lt;br /&gt;&lt;br /&gt;[main]&lt;br /&gt;enabled=1&lt;br /&gt;&lt;br /&gt;Download the rpmforge-release package. Choose one of the two links below, depending on your architecture. If you are unsure of which one to use you can check your architecture with the command uname -i&lt;br /&gt;&lt;br /&gt;for i386 http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm&lt;br /&gt;&lt;br /&gt;Install DAG’s GPG key&lt;br /&gt;&lt;br /&gt;rpm –import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt&lt;br /&gt;Verify the package you have downloaded&lt;br /&gt;&lt;br /&gt;rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm&lt;br /&gt;&lt;br /&gt;Security warning: The rpmforge-release package imports GPG keys into your RPM database. As long as you have verified the package and trust Dag then it should be safe.&lt;br /&gt;&lt;br /&gt;Install the package&lt;br /&gt;&lt;br /&gt;rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm&lt;br /&gt;&lt;br /&gt;This will add a yum repository config file and import the appropriate GPG keys. At this point, you can set the priority of the RPMForge repository, and also of the CentOS repositories if you have not done so yet.&lt;br /&gt;&lt;br /&gt;Test with this command:&lt;br /&gt;&lt;br /&gt;yum check-updateIt should output these two lines:&lt;br /&gt;&lt;br /&gt;Loading “priorities” plugin&lt;br /&gt;…&lt;br /&gt;76 packages excluded due to repository priority protectionsThe number above may differ, but there should be several packages shown as being excluded.&lt;br /&gt;&lt;br /&gt;If so then it looks like things are working so try installing something like this&lt;br /&gt;&lt;br /&gt;yum -–enablerepo=rpmforge install wine&lt;br /&gt;&lt;br /&gt;Thats all Wine is installed.&lt;br /&gt;shell&gt;&gt; which wine&lt;br /&gt;/usr/bin/wine&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-8262984595327396808?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/8262984595327396808/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/install-wine-on-centos-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8262984595327396808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/8262984595327396808'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/install-wine-on-centos-5.html' title='Install Wine on CentOS 5'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2881794191181955147.post-5104858213465864608</id><published>2009-12-16T16:35:00.000+05:30</published><updated>2009-12-16T16:35:59.151+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='exim commands'/><title type='text'>Exim Commands</title><content type='html'>Check emails in mail queue&lt;br /&gt;&lt;br /&gt;    root@server [~]# exim -bp&lt;br /&gt;&lt;br /&gt;Count number of emails in mail queue&lt;br /&gt;&lt;br /&gt;    root@server [~]# exim -bpc&lt;br /&gt;&lt;br /&gt;Count number of frozen emails in mail queue&lt;br /&gt;&lt;br /&gt;    root@server [~]# exim -bp | grep frozen | wc -l&lt;br /&gt;&lt;br /&gt;Delete forzen emails from the mail queue&lt;br /&gt;&lt;br /&gt;    exim -bp | awk ‘$6~”frozen” { print $3 }’ | xargs exim -Mrm&lt;br /&gt;&lt;br /&gt;Count emails for an email account/domain&lt;br /&gt;&lt;br /&gt;    exim -bp | grep  username@domain.com | wc -l&lt;br /&gt;&lt;br /&gt;Delete emails for an email account&lt;br /&gt;&lt;br /&gt; exim -bp | grep  username@domain.com  | awk ‘{print $3}’ | xargs exim -Mrm ;&lt;br /&gt;&lt;br /&gt;Delete emails sent through scripts&lt;br /&gt;&lt;br /&gt;    exim -bp | grep “&lt;&gt;” | awk {’print $3}’ | xargs exim -Mrm&lt;br /&gt;&lt;br /&gt;Count number of emails in queue for a domain/email account&lt;br /&gt;&lt;br /&gt;exim -bp | tr ‘\n’ + | sed -e “s/++/=/g” | tr -d + | tr = ‘\n’ | awk ‘{print $5}’ | sort -n | uniq -c | sort -n&lt;br /&gt;&lt;br /&gt;Delete emails for root&lt;br /&gt;&lt;br /&gt;   exim -bp | grep  root@server.hostname.com  | awk ‘{print $3}’ | xargs exim -Mrm ;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2881794191181955147-5104858213465864608?l=abhionlinux.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abhionlinux.blogspot.com/feeds/5104858213465864608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/exim-commands.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5104858213465864608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2881794191181955147/posts/default/5104858213465864608'/><link rel='alternate' type='text/html' href='http://abhionlinux.blogspot.com/2009/12/exim-commands.html' title='Exim Commands'/><author><name>Abhi's MAZHAVILLU</name><uri>http://www.blogger.com/profile/04437083751479536474</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_wV96SCkWeyY/SnAhBN6bomI/AAAAAAAAAPo/vOMAqIpeadg/S220/test'/></author><thr:total>0</thr:total></entry></feed>
