[Orca-users] No data files being created

Steven L. Sesar ssesar at rcn.com
Sat Jul 13 18:22:21 PDT 2002


Apparently, I'm missing something. I am trying to get an orca server up, and 
I'm having some difficulties. To be clear, I am attempting to generate data 
files/graphs locally on the server, before pushing the client portion out to 
production servers. My problem, is that data files never get generated.

I have followed the install instructions verbatim. No errors were thrown 
during configure/compile/install/runtime. SE toolkit is installed. 

Any help would be greatly appreciated!

--Steve

output of sh -x start_orcallator:
=================================
austin]-/usr/local/bin# sh -x start_orcallator                                                 
prefix=/usr/local
exec_prefix=/usr/local
libdir=/usr/local/lib
AWK=/usr/bin/nawk
COMPRESSOR=/usr/local/bin/bzip2 -9
CUT=/usr/bin/cut
EXPR=/usr/bin/expr
UNAME=/usr/bin/uname
ORCALLATOR_DIR=/usr/local/var/orca/orcallator
SE=/opt/RICHPse/bin/se
WEB_LOG=/usr/local/apache/orcawww.log
WATCH_WEB=-DWATCH_WEB
SE_PATCHES=
+ test -z /opt/RICHPse/bin/se 
+ test ! -x /opt/RICHPse/bin/se 
+ /usr/bin/uname -n 
+ /usr/bin/cut -d. -f1 
uname=austin
+ test -z austin 
OUTDIR=/usr/local/var/orca/orcallator/austin
+ export COMPRESSOR OUTDIR WEB_LOG 
+ /usr/ucb/ps auxww 
+ /usr/bin/nawk /orcallator.se/ && !/awk/ {print $2} 
pids=
+ test  !=  
+ echo Writing data into /usr/local/var/orca/orcallator/austin/ 
Writing data into /usr/local/var/orca/orcallator/austin/
+ test /usr/local/apache/orcawww.log 
+ echo Using www access log file /usr/local/apache/orcawww.log 
Using www access log file /usr/local/apache/orcawww.log
+ cd / 
+ test ! -d /usr/local/var/orca/orcallator/austin 
+ test ! -d /usr/local/var/orca/orcallator/austin 
+ echo Starting logging 
Starting logging
+ nohup /opt/RICHPse/bin/se -DWATCH_OS -DWATCH_WEB 
/usr/local/lib/orcallator.se 
Sending output to nohup.out
pid=2417
+ echo 2417 
+ sleep 5 
[austin]-/usr/local/bin#
=================================

[austin]-/usr/local/bin# ./orca -v ../lib/orcallator.cfg                                        
Orca version 0.264 using RRDs version 1.000331 at Sat Jul 13 21:19:41 2002.
./orca: warning: cannot open state file 
`/usr/local/var/orca/rrd/orcallator/orca.state' for reading: No such file or 
directory
Creating orca.gif.
Creating rrdtool.gif.
Finding files and setting up data structures at Sat Jul 13 21:19:41 2002.
./orca: warning: no files found for `find_files' for `group orcallator' in 
`../lib/orcallator.cfg'.
 RSS  VSZ %MEM        TIME     USER   PID COMMAND
4688 5400  1.0        0:01     root  2437 /usr/local/bin/perl
Current running time is 0:00 minutes.
./orca: no data files found.  Make sure `find_files' parameter is set 
properly.
[austin]-/usr/local/bin# 

=================================
from orcallator.cfg:

group orcallator {
find_files              
/usr/local/var/orca/orcallator/(.*)/(?:(?:orcallator)|(?:percol))-\d{4}-\d{2
}-\d{2}(?:-\d{3,})?(?:\.(?:Z|gz|bz2))?
column_description      first_line
date_source             column_name timestamp
interval                300
filename_compare        sub {
                          my ($ay, $am, $ad) = $a =~ /-(\d{4})-(\d\d)-(\d\d)/;
                          my ($by, $bm, $bd) = $b =~ /-(\d{4})-(\d\d)-(\d\d)/;
                          if (my $c = (( $ay       <=>  $by) ||
                                       ( $am       <=>  $bm) ||
                                       (($ad >> 3) <=> ($bd >> 3)))) {
                            return 2*$c;
                          }



More information about the Orca-users mailing list