Make sure the shell you are using at the top of the PERL
module points to the right one.
I had a new version of perl but my first line read
#!/usr/bin/perl - I ended up having to make mine
#!/usr/local/bin/perl
I have had the same problem but
cannot remember right now what I did to fix it :-), it was something to do
with how the map was layout I think. Sorry for not having more information but I will try and find out what
was the cause.
Christian
Frantsen Network Engineering Services CSC Sweden,
Jonkoping
---------------------------------------------------------------------------------------- This
is a PRIVATE message. If you are not the intended recipient, please delete
without copying and kindly advise us by e-mail of the mistake in delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any
order or other contract unless pursuant to explicit written agreement or
government initiative expressly permitting the use of e-mail for such
purpose. ----------------------------------------------------------------------------------------
Paul
<pstroud@bellsouth.net> Sent by: owner-nv-l@lists.us.ibm.com
2004-05-24 15:38
Please respond
to nv-l@lists.us.ibm.com |
|
To
| nv-l@lists.us.ibm.com
|
cc
|
|
Subject
| Re: [nv-l]
build_location.pl |
|
Scott, Can you give a better description? What exactly is your
problem. I have used the script a number of times with no problems
on different versions of perl across several platforms. What are you
running into thats causing a problem?
Paul
Bursik, Scott
{PBSG} wrote:
> Actually the version I downloaded
from > >
http://www.nv-l.org/twiki/bin/view/Netview/LocationConf > > was
the version with the <MAPDUMP> function and I have the
problem. > > > > > > Scott
Bursik > > Enterprise Systems Management > > PepsiCo
Business Solutions Group > > (972) 963-1400 > >
scott.bursik@pbsg.com > >
------------------------------------------------------------------------ > >
*From:* Barr, Scott [mailto:Scott_Barr@csgsystems.com] > *Sent:* Friday,
May 21, 2004 3:55 PM > *To:* nv-l@lists.us.ibm.com > *Subject:*
RE: [nv-l] build_location.pl > > > > The new
version I have not yet posted uses that <MAPDUMP> function. I >
just haven't had a time to post it to the NetView web home. Good catch
> Ray - thanks. > > > >
------------------------------------------------------------------------ > >
*From:* owner-nv-l@lists.us.ibm.com >
[mailto:owner-nv-l@lists.us.ibm.com] *On Behalf Of >
*ray.smith@clorox.com > *Sent:* Friday, May 21, 2004 3:46
PM > *To:* nv-l@lists.us.ibm.com >
*Subject:* RE: [nv-l] build_location.pl > > >
The problem of empty output is caused by the readline function, a >
seldom used Perl function that apparently behaves differently
in > different versions of Perl. If you replace all
instances of > "readline ($_[0])" with "<MAPDUMP>",
the script should work fine > in any version (or at least
version 4 or better, which is all I've > ever worked with)
of Perl. > > > Ray Smith >
IS Engineer > The Clorox Services Company >
925-425-4363 > > > >
> > *"Bursik, Scott {PBSG}"
<Scott.Bursik@pbsg.com>* > Sent by:
owner-nv-l@lists.us.ibm.com > > 05/21/2004 01:02
PM > Please respond to nv-l > >
> >
>
To: "'nv-l@lists.us.ibm.com'"
<nv-l@lists.us.ibm.com> >
cc: >
Subject: RE: [nv-l]
build_location.pl > > > > > Just
for the record, I had the same problem and my perl is at 5.6 >
on AIX 4.3.3. > >
> Scott Bursik > Enterprise
Systems Management > PepsiCo Business Solutions
Group > > >
> >
------------------------------------------------------------------------ > > >
*From:* Barr, Scott [mailto:Scott_Barr@csgsystems.com] * >
Sent:* Friday, May 21, 2004 2:46 PM* > To:*
nv-l@lists.us.ibm.com* > Subject:* RE: [nv-l]
build_location.pl > > I think
5.6 should work. I am on solaris 2.8 and had the issue >
with PERL 5.05. Let me research a bit and I'll post a response here. >
> > >
> >
------------------------------------------------------------------------ > > >
*From:* owner-nv-l@lists.us.ibm.com >
[mailto:owner-nv-l@lists.us.ibm.com] *On Behalf Of *Meyos Yemveng* >
Sent:* Friday, May 21, 2004 2:28 PM* > To:*
nv-l@lists.us.ibm.com* > Subject:* RE: [nv-l]
build_location.pl > I am running perl v5.6.1 on Solaris 9
... > Q: what version is recommended? >
> > */ > "Barr,
Scott" <Scott_Barr@csgsystems.com>/* wrote: > Your
PERL version may be a factor. Can you check what version you >
are using? > > perl
-version will tell you > > >
> >
------------------------------------------------------------------------ > > >
*From:* owner-nv-l@lists.us.ibm.com >
[mailto:owner-nv-l@lists.us.ibm.com] *On Behalf Of *Meyos Yemveng* >
Sent:* Friday, May 21, 2004 1:20 PM* > To:*
netview Tivoli* > Subject:* [nv-l]
build_location.pl > Hi Folks, > I
downloaded the build_location.pl script > I then
ran: > ovmapdump -v > /tmp/ovmapdump.out >
build_location.pl /tmp/ovmapdump.out > /tmp/location.conf >
> my ovmapcount.out is about 7026770
bytes > my location.conf file generated is 141 bytes with
only the > following lines: > >
# location.conf file was autogenerated on Friday May 21 17:48:01 >
GMT 2004. > # Script completed processing on
Friday May 21 17:48:05 GMT 2004 > >
Q1: Any idea on what I did wrong? > Q2: Any
suggestions? > > > >
Thank You, > Meyos > "ALLEZ LES
LIONS INDOMPTABLES" > > > >
------------------------------------------------------------------------ > > >
Post your free ad now! *Yahoo! Canada Personals* >
<http://ca.personals.yahoo.com/> > > >
Thank You, > Meyos > "ALLEZ LES
LIONS INDOMPTABLES" > > > >
------------------------------------------------------------------------ > > >
Post your free ad now! *Yahoo! Canada Personals* >
<http://ca.personals.yahoo.com/> >
|