Link to home
Start Free TrialLog in
Avatar of regisdaniel
regisdaniel

asked on

Reseting Oracle File Permissions as it was just after instalation

Hi experts.

Last night I needed to replace a harddisk on my oracle server to another one with more capacity. For complete this task, I did the folowing.

1) Disable Oracle AutoStart on Linux.
2) Shutdown the server
3) Put the new HD, partitioned, formated, and copy the files as ROOT user.
4) Shutdown the server again, remove the old HD, change FSTAB do point the oracle mount points to the new HD
5) Poweron the server, change the permissons to oracle folder (/u01 and /u02. Oracle Instalarion Folders and binaries are on /u01 mouting point)
6) Change owner on /u01 and /u02 to oracle, recursivelly.
7) Change filemode on /u01 and /u02 to 775, recursivelly.
8) Starts the oracle from the new HardDisk.

The database started fine. EM also stared with no problems.
But, when EM try to execute a JOB, that is a operating system command, it doesn't execute, and tells that it "cannot read error message from input".

I think that could can be happening because the permissions that I changed. Does anybody know what could be done to solving this?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Rich Olu
Rich Olu
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of regisdaniel
regisdaniel

ASKER

Hi rolutola.

Thanks for your answer.
When copied the files, the permissions was changed to the root user. This is why I used the chown and chmod to set all files to oracle user. Unfortunately I can't recopy the files, since the new harddisk already entered in production mode...


SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi joebednarz.

The user is the same used to log on before changing the harddisk, the oracle user. I also tried to reconfigure credentials to use the root user, but the error persists.

Thanks.