Setting up OpenFire on linux

Hi, I am not able to set up OpenFire server on a remote linux machine using Fedora Core 7

I installed the .rpm file using rpm -ivh openfire-3.5.1-1.i386.rpm

It worked perfectly fine. It even shows up in the services that are running on that machine.

But I am not able to access the admin console on port 9090.

Wat could be the problem ??? how do i open up ports on remote Fedora7 ??

You want to login to Admin Console from remote computer, not locally? So, maybe a firewall is running there. You can try stopping firewall for a while. If it helps you can make a firewall rule for that port.

Thanks for your quick reply

But I already tried doing that,

by giving /etc/init.d/iptables stop and also /etc/rc.d/init.d/iptables stop

Also its a remote machine , so i dont know how to turn off firewall

Well, if you don’t know, i can’t know for sure So, you have just tried this commands. And what output did you get? I’m not familiar with Fedora. So i dont know exactly how to stop firewall there. Can you navigate yo that directories /etc/init.d/ and /etc/rc.d/init.d/ to check if iptables daemon is really there? Do you have only a cmd access to that remote server (ssh)?

/etc/init.d/iptables stop gave the following output.

iptables : Flushing firewall rules :

iptables : Setting chains to policy ACCEPT: mangle filter

iptables : Unloading modules :

Apart from the ssh terminal , I also have access to Services and Processes from the control panel…!

I tried stopping iptables from Services… and then tried accessing the admin console but it doesnt work

Please help guys

Well. That can be not a firewall issue after all. Are you sure server is running? Maybe there is a problem with java or too low memory and server is not starting normally. Can’t help you much from that point.

rpm -ivh openfire-3.4.1-1.i386.rpm

Preparing… ###########################################

1:openfire ###########################################

openfire 0:off 1:off 2:off 3:on 4:off 5:on 6:off

Does this mean that it wos installed successfully ???

I checked the logs in the openfire directory :

Exception in thread “main” java.lang.NoClassDefFoundError: org.jivesoftware.openfire.starter.ServerStarter

at java.lang.Class.initializeClass(libgcj.so.7)

at java.lang.Class.forName(libgcj.so.7)

at gnu.java.lang.MainThread.run(libgcj.so.7)

Caused by: java.lang.ClassNotFoundException: java.util.jar.Pack200$Unpacker not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/opt/openfire/lib/startup.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

at java.net.URLClassLoader.findClass(libgcj.so.7)

at java.lang.ClassLoader.loadClass(libgcj.so.7)

at java.lang.ClassLoader.loadClass(libgcj.so.7)

at java.lang.Class.forName(libgcj.so.7)

at java.lang.Class.initializeClass(libgcj.so.7)

…2 more

I am sure that the installation failed… will have to figure it out

well why dont you try to check that if it’s executable.

service openfire status to see it it’s running

service openfire start .if it fails then you can give a last try by start it by ./opt/openfire/bin/openfire.sh start

you can use setup a command line interface to configure services and firewall.

vi /opt/openfire/conf/openfire.xml

and try to configure it manually.

</admin>

<locale>en</locale>

<!-- Network settings. By default, Openfire will bind to all network interfaces.

Alternatively, you can specify a specific network interfaces that the server

will listen on. For example, 127.0.0.1. This setting is generally only useful

on multi-homed servers. -->

<!–

<network>

<interface></interface>

</network>

if none if this works then you should try reinstalling it also to make sure you java env is set properly.

best of luck,


Faisal Ashraf

http://www.voip.com.pk

Your VoIP Solutions Partner