我使用oracle-java8在ubuntu 14.04 LTS上安装了Subversion Edge(CollabNetSubversionEdge-5.1.5_linux-x86_64.tar.gz),但bin/csvn start
和service csvn start
导致了相同的结果:< / p>
$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle
$ service csvn start
Starting CSVN Console...
...............
WARNING: CSVN Console may have failed to start.
Could not run the command using user "collabnet".
Advice: Make sure the user "collabnet" has a shell.
If user "collabnet" has a no shell, you can specify one using SU_OPTS if your platform support it.
For example, at the top of this script you can set: SU_OPTS="-s /bin/bash".
Another workaround would be to use a OS service management tool if available on your platform.
OS service management tools supported by this script are described at the top of this script.
用户collabnet
同时拥有shell和HOME目录。
答案 0 :(得分:1)
此问题的两个原因:
1)文件权限问题。
2)运行不带“ sudo ”的命令。