LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Oracle 11g Install - /usr/local/bin is read only Issue. (https://www.linuxquestions.org/questions/linux-newbie-8/oracle-11g-install-usr-local-bin-is-read-only-issue-4175427583/)

cdhar 09-17-2012 01:03 AM

Oracle 11g Install - /usr/local/bin is read only Issue.
 
Hi,

As part of the Oracle 11.2 Database installation in Linux, it is asking to execute the /u01/app/oracle/product/11.2.0/db_1/root.sh script as last step. when I execute that it is trying to copy the
dbhome,oraenv,coraenv to /usr/local/bin directory and getting the following error.

Enter the full pathname of the local bin directory: [/usr/local/bin]:

/usr/local/bin is read only. Continue without copy (y/n) or retry (r)? [y]:

I am running the installation as oracle user.

Permissions for the asking folder
[root@xxx03 ~]# ls -l /usr/local/bin
lrwxrwxrwx 1 root games 20 Sep 6 03:36 /usr/local/bin -> ./packages/local/bin


Please suggest.
thanks in advance.

pan64 09-17-2012 03:04 AM

I assume you should run install scripts as root.

Habitual 09-17-2012 08:15 AM

Code:

su - root
/u01/app/oracle/product/11.2.0/db_1/root.sh

doesn't fix the "/usr/local/bin is read only" issue, but you are supposed to run the root.sh script as root once you get that straightened out.


All times are GMT -5. The time now is 12:22 PM.