[Orca-users] RE: Same Problems...
Mauro, Douglas R
MauroDR at ccpci.com
Tue Aug 3 13:52:13 PDT 1999
Yes. I am even seeing the "Using ... access log " line when I start:
[root][nms] /opt/orca/bin> ./res
Killing pids 20973.
Writing data into /opt/orca/var/orca/orcallator/nms/
Using www access log file /var/opt/OV/log/httpd_access_log
Starting logging
[root][nms] /opt/orca/bin>
BTW: I just did a restart here but did a start before.
Douglas R. Mauro
-------------------------
Corning Consumer Products
Technical Team Leader
Network Administrator
Phone: 607.377.8538
Fax: 607.377.8539
E-Mail: maurodr at ccpci.com <mailto:maurodr at ccpci.com>
----------
From: Blair Zajac [SMTP:bzajac at geostaff.com]
Sent: Tuesday, August 03, 1999 4:57 PM
To: Mauro, Douglas R
Cc: Orca Help Mailing List
Subject: Re: Same Problems...
Look at the start_orcallator script. This should have WATCH_HTTPD
declared to "-DWATCH_HTTPD", which is then passed as an argument
to se, which then runs orcallator.se.
Are you using start_orcallator?
Blair
"Mauro, Douglas R" wrote:
>
> Hmmm... I did a:
> 3764 make dist
> 3765 make distclean
> 3766 ./configure --prefix=/opt/orca
--with-html-dir=/opt/OV/httpd/htdocs
> --with-ncsa-log=/var/opt/OV/log/httpd_access_log
> 3767 make
> 3768 make install
>
> no real issues (couple of warnings about pod2html)
>
> Waited 15 minutes (even generated some WWW traffic) and I am still
getting
> the same error(s):
>
> I noticed that in orcallator.se that it does not have WATCH_HTTP?
Should
> it?
>
> ! Clipped Here
> // Define the different parts of the system you want to examine.
> #ifdef WATCH_OS
> #define WATCH_CPU
> #define WATCH_MUTEX
> #define WATCH_NET
> #define WATCH_TCP
> #define WATCH_NFS
> #define WATCH_DISK
> #define WATCH_DNLC
> #define WATCH_INODE
> #define WATCH_RAM
> #define WATCH_PAGES
> #endif
>
> #include <stdio.se>
> ! Clipped Here
>
> What writes this "orca.state" file??
>
> [root][nms] /opt/orca> ./bin/orca -v lib/orcallator.cfg
> Orca version 0.23 using RRDs version 1.000031.
> Creating orca.gif.
> Creating rrdtool.gif.
> ./bin/orca: warning: cannot open state file
> `/opt/orca/var/orca/rrd/orcallator/orca.state' for reading: No
such file or
> directory
> Finding files and setting up data structures at Tue Aug 3
16:52:06 1999.
> /opt/orca/var/orca/orcallator/nms/percol-1999-08-03
> ./bin/orca: warning: no substitutions performed for `data #httpds'
in plot
> #3 in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> ./bin/orca: warning: no substitutions performed for `data %to1KB'
in plot #6
> in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> ./bin/orca: warning: no substitutions performed for `data %to10KB'
in plot
> #6 in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> ./bin/orca: warning: no substitutions performed for `data
%to100KB' in plot
> #6 in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> ./bin/orca: warning: no substitutions performed for `data %to1MB'
in plot #6
> in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> ./bin/orca: warning: no substitutions performed for `data
%over1MB' in plot
> #6 in `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> ./bin/orca: warning: bad evaluation of commands for plot #6 `data
%to1KB':
> sub {
> return %to1KB;
> }
>
> Output: Global symbol "%to1KB" requ
>
> ! CLIPPED
> ! CLIPPED!!!!
>
> Douglas R. Mauro
> -------------------------
> Corning Consumer Products
> Technical Team Leader
> Network Administrator
>
> Phone: 607.377.8538
> Fax: 607.377.8539
> E-Mail: maurodr at ccpci.com <mailto:maurodr at ccpci.com>
>
> ----------
> From: Blair Zajac [SMTP:bzajac at geostaff.com]
> Sent: Tuesday, August 03, 1999 4:32 PM
> To: Mauro, Douglas R
> Cc: Orca Help Mailing List
> Subject: Re: Thoughts?
>
> Yes, you use the with-TYPE-log configure option. This
will set up
> start_orcallator correctly with all the proper
environmental and
> command line options to run lib/orcallator.se. While you
can run
> `se lib/orcallator.se' by hand, it will not watch
everything you
> want and will not save the data files onto disk, rather
output the
> data to your tty. So you should run start_orcallator
instead.
>
> Blair
>
> "Mauro, Douglas R" wrote:
> >
> > To enable web server watching do I recompile with:
> > ./configure --prefix=/opt/orca
> --with-html-dir=/opt/OV/httpd/htdocs
> > --with-TYPE-log=/var/opt/OV/log/httpd_access_log
> > ??
> > Or do I have to edit the .se file manually?
> >
> > BTW: Should I be running by hand: $ se
lib/orcallator.se &
> >
> > Thanks for the help, I'm looking forward to getting this
up and
> running!
> >
> > Douglas R. Mauro
> > -------------------------
> > Corning Consumer Products
> > Technical Team Leader
> > Network Administrator
> >
> > Phone: 607.377.8538
> > Fax: 607.377.8539
> > E-Mail: maurodr at ccpci.com <mailto:maurodr at ccpci.com>
> >
> > ----------
> > From: Blair Zajac [SMTP:bzajac at geostaff.com]
> > Sent: Tuesday, August 03, 1999 4:20 PM
> > To: Mauro, Douglas R
> > Cc: Orca Help Mailing List
> > Subject: Re: Thoughts?
> >
> > "Mauro, Douglas R" wrote:
> > >
> > > BTW: I tried to subscribe to orca-help online
but
> couldn't. The
> > link just
> > > hung.
> >
> > Which link was this? I'd try again in a while.
> >
> > >
> > > I am trying to install Orca on Solaris 2.5.1.
Currently
> I have
> > installed:
> > >
> > > Name Version Install
Location
> > > -------- ----------
> > > ---------------------------------
> > > Orca 0.23 /opt/orca
> > > SE 3.0 /opt/RICHPse
> > > Rrd 1.0.3
/usr/local/rrdtool-1.0.3
> > >
> > > I ran the orca coinfigure with the following:
> > > ./configure --prefix=/opt/orca
> > --with-html-dir=/opt/OV/httpd/htdocs
> > >
> > > No problems.
> > >
> > > I am guessing that the html-dir is a directory
that is
> accessible
> > through
> > > the WWW?
> >
> > Yes, this is correct.
> >
> > >
> > > Reading through INSTALL...
> > >
> > > [root][nms] /opt/orca> ./bin/start_orcallator
> > > Writing data into
/opt/orca/var/orca/orcallator/nms/
> > > Starting logging
> > > [root][nms] /opt/orca>
> > >
> > > It was unclear at first glance what I should
edit in the
> .cfg file
> > so I left
> > > it alone.
> > >
> > > When I tried starting and/or running orca
after I saw
> some data
> > files
> > > written I got:
> > >
> > > [root][nms] /opt/orca> ./bin/orca -v
lib/orcallator.cfg
> > > Orca version 0.23 using RRDs version 1.000031.
> > > Creating orca.gif.
> > > Creating rrdtool.gif.
> > > ./bin/orca: warning: cannot open state file
> > > `/opt/orca/var/orca/rrd/orcallator/orca.state'
for
> reading: No
> > such file or
> > > directory
> > > Finding files and setting up data structures
at Tue Aug
> 3
> > 16:07:53 1999.
> > >
/opt/orca/var/orca/orcallator/nms/percol-1999-08-03
> > > ./bin/orca: warning: no substitutions
performed for
> `data #httpds'
> > in plot
> > > #3 in
> `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> > > ./bin/orca: warning: no substitutions
performed for
> `data %to1KB'
> > in plot #6
> > > in
> `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> > > ./bin/orca: warning: no substitutions
performed for
> `data %to10KB'
> > in plot
> > > #6 in
> `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> > > ./bin/orca: warning: no substitutions
performed for
> `data
> > %to100KB' in plot
> > > #6 in
> `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> > > ./bin/orca: warning: no substitutions
performed for
> `data %to1MB'
> > in plot #6
> > > in
> `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> > > ./bin/orca: warning: no substitutions
performed for
> `data
> > %over1MB' in plot
> > > #6 in
> `/opt/orca/var/orca/orcallator/nms/percol-1999-08-03'.
> > > ./bin/orca: warning: bad evaluation of
commands for plot
> #6 `data
> > %to1KB':
> > > sub {
> > > return %to1KB;
> > > }
> > >
> > > Output: Global symbol "%to1KB" requires
explicit package
> name at
> > (eval 14)
> > > line 2, <FD> chunk 1.
> > >
> > > ./bin/orca: warning: bad evaluation of
commands for plot
> #6 `data
> > %to10KB':
> > > sub {
> > > return %to10KB;
> > > }
> > >
> > > Output: Global symbol "%to1MB" requires
explicit package
> name at
> > (eval 17)
> > > line 2, <FD> chunk 1.
> > >
> > > ./bin/orca: warning: bad evaluation of
commands for plot
> #6 `data
> > %over1MB':
> > > sub {
> > > return %over1MB;
> > > }
> > >
> > > Output: Global symbol "%over1MB" requires
explicit
> package name at
> > (eval 18)
> > > line 2, <FD> chunk 1.
> > >
> > > ./bin/orca: Orca::GIFFile::new passed empty
@rrds_ref
> reference.
> > > Orca::GIFFile::new('Orca::GIFFile',
> 'HASH(0x1fc0b8)',
> > > 'HASH(0x1fc0d0)', 'ARRAY(0x1fc0e8)',
'orcallator',
> 'nms', '',
> > > 'orcallator_%to1KB,
> > >
rcallator_%to10KB,orcallator_%to100KB,orcalla...', ...)
> called at
> > ./bin/orca
> > > line 1493
> > >
> > >
> >
>
Orca::SourceDataFile::add_plots('Orca::SourceDataFile=HASH(0x202b34)',
> > > 'HASH(0x1fc0b8)', 'HASH(0x1fc0d0)',
'ARRAY(0x1fc0e8)',
> 'orcallat
> > > r', 'nms', 'HASH(0x20db58)', 'HASH(0x211d10)')
called at
> > ./bin/orca line
> > > 2598
> > > main::find_files('lib/orcallator.cfg',
> 'HASH(0x1fc0b8)',
> > > 'HASH(0x1fc0d0)', 'ARRAY(0x1fc0e8)',
'HASH(0x1ccfec)',
> > 'HASH(0x20db7c)',
> > > 'HASH
> > > 0x20db58)', 'HASH(0x211d10)') called at
./bin/orca line
> 1836
> > >
main::watch_data_sources('lib/orcallator.cfg',
> > 'HASH(0x1fc0b8)',
> > > 'HASH(0x1fc0d0)', 'ARRAY(0x1fc0e8)') called at
> ./bin/orca line
> > 1739
> > > main::main('lib/orcallator.cfg')
called at
> ./bin/orca line
> > 1718
> > > [root][nms] /opt/orca>
> > >
> > > I feel like I am missing the big picture.
What does is
> the
> > orcalator.se
> > > file used for? Am I supposed to run these
things by
> hand? Is
> > this the same
> > > for rrd?
> >
> > Actually, you're pretty close here.
Orcallator.se is the
> data
> > gathering tool
> > that is run on each Sun system. In this case,
it does not
> look like
> > you are
> > watching your web server statistics, so Orca is
failing.
> This is a
> > bug that
> > will be fixed in the next release of Orca. For
now, there
> are two
> > solutions
> > to the bug. One is to enable web server
watching in
> orcallator.se
> > on all your
> > hosts. The second is to remove from
orcallator.cfg the
> plot { ... }
> > lines
> > that mention web serving until Orca does not
complain.
> >
> > The only think you'll probably want to change in
> orcallator.cfg are
> > the
> > html_* settings to be specific for your site.
> >
> > Cheers,
> > Blair
> >
> > >
> > > Douglas R. Mauro
> > > -------------------------
> > > Corning Consumer Products
> > > Technical Team Leader
> > > Network Administrator
> > >
> > > Phone: 607.377.8538
> > > Fax: 607.377.8539
> > > E-Mail: maurodr at ccpci.com
> <mailto:maurodr at ccpci.com><<File:
> > bzajac.vcf>><<File: bzajac.vcf>><<File: bzajac.vcf>>
More information about the Orca-users
mailing list