powered by Jive Software

Sometimes openfire not working on server

I install openfire new wersion 4.0.3 but sometimes not working correctly. Problem is when client back on job, and turn on computer sometimes he not sign up on domain server. Then again restarting openfire and then working… I do not know what happen that suddenly does not work, but opnfire is launched. Why is this happening?

And for new version spark installed on computer 2.8.0, i have issuse wrong username and password. When I disabled “Certificate chain checking” there were no problems with the connects.

BUMP

Message was edited by: Marin

I had the same problem with authentication in version 2.8.1.

The two things I’ve done to solve this are:

  • Use the server name (Server Manager> Server Information> Server Properties) in the Domain field in Spark.
  • Add the following system property:
    Property Name: sasl.mechs

Property Value: PLAIN

Now i added that, and see what happen in future Tnx for that!

And again i have that problem. Sometimes working, sometimes see this error

logs:

2016.10.24 08:11:39 org.jivesoftware.openfire.net.SASLAuthentication - User Login Failed. PLAIN authentication failed for: marinv

2016.10.21 15:11:25 org.jivesoftware.admin.LoginLimitManager - Failed admin console login attempt by marinv from 127.0.0.1

2016.10.21 15:11:25 org.jivesoftware.admin.LoginLimitManager - Login attempt limit breeched for address 127.0.0.1

2016.10.21 15:11:25 org.jivesoftware.admin.LoginLimitManager - Login attempt limit breeched for username marinv

This is my ERROR logs:

line
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
at com.sun.jndi.ldap.LdapCtx.doSearch(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
at javax.naming.directory.InitialDirContext.search(Unknown Source)
at org.jivesoftware.openfire.ldap.LdapManager.retrieveList(LdapManager.java:1944)
at org.jivesoftware.openfire.ldap.LdapManager.retrieveList(LdapManager.java:1861)
at org.jivesoftware.openfire.ldap.LdapGroupProvider.search(LdapGroupProvider.java: 180)
at org.jivesoftware.openfire.group.GroupManager.search(GroupManager.java:541)
at org.jivesoftware.openfire.roster.RosterItem.setGroups(RosterItem.java:458)
at org.jivesoftware.openfire.roster.RosterItem.setAsCopyOf(RosterItem.java:602)
at org.jivesoftware.openfire.handler.IQRosterHandler.manageRoster(IQRosterHandler. java:221)
at org.jivesoftware.openfire.handler.IQRosterHandler.handleIQ(IQRosterHandler.java :122)
at org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:66)
at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:372)
at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:115)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:78)
at org.jivesoftware.openfire.net.StanzaHandler.processIQ(StanzaHandler.java:342)
at org.jivesoftware.openfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler .java:99)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:307)
at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:199)
at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceive d(DefaultIoFilterChain.java:690)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)
at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapte r.java:109)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)
at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flus h(ProtocolCodecFilter.java:407)
at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:236)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)
at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)
at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)
at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(Ordere dThreadPoolExecutor.java:769)
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(Order edThreadPoolExecutor.java:761)
at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThr eadPoolExecutor.java:703)
at java.lang.Thread.run(Unknown Source)
2016.10.28 09:47:04 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP k.jasna
2016.10.28 09:50:06 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP m.dragana
2016.10.28 09:55:10 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP zinaic.ilija
2016.10.28 09:58:14 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP s.ines
2016.10.28 10:01:40 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP vera
2016.10.28 12:53:41 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP ivona
2016.10.28 13:01:16 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP k.jasna

Are you using the OpenLDAP or the Windows server’s one?

check if your LDAP filter is sorting all users in your AD.

I’m using this filter, it only allows users that are members of the group “Spark”

(&(objectclass=organizationalPerson)(|(memberOf:1.2.840.113556.1.4.1941:=CN=Spar k,CN=Users,DC=subdomain,DC=domain,DC=br)))

I’m using Windows server 2003

And my LDAP BaseDN is this: OU=Usersname,DC=subdomain,DC=domain,DC=root,comt etc.

You think when i add CN Spark then i must put users on Spark name? And how you think check my LDAP filter? I do not understand much about LDAP so if someone can be a little more explanation or show, and I’m really grateful for your reply

I’m change setting on server menager. Now i’m using OpenLDAP and options when see host name i type my IP adress where instaling openfire. Then, open group and share for all users see. Now working good and i dont have problem.