On Thu, 22 Apr 2010 11:35:31 -0600
AJ ONeal <[email protected]> wrote:
> I've grepped through all of the source we have and can't find any
> reference to the file - only that the end-result binary matches and
> there's an error when the file isn't found in the current working
> directory.

Often, such software will look for an environment variable that says
where it's home is (e.g., ORACLE_HOME for Oracle).  Maybe that's
defaulting to "."?  Maybe try running "strings program | grep HOME" and
see if anything likely pops up... or even something like "strings
program | egrep '^[A-Z0-9_-][A-Z0-9_-]*$'" to try and get a list of any
environment variables it might be looking for.

Another possibility might be that the program expects to chroot
somewhere (or have it's startup script chroot somewhere on it's behalf).

In general, there's nothing wrong with putting "cd /path/to/product" at
the top of the init script, though.

        -jan-
-- 
Jan L. Peterson
http://www.peterson-tech.com/~jlp/
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to