[Orca-users] two errors starting orca

David Michaels dragon at raytheon.com
Wed Apr 8 10:24:07 PDT 2009


The regular expression for your find_files is missing a parameter to 
account for the -000 part of the file.  Try this (delta bolded):

find_files              
/var/opt/csw/orca/orca_services/(.*)/(?:(?:orcallator)|(?:percol))-\d{4}-\d{2}-\d{2}*(?:-\d{3,})*(?:[^\.]*)?(?:\.(?:Z|gz|bz2))?

The (?:[^\.]*)? part should have matched the -000 part, but evidently 
it's not.  The above change matches the regex I use on my system, which 
appears to be working for me.

--Dragon

Glen Gunselman wrote:
>  
> I'm trying to install orca using the packages from OpenCSW.  I have a 
> couple of LDoms (Sun T5220) running Solaris 10 u5 to test with.  On 
> one (sys1) I've installed  orca and orca_web.  On the other (sysa) 
> I've installed  orca.
>  
> I have the collector running on both.
>  
> When I try to start orca I get two errors: cannot open state file and 
> no files found for 'find_files'.
>  
> I created subdirectories using the hostname of the servers and copied 
> a collection file and one bz2-ed collection file, but that didn't 
> help.  What are the path(s) and file name(s) that orca is expecting?
>  
> Here's the console output, a couple of lines from the .cfg file and an 
> ls of my input files.
>  
>  
> /opt/csw/bin/orca -v /opt/csw/etc/orca_services.cfg
> Orca at Tue Mar 31 16:32:00 2009 running on:
>     Orca version 0.28.0 (dev 535)
>     RRDs version 1.3006
>     Perl version 5.008008
> /opt/csw/bin/orca: warning: cannot open state file 
> '/var/opt/csw/orca/rrd/orca_services/orca.state' for reading: No such 
> file or directory
> Creating orca_logo.gif.
> Creating rrdtool_logo.gif.
> Creating rothschild_image_logo.png.
> Finding files and setting up data structures at Tue Mar 31 16:32:00 2009.
> /opt/csw/bin/orca: warning: no files found for 'find_files' for 'group 
> orca_services' in '/opt/csw/etc/orca_services.cfg'.
> Current running time is 0:00 minutes.
> /opt/csw/bin/orca: no data files found.  Make sure 'find_files' 
> parameter is set properly.
>  
>
> group orca_services {
> find_files              
> /var/opt/csw/orca/orca_services/(.*)/(?:(?:orca_services)|(?:percol))-\d{4}-\d{2}-\d{2}(?:\.(?:Z|gz|bz2))?
>  
>  
> ls -lR /var/opt/csw/orca/orca_services
> /var/opt/csw/orca/orca_services:
> total 4
> drwxr-xr-x   2 root     root         512 Mar 31 15:19 sys1
> drwxr-xr-x   2 root     root         512 Mar 31 16:28 sysa
>  
> /var/opt/csw/orca/orca_services/sys1:
> total 46
> -rw-r--r--   1 root     root       23015 Mar 31 15:19 
> orcallator-2009-03-31-000
>  
> /var/opt/csw/orca/orca_services/sysa:
> total 12
> -rw-r--r--   1 root     root        5231 Mar 31 16:14 
> orcallator-2009-03-30-000.bz2
>  
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20090408/eeffa21d/attachment.html>


More information about the Orca-users mailing list