<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for SecaServer</title>
	<atom:link href="http://blog.secaserver.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.secaserver.com</link>
	<description>server &#124; administration &#124; howto &#124; notes &#124; tips</description>
	<lastBuildDate>Fri, 10 May 2013 13:46:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Comment on CentOS: Enable CentOS GNOME Desktop by Harshal Kshatriya</title>
		<link>http://blog.secaserver.com/2012/01/centos-enable-centos-gnome-desktop/#comment-4512</link>
		<dc:creator>Harshal Kshatriya</dc:creator>
		<pubDate>Fri, 10 May 2013 13:46:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.secaserver.com/?p=1367#comment-4512</guid>
		<description><![CDATA[Thanks a lot. This blog was very helpful. I was cracking my head for days because I thought my server had crashed and was not able to boot. I tried rescuing my linux box through single user mode and rescue mode. Everything was working fine, still was not able to get the gui. Then this blog happened to me. It worked like magic. Thanks SecaGuy. I owe you.]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot. This blog was very helpful. I was cracking my head for days because I thought my server had crashed and was not able to boot. I tried rescuing my linux box through single user mode and rescue mode. Everything was working fine, still was not able to get the gui. Then this blog happened to me. It worked like magic. Thanks SecaGuy. I owe you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CentOS: Configure Piranha as Load Balancer (Direct Routing Method) by SecaGuy</title>
		<link>http://blog.secaserver.com/2012/07/centos-configure-piranha-load-balancer-direct-routing-method/#comment-4511</link>
		<dc:creator>SecaGuy</dc:creator>
		<pubDate>Thu, 09 May 2013 16:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.secaserver.com/?p=1941#comment-4511</guid>
		<description><![CDATA[Hi Sarmed,

Can you verify if /etc/sysconfig/ha/lvs.cf is exists in LB2? I have made some typo on the post under &quot;Load Balancer #1&quot; section at step 5. 

Previously the value is /etc/sysconfig/ha/lvs.conf]]></description>
		<content:encoded><![CDATA[<p>Hi Sarmed,</p>
<p>Can you verify if /etc/sysconfig/ha/lvs.cf is exists in LB2? I have made some typo on the post under &#8220;Load Balancer #1&#8243; section at step 5. </p>
<p>Previously the value is /etc/sysconfig/ha/lvs.conf</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linux: Email Alert on MySQL Replication Failure by SecaGuy</title>
		<link>http://blog.secaserver.com/2011/11/linux-email-alert-mysql-replication-failure/#comment-4510</link>
		<dc:creator>SecaGuy</dc:creator>
		<pubDate>Thu, 09 May 2013 16:15:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.secaserver.com/?p=1150#comment-4510</guid>
		<description><![CDATA[Thanks qmic. Comment section is really not a good way to share codes!]]></description>
		<content:encoded><![CDATA[<p>Thanks qmic. Comment section is really not a good way to share codes!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linux: Email Alert on MySQL Replication Failure by qmic</title>
		<link>http://blog.secaserver.com/2011/11/linux-email-alert-mysql-replication-failure/#comment-4508</link>
		<dc:creator>qmic</dc:creator>
		<pubDate>Thu, 09 May 2013 11:21:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.secaserver.com/?p=1150#comment-4508</guid>
		<description><![CDATA[Aaah, i understand, comment strips some chars. 
Please get full working code from:
http://pastebin.com/e6zHkL5M]]></description>
		<content:encoded><![CDATA[<p>Aaah, i understand, comment strips some chars.<br />
Please get full working code from:<br />
<a  href="http://pastebin.com/e6zHkL5M" rel="nofollow">http://pastebin.com/e6zHkL5M</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linux: Email Alert on MySQL Replication Failure by qmic</title>
		<link>http://blog.secaserver.com/2011/11/linux-email-alert-mysql-replication-failure/#comment-4507</link>
		<dc:creator>qmic</dc:creator>
		<pubDate>Thu, 09 May 2013 11:18:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.secaserver.com/?p=1150#comment-4507</guid>
		<description><![CDATA[I don`t know how the hell Joel Brock`s script could work :). 
I`ve corrected it
&lt;code&gt;
/* ******************************************
 * No need to change anything below this line
 * ******************************************
 */
error_reporting(E_ALL);
header(&quot;Content-Type: text/plain&quot;); # Not HTML
foreach ($host as $key =&gt; $value) {
 
$mailsubject = &quot;[&quot;.$key.&quot;] SLAVE REPLICATION ALERT&quot;;
$mailheaders = &quot;From:&quot; . $mailfrom;
$sql = &quot;SHOW SLAVE STATUS&quot;;
$skip_file = &#039;skip_alerts&#039;;
$link = mysql_connect($value, $user, $pass, null);
 
if($link)
    $result = mysql_query($sql, $link);
else {
    printf(&quot;BAD: Connection Failed %s&quot;, mysql_error());
    mysql_close($link);
    return;
}
 
if($result)
    $status = mysql_fetch_assoc($result);
else {
    printf(&quot;BAD: Query failed – %s\n&quot;, mysql_error($link));
    mysql_close($link);
    return;
}
 
mysql_close($link);
 
$slave_lag_threshold = 120;
 
 $tests = array(
&#039;test_slave_io_thread&#039; =&gt; array(&#039;Slave_IO_Running&#039;, &quot;\$var === &#039;Yes&#039;&quot;,&#039;Slave IO Thread is not running&#039;),
&#039;test_slave_sql_thread&#039; =&gt; array(&#039;Slave_SQL_Running&#039;, &quot;\$var === &#039;Yes&#039;&quot;,&#039;Slave SQL Thread is not running&#039;),
&#039;test_last_err&#039; =&gt; array(&#039;Last_Errno&#039;, &quot;\$var == 0&quot;,&quot;Error encountered during replication – &quot;.$status[&#039;Last_Error&#039;]),
&#039;test_master_status&#039; =&gt; array(&#039;Seconds_Behind_Master&#039;, &quot;isset(\$var)&quot;,&#039;Unknown master status&#039;, &#039;(Seconds_Behind_Master IS NULL)&#039;),
&#039;test_slave_lag&#039; =&gt; array(&#039;Seconds_Behind_Master&#039;, &quot;\$var  0) {
    mail($mailto,$mailsubject,$mailmessage,$mailheaders);
    print $mailmessage . &quot;\n&quot;;
    $epic_fail = true;
    }
}

if(!$epic_fail) {
    print &quot;OK: Checks all completed successfully on [&quot;.$key.&quot;]\n&quot;;
}
&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>I don`t know how the hell Joel Brock`s script could work <img src='http://blog.secaserver.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
I`ve corrected it<br />
<code><br />
/* ******************************************<br />
 * No need to change anything below this line<br />
 * ******************************************<br />
 */<br />
error_reporting(E_ALL);<br />
header("Content-Type: text/plain"); # Not HTML<br />
foreach ($host as $key =&gt; $value) {</p>
<p>$mailsubject = "[".$key."] SLAVE REPLICATION ALERT";<br />
$mailheaders = "From:" . $mailfrom;<br />
$sql = "SHOW SLAVE STATUS";<br />
$skip_file = 'skip_alerts';<br />
$link = mysql_connect($value, $user, $pass, null);</p>
<p>if($link)<br />
    $result = mysql_query($sql, $link);<br />
else {<br />
    printf("BAD: Connection Failed %s", mysql_error());<br />
    mysql_close($link);<br />
    return;<br />
}</p>
<p>if($result)<br />
    $status = mysql_fetch_assoc($result);<br />
else {<br />
    printf("BAD: Query failed – %s\n", mysql_error($link));<br />
    mysql_close($link);<br />
    return;<br />
}</p>
<p>mysql_close($link);</p>
<p>$slave_lag_threshold = 120;</p>
<p> $tests = array(<br />
'test_slave_io_thread' =&gt; array('Slave_IO_Running', "\$var === 'Yes'",'Slave IO Thread is not running'),<br />
'test_slave_sql_thread' =&gt; array('Slave_SQL_Running', "\$var === 'Yes'",'Slave SQL Thread is not running'),<br />
'test_last_err' =&gt; array('Last_Errno', "\$var == 0","Error encountered during replication – ".$status['Last_Error']),<br />
'test_master_status' =&gt; array('Seconds_Behind_Master', "isset(\$var)",'Unknown master status', '(Seconds_Behind_Master IS NULL)'),<br />
'test_slave_lag' =&gt; array('Seconds_Behind_Master', "\$var  0) {<br />
    mail($mailto,$mailsubject,$mailmessage,$mailheaders);<br />
    print $mailmessage . "\n";<br />
    $epic_fail = true;<br />
    }<br />
}</p>
<p>if(!$epic_fail) {<br />
    print "OK: Checks all completed successfully on [".$key."]\n";<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CentOS: Configure Piranha as Load Balancer (Direct Routing Method) by Sarmed Rahman</title>
		<link>http://blog.secaserver.com/2012/07/centos-configure-piranha-load-balancer-direct-routing-method/#comment-4506</link>
		<dc:creator>Sarmed Rahman</dc:creator>
		<pubDate>Wed, 08 May 2013 07:53:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.secaserver.com/?p=1941#comment-4506</guid>
		<description><![CDATA[running perfectly on with LB1, SRV1 and SRV2. But when I add LB2, pulse does not run on it. It says-

[root@localhost ~]# service pulse restart
Shutting down pulse:                                       [FAILED]
Starting pulse: pulse: cannot create heartbeat socket. running as root?
                                                           [FAILED]

syslog says something like this-
May  8 13:50:50 localhost pulse: failed to bind to heartbeat address: Address already in use

Even when all LB1, SRV1 and SRV2 are shut down, pulse keeps saying the same message. I don&#039;t know what I am doing wrong.

Any suggestions?]]></description>
		<content:encoded><![CDATA[<p>running perfectly on with LB1, SRV1 and SRV2. But when I add LB2, pulse does not run on it. It says-</p>
<p>[root@localhost ~]# service pulse restart<br />
Shutting down pulse:                                       [FAILED]<br />
Starting pulse: pulse: cannot create heartbeat socket. running as root?<br />
                                                           [FAILED]</p>
<p>syslog says something like this-<br />
May  8 13:50:50 localhost pulse: failed to bind to heartbeat address: Address already in use</p>
<p>Even when all LB1, SRV1 and SRV2 are shut down, pulse keeps saying the same message. I don&#8217;t know what I am doing wrong.</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CentOS: Configure Piranha as Load Balancer (Direct Routing Method) by Sarmed Rahman</title>
		<link>http://blog.secaserver.com/2012/07/centos-configure-piranha-load-balancer-direct-routing-method/#comment-4505</link>
		<dc:creator>Sarmed Rahman</dc:creator>
		<pubDate>Wed, 08 May 2013 06:40:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.secaserver.com/?p=1941#comment-4505</guid>
		<description><![CDATA[Worked like a charm. Thank you :)]]></description>
		<content:encoded><![CDATA[<p>Worked like a charm. Thank you <img src='http://blog.secaserver.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linux: Create and Configure SSH Honeypot by Christopher Meng</title>
		<link>http://blog.secaserver.com/2012/01/linux-create-configure-ssh-honeypot/#comment-4504</link>
		<dc:creator>Christopher Meng</dc:creator>
		<pubDate>Tue, 07 May 2013 02:39:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.secaserver.com/?p=1375#comment-4504</guid>
		<description><![CDATA[Yep...I&#039;m from China. Chinese governments often do this but they never admit it. And Great Firewall of China blocks us browsing these sites.

Can you tell me the twitter location so I&#039;ll take a look?Thanks.]]></description>
		<content:encoded><![CDATA[<p>Yep&#8230;I&#8217;m from China. Chinese governments often do this but they never admit it. And Great Firewall of China blocks us browsing these sites.</p>
<p>Can you tell me the twitter location so I&#8217;ll take a look?Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ESXi 5.1: can&#8217;t create multiextent node Error by Ross</title>
		<link>http://blog.secaserver.com/2013/02/esxi-cant-create-multiextent-node/#comment-4503</link>
		<dc:creator>Ross</dc:creator>
		<pubDate>Tue, 07 May 2013 00:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.secaserver.com/?p=2457#comment-4503</guid>
		<description><![CDATA[Thanks for posting, this fixed our problem too.  FYI in case anyone else comes across this - there is no /etc/rc.local.d folder in ESXi 5.0.

I&#039;ll continue looking for how to auto-start it]]></description>
		<content:encoded><![CDATA[<p>Thanks for posting, this fixed our problem too.  FYI in case anyone else comes across this &#8211; there is no /etc/rc.local.d folder in ESXi 5.0.</p>
<p>I&#8217;ll continue looking for how to auto-start it</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Linux: Create and Configure SSH Honeypot by Ruben</title>
		<link>http://blog.secaserver.com/2012/01/linux-create-configure-ssh-honeypot/#comment-4502</link>
		<dc:creator>Ruben</dc:creator>
		<pubDate>Mon, 06 May 2013 08:26:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.secaserver.com/?p=1375#comment-4502</guid>
		<description><![CDATA[Thank you sou much. I asked you about because I read a Twitter of ISP which tell people they are using honeypot to locate range of attacking ips from China and then they manage to ban all of these ips. No explain how. But I&#039;ve noticed this twitter spoke about &quot;honeypot&quot;.

Thanks again, nice blog!]]></description>
		<content:encoded><![CDATA[<p>Thank you sou much. I asked you about because I read a Twitter of ISP which tell people they are using honeypot to locate range of attacking ips from China and then they manage to ban all of these ips. No explain how. But I&#8217;ve noticed this twitter spoke about &#8220;honeypot&#8221;.</p>
<p>Thanks again, nice blog!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
