[Orca-users] Problem running Orca 525: Can't locate DBI.pm in @INC
David Michaels
dragon at raytheon.com
Mon Feb 13 09:42:48 PST 2006
> Oops, that makes sense. For some reason I thought that was the new
> startup script.
>
> I took a look at the current startup script in /etc/init.d and all it
> is doing is this:
>
> /usr/local/bin/orca -d /usr/local/lib/orcallator.cfg
>
> So I modified it to start the new version:
> /usr/local/orca5/bin/orca -d /usr/local/orca5/etc/orcallator.cfg
>
> When I run it, nothing appears to happen. The prompt comes back after
> a couple of seconds with no output. I dont see any orca processes
> running so I am not sure what is happening. By default, does Orca do
> any logging on the state it is in?
Not by default, to my knowledge, but if you specify a -logfile option to
the command line, it will. E.g., in the script I have, I call orca this
way (as mentioned in an email on this thread on 2/9):
orca -daemon -logfile $ORCAHOME/${hostname}-orca.out
/npd/dmichael/orca-522/etc/orcallator.cfg &
If your scipt doesn't set up those variables (ORCAHOME, hostname),
you'll need to be more explicit, of course.
When you look for orca processes, you might need to use "/usr/ucb/ps
auxww | grep orca". I've found sometimes "ps -ef" isn't wide enough to
catch the orca string of some processes. If orca is dying shortly after
you start it, check the logfile you specified with -logfile.
You can run orca without -daemon, in which case, it'll run in the
foreground. You can also specify -v to get more verbose output (more
-v's will produce more verbose output). These options are further
described in the Orca manpages <http://www.orcaware.com/orca/docs.html>,
which are installed when you install Orca--in your case, to your
/usr/local/orca5/man directory (so you can run "man -M
/usr/local/orca5/man orca", or add /usr/local/orca5/man to your MANPATH
variable and type 'man orca').
Thus, you may find it useful for trial&error purposes to run orca
manually using:
/usr/local/orca5/bin/orca -v -v -v /usr/local/orca5/etc/orcallator.cfg
This should be very verbose about what it's doing, and how it's dying
(if it is).
Cheers,
--Dragon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20060213/bf1feb86/attachment.html>
More information about the Orca-users
mailing list