<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CK Web Logs</title>
	<atom:link href="http://www.cklog.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cklog.net</link>
	<description>Internet &#38; Technology</description>
	<lastBuildDate>Sat, 12 May 2012 20:07:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to install Subversion on DirectAdmin</title>
		<link>http://www.cklog.net/how-to-install-subversion-on-directadmin/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-install-subversion-on-directadmin</link>
		<comments>http://www.cklog.net/how-to-install-subversion-on-directadmin/#comments</comments>
		<pubDate>Sat, 12 May 2012 20:00:03 +0000</pubDate>
		<dc:creator>ck</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Backyard Monsters Facebook cheats]]></category>
		<category><![CDATA[custom apache]]></category>
		<category><![CDATA[directadmin]]></category>
		<category><![CDATA[libsvn]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.cklog.net/?p=222</guid>
		<description><![CDATA[Subversion must be compiled against the Apache headers to create the mod_dav_svn module.. Apache doesn&#8217;t have a mod_dav_svn module and you can not install subversion with yum. - Make a temp dir for your svn bits: $mkdir /etc/customsvn $cd /etc/customsvn - Install libexpat and libneon: $yum install expat-devel $yum install neon-devel - Get svn and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cklog.net/tag/subversion/" class="st_tag internal_tag" rel="tag" title="Posts tagged with subversion">Subversion</a> must be compiled against the Apache headers to create the mod_dav_<a href="http://www.cklog.net/tag/svn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with svn">svn</a> module..</p>
<p>Apache doesn&#8217;t have a mod_dav_svn module and you can not install subversion with yum.</p>
<p><span id="more-222"></span></p>
<p>- Make a temp dir for your svn bits:
</p>

<div class="wp_codebox"><table><tr id="p22219"><td class="code" id="p222code19"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>customsvn
<span style="color: #007800;">$cd</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>customsvn</pre></td></tr></table></div>

<p>
- Install libexpat and libneon:</p>

<div class="wp_codebox"><table><tr id="p22220"><td class="code" id="p222code20"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$yum</span> <span style="color: #c20cb9; font-weight: bold;">install</span> expat-devel
<span style="color: #007800;">$yum</span> <span style="color: #c20cb9; font-weight: bold;">install</span> neon-devel</pre></td></tr></table></div>

<p>- Get svn and unpack:</p>

<div class="wp_codebox"><table><tr id="p22221"><td class="code" id="p222code21"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>archive.apache.org<span style="color: #000000; font-weight: bold;">/</span>dist<span style="color: #000000; font-weight: bold;">/</span>subversion<span style="color: #000000; font-weight: bold;">/</span>subversion-1.7.4.tar.gz
<span style="color: #007800;">$tar</span> xzf subversion-1.7.4.tar.gz
<span style="color: #007800;">$mv</span> subversion-1.7.4<span style="color: #000000; font-weight: bold;">/*</span> .
<span style="color: #007800;">$rm</span> <span style="color: #660033;">-r</span> subversion-1.7.4</pre></td></tr></table></div>

<p>- Get sqlite amalgamation and grab sqlite.c: </p>

<div class="wp_codebox"><table><tr id="p22222"><td class="code" id="p222code22"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$mkdir</span> sqlite-amalgamation
<span style="color: #007800;">$cd</span> sqlite-amalgamation
<span style="color: #007800;">$wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.sqlite.org<span style="color: #000000; font-weight: bold;">/</span>sqlite-amalgamation-3.6.13.tar.gz
<span style="color: #007800;">$tar</span> xzf sqlite-amalgamation-3.6.13.tar.gz
<span style="color: #007800;">$mv</span> sqlite-3.6.13<span style="color: #000000; font-weight: bold;">/</span>sqlite3.c</pre></td></tr></table></div>

<p>- Delete everything else:</p>

<div class="wp_codebox"><table><tr id="p22223"><td class="code" id="p222code23"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$rm</span> <span style="color: #660033;">-rf</span> sqlite-<span style="color: #000000; font-weight: bold;">*</span>
<span style="color: #007800;">$cd</span> ..</pre></td></tr></table></div>

<p>
- Configure, make, install:</p>

<div class="wp_codebox"><table><tr id="p22224"><td class="code" id="p222code24"><pre class="bash" style="font-family:monospace;">$.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--with-apxs</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>apxs <span style="color: #660033;">--with-apr</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>apr-config
<span style="color: #007800;">$make</span>
<span style="color: #007800;">$make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></td></tr></table></div>

<p>- This should work now:</p>

<div class="wp_codebox"><table><tr id="p22225"><td class="code" id="p222code25"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$svn</span> <span style="color: #7a0874; font-weight: bold;">help</span></pre></td></tr></table></div>

<p>- Remove loadmodule from httpd.conf:</p>

<div class="wp_codebox"><table><tr id="p22226"><td class="code" id="p222code26"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>httpd<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>httpd.conf</pre></td></tr></table></div>

<p>
&nbsp; &#8211;&gt; Add comments to these lines, we will do it in another conf file:<br />
&nbsp; #LoadModule dav_svn_module&nbsp;&nbsp;&nbsp;&nbsp; /usr/lib/apache/mod_dav_svn.so<br />
&nbsp; #LoadModule authz_svn_module&nbsp;&nbsp; /usr/lib/apache/mod_authz_svn.so</p>
<p>- Add an include to a new conf file:</p>

<div class="wp_codebox"><table><tr id="p22227"><td class="code" id="p222code27"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>httpd<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>extra<span style="color: #000000; font-weight: bold;">/</span>httpd-includes.conf</pre></td></tr></table></div>

<p>
&nbsp; &#8211;&gt; paste config<br />
&nbsp; # All SVN directives<br />
&nbsp; Include conf/extra/httpd-svn.conf</p>
<p>- Create the new conf file, put the loadmodules etc in here and change location properties according to your setup:</p>

<div class="wp_codebox"><table><tr id="p22228"><td class="code" id="p222code28"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>httpd<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>extra<span style="color: #000000; font-weight: bold;">/</span>httpd-svn.conf</pre></td></tr></table></div>

<p>
&nbsp; &#8211;&gt; paste config and change necessary places<br />
&nbsp; LoadModule dav_svn_module /usr/lib/apache/mod_dav_svn.so<br />
&nbsp; LoadModule authz_svn_module /usr/lib/apache/mod_authz_svn.so<br />
&nbsp; <br />
&nbsp; &lt;IfModule dav_svn_module&gt;<br />
&nbsp; &lt;IfModule authz_svn_module&gt;<br />
&nbsp; &lt;Location /svn&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DAV svn<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SVNParentPath /svn<br />
&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AuthzSVNAccessFile /svn/authz<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Satisfy Any<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Require valid-user<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AuthType Basic<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AuthName &quot;Subversion repository&quot;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AuthUserFile /svn/passwd<br />
&nbsp; &lt;/Location&gt;<br />
&nbsp; &lt;/IfModule&gt;<br />
&nbsp; &lt;/IfModule&gt;</p>
<p>- Restart just to make sure all is good: </p>

<div class="wp_codebox"><table><tr id="p22229"><td class="code" id="p222code29"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$service</span> httpd restart</pre></td></tr></table></div>

<p>- Make an svn dir to match your config:</p>

<div class="wp_codebox"><table><tr id="p22230"><td class="code" id="p222code30"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$mkdir</span> <span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span>
<span style="color: #007800;">$cd</span> <span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span></pre></td></tr></table></div>

<p>
- Create a repo:</p>

<div class="wp_codebox"><table><tr id="p22231"><td class="code" id="p222code31"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$svnadmin</span> create projects</pre></td></tr></table></div>

<p>- Copy the authz file svnadmin made or write your own and add user to passwd file (specified in your httpd-svn config)</p>

<div class="wp_codebox"><table><tr id="p22232"><td class="code" id="p222code32"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$cp</span> projects<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>authz .
<span style="color: #007800;">$htpasswd</span> <span style="color: #660033;">-cm</span> <span style="color: #c20cb9; font-weight: bold;">passwd</span> demouser</pre></td></tr></table></div>

<p>- Give demouser read/write access to all repos:</p>

<div class="wp_codebox"><table><tr id="p22233"><td class="code" id="p222code33"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$vi</span> authz</pre></td></tr></table></div>

<p>
&nbsp; &#8211;&gt; Add at end of file<br />
&nbsp; [/]<br />
&nbsp; demouser = rw</p>
<p>- Give apache ownership of svn or commit will not work:</p>

<div class="wp_codebox"><table><tr id="p22234"><td class="code" id="p222code34"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$chown</span> <span style="color: #660033;">-R</span> apache:apache <span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span></pre></td></tr></table></div>

<p>- Finally, restart:</p>

<div class="wp_codebox"><table><tr id="p22235"><td class="code" id="p222code35"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$service</span> httpd restart</pre></td></tr></table></div>

<p>&nbsp;</p>
<p>If you got the following error when restarting apache:</p>
<div class="bbcode_container">
<div class="bbcode_quote">
<div class="quote_container">Cannot load /usr/lib/apache/mod_dav_svn.so into server: <a href="http://www.cklog.net/tag/libsvn/" class="st_tag internal_tag" rel="tag" title="Posts tagged with libsvn">libsvn</a>_repos-?.so.?: cannot open shared object file: No such file or directory</div>
</div>
</div>
<p>
This can be solved with ldconfig:</p>
<p>&nbsp;</p>
<div class="bbcode_container">
<div class="bbcode_description">

<div class="wp_codebox"><table><tr id="p22236"><td class="code" id="p222code36"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$ldconfig</span>
<span style="color: #007800;">$service</span> httpd restart</pre></td></tr></table></div>

</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cklog.net/how-to-install-subversion-on-directadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use openssl for extracting private key ( .pem ) from .pfx</title>
		<link>http://www.cklog.net/how-to-use-openssl-for-extracting-private-key-pem-from-pfx/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-use-openssl-for-extracting-private-key-pem-from-pfx</link>
		<comments>http://www.cklog.net/how-to-use-openssl-for-extracting-private-key-pem-from-pfx/#comments</comments>
		<pubDate>Sun, 06 May 2012 19:47:37 +0000</pubDate>
		<dc:creator>ck</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[export pfx]]></category>
		<category><![CDATA[export ssl]]></category>
		<category><![CDATA[extract ssl]]></category>
		<category><![CDATA[pem]]></category>
		<category><![CDATA[pfx]]></category>
		<category><![CDATA[PKCS#12]]></category>
		<category><![CDATA[private key]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[X.509]]></category>

		<guid isPermaLink="false">http://www.cklog.net/?p=217</guid>
		<description><![CDATA[You want to migrate your system from windows to linux and you got your SSL in .pfx from windows. You need private.key than you can use openssl for extracting .pem from .pfx (If you dont have openssl you can download from www.openssl.org). For exporting private key ( .pem ) from PFX file and save it [...]]]></description>
			<content:encoded><![CDATA[<p>You want to migrate your system from windows to linux and you got your <a href="http://www.cklog.net/tag/ssl/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ssl">SSL</a> in .<a href="http://www.cklog.net/tag/pfx/" class="st_tag internal_tag" rel="tag" title="Posts tagged with pfx">pfx</a> from windows. You need private.key than you can use openssl for extracting .<a href="http://www.cklog.net/tag/pem/" class="st_tag internal_tag" rel="tag" title="Posts tagged with pem">pem</a> from .pfx (If you dont have openssl you can download from www.openssl.org).</p>
<p>For exporting <a href="http://www.cklog.net/tag/private-key/" class="st_tag internal_tag" rel="tag" title="Posts tagged with private key">private key</a> ( .pem ) from PFX file and save it to PEM file :</p>

<div class="wp_codebox"><table><tr id="p21739"><td class="code" id="p217code39"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$openssl</span> pkcs12 <span style="color: #660033;">-in</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>your_file_name.pfx <span style="color: #660033;">-nocerts</span> <span style="color: #660033;">-out</span> your_private_key_name.pem</pre></td></tr></table></div>

<p>If you want to remove the password from the private key file :</p>

<div class="wp_codebox"><table><tr id="p21740"><td class="code" id="p217code40"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$openssl</span> rsa <span style="color: #660033;">-in</span> your_private_key_name.pem <span style="color: #660033;">-out</span> your_new_private.pem</pre></td></tr></table></div>

<p>&nbsp;</p>
<p><span id="more-217"></span></p>
<p>&nbsp;</p>
<p><strong>.PFX (Personal Information Exchange File):</strong></p>
<p>Syntax Standard[11] &nbsp;&nbsp;&nbsp; Defines a file format commonly used to store private keys with accompanying public key certificates, protected with a password-based symmetric key. PFX is a predecessor to <a href="http://www.cklog.net/tag/pkcs12/" class="st_tag internal_tag" rel="tag" title="Posts tagged with PKCS#12">PKCS#12</a>.</p>
<p>This container format can contain multiple embedded objects, such as multiple certificates. Usually protected/encrypted with a password. Usable as a format for the Java key store and to establish client authentication certificates in Mozilla Firefox. Usable by Apache Tomcat.</p>
<p><strong>.PEM (Privacy Enhanced Mail):</strong></p>
<p>Base64 encoded DER certificate, enclosed between &quot;&#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211;&quot; and &quot;&#8212;&#8211;END CERTIFICATE&#8212;&#8211;&quot;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cklog.net/how-to-use-openssl-for-extracting-private-key-pem-from-pfx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zimbra Unable to Determine Enabled Services From Ldap. Starting logger&#8230;Failed.</title>
		<link>http://www.cklog.net/zimbra-unable-to-determine-enabled-services-from-ldap/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zimbra-unable-to-determine-enabled-services-from-ldap</link>
		<comments>http://www.cklog.net/zimbra-unable-to-determine-enabled-services-from-ldap/#comments</comments>
		<pubDate>Thu, 03 May 2012 06:52:41 +0000</pubDate>
		<dc:creator>ck</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[zimbra]]></category>
		<category><![CDATA[zimbra error]]></category>
		<category><![CDATA[zimbra ssl]]></category>
		<category><![CDATA[zmlogswatchctl]]></category>
		<category><![CDATA[zmmailboxdctl]]></category>

		<guid isPermaLink="false">http://www.cklog.net/?p=211</guid>
		<description><![CDATA[&#160; &#91;zimbra@ck&#93;$ zmcontrol start Host quote.cklog.net Starting ldap...Done. Unable to determine enabled services from ldap. Enabled services read from cache. Service list may be inaccurate. Starting logger...Failed. Starting logswatch...ERROR: service.FAILURE &#40;system failure: ZimbraLdapContext&#41; &#40;cause: javax.net.ssl.SSLHandshakeException sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&#41; zimbra logger service is not [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>

<div class="wp_codebox"><table><tr id="p21145"><td class="code" id="p211code45"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ zmcontrol start
Host quote.cklog.net
        Starting ldap...Done.
Unable to determine enabled services from ldap.
Enabled services <span style="color: #c20cb9; font-weight: bold;">read</span> from cache. Service list may be inaccurate.
        Starting logger...Failed.
Starting logswatch...ERROR: service.FAILURE <span style="color: #7a0874; font-weight: bold;">&#40;</span>system failure: ZimbraLdapContext<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>cause: javax.net.ssl.SSLHandshakeException sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to <span style="color: #c20cb9; font-weight: bold;">find</span> valid certification path to requested target<span style="color: #7a0874; font-weight: bold;">&#41;</span>
zimbra logger service is not enabled<span style="color: #000000; font-weight: bold;">!</span>  failed.</pre></td></tr></table></div>

<p>
The usual reason for this error is expired <a href="http://www.cklog.net/tag/ssl/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ssl">SSL</a> certificate..</p>
<p><span id="more-211"></span></p>
<p>
This error usually happens if your SSL certificate has expired. There are two solutions for this problem.</p>
<p>
<strong>The first solution is renewing your certificate and deploying it with the following command :</strong></p>
<p>&nbsp;</p>

<div class="wp_codebox"><table><tr id="p21146"><td class="code" id="p211code46"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>zmcertmgr deploycrt <span style="color: #c20cb9; font-weight: bold;">comm</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>ssl<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>commercial<span style="color: #000000; font-weight: bold;">/</span>your_new_ssl.crt <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>ca_bundle.crt</pre></td></tr></table></div>

<p>After this you need to restart zmcontrol.</p>
<p><strong>The second solution is regenerating self-signed certificate.</strong></p>

<div class="wp_codebox"><table><tr id="p21147"><td class="code" id="p211code47"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">su</span> - zimbra <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'zmcontrol stop'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>ssl<span style="color: #000000; font-weight: bold;">/*</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-rf</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>ssl<span style="color: #000000; font-weight: bold;">/</span>.rnd
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>keytool <span style="color: #660033;">-delete</span> <span style="color: #660033;">-alias</span> my_ca <span style="color: #660033;">-keystore</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>jre<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>security<span style="color: #000000; font-weight: bold;">/</span>cacerts <span style="color: #660033;">-storepass</span> changeit
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>java<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>keytool <span style="color: #660033;">-delete</span> <span style="color: #660033;">-alias</span> jetty <span style="color: #660033;">-keystore</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>mailboxd<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>keystore <span style="color: #660033;">-storepass</span> <span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">su</span> - zimbra <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'zmlocalconfig -s -m nokey mailboxd_keystore_password'</span><span style="color: #000000; font-weight: bold;">`</span></pre></td></tr></table></div>

<p>Than Yo need to edit&nbsp; /opt/<a href="http://www.cklog.net/tag/zimbra/" class="st_tag internal_tag" rel="tag" title="Posts tagged with zimbra">zimbra</a>/bin/zmcertmgr file ( you can use &#8216;vi&#8217; )</p>
<p>Find validation_days=365 and change to validation_days=3650</p>
<p>And save /opt/zimbra/bin/zmcertmgr</p>

<div class="wp_codebox"><table><tr id="p21148"><td class="code" id="p211code48"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>zmcertmgr createca <span style="color: #660033;">-new</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>zmcertmgr deployca <span style="color: #660033;">-localonly</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>zmcertmgr createcrt self <span style="color: #660033;">-new</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>zmcertmgr deploycrt self
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">su</span> - zimbra <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'zmcontrol start'</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>zmcertmgr deploycrt self
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>zmcertmgr deployca
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">su</span> - zimbra <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'zmupdateauthkeys'</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>zimbra<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>zimbra<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>zmcertmgr viewdeployedcrt</pre></td></tr></table></div>

<p>
Finally, zimbra back to work <img src='http://www.cklog.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cklog.net/zimbra-unable-to-determine-enabled-services-from-ldap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to grep compressed files at a shell prompt?</title>
		<link>http://www.cklog.net/how-to-grep-compressed-files-at-a-shell-prompt/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-grep-compressed-files-at-a-shell-prompt</link>
		<comments>http://www.cklog.net/how-to-grep-compressed-files-at-a-shell-prompt/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 13:50:55 +0000</pubDate>
		<dc:creator>ck</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[grep compressed file]]></category>
		<category><![CDATA[grep gzip]]></category>
		<category><![CDATA[linux grep .gz]]></category>
		<category><![CDATA[linux grep compressed]]></category>
		<category><![CDATA[zcat]]></category>

		<guid isPermaLink="false">http://www.cklog.net/?p=203</guid>
		<description><![CDATA[Sometimes you need to search inside of .gz files in your system. Unfortunately, grep is not working on compressed files. For solution people usually advise;&#160; uncompress file(s) than grep with your text and after that compress file(s) again&#8230; You dont need to uncompress files. You can use zgrep on compressed or gzipped files. &#160; To [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you need to search inside of .gz files in your system. Unfortunately, grep is not working on compressed files. For solution people usually advise;&nbsp; uncompress file(s) than grep with your text and after that compress file(s) again&#8230;</p>
<p>You dont need to uncompress files. You can use zgrep on compressed or gzipped files.</p>
<p><span id="more-203"></span></p>
<p>&nbsp;</p>
<p>
To search in compressed file, execute the command :</p>

<div class="wp_codebox"><table><tr id="p20351"><td class="code" id="p203code51"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">zgrep</span> <span style="color: #ff0000;">'put-your-text-here'</span> <span style="color: #000000; font-weight: bold;">/</span>your-file-path-here<span style="color: #000000; font-weight: bold;">/</span>file.gz</pre></td></tr></table></div>

<p>Example : I want to grep &#8216;cklog&#8217; in my all exim_rejectlog archive files.</p>
<p>&nbsp;</p>

<div class="wp_codebox"><table><tr id="p20352"><td class="code" id="p203code52"><pre class="bash" style="font-family:monospace;">root<span style="color: #000000; font-weight: bold;">@</span>ck <span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ls /var/log</span>
.<span style="color: #000000; font-weight: bold;">/</span>                        
..<span style="color: #000000; font-weight: bold;">/</span>
exim_rejectlog.1.gz
exim_rejectlog.2.gz
exim_rejectlog.3.gz
exim_rejectlog.4.gz                 
root<span style="color: #000000; font-weight: bold;">@</span>ck <span style="color: #7a0874; font-weight: bold;">&#91;</span>~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># zgrep 'cklog' /var/log/exim_rejectlog.*</span></pre></td></tr></table></div>

<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cklog.net/how-to-grep-compressed-files-at-a-shell-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to export Mailman Subscriber List from Cpanel/Whm?</title>
		<link>http://www.cklog.net/how-to-export-mailman-subscriber-list-from-cpanelwhm/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-export-mailman-subscriber-list-from-cpanelwhm</link>
		<comments>http://www.cklog.net/how-to-export-mailman-subscriber-list-from-cpanelwhm/#comments</comments>
		<pubDate>Sat, 28 Apr 2012 16:57:56 +0000</pubDate>
		<dc:creator>ck</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[WHM]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[mailman export]]></category>
		<category><![CDATA[subscriber list]]></category>

		<guid isPermaLink="false">http://www.cklog.net/?p=191</guid>
		<description><![CDATA[Cpanel&#8217;s Mailman is a open-source mailing list application. The problem is no easy way to export subscribers from list.. Step 1: Login into account via SSH ( as root ). Step 2: Find mailman directory. ( Default Location : /usr/local/cpanel/3rdparty/mailman/bin ) cd /usr/local/cpanel/3rdparty/mailman/bin Step 3: Execute the following command to export subscribers to a text [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cklog.net/tag/cpanel/" class="st_tag internal_tag" rel="tag" title="Posts tagged with cpanel">Cpanel</a>&#8217;s Mailman is a open-source mailing list application. The problem is no easy way to export subscribers from list..<span id="more-191"></span></p>
<p>
Step 1: Login into account via SSH ( as root ).<br />
Step 2: Find mailman directory. ( Default Location : /usr/local/cpanel/3rdparty/mailman/bin )</p>

<div class="wp_codebox"><table><tr id="p19155"><td class="code" id="p191code55"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>cpanel<span style="color: #000000; font-weight: bold;">/</span>3rdparty<span style="color: #000000; font-weight: bold;">/</span>mailman<span style="color: #000000; font-weight: bold;">/</span>bin</pre></td></tr></table></div>

<p>
Step 3: Execute the following command to export subscribers to a text file:</p>

<div class="wp_codebox"><table><tr id="p19156"><td class="code" id="p191code56"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>list_members yourlistname <span style="color: #000000; font-weight: bold;">&gt;</span> .<span style="color: #000000; font-weight: bold;">/</span>export_file_name.txt</pre></td></tr></table></div>

<p>
Example Mailman List Name : maillist_cklog.net&nbsp; ( If my <a href="http://www.cklog.net/tag/subscriber-list/" class="st_tag internal_tag" rel="tag" title="Posts tagged with subscriber list">subscriber list</a> is maillist@cklog.net, the listname would be maillist_cklog.net )</p>
<p>This command will export my email subscribers into file ( export_file_name.txt ).<br />
&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cklog.net/how-to-export-mailman-subscriber-list-from-cpanelwhm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up roundcube to webmail.domain.com as default for domains in directadmin</title>
		<link>http://www.cklog.net/setting-up-roundcube-to-webmail-domain-com-as-default-for-domains/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=setting-up-roundcube-to-webmail-domain-com-as-default-for-domains</link>
		<comments>http://www.cklog.net/setting-up-roundcube-to-webmail-domain-com-as-default-for-domains/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 23:20:49 +0000</pubDate>
		<dc:creator>ck</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[directadmin]]></category>
		<category><![CDATA[roundcube]]></category>
		<category><![CDATA[subdomain]]></category>
		<category><![CDATA[webmail]]></category>

		<guid isPermaLink="false">http://www.cklog.net/?p=172</guid>
		<description><![CDATA[You need to setup the virtualhost for apache2. &#160; &#91;root@ck&#93;# cd /usr/local/directadmin/data/templates &#91;root@ck&#93;# cp virtual_host2.conf custom &#91;root@ck&#93;# cd custom &#160; Now you can edit the new virtual_host2.conf (apache 2) file in custom folder and just add the codes to the end.&#160; &#60;VirtualHost &#124;IP&#124;:80&#62; ServerName webmail.&#124;DOMAIN&#124; ServerAdmin &#124;ADMIN&#124; DocumentRoot /var/www/html/roundcube CustomLog /var/log/httpd/domains/&#124;DOMAIN&#124;.bytes bytes CustomLog /var/log/httpd/domains/&#124;DOMAIN&#124;.log combined [...]]]></description>
			<content:encoded><![CDATA[<p>You need to setup the virtualhost for apache2.</p>
<p>&nbsp;</p>

<div class="wp_codebox"><table><tr id="p17260"><td class="code" id="p172code60"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cd /usr/local/directadmin/data/templates</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cp virtual_host2.conf custom</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cd custom</span></pre></td></tr></table></div>

<p>&nbsp;</p>
<p>Now you can edit the new virtual_host2.conf (apache 2) file in custom folder and just add the codes to the end.<span id="more-172"></span>&nbsp;</p>
<p>&lt;VirtualHost |IP|:80&gt;<br />
ServerName <a href="http://www.cklog.net/tag/webmail/" class="st_tag internal_tag" rel="tag" title="Posts tagged with webmail">webmail</a>.|DOMAIN|<br />
ServerAdmin |ADMIN|<br />
DocumentRoot /var/www/html/<a href="http://www.cklog.net/tag/roundcube/" class="st_tag internal_tag" rel="tag" title="Posts tagged with roundcube">roundcube</a><br />
CustomLog /var/log/httpd/domains/|DOMAIN|.bytes bytes<br />
CustomLog /var/log/httpd/domains/|DOMAIN|.log combined<br />
ErrorLog /var/log/httpd/domains/|DOMAIN|.error.log<br />
&lt;/VirtualHost&gt;</p>
<p>&nbsp;</p>
<p>Simply save and exit. Then run below to rewrite the httpd.conf files.</p>
<p>&nbsp;</p>

<div class="wp_codebox"><table><tr id="p17261"><td class="code" id="p172code61"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;action=rewrite&amp;value=httpd&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>directadmin<span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>task.queue <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>directadmin<span style="color: #000000; font-weight: bold;">/</span>dataskq d</pre></td></tr></table></div>

<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Finally you need to setup dns part.</p>
<p>&nbsp;</p>

<div class="wp_codebox"><table><tr id="p17262"><td class="code" id="p172code62"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cd /usr/local/directadmin/data/templates</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cp dns_a.conf custom</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cd custom</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>ck<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># echo &quot;webmail=|IP|&quot; &gt;&gt; dns_a.conf</span></pre></td></tr></table></div>

<p>&nbsp;</p>
<p>Note: Please check custom folder if there is a file with dns_a.conf name. Also dont forget that is only setup webmail A record for new domains. For existing domains, you&#8217;ll have to add manually.&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cklog.net/setting-up-roundcube-to-webmail-domain-com-as-default-for-domains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CastleVille Free Items XP Links</title>
		<link>http://www.cklog.net/castleville-free-items-xp-links/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=castleville-free-items-xp-links</link>
		<comments>http://www.cklog.net/castleville-free-items-xp-links/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 07:04:27 +0000</pubDate>
		<dc:creator>ck</dc:creator>
				<category><![CDATA[CastleVille]]></category>
		<category><![CDATA[CastleVille Free Items]]></category>
		<category><![CDATA[Free Items]]></category>
		<category><![CDATA[Free Items Links]]></category>
		<category><![CDATA[Free XP]]></category>
		<category><![CDATA[Free XP Links]]></category>
		<category><![CDATA[XP Links]]></category>

		<guid isPermaLink="false">http://www.cklog.net/?p=170</guid>
		<description><![CDATA[These items have limitation. Grab them faster before expired or empty.&#160;&#160; Don&#8217;t click the same link twice or you will face item collection limit. Don&#8217;t click again XP link until 18 Hours.&#160; CastleVille Free XP CastleVille Free XP CastleVille Free XP CastleVille Free XP CastleVille Free XP CastleVille Free XP CastleVille Free XP CastleVille Free [...]]]></description>
			<content:encoded><![CDATA[<p>These items have limitation.<br />
Grab them faster before expired or empty.&nbsp;&nbsp;</p>
<p>Don&#8217;t click the same link twice or you will face item collection limit.<br />
Don&#8217;t click again XP link until 18 Hours.&nbsp; <span id="more-170"></span></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329727230751549eb59Quest_FeedDefault_xp&amp;uid=32972723075&amp;frType=Quest_FeedDefault_xp&amp;ref=nf">CastleVille Free XP</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329727230756ad1d6f6Quest_FeedDefault_xp&amp;uid=32972723075&amp;frType=Quest_FeedDefault_xp&amp;ref=nf">CastleVille Free XP</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=32972723075d3c8a26aQuest_FeedDefault_xp&amp;uid=32972723075&amp;frType=Quest_FeedDefault_xp&amp;ref=nf">CastleVille Free XP</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329727230755694f44aQuest_FeedDefault_xp&amp;uid=32972723075&amp;frType=Quest_FeedDefault_xp&amp;ref=nf">CastleVille Free XP</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329727230759d6716ffQuest_FeedDefault_xp&amp;uid=32972723075&amp;frType=Quest_FeedDefault_xp&amp;ref=nf">CastleVille Free XP</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=3297272307570d007d0Quest_FeedDefault_xp&amp;uid=32972723075&amp;frType=Quest_FeedDefault_xp&amp;ref=nf">CastleVille Free XP</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329727230758242c257Quest_FeedDefault_xp&amp;uid=32972723075&amp;frType=Quest_FeedDefault_xp&amp;ref=nf">CastleVille Free XP</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=3297272307535787815Quest_FeedDefault_xp&amp;uid=32972723075&amp;frType=Quest_FeedDefault_xp&amp;ref=nf">CastleVille Free XP</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329727230755a89a587Quest_FeedDefault_xp&amp;uid=32972723075&amp;frType=Quest_FeedDefault_xp&amp;ref=nf">CastleVille Free XP</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=32972723075b16abf50Quest_FeedDefault_xp&amp;uid=32972723075&amp;frType=Quest_FeedDefault_xp&amp;ref=nf">CastleVille Free XP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cklog.net/castleville-free-items-xp-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CastleVille Free Items Energy Links</title>
		<link>http://www.cklog.net/castleville-free-items-energy-links/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=castleville-free-items-energy-links</link>
		<comments>http://www.cklog.net/castleville-free-items-energy-links/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 20:42:11 +0000</pubDate>
		<dc:creator>ck</dc:creator>
				<category><![CDATA[CastleVille]]></category>
		<category><![CDATA[CastleVille Free Items]]></category>
		<category><![CDATA[Energy Links]]></category>
		<category><![CDATA[Free Energy]]></category>
		<category><![CDATA[Free Energy Links]]></category>
		<category><![CDATA[Free Items]]></category>
		<category><![CDATA[Free Items Links]]></category>

		<guid isPermaLink="false">http://www.cklog.net/?p=168</guid>
		<description><![CDATA[1 small potion&#160; = 3 Energy Don&#8217;t click the same link twice or you will face item collection limit. Don&#8217;t click again Small Energy Potions until 18 Hours. Sorry! You cannot have any more of this item = &#160;Check Your Inventory. CastleVille Free Energy CastleVille Free Energy CastleVille Free Energy CastleVille Free Energy CastleVille Free [...]]]></description>
			<content:encoded><![CDATA[<p>1 small potion&nbsp; = 3 Energy</p>
<p>Don&#8217;t click the same link twice or you will face item collection limit.</p>
<p></p>
<p>Don&#8217;t click again Small Energy Potions until 18 Hours. <br />
Sorry! You cannot have any more of this item = &nbsp;Check Your Inventory.</p>
<p><span id="more-168"></span></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329751821934f01715dQuest_FeedDefault_energy3&amp;uid=32975182193&amp;frType=Quest_FeedDefault_energy3&amp;ref=creative">CastleVille Free Energy</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329751821934696f9d3Quest_FeedDefault_energy3&amp;uid=32975182193&amp;frType=Quest_FeedDefault_energy3&amp;ref=creative">CastleVille Free Energy</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=32975182193a618df6cQuest_FeedDefault_energy3&amp;uid=32975182193&amp;frType=Quest_FeedDefault_energy3&amp;ref=creative">CastleVille Free Energy</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=32975182193a905611dQuest_FeedDefault_energy3&amp;uid=32975182193&amp;frType=Quest_FeedDefault_energy3&amp;ref=creative">CastleVille Free Energy</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329751821935c54e844Quest_FeedDefault_energy3&amp;uid=32975182193&amp;frType=Quest_FeedDefault_energy3&amp;ref=creative">CastleVille Free Energy</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329751821935c54e844Quest_FeedDefault_energy3&amp;uid=32975182193&amp;frType=Quest_FeedDefault_energy3&amp;ref=creative">CastleVille Free Energy</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=3297518219340cb3919Quest_FeedDefault_energy3&amp;uid=32975182193&amp;frType=Quest_FeedDefault_energy3&amp;ref=creative">CastleVille Free Energy</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=329751821935bc086e8Quest_FeedDefault_energy3&amp;uid=32975182193&amp;frType=Quest_FeedDefault_energy3&amp;ref=creative">CastleVille Free Energy</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=32975182193e06b4ecdQuest_FeedDefault_energy3&amp;uid=32975182193&amp;frType=Quest_FeedDefault_energy3&amp;ref=creative">CastleVille Free Energy</a></p>
<p><a href="http://apps.facebook.com/playcastleville/receive.php?vid=32975182193aae993c1Quest_FeedDefault_energy3&amp;uid=32975182193&amp;frType=Quest_FeedDefault_energy3&amp;ref=creative">CastleVille Free Energy</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cklog.net/castleville-free-items-energy-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos: Synchronizing Time with NTP</title>
		<link>http://www.cklog.net/centos-synchronizing-time-with-ntp/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=centos-synchronizing-time-with-ntp</link>
		<comments>http://www.cklog.net/centos-synchronizing-time-with-ntp/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 19:54:57 +0000</pubDate>
		<dc:creator>ck</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos time]]></category>
		<category><![CDATA[configure timezone]]></category>
		<category><![CDATA[linux time]]></category>
		<category><![CDATA[ntp]]></category>
		<category><![CDATA[setting timezone ntp]]></category>
		<category><![CDATA[synchronizing time]]></category>

		<guid isPermaLink="false">http://www.cklog.net/?p=150</guid>
		<description><![CDATA[Setting the timezone on CentOS&#160; is easy. See what the current timezone is: date &#160;Output like this : Wed Jan&#160;5 11:53:19 PDT 2012 Synchronizing time with NTP server yum install ntp -y \cp -f /usr/share/zoneinfo/Europe/Istanbul /etc/localtime ntpdate -v -b in.pool.ntp.org &#160;]]></description>
			<content:encoded><![CDATA[<p>Setting the timezone on CentOS&nbsp; is easy.</p>
<p>See what the current timezone is:</p>

<div class="wp_codebox"><table><tr id="p15065"><td class="code" id="p150code65"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">date</span></pre></td></tr></table></div>

<p>&nbsp;Output like this :</p>
<p>Wed Jan&nbsp;5 11:53:19 PDT 2012</p>
<p><span style="color: rgb(0, 0, 0);"><span id="more-150"></span></span><a href="http://www.cklog.net/tag/synchronizing-time/" class="st_tag internal_tag" rel="tag" title="Posts tagged with synchronizing time">Synchronizing time</a> with <a href="http://www.cklog.net/tag/ntp/" class="st_tag internal_tag" rel="tag" title="Posts tagged with ntp">NTP</a> server</p>

<div class="wp_codebox"><table><tr id="p15066"><td class="code" id="p150code66"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> ntp <span style="color: #660033;">-y</span>
\<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>zoneinfo<span style="color: #000000; font-weight: bold;">/</span>Europe<span style="color: #000000; font-weight: bold;">/</span>Istanbul <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>localtime
ntpdate <span style="color: #660033;">-v</span> <span style="color: #660033;">-b</span> in.pool.ntp.org</pre></td></tr></table></div>

<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cklog.net/centos-synchronizing-time-with-ntp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CastleVille / Hidden Chronicles Promotion</title>
		<link>http://www.cklog.net/castleville-hidden-chronicles-promotion/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=castleville-hidden-chronicles-promotion</link>
		<comments>http://www.cklog.net/castleville-hidden-chronicles-promotion/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 21:56:30 +0000</pubDate>
		<dc:creator>ck</dc:creator>
				<category><![CDATA[CastleVille]]></category>
		<category><![CDATA[castleville]]></category>
		<category><![CDATA[castleville cheats]]></category>
		<category><![CDATA[facebook cheats]]></category>
		<category><![CDATA[Hidden Chronicles Promotion]]></category>

		<guid isPermaLink="false">http://www.cklog.net/?p=161</guid>
		<description><![CDATA[&#160; **Update 01/27/2012** The CastleVille Team will start distributing rewards for the Hidden Chronicles later this afternoon. A&#160; new reward message will be presented and rewards will be distributed to the inventory. The special costumes can be found in the section where avatars are customized. Hidden Chronicle Rewards: -30 energy points -3 hypercraft -Special Costumes [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<div class="rn_AnswerDetail" id="rn_PageContent">
<div id="article_body"><span style="color: rgb(255, 0, 0);"><span style="font-size: 14px;"><strong>**Update 01/27/2012**</strong></span></span><br />
<span style="color: rgb(0, 0, 0);"><span style="font-size: 14px;">The  <a href="http://www.cklog.net/tag/castleville-2/" class="st_tag internal_tag" rel="tag" title="Posts tagged with castleville">CastleVille</a> Team will start distributing rewards for the Hidden  Chronicles later this afternoon. A&nbsp; new reward message will be presented  and rewards will be distributed to the inventory. The special costumes  can be found in the section where avatars are customized. </span></span><span id="more-161"></span></p>
<p><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;"><strong>Hidden Chronicle Rewards:</strong></span></span><br />
<span style="color: rgb(0, 0, 0);"><span style="font-size: 14px;">-30 energy points<br />
-3 hypercraft<br />
-Special Costumes (located in avatar section)</span></span></p>
<p><span style="color: rgb(255, 0, 0);"><span style="font-size: 14px;"><strong>**Update 01/26/2012**</strong></span></span><br />
<span style="font-size: 14px;">CastleVille is facing a small time delay  with distributing rewards for the promotion with Hidden Chronicles. Some  players mistakenly received a game message stating rewards have been  applied. If you have not received the associated rewards please wait for  our next in-game messaging indicating that rewards are available.</p>
<p>Be sure to click on the vote to fix button at the bottom of this  article, this will place fire under the CastleVille developers and speed  up the release of rewards. There is no need to create a support ticket  at this time.</p>
<p>Check back for additional updates related to the Hidden Chronicle rewards.</span></p>
<p>
CastleVille is currently running a cross promotion with Hidden Chronicles.<span style=""> In order t</span>o take advantage of this cross promotion and earn the prize reward, players <b style="">MUST</b> be routed from CastleVille toHidden Chronicles through 1 of 3 in-game icons and reach level 6 in Hidden Chronicles.</p>
<p><b style="">Prize rewards will NOT be granted until January 26, 2012. Please check this article for updates </b></p>
<div style="text-align: center;">&nbsp;</div>
<div style="text-align: center;">&nbsp;</div>
<p>Requirements to earn Hidden Chronicles Prize Reward:</p>
<p><strong>1.&nbsp;&nbsp;&nbsp;&nbsp; Access Hidden Chronicles through one of the following in-game icons:</strong><br />
&nbsp;&nbsp;&nbsp;&nbsp; -Select &ldquo;Play Now&rdquo; through the Message of the Day window<br />
&nbsp;&nbsp;&nbsp;&nbsp; -Click on the magnifying glass on the side of the game window<br />
&nbsp;&nbsp;&nbsp;&nbsp; -Select the Hidden Chronicles &ldquo;Play Now&rdquo; button located on the neighbor bar<br />
<strong>2.&nbsp;&nbsp;&nbsp;&nbsp; Reach level 6 in Hidden Chronicles</strong><br />
<strong>3.&nbsp;&nbsp;&nbsp;&nbsp; Return to CastleVille on January 26, 2012 to earn rewards.</p>
<p>Important Note: Rewards will not be granted earlier than January 26th</strong></div>
</div>
<p>Source : zynga.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cklog.net/castleville-hidden-chronicles-promotion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

