[root@localhost ~]# ps xa | grep openfire
2468 pts/10 S+ 0:00 grep --color=auto openfire
[root@localhost ~]# service openfire start
Starting openfire (via systemctl): Job for openfire.service failed. See 'systemctl status openfire.service' and 'journalctl -xn' for details.
[FAILED]
[root@localhost ~]# systemctl status openfire.service
openfire.service - SYSV: Openfire is an XMPP server, which is a server that facilitates XML based communication, such as chat.
Loaded: loaded (/etc/rc.d/init.d/openfire)
Active: failed (Result: resources) since Fri 2014-02-28 10:36:18 GMT; 11s ago
Process: 2487 ExecStart=/etc/rc.d/init.d/openfire start (code=exited, status=0/SUCCESS)
Feb 28 10:36:16 localhost.localdomain systemd[1]: Starting SYSV: Openfire is ...
Feb 28 10:36:17 localhost.localdomain su[2497]: (to daemon) root on none
Feb 28 10:36:17 localhost.localdomain openfire[2487]: Starting openfire:
Feb 28 10:36:18 localhost.localdomain systemd[1]: PID file /var/run/openfire..
Feb 28 10:36:18 localhost.localdomain systemd[1]: Failed to start SYSV: Openf.
Feb 28 10:36:18 localhost.localdomain systemd[1]: Unit openfire.service enter.
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost ~]# journalctl -xn
-- Logs begin at Thu 2013-07-18 21:58:42 IST, end at Fri 2014-02-28 10:36:35 G
Feb 28 10:36:17 localhost.localdomain su[2497]: pam_unix(su:session): session
Feb 28 10:36:17 localhost.localdomain su[2497]: pam_unix(su:session): session
Feb 28 10:36:17 localhost.localdomain openfire[2487]: Starting openfire:
Feb 28 10:36:18 localhost.localdomain systemd[1]: PID file /var/run/openfire.p
Feb 28 10:36:18 localhost.localdomain systemd[1]: Failed to start SYSV: Openfi
-- Subject: Unit openfire.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit openfire.service has failed.
--
-- The result is failed.
Feb 28 10:36:18 localhost.localdomain systemd[1]: Unit openfire.service entere
Feb 28 10:36:35 localhost.localdomain dbus-daemon[756]: dbus[756]: [system] Ac
Feb 28 10:36:35 localhost.localdomain dbus-daemon[756]: dbus[756]: [system] Ac
Feb 28 10:36:35 localhost.localdomain dbus[756]: [system] Activating via syste
Feb 28 10:36:35 localhost.localdomain dbus[756]: [system] Activation via syste
[root@localhost ~]# ps xa | grep openfire
2506 ? Sl 0:05 /opt/openfire/jre/bin/java -server -DopenfireHome=/t/openfire -Dopenfire.lib.dir=/opt/openfire/lib -classpath /opt/openfire/lib/srtup.jar -jar /opt/openfire/lib/startup.jar
2558 ? Ss 0:00 postgres: openfire openfire 127.0.0.1(50420) idle
2559 ? Ss 0:00 postgres: openfire openfire 127.0.0.1(50421) idle
2560 ? Ss 0:00 postgres: openfire openfire 127.0.0.1(50423) idle
2561 ? Ss 0:00 postgres: openfire openfire 127.0.0.1(50424) idle
2562 ? Ss 0:00 postgres: openfire openfire 127.0.0.1(50425) idle
2609 pts/10 S+ 0:00 grep --color=auto openfire