[Orca-users] Re: starting orca

John Mastin john.mastin at bms.com
Thu Mar 2 05:19:41 PST 2000


From: John Mastin <john.mastin at bms.com>

Sorry for rehashing an old thread...

  I have successfully installed orca-0.25 on Solaris 2.6 and it's
  working great. I am currently logging into the system and running it
  and then loggin out.

  % cd $prefix
  % ./bin/orca -v lib/orcallator.cfg &
  % exit

  Here are my questions:
  - I tried nohup but it did not work. Why?
  - Can I do the above in one of the system startup scripts?
  - I tried running it thru cron but it failed to work. Am I doing
  something wrong?

We are running it out of cron here.  This is what our cron entry looks like (medusa is the hostname):

05,15,25,35,45,55 * * * * [ -f /var/orca/medusa/percol-* ] && /usr/local/bin/orca -o /var/orca/orcallator.cfg > /dev/null 2>&1

I think the key here is running it with the -o option.  The test at the beginning is to give the orcallator a head start in gathering data (before orca comes along to process it).  What we've done here is have the orcallator run out of startup as normal (as root, of course) and then have orca run as a regular user (a project account, unixsa).  We then have it build the orca graphs on unixsa's webpage under its home directory.

  You can start Orca in the system startup scripts but as of yet nobody
  has written them.  If you do, please contribute them to the mailing
  list.

Darn!  (there goes my 15 minutes of fame. ;-)  )   I originally had it run out of startup but I nixed it because when it was put in daemon mode, I would get the error mailings around midnight (I think this is from when it looks for uncompressed data and finds it compressed).  I then decided to go with the cron entried one.
 

Johnny

-- 
John Mastin, Jr.                email: john.mastin at bms.com
Bristol-Myers Squibb            phone: (609) 818-3788
PRI Infomatics                  fax: (609) 818-7693
Princeton  NJ

 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[IMAGE]

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------



More information about the Orca-users mailing list