Mac reinstall problem

Using OF 3.9.3

Had it running fine before, then tried to uninstall it using:

sudo rm -rf /usr/local/openfire

sudo rm -rf /Library/PreferencePanes/Openfire.prefPane

sudo rm -rf /Library/LaunchDaemons/org.jivesoftware.openfire.plist

now whenever i try to install it via the Openfire.pkg I get “installation failed”

sudo installer -pkg Downloads/Openfire.pkg -target / -verboseR

Output:

installer: Package name is Openfire XMPP Server

installer: Upgrading at base path /

installer:PHASE:Preparing installation …

installer:PHASE:Preparing volume …

installer:PHASE:Preparing „Openfire XMPP Server“…

installer:PHASE:Waiting for other installations to complete …

installer:PHASE:Configure installation…

installer:STATUS:

installer:%42.843083

installer:PHASE:Moving Obects to Destination …

installer:PHASE:Validating packets…

installer:%97.750000

installer: The upgrade failed (The Installation failed due to an error, Please contact…and so on)

Am i missing some leftover files, that hinder the installation?

i had this issue too, however, i have no idea about it. if you have slove this issue, please show me how to do. my email is yesidi@me.com. thx