为什么SMC启动失败?

试图从我们的服务器中删除一个用户,但我似乎在任何转动受挫…

SMC拒绝加载用户列表(使用UserContent的listAll方法中的NoClassDefFoundError失败)。

vipw只是返回“vipw:/ etc / passwd文件忙”。

我是目前系统上的唯一用户(这是我们的备份SRSS盒),并且这两者在重新启动后都会失败。 目前我还没有控制台访问,不幸的是(或者我会尝试单用户模式)。 当然,即使init模式S工作,让我做这一个任务,也不解决根本问题。

想法?

fuser /etc/passwd检查什么进程正在使用它并杀死它。 显然要确保杀死这个进程是安全的。

解决scheme(实际上,解决方法)find(至less对于SMC,依然vipw问题困惑): http ://forums.sun.com/thread.jspa?messageID= 10266935

rogerfujii说:

 Sigh. They broke the classpath somewhere. This is not the correct fix, but will get you by if you need it to work (don't really understand what is supposed to get loaded where, so I stuck it at the end of the process): Edit /usr/sadm/lib/smc/bin/smc Add this line: L10NJARS="${L10NJARS} ${JARPATH}/../../VCommon.jar ${JARPATH}/../../usermgr/*.jar" just before the "for jar in ${L10NJARS}; do" line. (this is the smallest "fix", as it takes advantage of the shell expansion to deal with all the usermgr stuff). Save. You want to keep the original around and put it back when/if sun ever gets around to fixing this, just in case the fix doesn't include this file.