Firstly i have to say that my linux experiance is severely limited, but as fate would have it, i am administrating a network with a linux server for a NPO
I am running openfire on a CentOS 4 box, and although openfire runs fine when i run ./openfire.sh from /opt/openfire/bin, i have no idea how to get it installed as a service, i have run redhat-postinstall.sh, but the service is not actually running. how do i get openfire working as a service on my machine
If you used the rpm install for openfire 3.3.1, then the service will be installed by the rpm. chkconfig --list openfire to see if it is installed and on in runlevel 3 & 5 ) You should see something like
$ chkconfig --list openfire
openfire 0:off 1:off 2:on 3:on 4:on 5:on 6:off
If you are on an older version:
copy <OPENFIRE_HOME>/bin/extra/openfired to /etc/init.d
chkconfig --add openfired
service openfired start
/etc/init.d is the library for service scripts
chkconfig is used to add/remove services from automatically starting
service command starts/stops services.
I had to make a couple of changes to the openfired script to have it work properly