Problem with permission
Moderators: chulett, rschirm, roy
Problem with permission
Hi all,
When i run my job on production enviroment. I get the below error. But i want to know how i know what directory the job is trying to use ?
Unable to determine current working directory! This is very likely due to a problem with file permissions on the directory or directories above this point. The error was Permission denied
Traceback: Could not obtain stack trace; check that 'dbx' and 'sed' are installed and on your PATH
Regards
When i run my job on production enviroment. I get the below error. But i want to know how i know what directory the job is trying to use ?
Unable to determine current working directory! This is very likely due to a problem with file permissions on the directory or directories above this point. The error was Permission denied
Traceback: Could not obtain stack trace; check that 'dbx' and 'sed' are installed and on your PATH
Regards
Diogo de Oliveira Vasconcellos
diogo.cwb@gmail.com
diogo.cwb@gmail.com
Does resetting the job produce an entry in the log file with "From previous run..."
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
OK. Try doing an Exact search for your error message(s) as this has been discussed here before. For example, a search for "check that 'dbx' and 'sed' are installed and on your PATH" has 18 matches to other posts, see if any of them help.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
But my problem such as i understand it wasn't in traceback...but is in "Unable to determine current working directory! This very likely due to a problem with file permissions on the directory or directories above this point. The error was Permission denied "
and i try to search something about that and i doesn't find.
and i try to search something about that and i doesn't find.
Diogo de Oliveira Vasconcellos
diogo.cwb@gmail.com
diogo.cwb@gmail.com
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
This is a really strange error. When connected (to AIX) via telnet, I have seen this message using the du . command.
UNIX seems to lose track of the attach point even though you're the owner and you're attached there. But it's happy if you're attached someplace else.
Clearly this is UNIX behaviour and not DataStage behaviour, but DataStage apparently can be affected by it.
Code: Select all
# Let's start somewhere
$ cd /home/dsadm/projects/eswm/dev/data/reject
$ du .
du: can't find current directory
$ du /home/dsadm/projects/eswm/dev/data/reject
du: can't find current directory
# And yet, we own the directory and have full permission to it.
$ ls -ld .
drwxrwxr-x 2 dsadm dstage 256 Nov 25 2008 .
$ id
uid=236(dsadm) gid=216(dstage) groups=1(staff)
# But, when the attach point is somewhere else, all is OK.
$ cd /tmp
$ du /home/dsadm/projects/eswm/dev/data/reject
0 /home/dsadm/projects/eswm/dev/data/reject
$
Clearly this is UNIX behaviour and not DataStage behaviour, but DataStage apparently can be affected by it.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 301
- Joined: Thu Jul 14, 2005 10:27 am
- Location: Melbourne, Australia
- Contact:
Unable to determine current working directory
Sorry to open an old wound, but has anyone experiencing this problem found a reliable way to reproduce (or better, fix) this issue? We're 8.1.0 on AIX6.1.
We have the symptom described by the OP visible in our Director log, but cannot reproduce the command-line du behaviour demonstrated by Ray.
Ray - Is there any particular directory we should attempt demonstrating this du problem from?
Thanks,
John.
We have the symptom described by the OP visible in our Director log, but cannot reproduce the command-line du behaviour demonstrated by Ray.
Ray - Is there any particular directory we should attempt demonstrating this du problem from?
Thanks,
John.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: