|
From: 赵才文 <zh...@li...> - 2010-03-24 00:43:48
|
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 |