Working dir -- no clue
From: Matt (m_at_m.net)
Date: 09/28/03
- Next message: Michael C.: "Re: linux in local partition??"
- Previous message: EvilBill[AGQx]: "Re: linux in local partition??"
- Next in thread: Norm Dresner: "Re: Working dir -- no clue"
- Reply: Norm Dresner: "Re: Working dir -- no clue"
- Reply: Ravi: "Re: Working dir -- no clue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Michael C.: "Re: linux in local partition??"
- Previous message: EvilBill[AGQx]: "Re: linux in local partition??"
- Next in thread: Norm Dresner: "Re: Working dir -- no clue"
- Reply: Norm Dresner: "Re: Working dir -- no clue"
- Reply: Ravi: "Re: Working dir -- no clue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|