<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>The UNIX and Linux Forums - Emergency UNIX and Linux Support !! Help Me!!</title>
		<link>http://www.unix.com/</link>
		<description><![CDATA[Post your urgent questions here for highest visibility.  Posting a new thread to this forum requires Bits. We monitor this forum to help people with emergencies, but we do not guarantee response time or answers.  This forum is "best effort" only.  Members who reply to posts here receive a bonus of 1000 Bits per reply.]]></description>
		<language>en</language>
		<lastBuildDate>Fri, 27 Nov 2009 15:33:20 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>5</ttl>
		<image>
			<url>http://solaris.unix.com/images/misc/rss.jpg</url>
			<title>The UNIX and Linux Forums - Emergency UNIX and Linux Support !! Help Me!!</title>
			<link>http://www.unix.com/</link>
		</image>
		<item>
			<title>AIX APPVG - QUORUM LOST, VOLUME GROUP CLOSING</title>
			<link>http://www.unix.com/emergency-unix-linux-support-help-me/123897-aix-appvg-quorum-lost-volume-group-closing-new-post.html</link>
			<pubDate>Tue, 17 Nov 2009 01:21:35 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I am running AIX 5.3 TL8. After a disk failure, one of my mirrored application volumegroups went down. Unfortunately we have quorum switched on on this VG and the defective disk holds the majority.  
I have set MISSINGPV_VARYON to TRUE and tried a forced varyon but it's still failing. I...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I am running AIX 5.3 TL8. After a disk failure, one of my mirrored application volumegroups went down. Unfortunately we have quorum switched on on this VG and the defective disk holds the majority. <br />
I have set MISSINGPV_VARYON to TRUE and tried a forced varyon but it's still failing. I cannot switch off quorum while the VG is not varied on - and I desperately need the VG up and running. Does anyone know how I can get my vg back up and running ?<br />
<br />
Thank you and regards<br />
zxmaus</div>

]]></content:encoded>
			<category domain="http://www.unix.com/emergency-unix-linux-support-help-me/">Emergency UNIX and Linux Support !! Help Me!!</category>
			<dc:creator>zxmaus</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/emergency-unix-linux-support-help-me/123897-aix-appvg-quorum-lost-volume-group-closing.html</guid>
		</item>
		<item>
			<title>Complicated SED search required</title>
			<link>http://www.unix.com/emergency-unix-linux-support-help-me/123780-complicated-sed-search-required-new-post.html</link>
			<pubDate>Sun, 15 Nov 2009 01:13:16 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
I'm trying to extract all the description fields from a MIB file which contain multiple instances of the following text: 
 
 
Code: 
--------- 
        ENTERPRISE compaq 
        VARIABLES  { sysName, cpqHoTrapFlags, cpqSsBoxCntlrHwLocation, 
                     cpqSsBoxCntlrIndex,...]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I'm trying to extract all the description fields from a MIB file which contain multiple instances of the following text:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; &nbsp; &nbsp; ENTERPRISE compaq<br />
