<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DEAMQH85eyp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091</id><updated>2011-11-28T05:03:01.123+05:30</updated><category term="PHP" /><category term="DNS" /><category term="Redirect" /><category term="Mysql" /><category term="Exim mail server" /><category term="Mod rewrite" /><title>Linux System Admin</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://jacobmukalel.blogspot.com/" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/blogspot/Kukr" /><feedburner:info uri="blogspot/kukr" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;Ck8NR34zeCp7ImA9WxJaEE8.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-3216221227592105928</id><published>2009-07-31T11:33:00.001+05:30</published><updated>2009-07-31T11:44:56.080+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-31T11:44:56.080+05:30</app:edited><title>Upgrading Mysql on a plesk server</title><content type="html">&lt;div class="entry_body"&gt;&lt;p&gt;Uprading MySQL with plesk is not that hard as it sounds and this guide will prove it to you. Below are the steps you need to execute to upgrade your current MySQL version to the latest release. In this guide, we will going to use MySQL version 4.1 but other versions will work as well.&lt;/p&gt;&lt;p&gt;Backup the following files and directory before doing any of the steps below.&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;/var/lib/mysql&lt;/strong&gt; - directory where mysql data is stored.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;/etc/my.cnf&lt;/strong&gt; - default mysql configuration file.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;/etc/init.d/mysqld&lt;/strong&gt; - mysql initialization script.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;span id="more-229"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;1.&lt;/strong&gt; Download the pre-compiled MySQL server binaries.&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;wget -c &lt;a href="http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-standard-4.1.22-pc-linux-gnu-i686-icc-glibc23.tar.gz/from/http://mirror.services.wisc.edu/mysql/"&gt;http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-standard-4.1.22-pc-linux-gnu-i686-icc-glibc23.tar.gz/from/http://mirror.services.wisc.edu/mysql/&lt;/a&gt;&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;2.&lt;/strong&gt; Move and decompress the download file.&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;mv mysql-standard-4.1.22-pc-linux-gnu-i686-icc-glibc23.tar.gz /usr/local/&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;cd /usr/local&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;tar -vxzf mysql-standard-4.1.22-pc-linux-gnu-i686-icc-glibc23.tar.gz&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;3.&lt;/strong&gt; Create a symbolic link of the decompressed files folder to MySQL folder.&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;ln -s /usr/local/mysql-standard-4.1.22-pc-linux-gnu-i686-icc-glibc23 mysql&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;4.&lt;/strong&gt; Edit the mysqld rc file under /etc/init.d&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;vi /etc/init.d/mysqld&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;change the mysql server path from /usr/bin to /usr/local/mysql/bin (e.g /usr/local/mysql/bin/safe_mysqld)&lt;/p&gt;&lt;p&gt;&lt;strong&gt;5.&lt;/strong&gt; Add the following lines to the my.cnf file.&lt;/p&gt;&lt;p&gt;&lt;code&gt;[mysqladmin]&lt;br /&gt;socket=/var/lib/mysql/mysql.sock&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;[mysql]&lt;br /&gt;socket=/var/lib/mysql/mysql.sock [mysql_fix_privilege_tables]&lt;br /&gt;socket=/var/lib/mysql/mysql.sock&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;6.&lt;/strong&gt; Stop and Start MySQL server process.&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;service stop mysqld&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;service start mysqld&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;7.&lt;/strong&gt; Verify that you are able to connect to the mysql server.&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;em&gt;mysql -u admin -p your_plesk_admin_password&lt;/em&gt;&lt;/code&gt;&lt;/p&gt;&lt;p&gt;mysql&amp;gt; select version();&lt;br /&gt;+—————–+&lt;br /&gt; version()&lt;br /&gt;+—————–+&lt;br /&gt; 4.1.22-standard&lt;br /&gt;+—————–+&lt;br /&gt;1 row in set (0.00 sec)&lt;/p&gt;&lt;p&gt;That's all about it, if you encounter any errors just drop a message via the comment box.&lt;/p&gt;&lt;/div&gt;&lt;div class="entry_meta"&gt;&lt;p&gt; &lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-3216221227592105928?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OlRM157vgH2PL6K0USfrWkqtNKU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OlRM157vgH2PL6K0USfrWkqtNKU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OlRM157vgH2PL6K0USfrWkqtNKU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OlRM157vgH2PL6K0USfrWkqtNKU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/MzldgQeJfnk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/3216221227592105928/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/07/upgrading-mysql-on-plesk-server.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/3216221227592105928?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/3216221227592105928?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/MzldgQeJfnk/upgrading-mysql-on-plesk-server.html" title="Upgrading Mysql on a plesk server" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/07/upgrading-mysql-on-plesk-server.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8DQnY6fCp7ImA9WxJbFEw.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-7534440128832954903</id><published>2009-07-24T11:24:00.001+05:30</published><updated>2009-07-24T11:24:33.814+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-24T11:24:33.814+05:30</app:edited><title>SCRIPT TO MONITOR A SERVER IN EVERY 30 MINUTES</title><content type="html">&lt;div class="post-body entry-content"&gt;&lt;pre&gt;&lt;tt&gt;&lt;b&gt;&lt;span&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;This script is used to check the health of Your servers.&lt;br&gt;# !/bin/bash&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;&lt;tt&gt;&lt;span style="COLOR: rgb(154,25,0)"&gt;# add ip / hostname separated by while space &lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt; &lt;pre&gt;&lt;tt&gt;&lt;span&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;HOSTS&lt;span style="COLOR: rgb(153,0,0)"&gt;=&lt;/span&gt;&lt;span style="COLOR: red"&gt;&amp;quot;&lt;a href="http://aaa.com"&gt;aaa.com&lt;/a&gt; &lt;a href="http://bbb.com"&gt;bbb.com&lt;/a&gt; 202.10.193.46 router&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt; &lt;pre&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;&lt;tt&gt;&lt;span style="COLOR: rgb(154,25,0)"&gt;# no ping request&lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;COUNT&lt;span style="COLOR: rgb(153,0,0)"&gt;=&lt;/span&gt;&lt;span style="COLOR: rgb(153,51,153)"&gt;1&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt; &lt;pre&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;&lt;tt&gt;&lt;span style="COLOR: rgb(154,25,0)"&gt;# email report when &lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;tt&gt;&lt;span&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;SUBJECT&lt;span style="COLOR: rgb(153,0,0)"&gt;=&lt;/span&gt;&lt;span style="COLOR: red"&gt;&amp;quot;Ping failed Server Seems to be DOWN&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt; &lt;pre&gt;&lt;tt&gt;&lt;span&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;EMAILID&lt;span style="COLOR: rgb(153,0,0)"&gt;=&lt;/span&gt;&lt;span style="COLOR: red"&gt;&amp;quot;Your emailid&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="COLOR: blue"&gt;for&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span&gt; myHost in &lt;span style="COLOR: rgb(0,153,0)"&gt;$HOSTS&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt; &lt;pre&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="COLOR: blue"&gt;do&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="COLOR: blue"&gt;count&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span style="COLOR: rgb(153,0,0)"&gt;=&lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span style="COLOR: rgb(0,153,0)"&gt;$&lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span style="COLOR: rgb(153,0,0)"&gt;(&lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span&gt;ping &lt;span style="COLOR: rgb(153,0,0)"&gt;-&lt;/span&gt;c &lt;span style="COLOR: rgb(0,153,0)"&gt;$COUNT&lt;/span&gt; &lt;span style="COLOR: rgb(0,153,0)"&gt;$myHost&lt;/span&gt; &lt;span style="COLOR: rgb(153,0,0)"&gt;|&lt;/span&gt; grep &lt;span style="COLOR: red"&gt;&amp;#39;received&amp;#39;&lt;/span&gt; &lt;span style="COLOR: rgb(153,0,0)"&gt;|&lt;/span&gt; awk &lt;span style="COLOR: rgb(153,0,0)"&gt;-&lt;/span&gt;F&lt;span style="COLOR: red"&gt;&amp;#39;,&amp;#39;&lt;/span&gt; &lt;span style="COLOR: red"&gt;&amp;#39;{ print $2 }&amp;#39;&lt;/span&gt; &lt;span style="COLOR: rgb(153,0,0)"&gt;|&lt;/span&gt; awk &lt;span style="COLOR: red"&gt;&amp;#39;{ print $1 }&amp;#39;&lt;/span&gt;&lt;span style="COLOR: rgb(153,0,0)"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt; &lt;pre&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="COLOR: blue"&gt;if&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span&gt; &lt;span style="COLOR: rgb(153,0,0)"&gt;[&lt;/span&gt; &lt;span style="COLOR: rgb(0,153,0)"&gt;$count&lt;/span&gt; &lt;span style="COLOR: rgb(153,0,0)"&gt;-&lt;/span&gt;eq &lt;span style="COLOR: rgb(153,51,153)"&gt;0&lt;/span&gt; &lt;span style="COLOR: rgb(153,0,0)"&gt;];&lt;/span&gt; then&lt;/span&gt;&lt;/tt&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt; &lt;pre&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;&lt;tt&gt;&lt;span style="COLOR: rgb(154,25,0)"&gt;# 100% failed &lt;/span&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="courier new,monospace"&gt;&lt;font size="4"&gt;&lt;tt&gt;&lt;b&gt;&lt;span style="COLOR: blue"&gt;echo&lt;/span&gt;&lt;/b&gt;&lt;/tt&gt;&lt;tt&gt;&lt;span&gt; &lt;span style="COLOR: red"&gt;&amp;quot;Host : $myHost is down (ping failed) at $(date)&amp;quot;&lt;/span&gt; &lt;span style="COLOR: rgb(153,0,0)"&gt;|&lt;/span&gt; mail &lt;span style="COLOR: rgb(153,0,0)"&gt;-&lt;/span&gt;s &lt;span style="COLOR: red"&gt;&amp;quot;$SUBJECT&amp;quot;&lt;/span&gt; &lt;span style="COLOR: rgb(0,153,0)"&gt;$EMAILID&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;  &lt;div style="CLEAR: both"&gt;&lt;font size="4" face="courier new,monospace"&gt;&lt;/font&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/1565235339795660091-7534440128832954903?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/48do21u-obufWrS_zl5Q6gT3i8Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/48do21u-obufWrS_zl5Q6gT3i8Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/48do21u-obufWrS_zl5Q6gT3i8Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/48do21u-obufWrS_zl5Q6gT3i8Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/xurWfHfHSNs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/7534440128832954903/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/07/script-to-monitor-server-in-every-30.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/7534440128832954903?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/7534440128832954903?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/xurWfHfHSNs/script-to-monitor-server-in-every-30.html" title="SCRIPT TO MONITOR A SERVER IN EVERY 30 MINUTES" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/07/script-to-monitor-server-in-every-30.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEAQXc4eyp7ImA9WxJbFEw.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-3046537783523101047</id><published>2009-07-24T11:20:00.001+05:30</published><updated>2009-07-24T11:20:40.933+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-24T11:20:40.933+05:30</app:edited><title>Apache Error - No space left on device: Couldn't create accept lock  or Cannot create SSLMutex</title><content type="html">&lt;div&gt;Some times you people may face this following error in your Apache Server. The error is as follows while trying to restart.after a configuration changes or something like that&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #cc0000" class="Apple-style-span"&gt;[emerg] (28)No space left on device: Couldn&amp;#39;t create accept lock&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #cc0000" class="Apple-style-span"&gt;OR&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #cc0000" class="Apple-style-span"&gt;[crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #cc0000" class="Apple-style-span"&gt;OR &lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #cc0000" class="Apple-style-span"&gt;[Wed Dec 07 00:00:09 2005] [error] (28)No space left on device: Cannot create SSLMutex&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;div&gt;This is happened due to someking of memory leaking. Normally people do the following to fix this.&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #ff6600" class="Apple-style-span"&gt;1.Checking the harddisk space usage&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #ff6600" class="Apple-style-span"&gt;2.To explicetely different Lockfiles using the LockFile-directive&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #ff6600" class="Apple-style-span"&gt;3.non-default AcceptMutex (flock) which then solved the acceptlock-issue and ended in the rewrite_log_lock-issue.&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #ff6600" class="Apple-style-span"&gt;4.Reboot&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;div&gt;The fourth option will only work,because this is due to the following reason&lt;/div&gt; &lt;div&gt;There were myriads of semaphore-arrays left, owned by my apache-user. Removing this semaphores immediately solved the problem&lt;/div&gt; &lt;div&gt;Do the following as ROOT&lt;/div&gt; &lt;div&gt;&lt;br&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #006600" class="Apple-style-span"&gt;[&lt;a href="mailto:root@apache.org"&gt;root@apache.org&lt;/a&gt;] ipcs -s | grep apache | perl -e &amp;#39;while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}&amp;#39; -- (If You Love Perl)&lt;/span&gt;&lt;/div&gt;  &lt;div&gt;&lt;span style="COLOR: #006600" class="Apple-style-span"&gt;&lt;br&gt;&lt;/span&gt;&lt;/div&gt; &lt;div&gt;&lt;span style="COLOR: #006600" class="Apple-style-span"&gt;[&lt;a href="mailto:root@apache.org"&gt;root@apache.org&lt;/a&gt;] ipcs -s | grep apache | awk &amp;#39; { print $2 } &amp;#39; | xargs ipcrm sem (If you Love Sh)&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/1565235339795660091-3046537783523101047?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9UuszUvXmSM55aNo4dqFWT-Ie7U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9UuszUvXmSM55aNo4dqFWT-Ie7U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9UuszUvXmSM55aNo4dqFWT-Ie7U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9UuszUvXmSM55aNo4dqFWT-Ie7U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/3FjIrXEZO-Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/3046537783523101047/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/07/apache-error-no-space-left-on-device.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/3046537783523101047?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/3046537783523101047?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/3FjIrXEZO-Y/apache-error-no-space-left-on-device.html" title="Apache Error - No space left on device: Couldn't create accept lock  or Cannot create SSLMutex" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/07/apache-error-no-space-left-on-device.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIAR3Y6eSp7ImA9WxJbFEw.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-6669350609642981219</id><published>2009-07-24T11:19:00.001+05:30</published><updated>2009-07-24T11:19:06.811+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-24T11:19:06.811+05:30</app:edited><title>How to Find Server is Under DDOS</title><content type="html">&lt;div style="TEXT-ALIGN: justify"&gt;A denial-of-service attack (DoS attack) or distributed denial-of-service attack (DDoS attack) is an attempt to make a computer resource unavailable to its intended users. Although the means to carry out, motives for, and targets of a DoS attack may vary, it generally consists of the concerted efforts of a person or persons to prevent an Internet site or service from functioning efficiently or at all, temporarily or indefinitely. Perpetrators of DoS attacks typically target sites or services hosted on high-profile web servers such as banks, credit card payment gateways, and even root nameservers.&lt;br&gt; &lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;span style="COLOR: rgb(153,0,0)"&gt;netstat -anp | grep &amp;quot;tcp\|udp&amp;quot; | awk {&amp;#39;print $5&amp;#39;} | cut -d: -f1 | uniq -c | sort -n&lt;/span&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;So what will be the output ?&lt;br&gt;&lt;br&gt;&lt;span style="COLOR: rgb(51,51,255)"&gt;1 0.0.0.0&lt;/span&gt;&lt;br&gt; &lt;span style="COLOR: rgb(51,51,255)"&gt;1 208.80.152.2&lt;/span&gt;&lt;br&gt;&lt;span style="COLOR: rgb(51,51,255)"&gt;1 208.80.152.2&lt;/span&gt;&lt;br&gt;&lt;span style="COLOR: rgb(51,51,255)"&gt;1 208.80.152.3&lt;/span&gt;&lt;br&gt;&lt;span style="COLOR: rgb(51,51,255)"&gt;1 209.85.135.103&lt;/span&gt;&lt;br&gt; &lt;span style="COLOR: rgb(51,51,255)"&gt;1 209.85.135.113&lt;/span&gt;&lt;br&gt;&lt;span style="COLOR: rgb(51,51,255)"&gt;1 74.125.43.113&lt;/span&gt;&lt;br&gt;&lt;span style="COLOR: rgb(51,51,255)"&gt;2 208.80.152.2&lt;/span&gt;&lt;br&gt;&lt;span style="COLOR: rgb(51,51,255)"&gt;2 208.80.152.3&lt;/span&gt;&lt;br&gt; &lt;span style="COLOR: rgb(51,51,255)"&gt;2 208.80.152.3&lt;/span&gt;&lt;br&gt;&lt;span style="COLOR: rgb(51,51,255)"&gt;3 0.0.0.0&lt;/span&gt;&lt;br&gt;&lt;span style="COLOR: rgb(51,51,255)"&gt;3 208.80.152.2&lt;/span&gt;&lt;br&gt;&lt;br&gt; &lt;div style="TEXT-ALIGN: justify"&gt;Left column indicates the number of connection,from the IP address which shown in right column. This was taken from my local test machine. If you are under an attack,this number may vary. The number will be any number.&lt;/div&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-6669350609642981219?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/P7myu_KLS-M9XKXzeCqInqSGKLQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P7myu_KLS-M9XKXzeCqInqSGKLQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/P7myu_KLS-M9XKXzeCqInqSGKLQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/P7myu_KLS-M9XKXzeCqInqSGKLQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/aKRMQoCJvDA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/6669350609642981219/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/07/how-to-find-server-is-under-ddos.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/6669350609642981219?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/6669350609642981219?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/aKRMQoCJvDA/how-to-find-server-is-under-ddos.html" title="How to Find Server is Under DDOS" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/07/how-to-find-server-is-under-ddos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMBQH46cSp7ImA9WxJbFEw.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-6164417491626982848</id><published>2009-07-24T11:00:00.001+05:30</published><updated>2009-07-24T11:00:51.019+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-24T11:00:51.019+05:30</app:edited><title>How to edit the maxconnection in httpd.conf ?</title><content type="html">&lt;div&gt;Depending on the cPanel version, you can modify the setting in &lt;i&gt;WHM &amp;gt; Apache Configuration &amp;gt; Global Configuration &amp;gt; MaxClients&lt;/i&gt;&lt;/div&gt; &lt;div&gt;Login to the ssh as root and open the file httpd.conf file.&lt;br&gt;&lt;br&gt;vi /usr/local/apache/conf/httpd.conf&lt;br&gt;search for the line MaxClients and edit that, save it and exit vi editor. Restart apache then.&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/1565235339795660091-6164417491626982848?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/X55f3f1x6HnZ8QOxoZBixvHr1Cg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X55f3f1x6HnZ8QOxoZBixvHr1Cg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/X55f3f1x6HnZ8QOxoZBixvHr1Cg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/X55f3f1x6HnZ8QOxoZBixvHr1Cg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/N_Vd3-bk-ec" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/6164417491626982848/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/07/how-to-edit-maxconnection-in-httpdconf.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/6164417491626982848?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/6164417491626982848?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/N_Vd3-bk-ec/how-to-edit-maxconnection-in-httpdconf.html" title="How to edit the maxconnection in httpd.conf ?" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/07/how-to-edit-maxconnection-in-httpdconf.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUAGQ3k8eCp7ImA9WxJWFU0.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-6060082745107161898</id><published>2009-06-20T18:35:00.000+05:30</published><updated>2009-06-20T18:45:22.770+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-20T18:45:22.770+05:30</app:edited><title>Fixing incorrect quota on cpanel</title><content type="html">Run #/scripts/fixquotas&lt;br /&gt;For fixing everuthing including mail boxes and DNS,&lt;br /&gt;&lt;br /&gt;#/scripts/fixeverything&lt;br /&gt;&lt;br /&gt;If it is showing any error about permission of writing on aquota.user file check its permissions and attributes.  &lt;br /&gt;&lt;br /&gt;#lsattr aquota.user&lt;br /&gt;&lt;br /&gt;To remove attribute&lt;br /&gt;&lt;br /&gt;#chattr -i aquota.user&lt;br /&gt;---------------------------------------------------------------------------------&lt;br /&gt;Please check for any spelling mistakes on my commands&lt;br /&gt;-----------------------------------------------------------------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-6060082745107161898?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0gvCjDmWX_Z2kV71j7Ic57A2oHQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0gvCjDmWX_Z2kV71j7Ic57A2oHQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0gvCjDmWX_Z2kV71j7Ic57A2oHQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0gvCjDmWX_Z2kV71j7Ic57A2oHQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/GyJ8jLCCbl4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/6060082745107161898/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/fixing-incorrect-quota-on-cpanel.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/6060082745107161898?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/6060082745107161898?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/GyJ8jLCCbl4/fixing-incorrect-quota-on-cpanel.html" title="Fixing incorrect quota on cpanel" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/fixing-incorrect-quota-on-cpanel.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQGRXs7fip7ImA9WxJWFE0.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-2542280798402767685</id><published>2009-06-19T16:13:00.000+05:30</published><updated>2009-06-19T16:15:24.506+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-19T16:15:24.506+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="PHP" /><title>Troubleshooting php installations/compilations on Linux servers</title><content type="html">It's very easy to install PHP or Apache software using yum or rpm on plain Linux servers. It installs all the necessary dependency packages automatically, we don’t need to install such dependent or development packages manually.&lt;br /&gt;&lt;br /&gt;RPM’s are standard packages which are pre-compiled with some basic settings/modules but some of application needed the extra module which doesn’t exit in pre-compiled rpm, in such case you will have to recompile the php-apache manually. Compiling any application from source is always the right idea. Though time consuming and sometimes painful, it allows you the privilege of setting the required modules.&lt;br /&gt;&lt;br /&gt;Here are some command errors which occur while installing/compiling/building PHP 5 manually on Linux Servers, you can fix them by installing appropriate development modules.&lt;br /&gt;&lt;br /&gt;1) Configure: error: xml2-config not found. Please check your libxml2 installation.&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;#yum install libxml2-devel  &lt;br /&gt;&lt;br /&gt;2) Checking for pkg-config... /usr/bin/pkg-config&lt;br /&gt;configure: error: Cannot find OpenSSL's &lt;evp.h&gt;&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;#yum install openssl-devel  &lt;br /&gt;&lt;br /&gt;3) Configure: error: Please reinstall the BZip2 distribution&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# yum install bzip2-devel  &lt;br /&gt;&lt;br /&gt;4) Configure: error: Please reinstall the libcurl distribution - &lt;br /&gt;easy.h should be in &lt;curl-dir&gt;/include/curl/&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# yum install curl-devel  &lt;br /&gt;&lt;br /&gt;5) Configure: error: libjpeg.(also) not found.&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# yum install libjpeg-devel  &lt;br /&gt;&lt;br /&gt;6) Configure: error: libpng.(also) not found.&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# yum install libpng-devel  &lt;br /&gt;&lt;br /&gt;7) Configure: error: freetype.h not found.&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;#yum install freetype-devel  &lt;br /&gt;&lt;br /&gt;8) Configure: error: Unable to locate gmp.h&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# yum install gmp-devel  &lt;br /&gt;&lt;br /&gt;9) Configure: error: Cannot find MySQL header files under /usr.&lt;br /&gt;Note that the MySQL client library is not bundled anymore!&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# yum install mysql-devel  &lt;br /&gt;&lt;br /&gt;10) Configure: error: Please reinstall the ncurses distribution&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# yum install ncurses-devel  &lt;br /&gt;&lt;br /&gt;11) Checking for unixODBC support... configure: error: ODBC header file '/usr/include/sqlext.h' not found!&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# yum install unixODBC-devel  &lt;br /&gt;&lt;br /&gt;12) Configure: error: Cannot find pspell&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# yum install pspell-devel  &lt;br /&gt;&lt;br /&gt;13) Configure: error: snmp.h not found. Check your SNMP installation.&lt;br /&gt;&lt;br /&gt;Solutions :&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# yum install net-snmp-devel&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-2542280798402767685?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WcK1R0uf8dfIGsFf9AToTjn-2zs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WcK1R0uf8dfIGsFf9AToTjn-2zs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WcK1R0uf8dfIGsFf9AToTjn-2zs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WcK1R0uf8dfIGsFf9AToTjn-2zs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/EXmgnmOdLWA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/2542280798402767685/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/troubleshooting-php-installationscompil.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/2542280798402767685?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/2542280798402767685?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/EXmgnmOdLWA/troubleshooting-php-installationscompil.html" title="Troubleshooting php installations/compilations on Linux servers" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/troubleshooting-php-installationscompil.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUESXk5eSp7ImA9WxJWFE0.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-5734750800322728962</id><published>2009-06-19T16:11:00.000+05:30</published><updated>2009-06-19T16:13:28.721+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-19T16:13:28.721+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mod rewrite" /><title>What is Mod-Rewrite Module and How to enable ?</title><content type="html">&lt;strong&gt;What is Mod-Rewrite Module?&lt;br /&gt;&lt;br /&gt;Mod_rewrite is merely the Apache module that contains the rewrite engine - other servers will process URL rewriting differently.Mod-Rewrite module uses a rule-based rewriting engine (based on a regular-expression parser) to rewrite requested URLs on the fly. It supports an unlimited number of rules and an unlimited number of attached rule conditions for each rule to provide a really flexible and powerful URL manipulation mechanism.&lt;br /&gt;&lt;br /&gt;The RewriteEngine directive enables or disables the runtime rewriting engine. We need to tell Apache where and what to rewrite. You have two options here - more commonly, you can place the code in a .htaccess file. This is nothing more than a text file which when present in a directory will be interpreted by Apache.The other alternative is only available if you have root access and that is to place the code inside your httpd.conf&lt;br /&gt;&lt;br /&gt;How can I enable Mod-Rewrite Module?&lt;br /&gt;&lt;br /&gt;Before we can rewrite, there is one option we must first set: FollowSymLinks. This is a security feature of the rewrite engine and you will not be able to rewrite without this option. In most cases, this will already be set in the server httpd.conf but you can safely state it again.Additionally, if you use indexes, we must enable the Indexes option.&lt;br /&gt;&lt;br /&gt;In order to enable Mod_Rewrite for your site you should create a text file called .htacccess in the directory where you wish the rewrite rules to apply.&lt;br /&gt;================================================== ==========&lt;br /&gt;#The first three lines of this text file should be:&lt;br /&gt;Options +FollowSymLinks&lt;br /&gt;Options +Indexes&lt;br /&gt;RewriteEngine On&lt;br /&gt;#After that you can place your rewrite rules&lt;br /&gt;================================================== ===========&lt;br /&gt;&lt;br /&gt;RewriteRule example :=&lt;br /&gt;&lt;br /&gt;1] When you want Register a Domain, Find Hosting and Create a Website at Domain.com to be redirected to Register a Domain, Find Hosting and Create a Website at Domain.com, add the following in your .htaccess.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]&lt;br /&gt;RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]  &lt;br /&gt;&lt;br /&gt;2] If http://example.com/foo/bar does not exist, redirect to http://other.example.com/foo/bar. (Put this in an .htaccess file in your top-level web directory.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;# .htaccess in root of example.com&lt;br /&gt;RewriteEngine On&lt;br /&gt;RewriteCond %{REQUEST_FILENAME} !-f&lt;br /&gt;RewriteCond %{REQUEST_FILENAME} !-d&lt;br /&gt;RewriteRule ^(.*)$ http://other.example.com/$1 [R]  &lt;br /&gt;&lt;br /&gt;3] Handle all requests for top-level .html files and files with no extensions (http://example.com/foo, http://example.com/foo.html) with a single PHP program /foo/show.php. Also, ignore trailing characters in set { : ; , . } so URLs like "http://example.com/foo." can be copied-n-pasted from plain text sentences by inattentive users.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;&lt;strong&gt;# .htaccess in root of example.com&lt;br /&gt;RewriteRule ^/?([^/]*\.html?|[^\./]*)[:;,\.]*$ /foo/show.php [L,NS]  &lt;/strong&gt;4]Here are some examples for Joomla's SEF option:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;&lt;strong&gt;RewriteCond %{REQUEST_FILENAME} !-f&lt;br /&gt;RewriteCond %{REQUEST_FILENAME} !-d&lt;br /&gt;RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]&lt;br /&gt;RewriteRule ^(content/|component/) index.php  &lt;/strong&gt;&lt;br /&gt;5]Redirect GET requests for http://example.com/foo/bar to http://example.com/bar (and /foo/bar.html to /bar.html). Handle POST requests with PHP program rather than attempting to redirect a POST (which is unlikely to work well).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;&lt;strong&gt;# .htaccess in foo folder in example.com's document root&lt;br /&gt;RewriteEngine On&lt;br /&gt;RewriteCond %{REQUEST_METHOD} GET&lt;br /&gt;RewriteRule ^/?([^/]*\.html?|[^\./]*)[:;,\.]*$ /$1 [R,L,NS]&lt;br /&gt;RewriteCond %{REQUEST_METHOD} POST&lt;br /&gt;RewriteRule ^/?([^/]*\.html?|[^\./]*)[:;,\.]*$ /foo/show.php [L,NS]  &lt;/strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-5734750800322728962?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7WhaukUOKQuouf1pWRYbaAlJHs0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7WhaukUOKQuouf1pWRYbaAlJHs0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7WhaukUOKQuouf1pWRYbaAlJHs0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7WhaukUOKQuouf1pWRYbaAlJHs0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/IiTUU1JF18Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/5734750800322728962/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/what-is-mod-rewrite-module-and-how-to.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/5734750800322728962?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/5734750800322728962?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/IiTUU1JF18Q/what-is-mod-rewrite-module-and-how-to.html" title="What is Mod-Rewrite Module and How to enable ?" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/what-is-mod-rewrite-module-and-how-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcDSHo7fCp7ImA9WxJWFE0.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-7349136925245062965</id><published>2009-06-19T16:10:00.000+05:30</published><updated>2009-06-19T16:11:19.404+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-19T16:11:19.404+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DNS" /><title>What is DNS and types of DNS?</title><content type="html">What is DNS?&lt;br /&gt;&lt;br /&gt;Domain Name System (DNS) is a database system that translates a computer's fully qualified domain name into an IP address.&lt;br /&gt;Networked computers use IP addresses to locate and connect to each other, but IP addresses can be difficult for people to remember. For example, on the web, it's much easier to remember the domain name www.eukhost.com than it is to remember its corresponding IP address (213.175.192.12). &lt;br /&gt;DNS allows you to connect to another networked computer or remote service by using its user-friendly domain name rather than its numerical IP address. Conversely, Reverse DNS (rDNS) translates an IP address into a domain name.&lt;br /&gt;&lt;br /&gt;Types of DNS&lt;br /&gt;&lt;br /&gt;Domain name system translate domain name to ip address. There are different types of dns server available we can install any of them as per our requirement.&lt;br /&gt;&lt;br /&gt;1) BIND -&gt; BIND is the reference implementation of a DNS server and usually serves as the base for experimentation with DNS protocol extensions. BIND is free and has been ported to many operating systems; see the respective entries in the index. Most BIND servers run on some variant of Unix, although BIND on Windows is also available.&lt;br /&gt;Url:- http://www.bind9.net/download&lt;br /&gt;&lt;br /&gt;2) djbdns:- The two main name server functions of caching and acting as an authoritative server are sensibly split into two separate programs (dnscache and tinydns). The djbdns package is free, and comes with a $500 security guarantee. http://http://www.djbdnsrocks.org/single/download.htm&lt;br /&gt;&lt;br /&gt;3) ANS/CNS:- ANS/CNS full form is Authoritative Name Server/ Caching Name Server. ANS/CNS are commercial DNS servers from Nominum, for enterprise applications that need maximum performance. Url:- http://www.nominum.com/products.php?id=6&lt;br /&gt;&lt;br /&gt;4) PowerDNS:- PowerDNS has developed a complete suite of technologies surrounding Internet Naming and email. Internet Naming is at the core of all online activities and is involved in each and every transaction on the net.&lt;br /&gt;Url:- http://www.powerdns.com/&lt;br /&gt;&lt;br /&gt;5) NSD:- NSD full form is Name Server Daemon. NSD is an authoritative only, high performance, simple and open source name server. Url:- http://www.nlnetlabs.nl/&lt;br /&gt;&lt;br /&gt;6) MaraDNS:- MaraDNS is a package that implements the Domain Name Service (DNS), an essential internet service. MaraDNS is easy to use highly secure. Url:- http://www.maradns.org/&lt;br /&gt;&lt;br /&gt;7) MyDNS:- MyDNS is a free DNS server for UNIX. MyDNS does not include recursive name service, nor a resolver library. It is primarily designed for organizations with many zones and/or resource records who desire the ability to perform real-time dynamic updates on their DNS data via MySQL. Url:- http://mydns.bboy.net/&lt;br /&gt;&lt;br /&gt;8) RBLDNSD :- Meaning is “DNS daemon suitable for running DNS-based blocklists”. rbldnsd is a small DNS-protocol daemon which is designed to handle queries to DNS-based IP-listing or NAME-listing services. Such services are a simple way to share/publish a list of IP addresses or (domain) names which are “listed” for for some reason, for example in order to be able to refuse a service to a client which is “listed” in some blocklist. Url:- http://www.corpit.ru/mjt/rbldnsd.html&lt;br /&gt;&lt;br /&gt;9) Pdnsd:- pdnsd is a proxy DNS server that caches entries permanently to disk. pdnsd allows you to configure one address as the DNS server for all your internet software. This can be localhost, but I personally use a separate machine that I’ve configured as a gateway to the internet for my home LAN. pdnsd can then be configured to contact your ISP’s DNS servers when you make a dial-up connection. Url:- http://www.phys.uu.nl/~rombouts/pdnsd.html&lt;br /&gt;&lt;br /&gt;10) Dents:- Dents is a from scratch implementation of the server side of the Domain Name System (DNS) protocol and it shares no code with any other project. Among its several features are compatibility with the named DNS daemon, a modular driver system and an extensible control facility which allows the administrator to control the running server. Url:- http://sourceforge.net/projects/dents/ or http://www.europe.redhat.com/documen....1-1.i386.php3&lt;br /&gt;&lt;br /&gt;11) Microsoft’s DNS server :- The DNS server in Windows 2003 has seen increasing adoption since its first release for Windows 2000 in 1999. It is regarded as stable and is well-integrated with Microsoft’s server administration tools.&lt;br /&gt;Url:- http://www.microsoft.com/downloads/d...displaylang=en&lt;br /&gt;&lt;br /&gt;12) Simple DNS Plus:- Simple DNS Plus is commercial software for Windows (any version from Windows 95 to 2003). It seems fully functional and targeted to small sites and home users with permanent Internet connections. It has some innovative features, but I have no first hand experience with it. Url:- http://www.simpledns.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-7349136925245062965?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PMGX5NtD1UbYPW_TDMXj7JfRMTo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PMGX5NtD1UbYPW_TDMXj7JfRMTo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PMGX5NtD1UbYPW_TDMXj7JfRMTo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PMGX5NtD1UbYPW_TDMXj7JfRMTo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/gZd_b49A7Kg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/7349136925245062965/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/what-is-dns-and-types-of-dns.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/7349136925245062965?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/7349136925245062965?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/gZd_b49A7Kg/what-is-dns-and-types-of-dns.html" title="What is DNS and types of DNS?" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/what-is-dns-and-types-of-dns.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8CQ348eyp7ImA9WxJWFE0.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-1826621443656265389</id><published>2009-06-19T16:06:00.000+05:30</published><updated>2009-06-19T16:07:42.073+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-19T16:07:42.073+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Exim mail server" /><title>Some useful commands to manage an Exim server.</title><content type="html">&lt;strong&gt;The message-IDs that Exim uses to refer to messages in its queue are mixed-case alpha-numeric, and take the form of: XXXXXX-YYYYYY-ZZ. Below bold alpha-numeric letters is message-IDs [it's just for an example]&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;2008-11-05 12:37:22 1KxhdN-0000VQ-Uq =&gt; supp0rt &lt;supp0rt@eukhost.com&gt; R=virtual_user T=virtual_userdelivery&lt;br /&gt;2008-11-05 12:37:22 1KxhdN-0000VQ-Uq Completed  &lt;br /&gt;&lt;br /&gt;Most commands related to managing the queue and logging use these message-ids. &lt;br /&gt;&lt;br /&gt;Files in /var/spool/exim/msglog contain logging information for each message and are named the same as the message-id.&lt;br /&gt;&lt;br /&gt;Files in /var/spool/exim/input are named after the message-id, plus a suffix denoting whether it is the envelope header (-H) or message data (-D).&lt;br /&gt;&lt;br /&gt;Here are some useful exim commands. These commands are useful, if you have an overloaded queue and need to clear it out.&lt;br /&gt;&lt;br /&gt;Print a count of the messages in the queue&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;root@supp0rt007# exim -bpc  &lt;br /&gt;&lt;br /&gt;Try to send the message with id&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;root@supp0rt007# exim -M id  &lt;br /&gt;&lt;br /&gt;Count how many frozen mails in the queue&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;root@supp0rt007# exim -bpr | grep frozen | wc -l  &lt;br /&gt;&lt;br /&gt;Delete frozen mails in the queue&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;root@supp0rt007# exim -bpr | grep frozen | awk {'print $3'} | xargs exim -Mrm  &lt;br /&gt;&lt;br /&gt;To deliver all emails forcefully&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;root@supp0rt007# exim -qff -v -C /etc/exim.conf &amp;  &lt;br /&gt;&lt;br /&gt;Print a summary of messages in the queue (count, volume, oldest, newest, domain, and totals)&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;root@supp0rt007# exim -bp | exiqsumm  &lt;br /&gt;&lt;br /&gt;Generate and display Exim stats from a logfile&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;root@supp0rt007# eximstats /var/log/exim_mainlog  &lt;br /&gt;&lt;br /&gt;Generate and display Exim stats from a logfile, for one particular day&lt;br /&gt;&lt;br /&gt;Quote:&lt;br /&gt;root@supp0rt007# grep 2008-11-04 /var/log/exim_mainlog | eximstats  &lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-1826621443656265389?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/aKDyGL2apUstSw4npbyig6SXjWQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aKDyGL2apUstSw4npbyig6SXjWQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/aKDyGL2apUstSw4npbyig6SXjWQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/aKDyGL2apUstSw4npbyig6SXjWQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/NOa7jOlHODU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/1826621443656265389/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/some-useful-commands-to-manage-exim.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/1826621443656265389?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/1826621443656265389?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/NOa7jOlHODU/some-useful-commands-to-manage-exim.html" title="Some useful commands to manage an Exim server." /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/some-useful-commands-to-manage-exim.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8DRX04fyp7ImA9WxJWFE0.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-9007347541214685093</id><published>2009-06-19T15:48:00.000+05:30</published><updated>2009-06-19T15:51:14.337+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-19T15:51:14.337+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Redirect" /><title>redirect for domain by using following RewriteRule entry in .htaccess</title><content type="html">----------------------------------------------------------------&lt;br /&gt;RewriteEngine on&lt;br /&gt;RewriteCond %{HTTP_HOST} ^xyz.com$ [OR]&lt;br /&gt;RewriteCond %{HTTP_HOST} ^www.xyz.com$&lt;br /&gt;RewriteRule ^(.*)$ http://www.xyz.com/test//$1 [R=301,L] &lt;br /&gt;-----------------------------------------------------------------&lt;br /&gt;If you do not want to change the address bar url chage R to P.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-9007347541214685093?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nIHlAAT9VNeh5DVyOLOD-KW27So/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nIHlAAT9VNeh5DVyOLOD-KW27So/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nIHlAAT9VNeh5DVyOLOD-KW27So/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nIHlAAT9VNeh5DVyOLOD-KW27So/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/LeSFZTa-LGM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/9007347541214685093/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/redirect-for-domain-by-using-following.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/9007347541214685093?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/9007347541214685093?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/LeSFZTa-LGM/redirect-for-domain-by-using-following.html" title="redirect for domain by using following RewriteRule entry in .htaccess" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/redirect-for-domain-by-using-following.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEMSHk7eCp7ImA9WxJWFE0.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-5556157789520550652</id><published>2009-06-19T15:47:00.000+05:30</published><updated>2009-06-19T15:48:09.700+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-19T15:48:09.700+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Mysql" /><title>Removing Mysql sleep processes.</title><content type="html">#mysqladmin processlist&lt;br /&gt; #cd /var/lib/mysql/&lt;br /&gt;#mysqlcheck -r eximstats&lt;br /&gt;#myisamchk -r eximstats/*&lt;br /&gt;#mysqladmin processlist&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-5556157789520550652?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KJFkaF6V5GoZoxBCLufnWgjvD48/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KJFkaF6V5GoZoxBCLufnWgjvD48/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KJFkaF6V5GoZoxBCLufnWgjvD48/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KJFkaF6V5GoZoxBCLufnWgjvD48/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/8vlu_Aa0R9s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/5556157789520550652/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/removing-mysql-sleep-processes.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/5556157789520550652?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/5556157789520550652?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/8vlu_Aa0R9s/removing-mysql-sleep-processes.html" title="Removing Mysql sleep processes." /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/removing-mysql-sleep-processes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEEHR384fSp7ImA9WxJWFE0.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-787749122076065090</id><published>2009-06-19T15:46:00.000+05:30</published><updated>2009-06-19T15:47:16.135+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-19T15:47:16.135+05:30</app:edited><title>Apache error logs.</title><content type="html">Kill -9 PID &lt;br /&gt;ps aufx | grep nobody&lt;br /&gt; &lt;br /&gt;tail -f /usr/local/apache/logs/access_log :- &lt;br /&gt;tail -f /usr/local/apache/logs/error_log :- site access error logs&lt;br /&gt;tail -f /var/log/exim_mainlog :- mail logs. &lt;br /&gt;usr/local/apache/logs :: access log, error log, if configured php logs, domain logs(domlogs),module logs, httpd pid&lt;br /&gt;tail -f /usr/local/apache/logs/access_log fro httpd &lt;br /&gt;&lt;br /&gt;/var/log/&lt;br /&gt;* /var/log/message: Genreal message and system releated stuff&lt;br /&gt;* /var/log/auth.log: Authenication logs&lt;br /&gt;* /var/log/kern.log: Kernel logs&lt;br /&gt;* /var/log/cron.log: Crond logs&lt;br /&gt;* /var/log/maillog: Mail logs&lt;br /&gt;* /var/log/qmail/ : Qmail log directory (more files inside this directory)&lt;br /&gt;* /var/log/httpd/: Apache access and error logs directory&lt;br /&gt;* /var/log/lighttpd: Lighttpd access and error logs directory&lt;br /&gt;* /var/log/boot.log : System boot log&lt;br /&gt;* /var/log/mysqld.log: MySQL database server log file&lt;br /&gt;* /var/log/secure: Authentication log&lt;br /&gt;* /var/log/utmp or /var/log/wtmp : Login records file&lt;br /&gt;* /var/log/yum.log: Yum log files&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For spamming issue or high mail queue you can check the logs &lt;br /&gt;&lt;br /&gt;tail -f /var/log/exim_mainlog | grep sendmail, public_html, tmp&lt;br /&gt;&lt;br /&gt;MYSQL:-&lt;br /&gt;&lt;br /&gt;mysqladmin processlist :- shows current mysql database usage&lt;br /&gt;&lt;br /&gt;watch mysqladmin processlist :- dynamic usage of mysql process .&lt;br /&gt;&lt;br /&gt;Service restart commands- /scripts/restartsrv_servicename&lt;br /&gt;restartsrv_entropychat*&lt;br /&gt;restartsrv_exim*&lt;br /&gt;restartsrv_eximstats*&lt;br /&gt;restartsrv_ftpserver*&lt;br /&gt;restartsrv_httpd*&lt;br /&gt;restartsrv_imap*&lt;br /&gt;restartsrv_inetd*&lt;br /&gt;restartsrv_interchange*&lt;br /&gt;restartsrv_ipaliases*&lt;br /&gt;restartsrv_melange*&lt;br /&gt;restartsrv_mysql*&lt;br /&gt;restartsrv_named*&lt;br /&gt;restartsrv_nsd*&lt;br /&gt;restartsrv_postgres*&lt;br /&gt;restartsrv_postgresql*&lt;br /&gt;restartsrv_proftpd*&lt;br /&gt;restartsrv_pureftpd*&lt;br /&gt;restartsrv_rsyslogd*&lt;br /&gt;restartsrv_spamd*&lt;br /&gt;restartsrv_sshd*&lt;br /&gt;restartsrv_syslogd*&lt;br /&gt;restartsrv_tailwatchd*&lt;br /&gt;restartsrv_tomcat*&lt;br /&gt;restartsrv_xinetd*&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-787749122076065090?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9btQPZcwUjY4ZjmfgEPKKF5r5XU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9btQPZcwUjY4ZjmfgEPKKF5r5XU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9btQPZcwUjY4ZjmfgEPKKF5r5XU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9btQPZcwUjY4ZjmfgEPKKF5r5XU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/39LkjLYGttg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/787749122076065090/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/apache-error-logs.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/787749122076065090?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/787749122076065090?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/39LkjLYGttg/apache-error-logs.html" title="Apache error logs." /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/apache-error-logs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcDSXs_eip7ImA9WxJWFE0.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-7379175024987042148</id><published>2009-06-19T15:27:00.000+05:30</published><updated>2009-06-19T15:37:58.542+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-19T15:37:58.542+05:30</app:edited><title /><content type="html">User-agent: Mediapartners-Google&lt;br /&gt;Disallow: &lt;br /&gt;&lt;br /&gt;User-agent: *&lt;br /&gt;Disallow: /search&lt;br /&gt;&lt;br /&gt;Sitemap: http://jacobmukalel.blogspot.com/feeds/posts/default?orderby=updated&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-7379175024987042148?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/h3IlqR0a8fh8SqN8lkVJjLBoDLw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h3IlqR0a8fh8SqN8lkVJjLBoDLw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/h3IlqR0a8fh8SqN8lkVJjLBoDLw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h3IlqR0a8fh8SqN8lkVJjLBoDLw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/-9h1OfukwBY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/7379175024987042148/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/user-agent-mediapartners-google.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/7379175024987042148?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/7379175024987042148?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/-9h1OfukwBY/user-agent-mediapartners-google.html" title="" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/user-agent-mediapartners-google.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMESHY8fyp7ImA9WxJWE08.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-1168126989145372133</id><published>2009-06-18T18:03:00.001+05:30</published><updated>2009-06-18T18:03:29.877+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-18T18:03:29.877+05:30</app:edited><title>cPanel Mail Issues</title><content type="html">The below has been known to fix most cPanel mail issues. They can range from spamd failed messages to exim just flat out not working at all.&lt;br /&gt;&lt;br /&gt;/scripts/perlinstaller Digest::SHA1&lt;br /&gt;/scripts/perlinstaller --force Mail::SpamAssassin&lt;br /&gt;/scripts/fixspamassassinfailedupdate&lt;br /&gt;/scripts/updatenow&lt;br /&gt;/scripts/installspam --force&lt;br /&gt;/scripts/exim4 --force&lt;br /&gt;&lt;br /&gt;/etc/rc.d/init.d/exim restart&lt;br /&gt;/scripts/restartsrv spamd&lt;br /&gt;/etc/rc.d/init.d/chkservd restart&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-1168126989145372133?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/WHIt5u0H-KlmTkR6_GhDx1xehnw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WHIt5u0H-KlmTkR6_GhDx1xehnw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/WHIt5u0H-KlmTkR6_GhDx1xehnw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/WHIt5u0H-KlmTkR6_GhDx1xehnw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/5r0rTVb5Tfo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/1168126989145372133/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/cpanel-mail-issues.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/1168126989145372133?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/1168126989145372133?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/5r0rTVb5Tfo/cpanel-mail-issues.html" title="cPanel Mail Issues" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/cpanel-mail-issues.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIASX89fSp7ImA9WxJWE08.&quot;"><id>tag:blogger.com,1999:blog-1565235339795660091.post-2998578694214936057</id><published>2009-06-18T17:44:00.000+05:30</published><updated>2009-06-18T17:49:08.165+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-06-18T17:49:08.165+05:30</app:edited><title>Installing FFMPEG</title><content type="html">&lt;span style="font-weight:bold;"&gt;Go to your installation folder.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;cd /usr/local/src&lt;br /&gt;&lt;br /&gt;1. Lame MP3 encoder&lt;br /&gt;&lt;br /&gt;Pure install of FFmpeg is not enough, the FLV (Flash Video Files) converted has no audio, because FLV audio codec is mp3, so you need LAME support.&lt;br /&gt;&lt;br /&gt;Download from sourceforge.net&lt;br /&gt;&lt;br /&gt;wget http://nchc.dl.sourceforge.net/sourceforge/lame/lame-3.96.tar.gz&lt;br /&gt;tar xvzf lame-3.96.tar.gz&lt;br /&gt;cd lame-3.96&lt;br /&gt;./configure –enable-shared –prefix=/usr&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;enable-shared to make sure FFmpeg can use LAME later. Type lame in command line to see help after install succeed.&lt;br /&gt;&lt;br /&gt;Go to your installation folder.&lt;br /&gt;&lt;br /&gt;cd /usr/local/src&lt;br /&gt;&lt;br /&gt;2. Install subversion via yum, rpm or up2date (things are easier with Subversion).&lt;br /&gt;&lt;br /&gt;For eg: If the server has yum installed, the following command would suffice.&lt;br /&gt;&lt;br /&gt;yum install subversion&lt;br /&gt;&lt;br /&gt;3. Download ffmpeg using subversion&lt;br /&gt;&lt;br /&gt;svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg&lt;br /&gt;&lt;br /&gt;cd ffmpeg&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;./configure –enable-gpl –enable-shared –enable-libmp3lame&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;==============================&lt;br /&gt;If you are getting the following error&lt;br /&gt;&lt;br /&gt;“Unable to create and execute files in /tmp. Set the TMPDIR environment…”&lt;br /&gt;Try to unmount /tmp OR&lt;br /&gt;&lt;br /&gt;mkdir /test ; chmod 777 /test&lt;br /&gt;vi configure edit TMPDIR to /test&lt;br /&gt;and execute it once again&lt;br /&gt;&lt;br /&gt;====================&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;Go to your installation folder.&lt;br /&gt;&lt;br /&gt;cd /usr/local/src&lt;br /&gt;&lt;br /&gt;4. Install Ruby (FLVTool2 is written in Ruby, so you have to install Ruby in server too)&lt;br /&gt;&lt;br /&gt;FLVTool2 is a manipulation tool for Macromedia Flash Video files (FLV). It can calculate a lot of meta data, insert an onMetaData tag, cut FLV files, add cue points (onCuePoint), show the FLV structure and print meta data information in XML or YAML.&lt;br /&gt;&lt;br /&gt;Download from Ruby site, type the following command to compile and install it:&lt;br /&gt;&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;Note: if you have yum installed, just use&lt;br /&gt;&lt;br /&gt;yum install ruby &lt;br /&gt;&lt;br /&gt;Go to your installation folder.&lt;br /&gt;&lt;br /&gt;cd /usr/local/src&lt;br /&gt;&lt;br /&gt;5. Install FLVTool2&lt;br /&gt;&lt;br /&gt;Download from FLVTool2 site, type the following command to compile and install it:&lt;br /&gt;&lt;br /&gt;wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz&lt;br /&gt;tar xvzf flvtool2_1.0.5_rc6.tgz&lt;br /&gt;cd flvtool2_1.0.5_rc6/&lt;br /&gt;ruby setup.rb config&lt;br /&gt;ruby setup.rb setup&lt;br /&gt;ruby setup.rb install&lt;br /&gt;&lt;br /&gt;Type flvtool2 in command line to see help after install succeed.&lt;br /&gt;&lt;br /&gt;Go to your installation folder.&lt;br /&gt;&lt;br /&gt;cd /usr/local/src&lt;br /&gt;&lt;br /&gt;6. Install ffmpeg-php&lt;br /&gt;&lt;br /&gt;wget http://downloads.sourceforge.net/ffmpeg-php/ffmpeg-php-0.5.3.1.tbz2?modtime=1213135005&amp;big_mirror=0&lt;br /&gt;tar xjvf ffmpeg-php-0.5.3.1.tbz2&lt;br /&gt;cd ffmpeg-php-0.5.3.1&lt;br /&gt;&lt;br /&gt;phpize&lt;br /&gt;./configure &amp;&amp; make&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;You will get a message as follows, which mention the path&lt;br /&gt;&lt;br /&gt;############################&lt;br /&gt;/usr/local/src/ffmpeg-php-0.5.3.1/modules/ffmpeg.so&lt;br /&gt;cp ./.libs/ffmpeg.lai /usr/local/src/ffmpeg-php-0.5.3.1/modules/ffmpeg.la&lt;br /&gt;PATH=”$PATH:/sbin” ldconfig -n /usr/local/src/ffmpeg-php-0.5.3.1/modules&lt;br /&gt;———————————————————————-&lt;br /&gt;Libraries have been installed in:&lt;br /&gt;/usr/local/src/ffmpeg-php-0.5.3.1/modules&lt;br /&gt;&lt;br /&gt;Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/&lt;br /&gt;########################&lt;br /&gt;&lt;br /&gt;This creates the ffmpeg.so file. Include this extension in your php.ini file.&lt;br /&gt;extension=ffmpeg.so &lt;br /&gt;&lt;br /&gt;You can find the php.ini that the the server is using with the following command.&lt;br /&gt;&lt;br /&gt;php -i |grep php.ini&lt;br /&gt;&lt;br /&gt;Make sure that the php.ini has the above mentioned extension directory. Also note the PATH where the shared libraries loaded.&lt;br /&gt;&lt;br /&gt;Go to your installation folder.&lt;br /&gt;&lt;br /&gt;cd /usr/local/src&lt;br /&gt;&lt;br /&gt;7. Libogg + Libvorbis&lt;br /&gt;&lt;br /&gt;Download libogg from http://downloads.xiph.org/releases/ogg/&lt;br /&gt;&lt;br /&gt;wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz&lt;br /&gt;tar xvzf libogg-1.1.3.tar.gz&lt;br /&gt;cd /usr/local/src/libogg-1.1.3&lt;br /&gt;./configure &amp;&amp; make &amp;&amp; make install&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Go to your installation folder.&lt;br /&gt;&lt;br /&gt;cd /usr/local/src&lt;br /&gt;&lt;br /&gt;Download Libvorbis from http://downloads.xiph.org/releases/ogg/&lt;br /&gt;&lt;br /&gt;wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz&lt;br /&gt;tar xvzf libvorbis-1.1.2.tar.gz&lt;br /&gt;cd /usr/local/src/libvorbis-1.1.2&lt;br /&gt;./configure &amp;&amp; make &amp;&amp; make install&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Go to your installation folder.&lt;br /&gt;&lt;br /&gt;cd /usr/local/src&lt;br /&gt;&lt;br /&gt;8. Mplayer &amp; Codecs&lt;br /&gt;&lt;br /&gt;wget http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2&lt;br /&gt;tar xjvf essential-20071007.tar.bz2&lt;br /&gt;mv /usr/local/src/essential-20071007/ /usr/local/lib/codecs/&lt;br /&gt;chmod -R 755 /usr/local/lib/codecs/&lt;br /&gt;Go to your installation folder.&lt;br /&gt;&lt;br /&gt;cd /usr/local/src&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;wget http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0rc1.tar.bz2&lt;br /&gt;tar xjvf MPlayer-1.0rc1.tar.bz2&lt;br /&gt;cd MPlayer-1.0rc1/&lt;br /&gt;./configure&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;=======================&lt;br /&gt;&lt;br /&gt;For more information and FAQs,&lt;br /&gt;&lt;br /&gt;http://ffmpeg.mplayerhq.hu/faq.html&lt;br /&gt;&lt;br /&gt;Click here for the steps to install FFmpeg and FFmpeg-php in a Linux ( RHEL, CentOS, Fedora) Server.&lt;br /&gt;Common Issues &amp; fixes :&lt;br /&gt;1) If you are getting the following error while running ffmpeg in shell, try the following.&lt;br /&gt;&lt;br /&gt;ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory&lt;br /&gt;&lt;br /&gt;A)&lt;br /&gt;Step 1: Check if the file “libavdevice.so.52″ exists in the server using the following command.&lt;br /&gt;&lt;br /&gt;find / -name ‘libavdevice.so.*’&lt;br /&gt;&lt;br /&gt;Step 2: You will get the directory in which the file “libavdevice.so.52″ exists from the above command.&lt;br /&gt;Suppose the directory is “/usr/local/lib/” in this example.&lt;br /&gt;&lt;br /&gt;Step 3: You have to add the directory name in the file “/etc/ld.so.conf”.&lt;br /&gt;&lt;br /&gt;Step 4: Execute the command “ldconfig”.&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;&lt;br /&gt;B)&lt;br /&gt;export LD_LIBRARY_PATH=/usr/local/lib:LD_LIBRARY_PATH&lt;br /&gt;&lt;br /&gt;But this value will be cleared once you log off that session.&lt;br /&gt;&lt;br /&gt;So it is better to save this value in bashrc&lt;br /&gt;&lt;br /&gt;vi .bashrc&lt;br /&gt;LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;&lt;br /&gt;After closing the file execute the command : bash&lt;br /&gt;&lt;br /&gt;2)&lt;br /&gt;&lt;br /&gt;If you are getting the following errors while installing ffmpeg&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;"checking for ffmpeg headers... configure: error: ffmpeg headers not&lt;br /&gt;found. Make sure you've built ffmpeg as shared libs using the --enable-&lt;br /&gt;shared option" &lt;br /&gt;&lt;br /&gt;Check whether “/usr/local/include/ffmpeg” directory is created while installing ffmpeg. &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;/span&gt;If not, create this directory. &lt;br /&gt;&lt;br /&gt;mkdir /usr/local/include/ffmpeg&lt;br /&gt;&lt;br /&gt;Copy the necessary ffmpeg header files to “/usr/local/include/ffmpeg”. &lt;br /&gt;&lt;br /&gt;cp -p /usr/local/src/ffmpeg/libavformat/avio.h /usr/local/include/ffmpeg&lt;br /&gt;cp -p /usr/local/src/ffmpeg/libavformat/avformat.h /usr/local/include/ffmpeg&lt;br /&gt;cp -p /usr/local/src/ffmpeg/libavcodec/avcodec&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1565235339795660091-2998578694214936057?l=jacobmukalel.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/EFDwhwjhZboJBR5sJ3M6PKOmnkk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EFDwhwjhZboJBR5sJ3M6PKOmnkk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/EFDwhwjhZboJBR5sJ3M6PKOmnkk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/EFDwhwjhZboJBR5sJ3M6PKOmnkk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/blogspot/Kukr/~4/cPjWMVew-M4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://jacobmukalel.blogspot.com/feeds/2998578694214936057/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://jacobmukalel.blogspot.com/2009/06/installing-ffmpeg.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/2998578694214936057?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1565235339795660091/posts/default/2998578694214936057?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/blogspot/Kukr/~3/cPjWMVew-M4/installing-ffmpeg.html" title="Installing FFMPEG" /><author><name>James</name><uri>http://www.blogger.com/profile/07819163257564869640</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://jacobmukalel.blogspot.com/2009/06/installing-ffmpeg.html</feedburner:origLink></entry></feed>

