RE: Permission Issue

  • From: "Bobak, Mark" <Mark.Bobak@xxxxxxxxxxxx>
  • To: Nagaraj S <nagaraj.chk@xxxxxxxxx>
  • Date: Tue, 3 Mar 2009 09:50:13 -0500

Looks like you'll need to install the following package:
pqrac201:[mstarpep1]:(/home/oracle):$rpm -qa|grep strace
strace-4.5.16-1.el4.2

-Mark

PS  Note that strace is just a tool, and may or may not help in solving the 
current problem, but it's useful to have on your system.

From: Nagaraj S [mailto:nagaraj.chk@xxxxxxxxx]
Sent: Tuesday, March 03, 2009 9:48 AM
To: Bobak, Mark
Cc: oracle-l
Subject: Re: Permission Issue

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@xxxxxxxxxxxx<mailto:Mark.Bobak@xxxxxxxxxxxx>> 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@xxxxxxxxx<mailto:nagaraj.chk@xxxxxxxxx>]
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@xxxxxxxxxxxx<mailto:Mark.Bobak@xxxxxxxxxxxx>> 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@xxxxxxxxx<mailto:nagaraj.chk@xxxxxxxxx>]
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@xxxxxxxxxxxx<mailto:Mark.Bobak@xxxxxxxxxxxx>> wrote:

Naga,



What output do you get from the following commands:

which chmod

ldd `which chmod`



??



-Mark



From: oracle-l-bounce@xxxxxxxxxxxxx<mailto:oracle-l-bounce@xxxxxxxxxxxxx> 
[mailto:oracle-l-bounce@xxxxxxxxxxxxx<mailto:oracle-l-bounce@xxxxxxxxxxxxx>] 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





Other related posts: