[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] bb-prtdiag.sh - Sun SPARC Enterprise M9000 Server
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] bb-prtdiag.sh - Sun SPARC Enterprise M9000 Server
- From: Ralph Mitchell <ralphmitchell (at) gmail.com>
- Date: Wed, 9 Sep 2009 14:01:00 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=iPSHKCdk+/qx9LPzk7LXnJq98xRBIxDV3kv7blUpu3w=; b=IlYlPcChOqdpZ1J33L4DGCR7TuyvITMSeP4s4jZki4UDpksvKAzsrLcjqyt32NZE6N xmuT9v+n1sVd8V08twvK+kf4wcDAL+rJUnv9ppBte+pBR2iQxEFl54B1Q8Xd5EJzKCJA DPhcR886lq0a73xT9PcX5p3fjDhRmWHPjXkqs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=su0MSSwed5J0Bf3MDZDSPhrTRdR+Stl5gvvsw5v3kArXTiHYDbJoUPKYX6dIDSNZgE KrS0kusB67xY9+dQm46naxiSQklgJyew9x0HmIv0C+dJ9lmoAXAO6p3lG+pH4UxZJJ0N g51kgorg3HnTyRCdnME6WMOGnHYdIMl1kQSVA=
- References: <6457D54DC5088347BF2DB3D2023F9146058478E5 (at) EXCMAIL.gpi.com> <98C4017C3754A34C9D7F4AEC3FF648BA0342FA3FC5 (at) permls101.wde.woodside.com.au> <8dca7fe00909091152k7e2ca8adtded34ca4bff4acb2 (at) mail.gmail.com>
Try using bbcmd to execute bb-prtdiag.sh
server/bin/bbcmd /path/to/bb-prtdiag.sh
bbcmd sets up the environment properly for the script. You need more than
just BBHOME.
Ralph Mitchell
On Wed, Sep 9, 2009 at 1:52 PM, Shaun Phillips <
tainted.soul69 (at) googlemail.com> wrote:
> ok,
>
> So I edited the script and add -vvv to the interpreter line.
>
> And now see egrep and bb errors.
>
>
> if [ -s "$REDLINE" ]; then
> COLOR="red"
> fi
> # NOW USE THE BB COMMAND TO SEND THE DATA ACROSS
> $BB $BBDISP "status $MACHINE.$TEST $COLOR `$DATE` `$CAT $REDLINE` `$CAT
> $YELLOWLINE` `$CAT $BBTMP/$MACHINE.$TEST` "
> fi
> *egrep: syntax error
> ./bb-prtdiag.sh: /bin/bb: not found*
> if [ "$DEBUG" != "Y" ]; then
> clean_up_our_mess
> fi
>
> I have logged in, su'd to hobbit on the clinet, set my BBHOME variable and
> then proceed to ( ./bb-prtdiag.sh ) run the script.
>
> Any thoughts?
>
>
>
>
>
> On Tue, Sep 1, 2009 at 3:14 AM, Everett, Vernon <
> Vernon.Everett (at) woodside.com.au> wrote:
>
>> You are right.
>> I was thinking of sunhw.sh on deadcat.
>> Apologies for muddying the water.
>> Should have my coffee *before* I post to the list. :-)
>>
>> Cheers
>> V
>>
>>
>> -----Original Message-----
>> From: Craig Cook [mailto:Craig.Cook (at) carquest.com]
>> Sent: Monday, 31 August 2009 9:14 PM
>> To: hobbit (at) hswn.dk
>> Subject: RE: [hobbit] bb-prtdiag.sh - Sun SPARC Enterprise M9000 Server
>>
>> >I am having truble with the bb-prtdiag script on "Sun SPARC Enterprise
>> M9000 Server " and also "SUNW,UltraAX-i2" hardware. Always saying
>> something is wrong when I cant see anything wrong?
>>
>> The M9000 has not explicitly been added for support.
>>
>> Check the readme with the bb-prtdiag tar file for how to run the built in
>> debug.
>> There is also information in the comment section at the top of the script.
>>
>> Support for UltraAX-i2 has been added, run debug to find out why/where it
>> is complaining.
>>
>> >bb-prtdiag is a very simple test. It looks at the return code of the
>> prtdiag command.
>> No. bb-prtdiag does not look at the return code from running prtdiag. If
>> you want a simple prtdiag check there is another one on deadcat.
>>
>> Craig
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe (at) hswn.dk
>>
>>
>>
>> NOTICE: This email and any attachments are confidential.
>> They may contain legally privileged information or
>> copyright material. You must not read, copy, use or
>> disclose them without authorisation. If you are not an
>> intended recipient, please contact us at once by return
>> email and then delete both messages and all attachments.
>>
>>
>> To unsubscribe from the hobbit list, send an e-mail to
>> hobbit-unsubscribe (at) hswn.dk
>>
>>
>>
>