Working dir -- no clue

From: Matt (m_at_m.net)
Date: 09/28/03


Date: Sun, 28 Sep 2003 03:44:22 GMT

Hi all,

What is the possible reason that an app gets two different results when
it's ruuning under two dirs by same user on a linux box?

Detail:

Myapp runs as a server(C code, uses oracle call interface internally). It is
launched via a shell scripts like below by user -- staffme:

#start
WORKING_DIR=/opt/appserver
cd $WORKING_DIR
./myapp
#EOF

It always gets an err (ORA-01480: trailing null missing from STR bind value)
on a certain function call under this dir(/opt/appserver/). If I copy
everything of this dir into /home/staffme/test/, the only exception is a
core file(which is big, owned by root, can't read), and change WORKING_DIR
to /home/staffme/test, it works just fine with same input.

All files the app needs are in above dir. The shell script does NOT change
any variables' value based on differnt dir.

Thanks for any help!

-matt



Relevant Pages

  • Working dir -- no clue
    ... it's ruuning under two dirs by same user on a linux box? ... Myapp runs as a server ... launched via a shell scripts like below by user -- staffme: ... All files the app needs are in above dir. ...
    (comp.unix.programmer)
  • Re: Cost of ownership: MV vs. SQL Server
    ... >>app server independent, etc, but you cannot be all of those at once. ... > mention that .NET seems to satisfy all of the business requirements ... (both Macs & Linux), so my criteria are different from yours. ... > and this market has never expressed a real need for Mac, ...
    (comp.databases.pick)
  • Re: Query to the Linux community....Follow up...
    ... There were analogies to cars and PC hardware. ... > distributions of Linux may not be much of an issue. ... If the OS doesn't break on them, they'll only care what the app is doing. ... But then again, strictly speaking, Oracle doesn't sell databases. ...
    (alt.os.linux)
  • Re: Is VMS losing the Financial Sector, also?
    ... Is VMS losing the Financial Sector, ... different Dev/Test/Prod Linux environments. ... For small-med shops, its not so much as big an issue if you have ... According to my company's development group, our app runs ...
    (comp.os.vms)
  • Re: Is VMS losing the Financial Sector, also?
    ... Is VMS losing the Financial Sector, ... different Dev/Test/Prod Linux environments. ... For small-med shops, its not so much as big an issue if you have ... According to my company's development group, our app runs ...
    (comp.os.vms)