最近在一台CentOS 7上安装openfire后,启动直接报错如下
Mar 28 21:08:34 VM_0_15_centos systemd[1]: Starting SYSV: Openfire is an XMPP server, which is a server that fac...t....
Mar 28 21:08:34 VM_0_15_centos su[18247]: (to daemon) root on none
Mar 28 21:08:34 VM_0_15_centos openfire[18235]: Starting openfire:
Mar 28 21:08:35 VM_0_15_centos systemd[1]: Failed to read PID from file /var/run/openfire.pid: Invalid argument
Mar 28 21:08:35 VM_0_15_centos systemd[1]: Failed to start SYSV: Openfire is an XMPP server, which is a server t...hat..
Mar 28 21:08:35 VM_0_15_centos systemd[1]: Unit openfire.service entered failed state.
Mar 28 21:08:35 VM_0_15_centos systemd[1]: openfire.service failed.
发现是缺少c++库导致的,直接如下安装即可
yum install libstdc++.i686
我要评论