新建用户无法启动sun studio
root用户可以启动,但是新建的一个ems用户无法启动
cp:不能创建 /home/ems/.sunstudio/12.1-SunOS-i386/config/Modules/org-netbeans-mo
dules-cnd-debugger-gdb.xml: 权限被否定
cp:不能创建 /home/ems/.sunstudio/12.1-SunOS-i386/config/Modules/org-netbeans-mo
dules-cnd-kit.xml: 权限被否定
cp:不能创建 /home/ems/.sunstudio/12.1-SunOS-i386/config/Modules/org-netbeans-mo
dules-ide-branding-kit.xml: 权限被否定
cp:不能创建 /home/ems/.sunstudio/12.1-SunOS-i386/config/Modules/org-netbeans-mo
dules-registration.xml: 权限被否定
java.io.FileNotFoundException: /home/ems/.sunstudio/12.1-SunOS-i386/var/cache/la
stModified/all-checksum.txt (权限被否定)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.netbeans.Stamps.compareAndUpdateFile(Stamps.java:415)
at org.netbeans.Stamps.stamp(Stamps.java:322)
at org.netbeans.Stamps.moduleJARs(Stamps.java:285)
at org.netbeans.Stamps.file(Stamps.java:16
at org.netbeans.Stamps.asByteBuffer(Stamps.java:186)
at org.netbeans.Stamps.asByteBuffer(Stamps.java:149)
at org.netbeans.Archive.<init>(Archive.java:109)
at org.netbeans.JarClassLoader.initializeCache(JarClassLoader.java:93)
at org.netbeans.MainImpl$BootClassLoader.run(MainImpl.java:299)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:495)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:346)
at org.netbeans.MainImpl.execute(MainImpl.java:195)
at org.netbeans.MainImpl.main(MainImpl.java:76)
at org.netbeans.Main.main(Main.java:75)
java.io.IOException: 权限被否定
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:514)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:346)
at org.netbeans.MainImpl.execute(MainImpl.java:195)
at org.netbeans.MainImpl.main(MainImpl.java:76)
at org.netbeans.Main.main(Main.java:75)
java.io.IOException: 权限被否定
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:514)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:346)
at org.netbeans.MainImpl.execute(MainImpl.java:195)
at org.netbeans.MainImpl.main(MainImpl.java:76)
at org.netbeans.Main.main(Main.java:75)
java.io.IOException: 权限被否定
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:514)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:346)
at org.netbeans.MainImpl.execute(MainImpl.java:195)
at org.netbeans.MainImpl.main(MainImpl.java:76)
at org.netbeans.Main.main(Main.java:75)
java.io.IOException: 权限被否定
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:514)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:346)
at org.netbeans.MainImpl.execute(MainImpl.java:195)
at org.netbeans.MainImpl.main(MainImpl.java:76)
at org.netbeans.Main.main(Main.java:75)
java.io.IOException: 权限被否定
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:850)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:514)
at org.netbeans.CLIHandler.initialize(CLIHandler.java:346)
at org.netbeans.MainImpl.execute(MainImpl.java:195)
at org.netbeans.MainImpl.main(MainImpl.java:76)
at org.netbeans.Main.main(Main.java:75)
java.io.FileNotFoundException: /home/ems/.sunstudio/12.1-SunOS-i386/var/log/mess
ages.log (权限被否定)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at org.netbeans.core.startup.TopLogging.defaultHandler(TopLogging.java:3
50)
at org.netbeans.core.startup.TopLogging.<init>(TopLogging.java:159)
at org.netbeans.core.startup.TopLogging.initialize(TopLogging.java:195)
at org.netbeans.core.startup.TopLogging.initialize(TopLogging.java:176)
at org.netbeans.core.startup.CLIOptions.initialize(CLIOptions.java:21
at org.netbeans.core.startup.Main.start(Main.java:240)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:110)
at java.lang.Thread.run(Thread.java:595)
-------------------------------------------------------------------------------
>Log Session: Wednesday, June 23, 2010 9:08:03 AM CST
>System Info:
Product Version = Sun Studio???汾 200903060201??
Operating System = SunOS version 5.10 running on x86
Java; VM; Vendor = 1.5.0_20; Java HotSpot(TM) Client VM 1.5.0_20-b02; S
un Microsystems Inc.
Runtime = Java(TM) 2 Runtime Environment, Standard Edition 1.5
.0_20-b02
Java Home = /usr/jdk/instances/jdk1.5.0/jre
System Locale; Encoding = zh_CN (sunstudio); gb2312
Home Directory = /home/ems
Current Directory = /home/ems
User Directory = /home/ems/.sunstudio/12.1-SunOS-i386
Installation = /opt/sunstudio12.1/netbeans/nb6.5
/opt/sunstudio12.1/netbeans/ide10
/opt/sunstudio12.1/netbeans/websvccommon1
/opt/sunstudio12.1/netbeans/gsf1
/opt/sunstudio12.1/netbeans/cnd2
/opt/sunstudio12.1/prod/nb-clusters/sside1
/opt/sunstudio12.1/netbeans/platform9
Boot & Ext. Classpath = /usr/jdk/instances/jdk1.5.0/jre/lib/rt.jar:/usr/jdk/
instances/jdk1.5.0/jre/lib/i18n.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/sunrsasi
gn.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/jsse.jar:/usr/jdk/instances/jdk1.5.0/
jre/lib/jce.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/charsets.jar:/usr/jdk/instan
ces/jdk1.5.0/jre/classes:/usr/jdk/instances/jdk1.5.0/jre/lib/ext/dnsns.jar:/usr/
jdk/instances/jdk1.5.0/jre/lib/ext/localedata.jar:/usr/jdk/instances/jdk1.5.0/jr
e/lib/ext/sunjce_provider.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/ext/sunpkcs11.
jar:/usr/jdk/instances/jdk1.5.0/jre/lib/ext/jhall.jar:/usr/jdk/instances/jdk1.5.
0/jre/lib/ext/jmf.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/ext/jmplay.jar:/usr/jd
k/instances/jdk1.5.0/jre/lib/ext/mediaplayer.jar:/usr/jdk/instances/jdk1.5.0/jre
/lib/ext/multiplayer.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/ext/jai_codec.jar:/
usr/jdk/instances/jdk1.5.0/jre/lib/ext/jai_core.jar:/usr/jdk/instances/jdk1.5.0/
jre/lib/ext/mlibwrapper_jai.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/ext/clibwrap
per_jiio.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/ext/jai_imageio.jar:/usr/jdk/in
stances/jdk1.5.0/jre/lib/ext/jmfmp3.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/ext/
mp3plugin.jar:/usr/jdk/instances/jdk1.5.0/jre/lib/ext/gnome-java-bridge.jar
Application Classpath = /opt/sunstudio12.1/netbeans/platform9/lib/boot.jar:/
opt/sunstudio12.1/netbeans/platform9/lib/org-openide-modules.jar:/opt/sunstudio1
2.1/netbeans/platform9/lib/org-openide-util.jar:/opt/sunstudio12.1/netbeans/plat
form9/lib/locale/boot_ja.jar:/opt/sunstudio12.1/netbeans/platform9/lib/locale/bo
ot_pt_BR.jar:/opt/sunstudio12.1/netbeans/platform9/lib/locale/boot_zh_CN.jar:/op
t/sunstudio12.1/netbeans/platform9/lib/locale/org-openide-modules_ja.jar:/opt/su
nstudio12.1/netbeans/platform9/lib/locale/org-openide-modules_pt_BR.jar:/opt/sun
studio12.1/netbeans/platform9/lib/locale/org-openide-modules_zh_CN.jar:/opt/suns
tudio12.1/netbeans/platform9/lib/locale/org-openide-util_ja.jar:/opt/sunstudio12
.1/netbeans/platform9/lib/locale/org-openide-util_pt_BR.jar:/opt/sunstudio12.1/n
etbeans/platform9/lib/locale/org-openide-util_zh_CN.jar
Startup Classpath = /opt/sunstudio12.1/netbeans/platform9/core/org-openi
de-filesystems.jar:/opt/sunstudio12.1/netbeans/platform9/core/core.jar:/opt/suns
tudio12.1/netbeans/platform9/core/locale/org-openide-filesystems_zh_CN.jar:/opt/
sunstudio12.1/netbeans/platform9/core/locale/org-openide-filesystems_pt_BR.jar:/
opt/sunstudio12.1/netbeans/platform9/core/locale/org-openide-filesystems_ja.jar:
/opt/sunstudio12.1/netbeans/platform9/core/locale/core_zh_CN.jar:/opt/sunstudio1
2.1/netbeans/platform9/core/locale/core_pt_BR.jar:/opt/sunstudio12.1/netbeans/pl
atform9/core/locale/core_ja.jar:/opt/sunstudio12.1/netbeans/nb6.5/core/org-netbe
ans-upgrader.jar:/opt/sunstudio12.1/netbeans/nb6.5/core/locale/org-netbeans-upgr
ader_zh_CN.jar:/opt/sunstudio12.1/netbeans/nb6.5/core/locale/org-netbeans-upgrad
er_pt_BR.jar:/opt/sunstudio12.1/netbeans/nb6.5/core/locale/org-netbeans-upgrader
_ja.jar:/opt/sunstudio12.1/netbeans/nb6.5/core/locale/core_nb_pt_BR.jar:/opt/sun
studio12.1/netbeans/nb6.5/core/locale/core_nb_zh_CN.jar:/opt/sunstudio12.1/netbe
ans/nb6.5/core/locale/core_nb_ja.jar:/opt/sunstudio12.1/netbeans/nb6.5/core/loca
le/core_nb.jar:/opt/sunstudio12.1/prod/nb-clusters/sside1/core/locale/core_sunst
udio.jar:/opt/sunstudio12.1/prod/nb-clusters/sside1/core/locale/core_sunstudio_z
h_CN.jar
-------------------------------------------------------------------------------
Java Accessibility Bridge for GNOME loaded.
警告 [org.netbeans.core.modules]: had to upgrade dependencies for module com.sun
.dlight.editorsupport: added = [module org.netbeans.modules.editor.deprecated.pr
e61settings/0 > 1.0, module org.netbeans.modules.editor.deprecated.pre61completi
on/0 > 1.0] removed = []; details: [Old editor settings and completion APIs have
been deprecated, see #90403 and update your module.]
警告 [org.netbeans.core.modules]: had to upgrade dependencies for module com.sun
.dlight: added = [module org.openide.options > 6.7] removed = []; details: [#885
31 Remove SystemOption usage from PrintSettings]
警告 [org.netbeans.core.modules]: had to upgrade dependencies for module com.sun
.tools.debugger.dbxgui: added = [module org.netbeans.modules.editor.deprecated.p
re61settings/0 > 1.0, module org.netbeans.modules.editor.deprecated.pre61complet
ion/0 > 1.0] removed = []; details: [Old editor settings and completion APIs hav
e been deprecated, see #90403 and update your module.]
警告 [org.netbeans.core.modules]: had to upgrade dependencies for module com.sun
.tools.swdev.sunstudio.registration: added = [module org.netbeans.modules.editor
.deprecated.pre61settings/0 > 1.0, module org.netbeans.modules.editor.deprecated
.pre61completion/0 > 1.0] removed = []; details: [Old editor settings and comple
tion APIs have been deprecated, see #90403 and update your module.]
警告 [org.netbeans.core.modules]: the module org.netbeans.modules.xml.text uses
org.netbeans.modules.editor.deprecated.pre61completion which is deprecated.
警告 [org.netbeans.core.modules]: the module org.netbeans.modules.db uses org.op
enide.options which is deprecated: 改用 org.openide.util.NbPreferences。
警告 [org.netbeans.core.modules]: the module org.netbeans.modules.cnd uses org.o
penide.options which is deprecated: 改用 org.openide.util.NbPreferences。
警告 [org.netbeans.core.modules]: the module org.netbeans.modules.cnd uses org.n
etbeans.modules.editor.deprecated.pre61settings which is deprecated.
警告 [org.netbeans.core.modules]: the module com.sun.tools.swdev.sunstudio.regis
tration uses org.netbeans.modules.editor.deprecated.pre61settings which is depre
cated.
警告 [org.netbeans.core.modules]: the module com.sun.tools.swdev.sunstudio.regis
tration uses org.netbeans.modules.editor.deprecated.pre61completion which is dep
recated.
警告 [org.netbeans.core.modules]: the module com.sun.dlight.editorsupport uses o
rg.netbeans.modules.editor.deprecated.pre61settings which is deprecated.
警告 [org.netbeans.core.modules]: the module com.sun.dlight.editorsupport uses o
rg.netbeans.modules.editor.deprecated.pre61completion which is deprecated.
警告 [org.netbeans.core.modules]: the module com.sun.dlight uses org.openide.opt
ions which is deprecated: 改用 org.openide.util.NbPreferences。
警告 [org.netbeans.core.modules]: the module com.sun.tools.debugger.dbxgui uses
org.netbeans.modules.editor.deprecated.pre61settings which is deprecated.
警告 [org.netbeans.core.modules]: the module com.sun.tools.debugger.dbxgui uses
org.netbeans.modules.editor.deprecated.pre61completion which is deprecated.
警告 [org.netbeans.core.modules]: the module org.netbeans.modules.cnd.completion
uses org.netbeans.modules.editor.deprecated.pre61completion which is deprecated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看看你的/home/ems的属主是谁,有没有读写权,确保ems有读写权。
还有下面一级目录也是否有读写权。
最后,确认文件系统是否满了。