<?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> &#187; Plesk For Linux</title>
	<atom:link href="http://eitwebguru.com/category/plesk/plesk-for-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://eitwebguru.com</link>
	<description></description>
	<lastBuildDate>Thu, 09 Feb 2012 05:54:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>HTTPD doesn&#8217;t start After Atmail Installation in Plesk</title>
		<link>http://eitwebguru.com/httpd-doesnt-start-after-atmail-installation-in-plesk/</link>
		<comments>http://eitwebguru.com/httpd-doesnt-start-after-atmail-installation-in-plesk/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 05:45:04 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Linux Virtuozzo]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[atmail/conf.d not found]]></category>
		<category><![CDATA[Syntax error on line 210]]></category>
		<category><![CDATA[Syntax error on line 6]]></category>
		<category><![CDATA[zzz_atmail_vhost.conf]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=581</guid>
		<description><![CDATA[Tweet After installation of Atmail Webmail Client, while restarting Apache it throws following Syntax Error: [root@server ~]# service httpd start Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zzz_atmail_vhost.conf: Include directory &#8216;/etc/psa/webmail/atmail/conf.d&#8217; not found [FAILED] First we will have to check where atmail is installed. We can [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fhttpd-doesnt-start-after-atmail-installation-in-plesk%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/httpd-doesnt-start-after-atmail-installation-in-plesk/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/httpd-doesnt-start-after-atmail-installation-in-plesk/"  data-text="HTTPD doesn&#8217;t start After Atmail Installation in Plesk" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/httpd-doesnt-start-after-atmail-installation-in-plesk/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/httpd-doesnt-start-after-atmail-installation-in-plesk/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">After installation of Atmail Webmail Client, while restarting Apache it throws following Syntax Error:</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 100px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@server ~]# service httpd start<br /> Starting httpd: httpd: Syntax error on line 210 of /etc/httpd/conf/httpd.conf: Syntax error on line 6 of /etc/httpd/conf.d/zzz_atmail_vhost.conf: Include directory &#8216;/etc/psa/webmail/atmail/conf.d&#8217; not found                                                           [<strong><span style="color: #ff0000;">FAILED</span></strong>]</div>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><br />First we will have to check where atmail is installed. We can do that by querying the RPM files using option &#8220;<strong>rpm -ql</strong>&#8220;</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 220px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@server ~]# rpm -ql psa-atmail-1.02-cos5.build92091210.17 | grep etc<br /> /etc/psa-webmail/atmail<br /> /etc/psa-webmail/atmail/atmail.conf<br /> /etc/psa-webmail/atmail/atmail_vhost.conf<br /> /etc/psa-webmail/atmail/conf.d<br /> /etc/psa-webmail/atmail/create_db.sql.in<br /> /etc/psa-webmail/atmailcom<br /> /etc/psa-webmail/atmailcom/atmailcom_vhost.conf<br /> /etc/psa-webmail/atmailcom/conf.d<br /> [root@server ~]#</div>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><br />The above output shows that the files are created in &#8220;<strong>/etc/psa-webmail/</strong>&#8221; directory instead of &#8220;<strong>/etc/psa/webmail/</strong>&#8220;</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 200px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@server ~]# ls -al /etc/psa-webmail/atmail<br /> total 28<br /> drwxr-xr-x 3 root root   4096 Dec 28 10:37 .<br /> drwxr-xr-x 5 root root   4096 Dec 28 10:37 ..<br /> -rw-r&#8211;r&#8211; 1 root root    122 Dec 10 11:54 atmail.conf<br /> -rw-r&#8212;&#8211; 1 root apache   14 Aug 19  2009 .atmail.shadow<br /> -rw-r&#8211;r&#8211; 1 root root   2932 Dec 10 11:54 atmail_vhost.conf<br /> drwxr-xr-x 2 root root   4096 Dec 10 11:54 conf.d<br /> -rw-r&#8211;r&#8211; 1 root root    200 Dec 10 11:54 create_db.sql.in<br /> [root@server etc]#</div>
<p><span style="font-family: Verdana; font-size: small;"><br />So, copy the file to relevant directory as in the conf file of httpd service</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@server ~]# cp -a /etc/psa-webmail/atmail /etc/psa/webmail/</div>
<p><span style="font-family: Verdana; font-size: small;"><br />After that we were able to start the httpd service successfully.</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 60px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@server etc]# /etc/init.d/httpd restart<br /> Stopping httpd:                                            [<span style="color: #ff0000;"><strong>FAILED</strong></span>]<br /> Starting httpd:                                            [ <span style="color: #339966;"><strong> OK</strong></span> ]</div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/httpd-doesnt-start-after-atmail-installation-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove AtMail Footer Message</title>
		<link>http://eitwebguru.com/remove-atmail-footer-message/</link>
		<comments>http://eitwebguru.com/remove-atmail-footer-message/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 04:12:12 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[Plesk For Windows]]></category>
		<category><![CDATA[Atmail webmail]]></category>
		<category><![CDATA[Remove emial footer]]></category>
		<category><![CDATA[remve atmail footer message]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=185</guid>
		<description><![CDATA[Tweet Atmail webmail system offers a webmail client, email server platform and mailserver appliance for Linux, Unix and Windows. Plesk 9.x supports Atmail and while sending emails using Atmail every email shows following message in the footer of the email sent. Msg sent via @Mail - http://atmail.com/ This message is quite irritating and look un-proffestional. [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fremove-atmail-footer-message%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/remove-atmail-footer-message/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/remove-atmail-footer-message/"  data-text="Remove AtMail Footer Message" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/remove-atmail-footer-message/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/remove-atmail-footer-message/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Atmail webmail system offers a webmail client, email server platform and mailserver appliance for Linux, Unix and Windows. Plesk 9.x supports Atmail and while sending emails using Atmail every email shows following message in the footer of the email sent.</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 20px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Msg sent via @Mail - http://atmail.com/</strong></pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">This message is quite irritating and look un-proffestional. This message can be removed by editing AtMail Configuration file which can be located at following location</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 80px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Plesk Windows:</strong> C:\Inetpub\vhosts\webmail\atmail\libs\Atmail\config.php for Win
<strong>Plesk Linux:</strong> /var/www/atmail/libs/Atmail/Config.php
<strong>Normal Location:</strong> [Atmail installtion location]/libs/Atmail/Config.php</pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Search for &#8216;footer_msg&#8217; option and change the message you want to set OR keep it blank</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 500px; height: 125px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>FROM:</strong>
'footer_msg' =&gt; 'Msg sent via @Mail - http://atmail.com/',

<strong>TO:</strong>
'footer_msg' =&gt; 'YOUR COMPANY NAME OR ANY TEXT',
OR
'footer_msg' =&gt; '',</pre>
<p style="text-align: justify;"><strong><span style="font-family: Verdana; font-size: small;">Restart the webserver.</span></strong></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/remove-atmail-footer-message/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ERROR: &#8220;copy_file failed: copy_file: System Error : invalid file paths&#8221; when you change Plesk administrator password</title>
		<link>http://eitwebguru.com/error-copy_file-failed-copy_file-system-error-invalid-file-paths-when-you-change-plesk-administrator-password/</link>
		<comments>http://eitwebguru.com/error-copy_file-failed-copy_file-system-error-invalid-file-paths-when-you-change-plesk-administrator-password/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 01:16:35 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[ch_admin_pass]]></category>
		<category><![CDATA[copy_file]]></category>
		<category><![CDATA[invalid file paths]]></category>
		<category><![CDATA[invalid file paths in /usr/local/psa/admin/bin/copy_file]]></category>
		<category><![CDATA[Plesk copy_file failed]]></category>
		<category><![CDATA[System Error]]></category>
		<category><![CDATA[unable to change plesk password]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=80</guid>
		<description><![CDATA[Tweet While changing Plesk admin password it throws following copy_file failed: copy_file: System Error: invalid file paths in /usr/local/psa/admin/bin/copy_file /var/backup/psa/tmp/nsfuJB48u /etc/psa/.psa.shadow:0: cmd_server.php3:95 ch_admin_pass(string &#8216;***************&#8217;, string &#8216;*************&#8217;) 1: ch_pass.php3:34 require(string &#8216;/usr/local/psa/admin/htdocs/server/ch_pass.php3&#8242;) 2: plesk.php:51 Above error arises when the problem is when Plesk is unable to copy files in /var/backup/psa/tmp/ directory. As per http://kb.parallels.com/en/5201 the main cause [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Ferror-copy_file-failed-copy_file-system-error-invalid-file-paths-when-you-change-plesk-administrator-password%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/error-copy_file-failed-copy_file-system-error-invalid-file-paths-when-you-change-plesk-administrator-password/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/error-copy_file-failed-copy_file-system-error-invalid-file-paths-when-you-change-plesk-administrator-password/"  data-text="ERROR: &#8220;copy_file failed: copy_file: System Error : invalid file paths&#8221; when you change Plesk administrator password" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/error-copy_file-failed-copy_file-system-error-invalid-file-paths-when-you-change-plesk-administrator-password/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/error-copy_file-failed-copy_file-system-error-invalid-file-paths-when-you-change-plesk-administrator-password/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p align="justify"><span style="font-family: Verdana; font-size: small;">While changing Plesk admin password it throws following </span></p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">copy_file failed: copy_file: System Error: invalid file paths in /usr/local/psa/admin/bin/copy_file /var/backup/psa/tmp/nsfuJB48u /etc/psa/.psa.shadow:0: cmd_server.php3:95 ch_admin_pass(string &#8216;***************&#8217;, string &#8216;*************&#8217;) 1: ch_pass.php3:34 require(string &#8216;/usr/local/psa/admin/htdocs/server/ch_pass.php3&#8242;) 2: plesk.php:51</div>
<p align="justify"><span style="font-family: Verdana; font-size: small;"><br />
Above error arises when the problem is when Plesk is unable to copy files in /var/backup/psa/tmp/ directory. As per <strong><a target="_blank" title="http://kb.parallels.com/en/5201" href="http://kb.parallels.com/en/5201" target="_blank">http://kb.parallels.com/en/5201</a></strong> the main cause of the problem is &#8220;Such error occurs in case if symbolic link is used as the path to the Plesk product directory. PHP does not follow symlinks for security reasons.&#8221;</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">When we checked the server we found a Symlink for tmp in /var/backup/psa/ directory</span></p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;">
<p><strong>[root@server ~]# ls -la /usr/local/psa </strong></p>
<p><strong>total 176<br />
drwxr-xr-x 15 root psaadm 4096 Jul 19 09:11 .<br />
drwxr-xr-x 13 root root 4096 Jun 2 15:53 ..<br />
drwxr-xr-x 14 root psaadm 4096 Jul 19 09:47 admin<br />
drwxr-xr-x 2 psaadm psaadm 4096 Jul 19 09:07 bin<br />
drwxr-xr-x 10 psaadm psaadm 4096 Jul 19 09:07 etc<br />
drwxr-xr-x 8 root root 4096 Jun 23 16:47 handlers<br />
drwxr-xr-x 6 root root 4096 Jun 23 16:47 handlers.default<br />
drwxr-xr-x 3 root root 4096 May 30 18:29 lib<br />
drwxr-xr-x 3 root root 4096 May 30 18:18 libexec<br />
drwxr-xr-x 4 root root 4096 May 30 18:16 logrotate<br />
drwxr-xr-x 3 root root 4096 May 30 18:18 pam_plesk_config<br />
-rw-r&#8211;r&#8211; 1 root root 21099 Jun 3 03:32 passwd<br />
drwxr-xr-x 11 root root 4096 Jun 22 10:30 PMM<br />
-r&#8212;&#8212;&#8211; 1 root root 19218 Jun 3 03:32 shadow<br />
drwxr-xr-x 3 root root 4096 May 30 18:18 share<br />
drwxr-xr-x 2 root root 4096 Jul 19 09:07 suexec <span style="color: #ff0000;"><br />
lrwxrwxrwx 1 root root 19 Jun 22 12:02 tmp -&gt; /var/backup/psa/tmp<br />
</span>drwxr-xr-x 10 psaadm psaadm 4096 Apr 22 07:52 var<br />
-rw-r&#8211;r&#8211; 1 root root 27 Jul 19 09:11 version</strong></p>
</div>
<p align="justify"><span style="font-family: Verdana; font-size: small;"><br />
So We removed the symbolic link and remounted the tmp folder physically using following steps:<strong><strong> </strong></strong></span></p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;"><strong>[root@server ~]# rm /usr/local/psa/tmp<br />
rm: remove symbolic link `/usr/local/psa/tmp&#8217;? y<br />
[root@server ~]# mkdir /usr/local/psa/tmp<br />
[root@server ~]# mount &#8211;bind /var/backup/psa/tmp /usr/local/psa/tmp<br />
[root@server ~]# /etc/init.d/psa restart</strong></div>
<p align="justify"><span style="font-family: Verdana; font-size: small;"><br />
Now please try to reset the passwords.</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;"><strong><strong><strong><span style="color: #ff0000;"><span style="text-decoration: underline;">**Note:</span></span> </strong></strong></strong>This settings will save till next system reboot.</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">To make this setting permanent execute following command from the shell of the server which will modify the /etc/fstab file of the Server.</span></p>
<div style="background-color: #eeeeee; width: 550px; height: auto; overflow: auto; line-height: 15px; padding: 20px; font-family: Courier New; font-size: small; color: #000000;"><strong>[root@server ~]# echo &#8220;/var/backup/psa/tmp /usr/local/psa/tmp auto bind &#8221; &gt;&gt; /etc/fstab</strong></div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/error-copy_file-failed-copy_file-system-error-invalid-file-paths-when-you-change-plesk-administrator-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot login to Horde Webmail (Plesk): Login Failed</title>
		<link>http://eitwebguru.com/cannot-login-to-horde-webmail-plesk-login-failed/</link>
		<comments>http://eitwebguru.com/cannot-login-to-horde-webmail-plesk-login-failed/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 00:51:50 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[courier-imap]]></category>
		<category><![CDATA[FAILED LOGIN]]></category>
		<category><![CDATA[Horde Webmail]]></category>
		<category><![CDATA[IMAP Service]]></category>
		<category><![CDATA[Login failed]]></category>
		<category><![CDATA[psa-courier-imap]]></category>
		<category><![CDATA[psa-horde.log]]></category>
		<category><![CDATA[re-installed IMAP Service]]></category>
		<category><![CDATA[telnet localhost 143]]></category>
		<category><![CDATA[Webmail]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=359</guid>
		<description><![CDATA[Tweet PROBLEM: While Login into Webmail it returns the error: “Login failed” SOLUTION: Make sure that it is possible to connect to localhost:143 from the command line using telnet. If you get the error as below: # telnet localhost 143 localhost/143: Name or service not known then check /etc/hosts file. It must have permissions -rw-r–r– [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fcannot-login-to-horde-webmail-plesk-login-failed%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/cannot-login-to-horde-webmail-plesk-login-failed/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/cannot-login-to-horde-webmail-plesk-login-failed/"  data-text="Cannot login to Horde Webmail (Plesk): Login Failed" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/cannot-login-to-horde-webmail-plesk-login-failed/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/cannot-login-to-horde-webmail-plesk-login-failed/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="color: #ff0000;"><span style="text-decoration: underline;"><strong><span style="font-family: Verdana; font-size: small;">PROBLEM:</span></strong></span></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">While Login into Webmail it returns the error: “Login failed”</span></p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong><span style="font-family: Verdana; font-size: small;">SOLUTION:</span></strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Make sure that it is possible to connect to localhost:143 from the command line using telnet. If you get the error as below:</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 40px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong># telnet localhost 143
localhost/143: Name or service not known</strong></pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">then check /etc/hosts file. It must have permissions -rw-r–r– and contain the record for localhost in the following format:</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 30px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>127.0.0.1       localhost localhost.localdomain</strong></pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Above is from From Parallels Knowledgebase</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">If /var/log/psa-horde/psa-horde.log shows something like:</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 70px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><span style="color: #ff0000;"><strong>FAILED LOGIN xx.xx.xx.xx to localhost:143</strong></span>[imap/notls] as me@mydomain.co.uk
<span style="color: #ff0000;"><strong>FAILED LOGIN xx.xx.xx.xx to localhost:143</strong></span>[imap/notls] as me@mydomain.co.uk</pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">I have searched regarding this but unable to find any fix so, I just re-installed the IMAP Service on the server. Following are the steps using which I have re-installed IMAP Server:</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">1) You can find the RPMS used by Plesk in /root/psa/PSA_version directory OR you can download the Tar (Not Autoinstaller) containing RPMS from Parallels website http://www.parallels.com/en/download/ (need registration it’s free)</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">2) go to the RPM directory which contains courier Imap RPM’s</span><br />
<strong>#cd [path to the PSA RPM Directory]/dist-rpm-CentOS-4.2-i386/base/</strong></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">3) Re-install courier-imap-3.0.8-cos4.build81070322.16.i586.rpm and psa-courier-imap-add-8.1.1-cos4.build81070322.16.i586.rpm which will automatically restart the services too</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 700px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">[root@vps base]#<strong> pwd
/root/plesk/dist-rpm-CentOS-4.2-i386/base</strong>
[root@vps base]# <strong>rpm -Uvh courier-imap-3.0.8-cos4.build81070322.16.i586.rpm psa-courier-imap-add-8.1.1-cos4.build81070322.16.i586.rpm –force</strong>
Preparing… ########################################### [100%]
Reloading configuration: [ OK ]
1:courier-imap ########################################### [ 50%]
Stopping Courier-IMAP server:
Stopping imap [ OK ]
Stopping imap-ssl [ OK ]
Stopping pop3 [ OK ]
Stopping pop3-ssl [ OK ]

Starting Courier-IMAP server:
Starting imapd [ OK ]
Starting imap-ssl [ OK ]
Starting pop3 [ OK ]
Starting pop3-ssl [ OK ]

2:psa-courier-imap-add ########################################### [100%]
Stopping Courier-IMAP server:
Stopping imap [ OK ]
Stopping imap-ssl [ OK ]
Stopping pop3 [ OK ]
Stopping pop3-ssl [ OK ]

Starting Courier-IMAP server:
Starting imapd [ OK ]
Starting imap-ssl [ OK ]
Starting pop3 [ OK ]
Starting pop3-ssl [ OK ]

[root@vps base]# <strong>netstat -nap | grep :143</strong>
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 1657/couriertcpd
[root@vps base]# <strong>telnet localhost 143</strong>
Trying 127.0.0.1…
Connected to localhost.
Escape character is ‘^]’.</pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">After this I was able to login into Webmail without any problem. I hope this will help other to fix the issue too</span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/cannot-login-to-horde-webmail-plesk-login-failed/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HowTo: Remove domain Manually from Plesk</title>
		<link>http://eitwebguru.com/howto-remove-domain-manually-from-plesk/</link>
		<comments>http://eitwebguru.com/howto-remove-domain-manually-from-plesk/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 21:58:06 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Virtuozzo]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[Plesk For Windows]]></category>
		<category><![CDATA[/tmp/.s.PGSQL.5432]]></category>
		<category><![CDATA[Connection to the database server]]></category>
		<category><![CDATA[delete domain manually]]></category>
		<category><![CDATA[Plesk domain removal]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=568</guid>
		<description><![CDATA[Tweet While deleting one domain from Plesk it was throwing following error Error: Connection to the database server has failed because of network problems: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket &#8220;/tmp/.s.PGSQL.5432&#8243;? When we checked the domain on server (from [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fhowto-remove-domain-manually-from-plesk%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/howto-remove-domain-manually-from-plesk/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/howto-remove-domain-manually-from-plesk/"  data-text="HowTo: Remove domain Manually from Plesk" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/howto-remove-domain-manually-from-plesk/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/howto-remove-domain-manually-from-plesk/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p><span style="font-family: Verdana; font-size: small;">While deleting one domain from Plesk it was throwing following error</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 130px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;"><strong><span style="color: #ff0000;">Error: Connection to the database server has failed because of network problems:</span></strong>
<p><strong><span style="color: #ff0000;">could not connect to server: No such file or directory<br /> Is the server running locally and accepting<br /> connections on Unix domain socket &#8220;/tmp/.s.PGSQL.5432&#8243;?</span></strong></p>
</div>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">When we checked the domain on server (from shell) we have found that all physical Address (<strong>/var/www/vhost/domain.com</strong>) of the domain has been deleted but still Plesk shows the domain.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Following are the steps to remove the domain from Plesk manually.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>1)</strong> Connect the server using SSH</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>2) </strong>Login into MySQL Prompt as Plesk admin</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@server ~]# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa</div>
<p><span style="font-family: Verdana; font-size: small;"><br /><strong>3)</strong> Delete the DNS Zone of the domain</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 106px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">mysql&gt; delete from dns_zone where name=&#8217;domain.com&#8217;;<br /> Query OK, 1 row affected (0.09 sec)<br /> 
<p>mysql&gt; delete from dns_recs where host=&#8217;domain.com.&#8217;;<br /> Query OK, 8 rows affected (0.03 sec)</p>
</div>
<p><span style="font-family: Verdana; font-size: small;"><br />You can verify if any records still persists using following commands</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 106px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">mysql&gt; select * from dns_zone where name=&#8217;domain.com&#8217;;<br /> Empty set (0.00 sec)
<p>mysql&gt; select * from dns_recs where host=&#8217;domain.com.&#8217;;<br /> Empty set (0.00 sec)</p>
</div>
<p><span style="font-family: Verdana; font-size: small;"><strong><br />4)</strong> Now delete the Domain from Domains table which will remove it from Plesk Domains List</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">mysql&gt; delete from domains where name=&#8217;domain.com&#8217;;<br /> Query OK, 1 row affected (0.06 sec)</div>
<p><span style="font-family: Verdana; font-size: small;"><br />Verify it using select Command.</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">mysql&gt; select * from domains where name=&#8217;domain.com&#8217;;<br /> Empty set (0.00 sec)</div>
<p> </p>
<p style="text-align: justify;"><span style="color: #800000;"><strong><span style="font-family: Verdana; font-size: small;"><span style="text-decoration: underline;">NOTE:</span> <em>PLEASE Make Sure To Verify The DOMAIN NAME before you make any changes as it might delete some other domain. Also the changes made are irreversible.</em></span></strong></span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/howto-remove-domain-manually-from-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install and Configure CSF on a VPS (Part-II)</title>
		<link>http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-ii/</link>
		<comments>http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-ii/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 19:17:54 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[DirectAdmin]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[configure CSF]]></category>
		<category><![CDATA[Configure CSF in CPanel]]></category>
		<category><![CDATA[Configure CSF in DirectAdmin]]></category>
		<category><![CDATA[Configure CSF with Plesk]]></category>
		<category><![CDATA[CSF Port Configuration]]></category>
		<category><![CDATA[CSF Supported OS]]></category>
		<category><![CDATA[Install ConfigServer Security and Firewall]]></category>
		<category><![CDATA[install CSF]]></category>
		<category><![CDATA[Ports need to open in CSF]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=383</guid>
		<description><![CDATA[Tweet In previous Article I have explain how to enable Firewall modules on Virtuozzo or OpenVZ based node. Today I am going to explain how to install and configure CSF Firewall on a VPS. ConfigServer Security and Firewall (CSF) is a free product developed by &#8220;ConfigServer Services&#8221; and this Firewall is successfully tested on following [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Finstall-and-configure-csf-on-a-vps-part-ii%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-ii/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-ii/"  data-text="Install and Configure CSF on a VPS (Part-II)" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-ii/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-ii/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">In previous <strong><a href="http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-i-enable-firewall-modules/">Article</a></strong> I have explain how to enable Firewall modules on Virtuozzo or OpenVZ based node. Today I am going to explain how to install and configure CSF Firewall on a VPS.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>ConfigServer Security and Firewall</strong> (<strong>CSF</strong>) is a free product developed by &#8220;<strong>ConfigServer Services</strong>&#8221; and this Firewall is successfully tested on following Operating System</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 200px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>RedHat v7.3, v8.0, v9.0
RedHat Enterprise v3, v4, v5 (32/64 bit)
CentOS v3, v4, v5 (32/64 bit)
Fedora Core v1 to v12(32/64 bit)
*Ubuntu v6.06 LTS, v8.10, v9.10
*Debian v3.1, v4.0, v5.0
*Mandriva 2009
*Gentoo
*openSUSE v10, v11
*Slackware v12.2
<span style="color: #ff0000;">* may require custom regex patterns for some functions</span></strong></pre>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong><span style="font-family: Verdana; font-size: small;">Installation of CSF</span></strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Before installation of CSF make sure you have <strong>Perl 5.8.8 and perl-libwww-perl</strong> (Perl Module) is installed on your Server. If they are not installed you can install it using <strong>YUM</strong>.</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 20px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>yum install perl perl-libwww-perl</strong></pre>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Now copy and paste Following Commands After &#8220;#&#8221; to install CSF on a VPS<br />
</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">To Download CSF:- # <strong>wget http://www.configserver.com/free/csf.tgz</strong></span><span style="font-family: Verdana; font-size: small;"><br />
Extract zip:- # <strong>tar -xzvf csf.tgz</strong><br />
</span><span style="font-family: Verdana; font-size: small;">Go to CSF Directory:- # <strong>cd csf</strong><br />
Install CSF:- # <strong>./install.sh</strong></span></p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong><span style="font-family: Verdana; font-size: small;">Configuration of CSF</span></strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">To Configure CSF (Basic Configuration) open/Edit CSF Configuration File at <strong>/etc/csf/csf.conf</strong> file and make following changes</span></p>
<p style="text-align: justify;"><strong><span style="font-family: Verdana; font-size: small;">1) Disable Testing Mode</span></strong></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 80px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Change</strong>
TESTING = "1"
<strong>to</strong>
TESTING = "0"</pre>
<p style="text-align: justify;">
<p style="text-align: justify;"><strong><span style="font-family: Verdana; font-size: small;">2) Enable incoming and outgoing Ports.</span></strong></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Search for &#8220;<strong>TCP_IN</strong>&#8221; and add following ports for respective control panels</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 90px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Cpanel</strong> = "20,21,22,25,26,53,80,110,143,443,465,993,995,2082,2083,2086,2087,2095,2096"
<strong>Plesk</strong> = "20,21,22,25,53,80,110,143,443,465,993,995,8443,8880"
<strong>DirectAdmin</strong> = "20,21,22,25,53,80,110,143,443,2222"</pre>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Search for &#8220;<strong>TCP_OUT</strong>&#8221; and add following Ports</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 40px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Cpanel</strong> = "21,22,25,26,27,37,43,53,80,110,113,443,465,873,2089"
<strong>Plesk</strong> =  "20,21,22,25,53,37,43,80,113,443,465,873,5443"</pre>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Search &#8220;<strong>UDP_IN</strong>&#8220;</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 60px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Cpanel </strong>= "20,21,53,953"
<strong>Plesk</strong> =  "37,53,873"
<strong>DirectAdmin</strong> = "21,53,873"</pre>
<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Search &#8220;<strong>UDP_OUT</strong>&#8220;</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 40px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>Cpanel</strong> = "20,21,53,113,123,873,953"
<strong>Plesk</strong> = "53,873"</pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>**I have used Default port for CSF Configuration</strong> and if you have any customized OR additional Port, you can add it in CSF Configuration.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong>Save and Exit the file</strong>. Now you can restart the Firewall using command &#8220;<strong>csf -r</strong>&#8220;</span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/install-and-configure-csf-on-a-vps-part-ii/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installation And Configuration of Mod_suPHP on Plesk (CentOS)</title>
		<link>http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/</link>
		<comments>http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 17:44:32 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[enable suPHP on Plesk]]></category>
		<category><![CDATA[install mod_suphp]]></category>
		<category><![CDATA[Install suPHP]]></category>
		<category><![CDATA[suPHP on CentOS]]></category>
		<category><![CDATA[suPHP Plesk]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=32</guid>
		<description><![CDATA[Tweet Introduction: Whenever PHP runs as an Apache Module it get executes as &#8220;user/group&#8221; of the web server which is usually &#8220;nobody&#8221; or &#8220;apache&#8221;. SuExec is a mechanism supplied with Apache which allows executing CGI scripts as the user to which they belongs to, rather than Apache’s user. This improves security in possibilities where multiple [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Finstallation-and-configuration-of-mod_suphp-on-plesk-centos%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/"  data-text="Installation And Configuration of Mod_suPHP on Plesk (CentOS)" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p><strong><span style="font-family: Verdana; font-size: small;">Introduction:</span></strong></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">Whenever PHP runs as an Apache Module it get executes as &#8220;user/group&#8221; of the web server which is usually &#8220;nobody&#8221; or &#8220;apache&#8221;.  SuExec is a mechanism supplied with Apache which allows executing CGI scripts as the user to which they belongs to, rather than Apache’s user. This improves security in possibilities where multiple mutually distrusting users can put CGI content on the server and these scripts are executed as the user that created them. If user &#8220;admin&#8221; uploaded a PHP OR CGI script, you would see it was &#8220;admin&#8221; running the script when looking at the running processes on your server? This also provides an additional layer of security where script permissions can’t be set to 777 (read/write/execute at user/group/world level).</span></p>
<p><strong><span style="font-family: Verdana; font-size: small;">Installation:</span></strong></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">**Make sure yum is installed on the server as it will help to install the dependencies.</span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">1) To get the latest version of mod_suphp RPM enable the Atomic Repository for Yum. This can be done using Following command</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 25px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong># wget -q -O - http://eitwebguru.com/scripts/atomic |sh </strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;">2) After this mod_suPHP can be installed using command &#8220;yum install mod_php&#8221;</span></p>
<p><strong><strong><span style="font-family: Verdana; font-size: small;">Configuration:</span></strong></strong></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">Once mod_suphp is installed, you will have to configure it with Apache.</span><strong> </strong></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">1) First you will have to create a suphp.conf file in /etc/httpd/conf.d/ Directory and Paste the following code</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 150px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong><strong>LoadModule suphp_module modules/mod_suphp.so

php_admin_value engine off
suPHP_Engine On
AddHandler x-httpd-php .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-php

</strong></strong></pre>
<p align="justify"><span style="font-family: Verdana; font-size: small;">2) Restart Apache Service using command <strong><strong>&#8220;service httpd restart&#8221;</strong></strong></span></p>
<p align="justify"><span style="font-family: Verdana; font-size: small;">3) Now you will have to creae suphp configuration file. So, create a new file in <strong><strong>/etc</strong></strong> directory named <strong><strong>&#8220;suphp.conf&#8221; </strong></strong>(rename<strong><strong> </strong></strong>the existing file and create a new one) and add following lines in it:</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 175px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong><strong><strong>[global]
logfile=/var/log/suphp.log
loglevel=info
webserver_user=apache
docroot=/var/www/vhosts
allow_file_group_writeable=false
allow_file_others_writeable=false
allow_directory_group_writeable=false
allow_directory_others_writeable=false
check_vhost_docroot=false
errors_to_browser=false
env_path=/bin:/usr/bin
umask=0022
min_uid=30
min_gid=30

[handlers]
x-httpd-php=php:/usr/bin/php-cgi
x-suphp-cgi=execute:!self
</strong></strong></strong></pre>
<p align="justify">
<p align="justify"><span style="font-family: Verdana; font-size: small;">4) Restart Apache once more i.e. <strong><strong><strong>&#8220;service httpd restart&#8221;</strong></strong></strong></span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/installation-and-configuration-of-mod_suphp-on-plesk-centos/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Plesk 9.3.0 Qmail BUG: Blank messages to Plesk admin email address</title>
		<link>http://eitwebguru.com/plesk-9-3-0-qmail-bug-blank-messages-to-plesk-admin-email-address/</link>
		<comments>http://eitwebguru.com/plesk-9-3-0-qmail-bug-blank-messages-to-plesk-admin-email-address/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 14:56:46 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[Plesk 9.3.0 email bug]]></category>
		<category><![CDATA[Plesk blank email]]></category>
		<category><![CDATA[Qmail BUG]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=588</guid>
		<description><![CDATA[Tweet Recently we have found that many of Plesk users are complaining about receiving Blank Email to the Plesk Admin address like below     As per Parallels this is the latest bug in Plesk which will be fixed in future releases. They have also provided a work around for the problem; as per them [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Fplesk-9-3-0-qmail-bug-blank-messages-to-plesk-admin-email-address%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/plesk-9-3-0-qmail-bug-blank-messages-to-plesk-admin-email-address/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/plesk-9-3-0-qmail-bug-blank-messages-to-plesk-admin-email-address/"  data-text="Plesk 9.3.0 Qmail BUG: Blank messages to Plesk admin email address" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/plesk-9-3-0-qmail-bug-blank-messages-to-plesk-admin-email-address/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/plesk-9-3-0-qmail-bug-blank-messages-to-plesk-admin-email-address/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Recently we have found that many of Plesk users are complaining about receiving <strong>Blank Email to the Plesk Admin address</strong> like below</span></p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;"><a href="http://eitwebguru.com/wp-content/uploads/2010/03/blankemail.png"><img class="aligncenter size-full wp-image-587" src="http://eitwebguru.com/wp-content/uploads/2010/03/blankemail.png" alt="blankemail Plesk 9.3.0 Qmail BUG: Blank messages to Plesk admin email address" width="407" height="270" title="Plesk 9.3.0 Qmail BUG: Blank messages to Plesk admin email address" /></a></p>
<p style="text-align: justify;"> </p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">As per <strong>Parallels</strong> this is the latest bug in Plesk which will be fixed in future releases. They have also provided a work around for the problem; as per them this issue can be temporary fixed by adjusting the permissions of mail handlers hooks. Execute following command from the Shell of your Server.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><br /></span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 20px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@server ~]# chmod o+x /usr/local/psa/handlers/hooks/*</div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/plesk-9-3-0-qmail-bug-blank-messages-to-plesk-admin-email-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install ImageMagick and PHP-iMagick</title>
		<link>http://eitwebguru.com/install-imagemagick-and-php-imagick/</link>
		<comments>http://eitwebguru.com/install-imagemagick-and-php-imagick/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 03:49:20 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Linux Tips]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[Softwares]]></category>
		<category><![CDATA[How to install ImageMagick]]></category>
		<category><![CDATA[how to install PHP-iMagick]]></category>
		<category><![CDATA[Install ImageMagick]]></category>
		<category><![CDATA[Install ImageMagick and PHP-iMagick]]></category>
		<category><![CDATA[Install PHP-iMagick]]></category>
		<category><![CDATA[What is ImageMagick?]]></category>
		<category><![CDATA[What is PHP-iMagick?. imagemagick version]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=325</guid>
		<description><![CDATA[Tweet What is ImageMagick? ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats and it is used to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Finstall-imagemagick-and-php-imagick%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/install-imagemagick-and-php-imagick/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/install-imagemagick-and-php-imagick/"  data-text="Install ImageMagick and PHP-iMagick" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/install-imagemagick-and-php-imagick/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/install-imagemagick-and-php-imagick/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><strong><span style="font-family: Verdana; font-size: small;">What is ImageMagick?</span></strong></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats and it is used to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.</span></p>
<p style="text-align: justify;"><strong><span style="font-family: Verdana; font-size: small;">What is PHP-iMagick?</span></strong></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Imagick is a native php extension to create and modify images using the ImageMagick API</span></p>
<p style="text-align: justify;"><span style="text-decoration: underline;"><strong><span style="font-family: Verdana; font-size: small;">Installation of ImageMagick</span></strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">1) Download the latest version of ImageMagick from ImageMagick website i.e. http://www.imagemagick.org/script/download.php (select the mirror near to your server for fast download).	Use following command to download ImageMagick</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 40px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">[root@support007 src]# <strong>wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.5.7-10.tar.gz</strong></pre>
<p><a href="http://eitwebguru.com/wp-content/uploads/2009/12/im1.png"><img class="aligncenter size-medium wp-image-327" src="http://eitwebguru.com/wp-content/uploads/2009/12/im1-300x143.png" alt="im1 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">2) Extract and go inside the ImageMagick Folder</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 40px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">[root@support007 src]# <strong>tar -zxf ImageMagick-6.5.7-10.tar.gz</strong>[root@support007 src]# <strong>cd ImageMagick-6.5.7-10</strong></pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">3) Configure: You can run <strong>./configure &#8211;help</strong> to see the advance option and select the options as per your requirement. I will go ith default settings/configurations</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 30px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">[root@support007 ImageMagick-6.5.7-10]# ./configure</pre>
<p> <a href="http://eitwebguru.com/wp-content/uploads/2009/12/im2.png"><img class="aligncenter size-medium wp-image-328" src="http://eitwebguru.com/wp-content/uploads/2009/12/im2-300x143.png" alt="im2 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">4) Once configure completes (without Error) and you get following screen run <strong>make &amp; make install</strong></span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong><br /> </strong></span></p>
<p><a href="http://eitwebguru.com/wp-content/uploads/2009/12/im3.png"><img class="aligncenter size-medium wp-image-329" src="http://eitwebguru.com/wp-content/uploads/2009/12/im3-300x143.png" alt="im3 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 30px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">[root@support007 ImageMagick-6.5.7-10]# <strong>make</strong></pre>
<p><a href="http://eitwebguru.com/wp-content/uploads/2009/12/im4.png"><img class="aligncenter size-medium wp-image-330" src="http://eitwebguru.com/wp-content/uploads/2009/12/im4-300x143.png" alt="im4 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a><br /> <a href="http://eitwebguru.com/wp-content/uploads/2009/12/im5.png"><img class="aligncenter size-medium wp-image-331" src="http://eitwebguru.com/wp-content/uploads/2009/12/im5-300x143.png" alt="im5 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 30px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">[root@support007 ImageMagick-6.5.7-10]# <strong>make install</strong></pre>
<p><a href="http://eitwebguru.com/wp-content/uploads/2009/12/im6.png"><img class="aligncenter size-medium wp-image-332" src="http://eitwebguru.com/wp-content/uploads/2009/12/im6-300x143.png" alt="im6 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a><br /> <a href="http://eitwebguru.com/wp-content/uploads/2009/12/im7.png"><img class="aligncenter size-medium wp-image-333" src="http://eitwebguru.com/wp-content/uploads/2009/12/im7-300x143.png" alt="im7 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">If the above commands get executed without any errors, !!! Congratulations you have installed ImageMagick on your Server. Now you can check the Imagemagick version using following command</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 80px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">[root@support007 src]# <strong>convert -version</strong>Version: <strong>ImageMagick 6.5.7-10 2009-12-07 Q16</strong> http://www.imagemagick.orgCopyright: Copyright (C) 1999-2009 ImageMagick Studio LLC</pre>
<p> <a href="http://eitwebguru.com/wp-content/uploads/2009/12/im8.png"><img class="aligncenter size-medium wp-image-334" src="http://eitwebguru.com/wp-content/uploads/2009/12/im8-300x143.png" alt="im8 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a></p>
<p><span style="text-decoration: underline;"><strong><span style="font-family: Verdana; font-size: small;">Installation of PHP-iMagick</span></strong></span></p>
<p><span style="font-family: Verdana; font-size: small;">1) Download, extract and go to PHP-iMagick directory</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 100px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">[root@support007 src]# wget http://pecl.php.net/get/imagick-2.3.0.tgz[root@support007 src]# tar zxf imagick-2.3.0.tgz[root@support007 src]# cd imagick-2.3.0[root@support007 imagick-2.3.0]#</pre>
<p> <a href="http://eitwebguru.com/wp-content/uploads/2009/12/im13.png"><img class="aligncenter size-medium wp-image-335" src="http://eitwebguru.com/wp-content/uploads/2009/12/im13-300x98.png" alt="im13 300x98 Install ImageMagick and PHP iMagick" width="300" height="98" title="Install ImageMagick and PHP iMagick" /></a></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">2) Execute phpize command to prepare the build environment for a PHP extension and after that run &#8220;./configure&#8221; </span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 40px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">[root@support007 imagick-2.3.0]# phpize[root@support007 imagick-2.3.0]# ./configure</pre>
<p> <a href="http://eitwebguru.com/wp-content/uploads/2009/12/im9.png"><img class="aligncenter size-medium wp-image-336" src="http://eitwebguru.com/wp-content/uploads/2009/12/im9-300x143.png" alt="im9 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">3) Run make and make install to complete the installation.</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 40px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr">[root@support007 imagick-2.3.0]# make[root@support007 imagick-2.3.0]# make install</pre>
<p> <a href="http://eitwebguru.com/wp-content/uploads/2009/12/im11.png"><img class="aligncenter size-medium wp-image-337" src="http://eitwebguru.com/wp-content/uploads/2009/12/im11-300x143.png" alt="im11 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a></p>
<p><a href="http://eitwebguru.com/wp-content/uploads/2009/12/im12.png"><img class="aligncenter size-medium wp-image-338" src="http://eitwebguru.com/wp-content/uploads/2009/12/im12-300x143.png" alt="im12 300x143 Install ImageMagick and PHP iMagick" width="300" height="143" title="Install ImageMagick and PHP iMagick" /></a></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">4) Add following line in php.ini file to enable imagick extension with PHP. Make sure that the extension is installed in the Directoy mentioned as extension_dir in php.ini</span></p>
<pre style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 490px; height: 30px; text-align: justify; font-family: Verdana; font-size: small;" dir="ltr"><strong>extension=imagick.so</strong></pre>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">5) Restart Apache Webserver and create a PHPINFO file in web server&#8217;s document root with code &#8220;&#8221;. Now browse the File and check if you get following results</span></p>
<p><a href="http://eitwebguru.com/wp-content/uploads/2009/12/im14.png"><img class="aligncenter size-medium wp-image-339" src="http://eitwebguru.com/wp-content/uploads/2009/12/im14-284x300.png" alt="im14 284x300 Install ImageMagick and PHP iMagick" width="284" height="300" title="Install ImageMagick and PHP iMagick" /></a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/install-imagemagick-and-php-imagick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to Access Plesk &#8211; PSA dead but subsys locked</title>
		<link>http://eitwebguru.com/unable-to-access-plesk-psa-dead-but-subsys-locked/</link>
		<comments>http://eitwebguru.com/unable-to-access-plesk-psa-dead-but-subsys-locked/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 00:12:07 +0000</pubDate>
		<dc:creator>Milind</dc:creator>
				<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Plesk For Linux]]></category>
		<category><![CDATA[Plesk Apache Configuration]]></category>
		<category><![CDATA[Plesk Error]]></category>
		<category><![CDATA[Plesk Error log file]]></category>

		<guid isPermaLink="false">http://eitwebguru.com/?p=736</guid>
		<description><![CDATA[Tweet Recently we faced a problem where Plesk was not accessible over Internet i.e. using port 8443 (https) and 8880 (normal). The first thing we checked was the Firewall; it happens sometime that the problem might be with firewall which was blocking port 8443 and 8880 but there was no problem with Firewall. Then we [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div class="bottomcontainerBox" style="border:1px solid #808080;background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Feitwebguru.com%2Funable-to-access-plesk-psa-dead-but-subsys-locked%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eitwebguru.com/unable-to-access-plesk-psa-dead-but-subsys-locked/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://eitwebguru.com/unable-to-access-plesk-psa-dead-but-subsys-locked/"  data-text="Unable to Access Plesk &#8211; PSA dead but subsys locked" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://eitwebguru.com/unable-to-access-plesk-psa-dead-but-subsys-locked/" data-counter="right"></script></div>			
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1&amp;r=http://eitwebguru.com/unable-to-access-plesk-psa-dead-but-subsys-locked/"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Recently we faced a problem where Plesk was not accessible over Internet i.e. using port <strong>8443 (https)</strong> and <strong>8880 (normal)</strong>. The first thing we checked was the Firewall; it happens sometime that the problem might be with firewall which was blocking port 8443 and 8880 but there was no problem with Firewall. Then we tried to check the status of Plesk (PSA) Service and got following response</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@server ~]# /etc/init.d/psa status<br /> psa dead but subsys locked</div>
<p><span style="font-family: Verdana; font-size: small;"><br />While checking for logs (Plesk Logs) on <strong>/usr/local/psa/admin/logs/error_log</strong> it was showing following Messages</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[crit] (98)Address already in use: make_sock: could not bind to port 80</div>
<p><span style="font-family: Verdana; font-size: small;"><br />Now we have used command &#8220;<strong>/usr/sbin/lsof -i | grep http</strong>&#8221; (without quotes) and then killed the process using the ID. After that we have removed the Plesk Lock</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 40px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@server ~]# rm -f /var/lock/subsys/psa</div>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><br />But starting Plesk service didn&#8217;t fixed the problem. Still we were getting &#8220;<strong>could not bind to port 80</strong>&#8221; Error.</span></p>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;">Now we have opened Plesk Apache Configuration file which include Apache (Web Server) Configuration of Plesk Control Panel.</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 20px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@vps ~]# vi /usr/local/psa/admin/conf/httpsd.conf</div>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><br />and found that the User has changed the Plesk Port and set it to listen on port 80 which is default port of HTTPD</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 200px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;"># Listen: Allows you to bind Apache to specific IP addresses and/or<br /> # ports, in addition to the default. See also the <br /> # directive.<br /> #<br /> #Listen 3000<br /> #Listen 12.34.56.78:80<br /> #Listen 8443<br /> #Listen 8880<br /> Listen 80</div>
<p><span style="font-family: Verdana; font-size: small;"><br />So, we have made necessary changes <strong>httpsd.conf</strong> file i.e. disabled Port 80 and allowed 8443 and 8880 in Plesk Apache Configuration and restart PSA.</span></p>
<div style="background: url(/wp-content/themes/notepad_second/images/pre_code_bg_blk.png) repeat-y scroll 0% 0% transparent; width: 490px; height: 240px; overflow: auto; line-height: 20px; padding: 20px; font-family: Courier New; font-size: small; color: #ffffff;">[root@vps ~]# /etc/init.d/psa start<br /> Starting xinetd service&#8230;                                            done<br /> Starting named service&#8230;                                             done<br /> Starting mysqld service&#8230;                                            done<br /> Starting qmail service&#8230;                                             done<br /> Starting courier-imap service&#8230;                                      done<br /> Starting postgresql service&#8230;                                        done<br /> Starting psa-spamassassin service&#8230;                                  done<br /> Starting Plesk&#8230;                                                     done<br /> Starting drwebd service&#8230;                                            done<br /> [root@vps ~]# /etc/init.d/psa status<br /> httpsd (pid 1553 1529 1497 1492) is running&#8230;</div>
<p style="text-align: justify;"><span style="font-family: Verdana; font-size: small;"><strong><br />NOTE:-</strong> Here the problem was with Plesk Apache configuration but there might be some different problems too. I have posted this fix which will help to understand Plesk Error Log file and Plesk Apache Configuration files. If any of the USER face different problem and knows the FIX Let me know through Contact form I will be happy to post here.</span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://eitwebguru.com/unable-to-access-plesk-psa-dead-but-subsys-locked/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