&nbsp; &nbsp; &nbsp; &nbsp; VARIABLES&nbsp; { sysName, cpqHoTrapFlags, cpqSsBoxCntlrHwLocation,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  cpqSsBoxCntlrIndex, cpqSsBoxBusIndex, cpqSsBoxVendor,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  cpqSsBoxModel, cpqSsBoxSerialNumber, cpqSsBoxFanStatus }<br />
&nbsp; &nbsp; &nbsp; &nbsp; DESCRIPTION<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &quot;Storage System fan status change.<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The agent has detected a change in the Fan Status of a storage<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; system.&nbsp; The variable cpqSsBoxFanStatus indicates the current<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fan status.<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; User Action: If the fan status is degraded or failed, replace<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; any failed fans.&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --#TYPE &quot;Fan Status Change (8026)&quot;</code><hr />
</div>Ideally I need to search through the document, and for each instance of 'DESCRIPTION' found, I need to extract the text found immediately after it in quotes, and join them onto a single line. So for example the above would produce something like:<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<hr /><code style="margin:0px" dir="ltr" style="text-align:left">Storage System fan status change. The agent has detected a change in the Fan Status of a storage system.&nbsp; The variable cpqSsBoxFanStatus indicates the current fan status. User Action: If the fan status is degraded or failed, replace any failed fans.</code><hr />
</div>Each instance should be on a seperate line. I'm getting nowhere with this, as my grasp of <acronym title="Stream Editor">sed</acronym>/awk is basic to say the least.<br />
<br />
If someone could help me out here, it would literally save me hours or even days in monotonous work!<br />
<br />
tia.</div>

]]></content:encoded>
			<category domain="http://www.unix.com/emergency-unix-linux-support-help-me/">Emergency UNIX and Linux Support !! Help Me!!</category>
			<dc:creator>badoshi</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/emergency-unix-linux-support-help-me/123780-complicated-sed-search-required.html</guid>
		</item>
		<item>
			<title>How to delete all the files which are more than 3 weeks old in a particular directory.Thnx in advanc</title>
			<link>http://www.unix.com/emergency-unix-linux-support-help-me/123863-how-delete-all-files-more-than-3-weeks-old-particular-directory-thnx-advanc-new-post.html</link>
			<pubDate>Sat, 14 Nov 2009 20:08:23 GMT</pubDate>
			<description><![CDATA[---Quote (Originally by Neo)--- 
1. You may post emergency work-related questions in this forum.  To post in this forum you will need to use your Bits (http://www.unix.com/credits.php?do=banking).  All questions answered on a "best effort" basis. 
:o 
2. New members may not have enough Bits to post...]]></description>
			<content:encoded><![CDATA[<div><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="6" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="alt2">
			<hr />
			
				<div>
					Originally Posted by <strong>Neo</strong>
					(Post 302331215)
				</div>
				<div style="font-style:italic"><ol style="list-style-type: decimal"><li>You may post emergency work-related questions in this forum.  To post in this forum you will need to use your <a href="http://www.unix.com/credits.php?do=banking" target="_blank">Bits</a>.  All questions answered on a &quot;best effort&quot; basis.<br />
:o</li>
<li>New members may not have enough Bits to post in the emergency forum.   No problem. You can post in the other forums, but please do not demand a quick reply, as some folks do.  <br /></li>
<li>If you are new, and do not have enough Bits, to post in this forum, you are free to contact any forum member and ask them for some of their Bits.   They can give them to you, or they can sell them to you, that is strictly between you and the other forum member.  <br /></li>
<li>In addition, be careful, because if you break the <a href="http://www.unix.com/misc.php?do=cfrules" target="_blank">rules</a>, you can lose your Bits and maybe your wits!<br /></li>
<li>Remember, our Bits virtual currency can be freely traded by all members.  So, if you work for a company and need priority replies, try to acquire some.   Buy them from other members!  Win them (or lose them!) in the <a href="http://www.unix.com/bitsclub.php" target="_blank">Bits Club</a>.<br /></li>
<li>Please note you can reply to or edit your thread at any time.  The forum admins and moderators reserve the right to close any thread.<br /></li>
<li>Also, note that this is a new, experimental forum.    Expect the guidelines to change over time.  New threads posted to this forum will (more than likely) be moved to the relevant forum after your question is answered.  Again, all questions answered on a &quot;best effort&quot; basis.</li>
<li>In addition, users who reply to questions in this forum receive 1000 Bits per reply, which is much higher than the <a href="http://www.unix.com/members-only/111844-current-bits-system-awards-alpha-release.html#post302324214" target="_blank">standard posting credits</a>.</li>
</ol></div>
			
			<hr />
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<category domain="http://www.unix.com/emergency-unix-linux-support-help-me/">Emergency UNIX and Linux Support !! Help Me!!</category>
			<dc:creator>rajsharma</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/emergency-unix-linux-support-help-me/123863-how-delete-all-files-more-than-3-weeks-old-particular-directory-thnx-advanc.html</guid>
		</item>
		<item>
			<title>Getting last 50 lines after finding a word</title>
			<link>http://www.unix.com/emergency-unix-linux-support-help-me/123698-getting-last-50-lines-after-finding-word-new-post.html</link>
			<pubDate>Fri, 13 Nov 2009 14:46:33 GMT</pubDate>
			<description>Hi All, 
 
I have a requirement as below 
 
I need find for a string in a log file and once i found that string i need to send a mail.Thsi can be done thru grep and mailx cmnd. 
 
Here once i found the string i need to send last 50 lines(up) from where string found. 
 
Actually they require to find...</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I have a requirement as below<br />
<br />
I need find for a string in a log file and once i found that string i need to send a mail.Thsi can be done thru grep and mailx cmnd.<br />
<br />
Here once i found the string i need to send last 50 lines(up) from where string found.<br />
<br />
Actually they require to find out the user name which may be available before 50 lines.<br />
<br />
One more thing this script will run every 15 min , i am thinking how to handle if there are multiple cases of these failures <br />
<br />
any thoughts or code will be appreciated<br />
<br />
Thanks<br />
San</div>

]]></content:encoded>
			<category domain="http://www.unix.com/emergency-unix-linux-support-help-me/">Emergency UNIX and Linux Support !! Help Me!!</category>
			<dc:creator>pssandeep</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/emergency-unix-linux-support-help-me/123698-getting-last-50-lines-after-finding-word.html</guid>
		</item>
		<item>
			<title>Passwd command problem</title>
			<link>http://www.unix.com/emergency-unix-linux-support-help-me/123575-passwd-command-problem-new-post.html</link>
			<pubDate>Thu, 12 Nov 2009 07:17:07 GMT</pubDate>
			<description>on Runnning passwd command on HPUX 11.23 
  
I am getting  
  
pam_chauthtok: Shared object load failure. 
  
  
Pls help ...</description>
			<content:encoded><![CDATA[<div>on Runnning passwd command on HPUX 11.23<br />
 <br />
I am getting <br />
 <br />
pam_chauthtok: Shared object load failure.<br />
 <br />
 <br />
Pls help ...</div>

]]></content:encoded>
			<category domain="http://www.unix.com/emergency-unix-linux-support-help-me/">Emergency UNIX and Linux Support !! Help Me!!</category>
			<dc:creator>ultimatix</dc:creator>
			<guid isPermaLink="true">http://www.unix.com/emergency-unix-linux-support-help-me/123575-passwd-command-problem.html</guid>
		</item>
	</channel>
</rss>
