Hi James, hi Joel,
this feature described here by James actually is a bug. We here in Germany
normally use other LANG variables, always with the same effect: some parts of
Netview don't work properly. The solution is to patch the files James described
so that Netview always uses en_US, e.g. comment out the if-clause around the
setting of the LANG-variable.
One of the effects using the wrong LANG setting is that after changing some
Parameters for snmp Data Collection with /usr/OV/bin/xnmcollect the snmpCollect
won't work any more because the representation of the decimal point (for the
real values of the thresholds) in file /usr/OV/conf/snmpCol.conf has been
changed from dot "." to colon "," when the file was written and the
snmpCollect-Daemon can't read this any more.
Michael Seibold
>>> James Shanks <James_Shanks@TIVOLI.COM> 14.02.2000 22.44 Uhr >>>
I am not certain how to answer you. I don't know what problems you had before
so I cannot tell you how to avoid them. I suspect there were message catalog
issues -- messages that wouldn't format correctly -- because there were no
catalogs installed under "en_US". But the /usr/OV/bin/netview script tests
for a LANG of "C" or "" and resets that to "En_US" so the Netview GUI will
work OK. You could always edit the script to do the same for "en_US" - reset it
to "En_US" and export it.. Ditto for the /etc/netnmrc script which starts the
daemons.
Are there other scripts which set the LANG? I dunno. You could search (grep)
/usr/OV/bin for them.
Don't know what else to tell you to change because this is not an environment we
recommend or test in. So I'd guess you are pretty much on your own here.
Sorry about that, but I don't know who has tested this.
Just out of curiosity, what other product is it that requires the default to be
"en_US"? If they could use "C" as the default and reset it as necessary, then
we'd both be happy.
James Shanks
Tivoli (NetView for UNIX) L3 Support
"Joel A. Gerber" <joel.gerber@USAA.COM> on 02/14/2000 04:28:10 PM
Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView
<NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks/Tivoli Systems)
Subject: Re: AIX Codeset for NetView 5.1.2
The current default LANG on this server is "en_US". I know that NetView
definitely will have problems with this LANG setting, because I've tried
running NetView with that setting before (thinking that a lower case "e" and
an uppercase "E" could not possibly have a significant difference; what a
fool I was). Anyway, I need to know how to run NetView, (if it's even
possible), on a system with "en_US" as the default LANG setting.
Joel Gerber - I/T Networking Professional - USAA Information Technology Co.
- San Antonio, TX
* (210)456-4231 * mailto:Joel.Gerber@USAA.com "
http://www.usaa.com
-----Original Message-----
From: James Shanks [SMTP:James_Shanks@TIVOLI.COM]
Sent: Monday, February 14, 2000 14:41
To: NV-L@UCSBVM.UCSB.EDU
Subject: Re: AIX Codeset for NetView 5.1.2
My AIX default LANG has always been C
The /usr/OV/bin/netview script will change the LANG to En_Us on AIX
as required.
The daemons will run quite happily with "C " or even ""
James Shanks
Tivoli (NetView for UNIX) L3 Support
"Joel A. Gerber" <joel.gerber@USAA.COM> on 02/14/2000 03:20:03 PM
Please respond to Discussion of IBM NetView and POLYCENTER Manager
on NetView
<NV-L@UCSBVM.UCSB.EDU>
To: NV-L@UCSBVM.UCSB.EDU
cc: (bcc: James Shanks/Tivoli Systems)
Subject: AIX Codeset for NetView 5.1.2
We are trying to install NetView 5.1.2 on a "new" (to NetView) AIX
4.3.2
server which is already running another application. The
bos.loc.pc_compat.En_US LPP has been installed so that we can use
the En_US
language setting for NetView. However, we do not want to change the
default
cultural convention to IBM-850, because of the other application
(the
current default is ISO8859 or LANG=en_US).
Is there any way to customize the NetView startup, user profiles,
etc. to
make sure that NetView runs with the correct language environment?
I've
already got "export LANG=En_US" in the users' .profile that are
going to use
NetView. I'm more concerned about how the daemons are started at
system
boot time, or any other time (ovstop, ovstart), and making sure that
the
proper scripts and startup files are configured properly.
Any help is appreciated.
Joel Gerber - I/T Networking Professional - USAA Information
Technology Co.
- San Antonio, TX
* (210)456-4231 * mailto:Joel.Gerber@USAA.com "
http://www.usaa.com
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
|