You are showing an output from Openfire's launcher. I suppose you are using it to run Openfire? Try installing it as a service (it's in the documentation). I would also try to use 4.0.4 for now and no plugins for sure. Not sure about the TLS\SSL part. It should work by default in Openfire and you should leave it enabled and configure everything with TLS enabled. Changing settings in Openfire usually does not require its restart. When it does, you just need to reboot Openfire itself instead of a VM. When installed as a service it should survive VM's reboots also.
Re: What causes Openfire to become desynced with Active Directory?
Openfire 3.7.1 lost access admin after change ldap
Hello to comunity this is my first post and yes.. i need help :-)
I have an Elastix 2.5 distro installed only to use Openfire, this is the version 3.7.1 and runs under Centos, i migrate a DC Windows LDAP 2003 to a new 2012 LDAP and change access LDAP in Openfire and after this i lost access to admin Openfire, i enter before with user LDAP -> elastix/password , i think i lost a connection ldap and now not read this user and can not authenticate to enter to admin panel
What can I do now to regain admin access?
Thanks a lot
Openfire 4.0.4 manage users and groups in LDAP
I read tons about this question in this forum but i am not clear about that, because this i expose my case:
I have installed Openfire about 6 or 7 years ago in a little business with about 20-25 users distributed about 4 sites/headquarters, i have installed Spark and Miranda in a windows computers and all users have in your spark messenger 4 groups with users inside in each site like this -> (group site1->user1,user2,etc) (group site2->user1,2, etc...) and each user can communicate with each user in the business through groups/site, i install this about many years ago and all users and groups about each site are in LDAP windows. When i have a new user, i create in a Windows DC and add to group/site and automatically i have a user in Spark in group/site i add, i not make anything more about this
And now, i install a new Openfire 4.0.4 directly in a Windows DC 2012 (maybe too risky???) and i configurate LDAP to DC and its working good, i read all users and all groups, the Spark clients i change the server to connect a new server and login good and i see in the server connected, but.... i can not configure this spark clients ¿?? if i go one by one spark and add users one by one its working, but i can not to say to 25 users how can add and organize the other 25 users, and in a "users lists" in panel Openfire web i can go one by one users and configure one by one add users but its a more heavy work, i can not make a template or simply add groups/site in each user, if i can add the four groups in each user i'm satisfied
Please i'm impatient to hear ideas on how to handle this case :-(
Thank you for all your ideas
PD: I want see my old config but now i can not enter to admin because another problem
Re: database issue - the recipient cannot see the message
have you used the same database for any other server or process?
because i was also facing the same problem of max connection has been opened and i fixed it that way i was opening connection from backend and not closing it and it cause the same error after closing those connection i never faced this again.
Re: Openfire 4.0.4 manage users and groups in LDAP
Thank you Michael for your support a thousands of thank you but unfortunately i wanted to do this from the beginning but I can not, the error that I have nothing else to enter into groups is "Not allowed: the group account system is read-only." and i can not share group with additional users :-(
I read tons about that and i'm not secure if with ldap config can i make this config, anybody can somebody tell me if that its true ¿????
Re: Openfire 4.0.4 manage users and groups in LDAP
As far as i understand this error has nothing to do with your problem. "Not allowed: the group account system is read-only." means that your connection to the LDAP server is read-only. You can(and should) not change any configuration on your LDAP server from the openfire webinterface.
One thing I forgot in my previous answer: Did you enter a contact list group name?
Re: Openfire 4.0.4 manage users and groups in LDAP
here is how I manage my groups. You set the groups and rosters up once, and then you can manage the rest via ldap/ad
Re: Openfire 4.0.4 manage users and groups in LDAP
Thank you Michael and Speedy, i love you both :-), this night i try another time with howto of speedy ;-)
It's strange because the groups and AD its the same that i have before and working with and old versión of Openfire in a Centos5, the only that i change its an W2003 SRV to a new 2012R2, speedy Do you have a 2012 AD ???
Can't get past admin account password section
I can open the admin console, but everytime, it starts over at the install section.
This should be a new install because I uninstalled the old 32-bit version (Opensuse Leap 42.2) and installed the Openfire 4.1 64-bit version.
I set up the mysql database (which was empty) and then it asks me to set the admin password. But it refuses to accept admin as the old password, or empty, or my old admin password. I presume this is the Openfire admin password, not the database password.
How do I proceed?
Re: Resetting admin passwords
This reset of the admin password does not work for me. It refuses to accept the "old password". I am not using LDAP. I looked in the ofProperty table, and do not see a password there. There is a passwordKey, but that does not work.
This is on Openfire 4.1 and OpenSUSE Leap 42.2 64-bits
Help!
Re: Can't get past admin account password section
When i start a fresh installation of 4.1 it doesn't show me a field for old password. Just the new password and confirm the new password. So it is not completely fresh in your case i think. Or this is a permissions issue (which would also explain the repeating setup process). Make sure that the user running Openfire can write into its installation folder and all the sub directories. I have no experience with OpenSUSE, not sure how to uninstall Openfire cleanly.
Re: Can't get past admin account password section
If you use the internal database, you do not get the old password prompt. I finally gave up and used the internal database, but everytime there is an openfire update, all my entries are lost. The update instructions say to copy the old directory, but not how to restore the old settings,
Re: Can't get past admin account password section
I can't confirm that, but i have filed this as [OF-1253] Setup asks for the old password on a fresh install when not using Embedded DB - IgniteRealtime JIRA
Re: Problem with groups after upgrade to 4.1.0
No, LDAP not used. MySQL based.
Re: A strange way to log in
Anyone?
Re: Openfire 4.1.0 - install error (.deb)
Thank you for investigating. I've added this as [OF-1255] Invalid SQL syntax in Mysql installation script. - IgniteRealtime JIRA in our bugtracker.
Re: Openfire 4.1.0 - install error (.deb)
Found error in /resources/database/openfire_mysql.sql line 253:
CREATE TABLE ofMucConversationLog ( roomID BIGINT NOT NULL, messageID BIGINT NOT NULL, sender TEXT NOT NULL, nickname VARCHAR(255) NULL, logTime CHAR(15) NOT NULL, subject VARCHAR(255) NULL, body TEXT NULL, stanza TEXT NULL, INDEX ofMucConversationLog_time_idx (logTime), INDEX ofMucConversationLog_msg_id (messageID); <-- here! );
There should be no semicolon!
Best regards
Edit: Tested and working
Openfire 4.1.0 - install error (.deb)
Hey all,
I tried to install Openfire 4.1.0 in debian with MySQL database.
Got following error (while creating database tables):
2016.12.22 17:35:29 org.jivesoftware.database.SchemaManager - SchemaManager: Failed to execute SQL: CREATE TABLE ofMucConversationLog ( roomID BIGINT NOT NULL, messageID BIGINT NOT NULL, sender TEXT NOT NULL, nickname VARCHAR(255) NULL, logTime CHAR(15) NOT NULL, subject VARCHAR(255) NULL, body TEXT NULL, stanza TEXT NULL, INDEX ofMucConversationLog_time_idx (logTime), INDEX ofMucConversationLog_msg_id (messageID); 2016.12.22 17:35:29 org.jivesoftware.database.SchemaManager - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) at com.mysql.jdbc.Util.getInstance(Util.java:384) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2615) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2776) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2838) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2082) at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1307) at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.logicalcobwebs.proxool.ProxyStatement.invoke(ProxyStatement.java:100) at org.logicalcobwebs.proxool.ProxyStatement.intercept(ProxyStatement.java:57) at com.mysql.jdbc.Statement$$EnhancerByProxool$$cca84597.execute(<generated>) at org.jivesoftware.database.SchemaManager.executeSQLScript(SchemaManager.java:380) at org.jivesoftware.database.SchemaManager.checkSchema(SchemaManager.java:237) at org.jivesoftware.database.SchemaManager.checkOpenfireSchema(SchemaManager.java:85) at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectionManager.java:606) at org.jivesoftware.openfire.admin.setup.setup_002ddatasource_002dstandard_jsp._jspService(setup_002ddatasource_002dstandard_jsp.java:220) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:76) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:53) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:226) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:165) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745)
Looks like a missing closing parenthesis?
Best regards.
Re: Problem with groups after upgrade to 4.1.0
Not seeing such thing on my end (Embedded DB). maybe this is related to [OF-1254] Database update scripts for 25 set version 24 - IgniteRealtime JIRA
Re: Spark - People Search - Change view Itens
I think this might require changing the Search plugin for Openfire (as this is where Spark gets results from). Though i'm not sure how and if it is possible for Search plugin to get all you need. Spark's part is here Spark/UserSearchResults.java at master · igniterealtime/Spark · GitHub It's how it gets columns from Search plugin. Search plugin is only giving Spark 4 columns (JID, Username, Name, Email). Not sure about LDAP, not using it. Maybe it gives less results for LDAP.