powered by Jive Software

Openfire setup goes back to start after finish (infinite loop)

I used to have openfire working.

now after I ran it through debugger and commandline, and compiled all the existing plugins as well,

after I go through setup, it goes back to start instead of sign in screen.

What might be the cause?

How can I trace the cause?

there is no new addition in error.log file.

Thanks

Hello Ozgur Ozturk,

please check if the user which runs Openfire has write permission of the installation, especially the conf/openfire.xml and the log/error.log files. If you have setup the right permissions, restart Openfire. If you have more problems then post the error.log to this forum.

Regards

Hi,

I will check Guenther’s suggestion now.

First, I wanted to share another observation.

Openfire used to complain when I tried to run a second copy (something like “can’t listen on port 9090”)

Now I checked running processes, there appeared three openfires, then I tried to run another one through eclipse, it also started running without complaining. Here the 4 processes listed!:

ozozgur@infobay:~> ps -ef |grep openfire

ozozgur 5625 1 0 Jan25 pts/2 00:00:50 /usr/java/jdk1.6.0_18/bin/java -server -DopenfireHome=/home/ozozgur/workspace/openfire/target/openfire -Dopenfire.lib.dir=/home/ozozgur/workspace/openfire/target/openfire/lib -classpath /home/ozozgur/workspace/openfire/target/openfire/lib/startup.jar -jar /home/ozozgur/workspace/openfire/target/openfire/lib/startup.jar

ozozgur 5686 1 0 Jan25 pts/2 00:00:39 /usr/java/jdk1.6.0_18/bin/java -server -DopenfireHome=/home/ozozgur/workspace/openfire/target/openfire -Dopenfire.lib.dir=/home/ozozgur/workspace/openfire/target/openfire/lib -classpath /home/ozozgur/workspace/openfire/target/openfire/lib/startup.jar -jar /home/ozozgur/workspace/openfire/target/openfire/lib/startup.jar

ozozgur 9081 1 0 Jan26 pts/2 00:00:30 /usr/java/jdk1.6.0_18/bin/java -server -DopenfireHome=/home/ozozgur/workspace/openfire/target/openfire -Dopenfire.lib.dir=/home/ozozgur/workspace/openfire/target/openfire/lib -classpath /home/ozozgur/workspace/openfire/target/openfire/lib/startup.jar -jar /home/ozozgur/workspace/openfire/target/openfire/lib/startup.jar

ozozgur 18224 7161 4 12:44 ? 00:00:03 /usr/java/jdk1.6.0_18/bin/java -DopenfireHome=/home/ozozgur/workspace/openfire/target/openfire -Dfile.encoding=UTF-8 -classpath /home/ozozgur/workspace/openfire/bin:/home/ozozgur/workspace/openfire/build/lib /ant-contrib.jar:/home/ozozgur/workspace/openfire/build/lib/ant-jive-edition.jar :/home/ozozgur/workspace/openfire/build/lib/ant-subdirtask.jar:/home/ozozgur/wor kspace/openfire/build/lib/ant.jar:/home/ozozgur/workspace/openfire/build/lib/cgl ib-nodep.jar:/home/ozozgur/workspace/openfire/build/lib/commons-el.jar:/home/ozo zgur/workspace/openfire/build/lib/dist/activation.jar:/home/ozozgur/workspace/op enfire/build/lib/dist/bouncycastle.jar:/home/ozozgur/workspace/openfire/build/li b/dist/hsqldb.jar:/home/ozozgur/workspace/openfire/build/lib/dist/jdic.jar:/home /ozozgur/workspace/openfire/build/lib/dist/jtds.jar:/home/ozozgur/workspace/open fire/build/lib/dist/mail.jar:/home/ozozgur/workspace/openfire/build/lib/dist/mys ql.jar:/home/ozozgur/workspace/openfire/build/lib/dist/postgres.jar:/home/ozozgu r/workspace/openfire/build/lib/dist/servlet.jar:/home/ozozgur/workspace/openfire /build/lib/dist/slf4j-log4j12.jar:/home/ozozgur/workspace/openfire/build/lib/ham crest-api.jar:/home/ozozgur/workspace/openfire/build/lib/hamcrest-library.jar:/h ome/ozozgur/workspace/openfire/build/lib/i4jruntime.jar:/home/ozozgur/workspace/ openfire/build/lib/jasper-compiler.jar:/home/ozozgur/workspace/openfire/build/li b/jasper-runtime.jar:/home/ozozgur/workspace/openfire/build/lib/jmock-junit4.jar :/home/ozozgur/workspace/openfire/build/lib/jmock-legacy.jar:/home/ozozgur/works pace/openfire/build/lib/jmock.jar:/home/ozozgur/workspace/openfire/build/lib/jun it.jar:/home/ozozgur/workspace/openfire/build/lib/merge/commons-codec.jar:/home/ ozozgur/workspace/openfire/build/lib/merge/commons-httpclient.jar:/home/ozozgur/ workspace/openfire/build/lib/merge/commons-lang.jar:/home/ozozgur/workspace/open fire/build/lib/merge/commons-logging.jar:/home/ozozgur/workspace/openfire/build/ lib/merge/dbutil.jar:/home/ozozgur/workspace/openfire/build/lib/merge/dom4j.jar: /home/ozozgur/workspace/openfire/build/lib/merge/jaxen.jar:/home/ozozgur/workspa ce/openfire/build/lib/merge/jdom.jar:/home/ozozgur/workspace/openfire/build/lib/ merge/jetty-continuation.jar:/home/ozozgur/workspace/openfire/build/lib/merge/je tty-http.jar:/home/ozozgur/workspace/openfire/build/lib/merge/jetty-io.jar:/home /ozozgur/workspace/openfire/build/lib/merge/jetty-security.jar:/home/ozozgur/wor kspace/openfire/build/lib/merge/jetty-server.jar:/home/ozozgur/workspace/openfir e/build/lib/merge/jetty-servlet.jar:/home/ozozgur/workspace/openfire/build/lib/m erge/jetty-util.jar:/home/ozozgur/workspace/openfire/build/lib/merge/jetty-webap p.jar:/home/ozozgur/workspace/openfire/build/lib/merge/jetty-xml.jar:/home/ozozg ur/workspace/openfire/build/lib/merge/jmdns.jar:/home/ozozgur/workspace/openfire /build/lib/merge/jsp-api.jar:/home/ozozgur/workspace/openfire/build/lib/merge/js tl.jar:/home/ozozgur/workspace/openfire/build/lib/merge/jstun-0.6.1.jar:/home/oz ozgur/workspace/openfire/build/lib/merge/jzlib.jar:/home/ozozgur/workspace/openf ire/build/lib/merge/libidn.jar:/home/ozozgur/workspace/openfire/build/lib/merge/ log4j.jar:/home/ozozgur/workspace/openfire/build/lib/merge/mina-core.jar:/home/o zozgur/workspace/openfire/build/lib/merge/mina-filter-compression.jar:/home/ozoz gur/workspace/openfire/build/lib/merge/mina-filter-ssl.jar:/home/ozozgur/workspa ce/openfire/build/lib/merge/proxool.jar:/home/ozozgur/workspace/openfire/build/l ib/merge/rome-fetcher.jar:/home/ozozgur/workspace/openfire/build/lib/merge/rome. jar:/home/ozozgur/workspace/openfire/build/lib/merge/shaj.jar:/home/ozozgur/work space/openfire/build/lib/merge/sitemesh.jar:/home/ozozgur/workspace/openfire/bui ld/lib/merge/slf4j-api.jar:/home/ozozgur/workspace/openfire/build/lib/merge/stan dard.jar:/home/ozozgur/workspace/openfire/build/lib/merge/stringprep.jar:/home/o zozgur/workspace/openfire/build/lib/merge/tinder.jar:/home/ozozgur/workspace/ope nfire/build/lib/merge/xpp3.jar:/home/ozozgur/workspace/openfire/build/lib/objene sis.jar:/home/ozozgur/workspace/openfire/build/li

ozozgur 18291 18177 0 12:46 pts/0 00:00:00 grep openfire

Thank you Guenther,

You were correct.

I think once I ran the server as root, and openfire.xml ownership went to root.

I needed to changeownership

chown ozozgur openfire.xml

in that folder.

Now the server runs.

I hope I can fix the red5 problem soon as well.

No one answered to that question.