DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Datafile ownership changes to root root from oracle dba

  1. #1
    Join Date
    May 2005
    Posts
    129

    Datafile ownership changes to root root from oracle dba

    This is the 2nd time this has happened at one clients shop that I am aware of in just 3 weeks.

    I chown'ed them back but did not realize that oracle had given up on them and they needed 'recover datafile'. That mistake prolonged the outage. Oddly oracle stopped complaining about the datafile in the alert log.

    These are 'raw' chunk files and I believe but am not sure that veritas is involved.

    How might the ownership be changing? Who is doing it ?
    How can I found out who did it ?

    thx

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Quote Originally Posted by roadwarriorDBA
    How can I found out who did it ?
    Change the root password so only you and one other person knows it. When it happens again, you will know who didn't do it and you can go on from there. Oracle shouldn't care who the owner is as long as he has permission to write.
    Jeff Hunter

  3. #3
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    if the ownerships are changed to root root then oracle wont have write, i believe they are rw-r--r-- (i think)

    any cron jobs doing a chown? - is it just the datafiles or the whole system?

  4. #4
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Quote Originally Posted by davey23uk
    if the ownerships are changed to root root then oracle wont have write, i believe they are rw-r--r-- (i think)
    depends on what root's umask is...
    Jeff Hunter

  5. #5
    Join Date
    May 2005
    Posts
    129
    Quote Originally Posted by davey23uk
    if the ownerships are changed to root root then oracle wont have write, i believe they are rw-r--r-- (i think)

    any cron jobs doing a chown? - is it just the datafiles or the whole system?
    2 datafiles out of the group, not aware of any others. Not sure how many it was last time. Does veritas netbackup have a tendency to do this ?

  6. #6
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    Quote Originally Posted by roadwarriorDBA
    2 datafiles out of the group, not aware of any others. Not sure how many it was last time. Does veritas netbackup have a tendency to do this ?
    It's been 5 years since I worked with NB, but I don't think so.
    Jeff Hunter

  7. #7
    Join Date
    May 2005
    Posts
    129
    Quote Originally Posted by marist89
    It's been 5 years since I worked with NB, but I don't think so.
    Its was only one datafile before, this time 2. Different times as well. That sounds more like sabotage now.

    Prolly need sudosh to record everything that is happening under root.

  8. #8
    Join Date
    May 2005
    Location
    AZ, USA
    Posts
    131
    Quote Originally Posted by roadwarriorDBA
    Its was only one datafile before, this time 2. Different times as well. That sounds more like sabotage now.

    Prolly need sudosh to record everything that is happening under root.
    Are the admins doing a restore? This can happen when the admins restore files from the netbackup. It may even be a side affect that they didn't realize, while restoring other files for 'other' people.

  9. #9
    Join Date
    May 2005
    Posts
    129
    We are the admins. They outsource to us. Sombody at the client has root though.

  10. #10
    Join Date
    May 2005
    Location
    AZ, USA
    Posts
    131
    Quote Originally Posted by roadwarriorDBA
    We are the admins. They outsource to us. Sombody at the client has root though.
    Isn't there a log under /var/adm that tracks the logins, and from what terminal? If it's pts, then definately, change the password.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width