11月 272014
 

[root@localhost bin]# cat /opt/openfire/logs/nohup.out
nohup: failed to run command `/opt/openfire/jre/bin/java’: No such file or directory
[root@localhost bin]#

[root@localhost bin]# vi /etc/sysconfig/openfire
# If you wish to override the auto-detected JAVA_HOME variable, uncomment
# and change the following line.
#JAVA_HOME=/usr/java/default
JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64

[root@localhost bin]# /etc/init.d/openfire start
Starting openfire:
[root@localhost bin]# cat /opt/openfire/logs/nohup.out
Openfire 3.9.3 [2014-11-26 19:01:29]
管理平台开始监听 http://localhost.localdomain:9090
[root@localhost bin]#
[root@localhost bin]# netstat -lnt |grep 9090
tcp 0 0 :::9090 :::* LISTEN
[root@localhost bin]#