Hi, While attempting to remove the openfire-3.4.3 rpm on RHEL 5, I ran across a bug.
If openfire is not running, preuninstall will fail causing rpm to fail:
if ; then
- This is an uninstall, instead of an upgrade.
/sbin/chkconfig --del openfire
&& /etc/init.d/openfire stop
I am not sure what to suggest for a fix, as I suspect you aren’t using the ‘service’ command since it doesn’t exist on all linux platforms.