Checkdir Error Cannot Create Oracle
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company checkdir error cannot create unable to process Business Learn more about hiring developers or posting ads with us Super User Questions
Checkdir Error Cannot Create Unzip
Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; checkdir cannot create extraction directory it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Can't create directory, “permission denied” error up checkdir error exists but is not directory vote 0 down vote favorite 1 I am executing the following command from my聽Linux machine. cp -r hwweb-ws-5.0 /home/tomcat/hwweb-1/webapps/ It's displaying the following error: cp: cannot create directory `/home/tomcat/hwweb-1/webapps/hwweb-ws-5.0': Permission denied linux permissions cp share|improve this question edited Oct 27 '11 at 18:30 slhck 125k38312360 asked Oct 27 '11 at 10:58 yyy i 777 migrated from stackoverflow.com Oct 27 '11 at 18:03 This question came from our site for professional and enthusiast programmers. 3
Mkdir Cannot Create Directory Permission Denied Linux
Have you checked permissions! –Didier Trosset Oct 27 '11 at 11:00 Most probably you'll need to check who's the owner of the folder by using "ls -l /home/tomcat/hwweb-1/webapps" and then switch to that user by using e.g. "su webapps". After that try copying the folder again and don't forget to switch back to your user by hitting "exit" in the command line. –Stas Oct 27 '11 at 11:06 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote Try sudo cp -r hwweb-ws-5.0 /home/tomcat/hwweb-1/webapps/ and then type your super user password. The other way is to change the owner or add your user to the owner group of the /home/tomcat/hwweb-1/webapps/ directory. Obviously, your user doens't have right to write in this directory now. share|improve this answer answered Oct 27 '11 at 10:59 Konstantin Yovkov 1113 I am not a admin user , how can i add user to the owner group of the /home/tomcat/hwweb-1/webapps/ directory –yyy i 777 Oct 27 '11 at 11:12 As far as I know, you have to be admin user to change permissions on directories. The other way is to execute the copy operation via tomcat user (because the copying is made in the tomcat's home directory). I think this link might be useful to you. dba-oracle.com/linux/change_user_ownership.htm &nd
个评论 收藏 我要投稿 unzip *.zip遇到‘checkdir error:cannot create database’的问题 案例回顾: www.2cto.com linux的 root下 新建的 oracle用户,然后用 oracle登录 解压oracle10g.zip文件 所用命令: [oracle@bogon opt]$ unzip oracle10g.zip ---------------注意用户为oracle checkdir error: cannot create database unable to process database/stage/Dialogs/HTM LDBDialogs/10.2.0.1.0/. checkdir error: cannot create database unable to process database/stage/Dialogs/HTM LDBDialogs/10.2.0.1.0/1/. checkdir error: cannot create database unable to process database/stage/Dialogs/HTMLDBDialogs/10.2.0.1.0/1/HTMLDBDialogs.jar. checkdir error: cannot create database http://superuser.com/questions/351288/cant-create-directory-permission-denied-error unable to process database/stage/Dialogs/OiD ynamicXYSpreadTable/. checkdir error: cannot create database unable to process database/stage/Dialogs/OiDynamicXYSpreadTable/2.5.0.2.5/. checkdir error: cannot create database unable to process database/stage/Dialogs/OiDynamicXYSpreadTable/2.5.0.2.5/1/. www.2cto.com 原因分析: [oracle@bogon opt]$ unzip oracle10g.zip -----注意用户为oracle 报错很明显:checkdir error: cannot create database 注意查看权限: [oracle@test ~]$ ll total 8 -rw-r--r-- http://www.2cto.com/database/201303/193927.html 1 root root 0 Mar 7 23:55 = -rw-r--r-- 1 root root 0 Mar 7 23:55 Finished drwxr-xr-x 2 root root 4096 Mar 8 00:02 ora10g drwxr-xr-x 3 root root 4096 Mar 8 10:25 ora11g -rw-r--r-- 1 root root 0 Mar 7 23:55 Package -rw-r--r-- 1 root root 0 Mar 7 23:55 Processing -rw-r--r-- 1 root root 0 Mar 7 23:55 Restarting -rw-r--r-- 1 root root 0 Mar 7 23:55 Running [oracle@test ora11g]$ ll total 2304464 drwxr-xr-x 8 root root 4096 Nov 16 2010 database -rw-r--r-- 1 root root 1307536871 Mar 8 00:13 p10098816_112020_Linux-x86-64_1of7.zip ------请注意查看权限‘rw-r--r-- 1’ oracle没有写权限 , -rw-r--r-- 1 root root 1049912579 Mar 8 00:17 p10098816_112020_Linux-x86-64_2of7.zip -------及不能执行 unzip 命令 [oracle@test ora11g]$ 然后我们来观察下 /tmp 目录 [root@test tmp]# ll total 236 drwx------ 2 root root 4096 Mar 8 00:33 gconfd-root srwxr-xr-x 1 root root 0 Mar 7 22:55 mapping-root drwxr-xr-x 4 root root 229376 Mar 7 23:43 Server 注意观察:读取与执行权限 r-x ,所以将*.zip放到/tmp 下就可以解压了 解决方法: 1.使用root 用户来执行unzip 命令 2.使用root用户给oracle添加更大的权限,或者更改文件属主。 chmod / chown 点击复制链接 与好友分享!回本站首页 相关TAG标签 问题 上一篇:Golden Gate入门指导:概念和体系结构 下一篇:TNS:协议适配器错误解决方案 相关文章 Oracle诊断案例---如何诊断和解决CPU高 讲解Oracle面试过程中常见的二十个问题 讲解Oracle数据库的sysdb
create database鈥 2013-03-08 10:46 1468浜洪槄璇 璇勮(0) 鏀惰棌 涓炬姤 鏈枃绔犲凡鏀跺綍浜庯細 鍒嗙被锛 troubleshooting锛100锛 浣滆呭悓绫绘枃绔燲 鐗堟潈澹版槑锛氭湰鏂囦负鍗氫富鍘熷垱鏂囩珷锛屾湭缁忓崥涓诲厑璁镐笉寰楄浆杞姐 妗堜緥鍥為【锛 linux鐨 root涓 鏂板缓鐨 oracle鐢ㄦ埛,鐒跺悗鐢 oracle鐧诲綍 瑙e帇oracle10g.zip鏂囦欢 鎵鐢ㄥ懡浠: [oracle@bogon opt]$ unzip oracle10g.zip ---------------娉ㄦ剰鐢ㄦ埛涓簅racle checkdir error:cannot create http://blog.csdn.net/lixora/article/details/8649606 database unable to process database/stage/Dialogs/HTM LDBDialogs/10.2.0.1.0/. checkdir error:cannot create database unable to https://kpjustin.wordpress.com/2012/10/11/step-by-step-upgrade-of-11gr2-grid-infrastructure-crs-upgrade-3/ process database/stage/Dialogs/HTM LDBDialogs/10.2.0.1.0/1/. checkdir error:cannot create database unable to process database/stage/Dialogs/HTMLDBDialogs/10.2.0.1.0/1/HTMLDBDialogs.jar. checkdir error:cannot create database cannot create unable to process database/stage/Dialogs/OiD ynamicXYSpreadTable/. checkdir error:cannot create database unable to process database/stage/Dialogs/OiDynamicXYSpreadTable/2.5.0.2.5/. checkdir error:cannot create database unable to process database/stage/Dialogs/OiDynamicXYSpreadTable/2.5.0.2.5/1/. 鍘熷洜鍒嗘瀽锛 [oracle@bogon opt]$ unzip oracle10g.zip-----娉ㄦ剰鐢ㄦ埛涓簅racle 鎶ラ敊寰堟槑鏄撅細checkdir error:cannot create database 娉ㄦ剰鏌ョ湅鏉冮檺锛 [oracle@test ~]$ checkdir error cannot ll total 8 -rw-r--r-- 1 root root 0 Mar7 23:55 = -rw-r--r-- 1 root root 0 Mar7 23:55 Finished drwxr-xr-x 2 root root 4096 Mar8 00:02 ora10g drwxr-xr-x 3 root root 4096 Mar8 10:25 ora11g -rw-r--r-- 1 root root 0 Mar7 23:55 Package -rw-r--r-- 1 root root 0 Mar7 23:55 Processing -rw-r--r-- 1 root root 0 Mar7 23:55 Restarting -rw-r--r-- 1 root root 0 Mar7 23:55 Running [oracle@test ora11g]$ ll total 2304464 drwxr-xr-x 8 root root 4096 Nov 162010 database -rw-r--r-- 1 root root 1307536871 Mar8 00:13 p10098816_112020_Linux-x86-64_1of7.zip------璇锋敞鎰忔煡鐪嬫潈闄愨榬w-r--r-- 1鈥 oracle娌℃湁鍐欐潈闄 锛 -rw-r--r-- 1 root root 1049912579 Mar8 00:17 p10098816_112020_Linux-x86-64_2of7.zip -------鍙婁笉鑳芥墽琛 unzip 鍛戒护 [oracle@test ora11g]$ 鐒跺悗鎴戜滑鏉ヨ瀵熶笅 /tmp鐩綍 [root@test tmp]# ll total 236 drwx------ 2 root root 4096 Mar8 00:33 gconfd-root srwxr-xr-x 1 root root 0 Mar7 22:55 mapping-root drwxr-xr-x 4 root root 229376 Mar7 23:43 Server 娉ㄦ剰瑙傚療锛氳
in Oracle Clusterware ≈ Leave a comment TagsCRS upgrade Restrictions for Clusterware and Oracle ASM Upgrades ==================================================== Oracle recommends that you use CVU to check if here are any patches required for upgrading your existing Oracle Grid Infrastructure 11g release 2 or Oracle RAC database 11g Release 2 installations. Be aware of the following restrictions and changes for upgrades to Oracle Grid Infrastructure installations, which consists of Oracle Clusterware and Oracle Automatic Storage Management (Oracle ASM): 1)聽聽聽 To upgrade existing Oracle Clusterware installations to Oracle Grid Infrastructure 11g, your release must be greater than or equal to 10.1.0.5, 10.2.0.3, 11.1.0.6, or 11.2. 2)聽聽聽 To upgrade existing Oracle Grid Infrastructure installations from 11.2.0.2 to a later release, you must apply patch 11.2.0.2.1 (11.2.0.2 PSU 1) or later. 3)聽聽聽 To upgrade existing 11.1 Oracle Clusterware installations to Oracle Grid Infrastructure 11.2.0.3 or later, you must patch the release 11.1 Oracle Clusterware home with the patch for bug 7308467. 4)聽聽聽 If you have Oracle ACFS file systems on Oracle Grid Infrastructure 11g release 2 (11.2.0.1), you upgrade Oracle Grid Infrastructure to any later version (11.2.0.2 or 11.2.0.3), and you take advantage of Redundant Interconnect Usage and add one or more additional private interfaces to the private network, then you must restart the Oracle ASM instance on each upgraded cluster member node. 5)聽聽聽 Do not delete directories in the Grid home. For example, do not delete Grid_home/Opatch. If you delete the directory, then the Grid infrastructure installation owner cannot use Opatch to patch the grid home, and Opatch displays the error "checkdir error: cannot create Grid_home/OPatch' 6)聽聽聽 To upgrade existing 11.2.0.1 Oracle Grid Infrastructure installations to Oracle Grid Infrastructure 11.2.0.2, you must first verify if you need to apply any mandatory patches for upgrade to succeed. 7)聽聽聽 Oracle Clusterware and Oracle ASM upgrades are always out-of-place upgrades. With 11g release 2 (11.2), you cannot perform an in-place upgrade of Oracle Clusterware and Oracle ASM to existing homes. 8)聽聽聽 If the existing Oracle Clusterware home is a shared home, note that you can use a non-shared home for the Oracle Grid Infrastructure for a Cluster home for Oracle Clusterware and Oracle ASM 11g