在centos x64 上安装openfire,运行 /etc/init.d/openfire start后发现服务器没法开启,查看log日志:
nohup: failed to run command `/opt/openfire/jre/bin/java': No such file or directory
很奇怪,我是在centos上安装了java,openfire自带的jre就没法使用了,在论坛上搜索到下面的解决办法:
http://community.igniterealtime.org/thread/43673
cd /opt/openfire/jre/bin
cp java java.bak
rm java
ln -s /usr/bin/java java
service openfire start
问题解决^-^