[tomcat]tomcat 怎么以普通用户启动?有错误信息。

[tomcat]tomcat 怎么以普通用户启动?有错误信息。

我用 jsvc 启动会出错:
[root@xxx tomcat6]# bin/jsvc -cp bin/bootstrap.jar \
> -outfile logs/catalina.out \
> -errfile logs/catalina.err \
> org.apache.catalina.startup.Bootstrap

下面是catalina.err
06/12/2008 21:15:28 5792 jsvc.exec error: syscall failed in set_caps
06/12/2008 21:15:28 5792 jsvc.exec error: syscall failed in set_caps
06/12/2008 21:15:30 5792 jsvc.exec error: syscall failed in set_caps
06/12/2008 21:15:30 5791 jsvc.exec error: Service exit with a return value of 4

这里是catalina.out
Dec 6, 2008 9:15:30 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: :/usr/lib:/lib:/usr/lib/libz.so:/usr/lib:/lib:/usr/lib/libz.so:/usr/java/jdk1.6.0_07/jre/lib/i386/client:/usr/java/jdk1.6.0_07/jre/lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
Dec 6, 2008 9:15:30 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 6, 2008 9:15:30 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1330 ms

请大家帮忙看看,谢谢!
06/12/2008 22:01:58 2131 jsvc.exec error: syscall failed in set_caps
06/12/2008 22:01:58 2131 jsvc.exec error: set_caps(CAPS) failed
06/12/2008 22:01:58 2130 jsvc.exec error: Service exit with a return value of 4
晕!! 出现这问题没法儿解决, google搜竟然又找回来了, 真是冤家路窄!!

翻倒!!!!

有两台F,一台装的是RHEL5
shell> rpm -ql libcap
/lib/libcap.so.1
/lib/libcap.so.1.10
/usr/sbin/execcap
/usr/sbin/getpcaps
/usr/sbin/setpcaps
/usr/sbin/sucap
/usr/share/doc/libcap-1.10
/usr/share/doc/libcap-1.10/capability.notes
/usr/share/doc/libcap-1.10/capfaq-0.2.txt

另外一台:Fedora Core 9
shell> rpm -ql libcap
/lib/libcap.so.1
/lib/libcap.so.1.10
/lib/libcap.so.2
/lib/libcap.so.2.06
/usr/sbin/capsh
/usr/sbin/getcap
/usr/sbin/getpcaps
/usr/sbin/setcap
/usr/share/doc/libcap-2.06
/usr/share/doc/libcap-2.06/License
/usr/share/doc/libcap-2.06/capability.notes
/usr/share/man/man8/getcap.8.gz
/usr/share/man/man8/setcap.8.gz

其中RHEL5启动jsvc没有问题, 而FC 启动就出了问题。好诡异啊!

谁帮我解决它, 我晚上请他/她吃快餐。

快来人啊