{"id":181,"date":"2008-11-26T10:01:44","date_gmt":"2008-11-26T09:01:44","guid":{"rendered":"http:\/\/www.askthegerman.com\/?p=181"},"modified":"2023-02-13T07:36:24","modified_gmt":"2023-02-13T06:36:24","slug":"changed-file-permissions-in-oracle-10g-release-2-10202","status":"publish","type":"post","link":"https:\/\/www.askthegerman.com\/?p=181","title":{"rendered":"Changed File-Permissions in Oracle 10g Release 2 (10.2.0.2)"},"content":{"rendered":"<p>When you want to use SQL*Plus or exp\/imp on the same server on which you have installed your database you might get errors like these:<\/p>\n<p><font face=\"Courier\">sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory<\/font><\/p>\n<p>or<\/p>\n<p><font face=\"Courier\">Error 6 initializing SQL*Plus<br \/>\nMessage file sp1us.msb not found<br \/>\nSP2-0750: You may need to set ORACLE_HOME to your Oracle software directory<\/font><\/p>\n<p><font face=\"Courier\">Syntax:<br \/>\n$ sqlplus username\/password<\/font><\/p>\n<p>You get this error only when you execute &#8216;sqlplus&#8217; as a user outside of the dba or Oracle group, because in Oracle Database 10g Release 2 the Oracle Home was locked down by setting umask to 007 prior to installation, so that the files that sqlplus needs to execute do not have read\/execute permissions for group &#8220;others&#8221; and some directories under $ORACLE_HOME have no world read nor execute permission (rwxr-x&#8212;)<\/p>\n<p>Warning , don&#8217;t use the following command to lower the permissions, this may corrupt your Oracle-Installation:<br \/>\n<font face=\"Courier\">chmod -R 755 $ORACLE_HOME\/<\/font><\/p>\n<p>The better way is to use an script which is provided by oracle:<br \/>\n<font face=\"Courier\">$ORACLE_HOME\/install\/changePerm.sh<\/font><\/p>\n<p>This script will relax the permissions on most files and directories in your Oracle Home, and allow &#8220;others&#8221; to execute them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you want to use SQL*Plus or exp\/imp on the same server on which you have installed your database you might get errors like these: sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory or Error 6 initializing SQL*Plus Message file sp1us.msb not found SP2-0750: You may [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5,31,15],"tags":[168,171,169,170,112],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-database","category-oracle","category-tipsntricks","category-unix","tag-error","tag-message-file-not-found","tag-permissions","tag-sp2-0750","tag-sqlplus"],"_links":{"self":[{"href":"https:\/\/www.askthegerman.com\/index.php?rest_route=\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.askthegerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.askthegerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.askthegerman.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.askthegerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=181"}],"version-history":[{"count":14,"href":"https:\/\/www.askthegerman.com\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":362,"href":"https:\/\/www.askthegerman.com\/index.php?rest_route=\/wp\/v2\/posts\/181\/revisions\/362"}],"wp:attachment":[{"href":"https:\/\/www.askthegerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.askthegerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.askthegerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}