Home not found. Define system property "openfireHome" or create and add the openfire_init.xml file to the classpath

时间:2023-03-08 19:19:47
Home not found. Define system property "openfireHome" or create and add the openfire_init.xml file to the classpath

启动openfire后出现这个错误,貌似什么配置没对吧。网上搜索了下,找到解决办法,

$ vi /etc/profile
在里面加入:
export openfireHome=/opt/openfire

重启openfire,问题解决。

还有一项我要吐槽的是,昨天晚上搞了很久使用

/usr/local/openfire/bin/openfire start

  

启动都没有成功,说找不到这个命令。今天又行了,很奇葩。