Hello Joshua,
UNAME command is not defined in etc/bbsys.local ... etc/bbsys.local
I have bb-prtdiag.sh running under hobbit and i set all these variables directly in the script bb-prtdiag.sh. there is no nedd to use bbsys.local (it's only Big-Brother).
And I don't believe I have a program called "fjprtdiag" and it looks to be a necessary component.
The fjprtdiag is the Fujitsu equivalent for prtdiag for Fujitsu PrimePower machines and is not necessary to run the bb-prtdiag.sh All Fujitsu stuff inside bb-prtdiag-sh is written by me.
I attache my version of bb-prtdiag.sh running under hobbit - 2nd try as gzip
Mit freundlichem Gruß
Uwe Kirbach
-- Uwe Kirbach EnBW Systeme Infrastruktur Support GmbH SIS OIOIU Durlacher Allee 93
76131 Karlsruhe
Telefon: +49 (0)721 63 14139 EMail: u.kirbach at enbw.com
EnBW Systeme Infrastruktur Support GmbH Sitz der Gesellschaft: Karlsruhe Handelsregister: Amtsgericht Mannheim HRB 108550 Vorsitzender des Aufsichtsrats: Dr. Bernhard Beck Geschäftsführer: Jochen Adenau, Dr. Peter Kramp
-----Original Message-----
From: Joshua Krause [mailto:forums at triadbiz.rr.com]
Sent: Monday, January 07, 2008 11:09 PM
To: hobbit at hswn.dk
Subject: [hobbit] bb-prtdiag.sh
I am trying to get the bb-prtdiag.sh script to work on a couple of
Solaris boxes and didn't know if I could get some help from someone in the forum that has it up and running. Currently I am trying to get it to run on a V880 and I am getting this error in the log file:
-bash-3.00$ more bb-prtdiag.log
awk: syntax error near line 1
awk: bailing out near line 1
and on the hobbit page I am seeing this:
UNAME command is not defined in etc/bbsys.local - using default:
/sbin/uname
PLATFORM_SPEC command is not defined in etc/bbsys.local - using
default: SUNW,Sun-Fire-880
PRTDIAG_COMMAND command is not defined in etc/bbsys.local - using
default: /usr/platform/SUNW,Sun-Fire-880/sbin/prtdiag
PRTDIAG_OPT command is not defined in etc/bbsys.local - using
default: -v
EXCLUDE_SYSTEMS command is not defined in etc/bbsys.local - using
default: Ultra-1 Ultra-2 Ultra-5_10 Ultra-30 Ultra-60 Ultra-80 UltraAX-i2 UltraSPARC-IIi-cEngine Sun-Fire Netra-T4 UltraAX-e2 Ultra-Enterprise-10000
PRTDIAG_IGNORE_ERRORS variable is not defined in etc/bbsys.local -
using default: No failures|Most recent AC Power Failure|Minimum Available|CS Fail|No Hardware failures|^===|currently no Boards|Fault Fan
PRTDIAG_IGNORE_FAULTS variable is not defined in etc/bbsys.local -
using default: No Recent System Faults found|No System Faults found|Fault Value|Fault LED|NO_FAULT|Power Fault|Status Fault|Fault off
And I don't believe I have a program called "fjprtdiag" and it
looks to be a necessary component.
Thanks,
Josh
I found out that I could set the information that usually goes in the bbsys.local file in the hobbitclients.cfg file and it picks it up just fine. But currently the bb-prtdiag.sh script is showing a power supply issue but there isnt one:
red Tue Jan 8 11:20:59 EST 2008 redprtdiag reports power error light is off !?!
red prtdiag reports power supply problems !!!
Prtdiag Info (/usr/sbin/prtdiag -v)
prtdiag reports power supply problems !!!
PS0 GOOD 6 7 2 3
PS1 GOOD 6 7 3 3
PS2 GOOD 6 6 3 3
Everything shows good but in the script I saw a section with this info in it:
##### E250/E450/280R/480R/V490/V880/V890/PrimePower specific checks
#####
if [ "$ENV_CHECK" -eq "1" ]; then
# Initialise Variables
# Status are overwritten by prtdiag check
POWER_ERROR_LIGHT_STATUS=" ON"
GEN_ERROR_LIGHT_STATUS="OFF"
DISK_ERROR_LIGHT_STATUS="OFF"
THERM_ERROR_LIGHT="OFF"
PS_ERROR_LIGHT_STATUS="OFF"
ACT_ERROR_LIGHT_STATUS=" ON"
THERM_ERROR_LIGHT_STATUS="OFF"
THERML_ERROR_LIGHT_STATUS="OFF"
THERMR_ERROR_LIGHT_STATUS="OFF"
DOORL_ERROR_LIGHT_STATUS="OFF"
DOORR_ERROR_LIGHT_STATUS="OFF"
And wonder if I need to set the POWER_ERROR_LIGHT_STATUS to off instead of ON.
Thanks,
Josh
From: Kirbach Uwe [mailto:U.Kirbach at EnBW.com] Sent: Tuesday, January 08, 2008 8:38 AM To: hobbit at hswn.dk Subject: RE: [hobbit] bb-prtdiag.sh
Hello Joshua,
UNAME command is not defined in etc/bbsys.local
... etc/bbsys.local
I have bb-prtdiag.sh running under hobbit and i set all these variables directly
in the script bb-prtdiag.sh.
there is no nedd to use bbsys.local (it's only Big-Brother).
And I dont believe I have a program called fjprtdiag and it looks to be a necessary component.
The fjprtdiag is the Fujitsu equivalent for prtdiag for Fujitsu PrimePower machines
and is not necessary to run the bb-prtdiag.sh
All Fujitsu stuff inside bb-prtdiag-sh is written by me.
I attache my version of bb-prtdiag.sh running under hobbit - 2nd try as gzip
Mit freundlichem Gruß
Uwe Kirbach
-- Uwe Kirbach EnBW Systeme Infrastruktur Support GmbH SIS OIOIU Durlacher Allee 93
76131 Karlsruhe
Telefon: +49 (0)721 63 14139 EMail: u.kirbach at enbw.com
EnBW Systeme Infrastruktur Support GmbH Sitz der Gesellschaft: Karlsruhe Handelsregister: Amtsgericht Mannheim HRB 108550 Vorsitzender des Aufsichtsrats: Dr. Bernhard Beck Geschäftsführer: Jochen Adenau, Dr. Peter Kramp
-----Original Message----- From: Joshua Krause [mailto:forums at triadbiz.rr.com] Sent: Monday, January 07, 2008 11:09 PM To: hobbit at hswn.dk Subject: [hobbit] bb-prtdiag.sh
I am trying to get the bb-prtdiag.sh script to work on a couple of Solaris boxes and didnt know if I could get some help from someone in the forum that has it up and running. Currently I am trying to get it to run on a V880 and I am getting this error in the log file:
-bash-3.00$ more bb-prtdiag.log
awk: syntax error near line 1
awk: bailing out near line 1
and on the hobbit page I am seeing this:
UNAME command is not defined in etc/bbsys.local - using default: /sbin/uname
PLATFORM_SPEC command is not defined in etc/bbsys.local - using default: SUNW,Sun-Fire-880
PRTDIAG_COMMAND command is not defined in etc/bbsys.local - using default: /usr/platform/SUNW,Sun-Fire-880/sbin/prtdiag
PRTDIAG_OPT command is not defined in etc/bbsys.local - using default: -v
EXCLUDE_SYSTEMS command is not defined in etc/bbsys.local - using default: Ultra-1 Ultra-2 Ultra-5_10 Ultra-30 Ultra-60 Ultra-80 UltraAX-i2 UltraSPARC-IIi-cEngine Sun-Fire Netra-T4 UltraAX-e2 Ultra-Enterprise-10000
PRTDIAG_IGNORE_ERRORS variable is not defined in etc/bbsys.local - using default: No failures|Most recent AC Power Failure|Minimum Available|CS Fail|No Hardware failures|^===|currently no Boards|Fault Fan
PRTDIAG_IGNORE_FAULTS variable is not defined in etc/bbsys.local - using default: No Recent System Faults found|No System Faults found|Fault Value|Fault LED|NO_FAULT|Power Fault|Status Fault|Fault off
And I dont believe I have a program called fjprtdiag and it looks to be a necessary component.
Thanks,
Josh
Kirbach Uwe <U.Kirbach at ...> writes:
Ref the following awk errors generated in bb-prtdiag.sh V4_10
awk: syntax error near line 1 awk: bailing out near line 1
I see where the error is being generated in bb-prtdiag.sh but the AWK command input is rather intimidating and I am not a big AWK type person.
Did you ever figure out what AWK command syntex was causing this error? If so can you pass on your fix.
Thanks
Robert
Hello Joshua,
UNAME command is not defined in etc/bbsys.local ... etc/bbsys.local
Robert McGraw wrote:
Kirbach Uwe <U.Kirbach at ...> writes:
Ref the following awk errors generated in bb-prtdiag.sh V4_10
awk: syntax error near line 1 awk: bailing out near line 1
I see where the error is being generated in bb-prtdiag.sh but the AWK command input is rather intimidating and I am not a big AWK type person.
LOL dying at line 1? Let me guess, the file was created or edited on a windoze pee cee...
If that is the case, you'll need to run the script through dos2unix to remove the foreign line endings.
Joe
You might want to try opening it in Notepad++ and use the convert to *NIX option from the drop down menu.
Josh
On 2/8/08, Sloan <joe at tmsusa.com> wrote:
Robert McGraw wrote:
Kirbach Uwe <U.Kirbach at ...> writes:
Ref the following awk errors generated in bb-prtdiag.sh V4_10
awk: syntax error near line 1 awk: bailing out near line 1
I see where the error is being generated in bb-prtdiag.sh but the AWK command input is rather intimidating and I am not a big AWK type person.
LOL dying at line 1? Let me guess, the file was created or edited on a windoze pee cee...
If that is the case, you'll need to run the script through dos2unix to remove the foreign line endings.
Joe
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
participants (5)
-
forums@triadbiz.rr.com
-
joe@tmsusa.com
-
josh@imaginenetworksllc.com
-
rmcgraw@math.purdue.edu
-
U.Kirbach@EnBW.com