|
From: Christian <chr...@ta...> - 2010-03-24 03:34:55
|
cowrie, the error message "Unable to get the path for './wrapper ...." actually comes from a failed realpath(.. , ..) call. realpath is a function to translate a relative path to an absolute one. This means that one of the subfolder the wrapper is located can not be accessed. Please verify /4A (is this a link?) and /4A/wrapper-aix-ppc-64-3.4.4 can be accessed by the currently logged on user, i.e. he should have at least "r-x" rights. if this is not helping, can you please try running "truss" and send us the output. > truss ./wrapper Best regards, Christian On Wed, 2010-03-24 at 08:43 +0800, 赵才文 wrote: > hi,thanks for your reply, I run the command ,and this is the output > -------------------------------------------------------------------- > dnserv1:/4A/wrapper-aix-ppc-64-3.4.0/bin>ls -la > total 768 > drwxr-xr-x 2 foura 4A 256 3月20 21时18 . > drwxr-xr-x 9 foura 4A 256 3月15 15时44 .. > -rwxr-xr-x 1 foura 4A 41613 3月15 15时44 testwrapper > -rwxr-xr-x 1 foura 4A 343003 3月15 15时44 wrapper > -rw-r--r-- 1 foura 4A 407 3月20 22时03 wrapper.log > dnserv1:/4A/wrapper-aix-ppc-64-3.4.0/bin>cat wrapper.log > FATAL | wrapper | 2010/03/20 21:18:29 | Unable to get the path for './wrapper'-Permission denied > FATAL | wrapper | 2010/03/20 21:19:13 | Unable to resolve the original working directory: Permission denied > FATAL | wrapper | 2010/03/20 21:22:27 | Unable to get the path for './wrapper'-Permission denied > FATAL | wrapper | 2010/03/20 22:03:20 | Unable to get the path for './wrapper'-Permission denied > > > 2010-03-24 > > ______________________________________________________________________ > cowrie > > ______________________________________________________________________ > 发件人: Leif Mortenson > 发送时间: 2010-03-22 12:54:11 > 收件人: wra...@li... > 抄送: > 主题: Re: [Wrapper-user] why wrapper Unable to get the path for ... > > Most likely this is a permissions problem on the wrapper file or one > of its parent directories. > > The Wrapper does not do anything special to resolve the path of the > wrapper file, it is making system call which is failing with the > system error: "Permission Denied". > > What do you get when you run "ls -al" on the bin directory as the user > you are attempting to run as? > > Cheers, > Leif > > 2010/3/22 赵才文 <zh...@li...> > > I download a brand-new aix wrapper community version,and chmod +x ./wrapper ,and then execute the wrapper like this: > > > dnserv1:/4A/wrapper-aix-ppc-64-3.4.0/bin>./wrapper > FATAL | wrapper | Unable to get the path for './wrapper'-Permission denied > > > but if I changed to use "root" user, wrapper works ok, when I change back to a normal user, the fatal error occured. why ? > > any help is appreciated! > > 2010-03-22 > > ______________________________________________________________ > cowrie > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |