Re: Working dir -- no clue
From: John (johns_tst_at_hotmail.com)
Date: 09/28/03
- Next message: Derk Gwen: "Re: Working dir -- no clue"
- Previous message: Matt: "Working dir -- no clue"
- In reply to: Matt: "Working dir -- no clue"
- Next in thread: Derk Gwen: "Re: Working dir -- no clue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 28 Sep 2003 08:41:42 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.
Does the app try to write to $WORKINGDIR?
If it does, maybe staffme can't write to /opt/appserver but can write
to /home/staffme/test ?
- Next message: Derk Gwen: "Re: Working dir -- no clue"
- Previous message: Matt: "Working dir -- no clue"
- In reply to: Matt: "Working dir -- no clue"
- Next in thread: Derk Gwen: "Re: Working dir -- no clue"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|