Re: Permission Issue

From: Nagaraj S <nagaraj.chk_at_gmail.com>
Date: Tue, 3 Mar 2009 20:18:00 +0530
Message-ID: <e921f8570903030648q244505e0lb5621d873d8cbae5_at_mail.gmail.com>



Hi Mark ,

i could not find under /usr/bin

bach[]> which strace
/usr/bin/which: no strace in
(/u001/oracle/product/10.2.0.4_client/bin:/usr/sbin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin)

bash[]> rpm -qa |grep strace
please help me out to locate strace

i have logged in as oracle user

bash[]> id
uid=200(oracle) gid=200(dba) groups=200(dba),201(oinstall) context=user_u:system_r:unconfined_t

On Tue, Mar 3, 2009 at 8:07 PM, Bobak, Mark <Mark.Bobak_at_proquest.com> wrote:

> On my system, it’s in /usr/bin.
>
> pqrac201:[mstarpep1]:(/home/oracle):$which strace
>
> /usr/bin/strace
>
>
>
> It’s possible that it’s not installed on your system.
>
>
>
> -Mark
>
>
>
> *From:* Nagaraj S [mailto:nagaraj.chk_at_gmail.com]
> *Sent:* Tuesday, March 03, 2009 9:36 AM
>
> *To:* Bobak, Mark
> *Cc:* oracle-l
> *Subject:* Re: Permission Issue
>
>
>
> Hi Mark,
>
> I got strace cannot be found. In linux it will be on which path.
>
>
>
> -ksh: strace: not found [No such file or directory]
>
> On Tue, Mar 3, 2009 at 7:54 PM, Bobak, Mark <Mark.Bobak_at_proquest.com>
> wrote:
>
> Hmm…so the ‘libagtsh.so’ isn’t a dynamic dependency for chmod?
>
>
>
> Ok, try this:
>
> strace chmod –R 755 oracle
>
>
>
>
>
> Warning, that command could spew quite a bit of output. You may want to
> redirect stderr to a file.
>
>
>
> -Mark
>
>
>
> *From:* Nagaraj S [mailto:nagaraj.chk_at_gmail.com]
> *Sent:* Tuesday, March 03, 2009 9:19 AM
> *To:* Bobak, Mark
> *Cc:* oracle-l
> *Subject:* Re: Permission Issue
>
>
>
> bash[]> which chmod
> /bin/chmod
> bash[]> ldd `which chmod`
> libc.so.6 => /lib64/tls/libc.so.6 (0x000000311e000000)
> /lib64/ld-linux-x86-64.so.2 (0x000000311de00000)
>
> On Tue, Mar 3, 2009 at 7:43 PM, Bobak, Mark <Mark.Bobak_at_proquest.com>
> wrote:
>
> Naga,
>
>
>
> What output do you get from the following commands:
>
> which chmod
>
> ldd `which chmod`
>
>
>
> ??
>
>
>
> -Mark
>
>
>
> *From:* oracle-l-bounce_at_freelists.org [mailto:
> oracle-l-bounce_at_freelists.org] *On Behalf Of *Nagaraj S
> *Sent:* Tuesday, March 03, 2009 8:23 AM
> *To:* oracle-l
> *Subject:* Permission Issue
>
>
>
> Hi Gurus,
>
>
>
> I get below error while trying to change the permission of oracle
> directory. Kindly advice were could be the problem
>
>
>
> Bash[]$ id
> uid=200(oracle) gid=200(dba) groups=200(dba),201(oinstall)
> context=user_u:system_r:unconfined_t
>
> Bash[]$ cat /etc/redhat-release
> Red Hat Enterprise Linux ES release 4 (Nahant Update 7)
>
>
>
> Bash[]> chmod -R 755 oracle
> chmod: libagtsh.so: not found [No such file or directory]
>
>
>
> Regards,
>
> Naga
>
>
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Mar 03 2009 - 08:48:00 CST

Original text of this message