Openfire 3.9.3 (WinSvr2008R2 x64) +AD= can't install

Hi all!

I’ve got problems.

I have WinServer 2008R2 std x64 (not PDC or SDC). I also have AD 2008 based on another servers.

i’ve try to install Openfire on 1st server and i use MSSql server DB.

I configure Openfire via web interface i choise Directory server(LDAP) in Profile settings.

At step 1 i wrote:

Server type- Active Directory.

Host: Titan.domain.local =========> PDC of my domain

port: 389

Base DN: DC=domain, DC=local

Administrator DN: CN=openfire, CN=users, DC=domain, DC=local

Password: correct password for user openfire in my AD.

I’ve look at ADSIEdit.msc for correct Administrator DN - it’s ok.

Press “Test Settings” button- don’t open any splash screens or somethin else. It seems page just refreshed and nothing more.

Ok, Save and Continue.

At Step 2 i leave al “as-is”. Press “Test Settings” button- don’t open any splash screens or somethin else.

Step 3- “as-is”. Press “Test Settings” button- don’t open any splash screens or somethin else.

Administrator account: try to enter user “openfire” and press Add.

It shows No username was provided or the specified username was not found.

In openfire server console i see:

org.jivesoftware.openfire.user.UserNotFoundException: Username openfire not found

at org.jivesoftware.openfire.ldap.LdapManager.findUserDN(LdapManager.java:985)

at org.jivesoftware.openfire.ldap.LdapManager.findUserDN(LdapManager.java:911)

at org.jivesoftware.openfire.admin.setup.setup_002dadmin_002dsettings_jsp._jspServ ice(setup_002dadmin_002dsettings_jsp.java:176)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1359)

at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:11 8)

at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:50)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

at org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164)

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.ja va:1330)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:22 7)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:94 1)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186 )

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875 )

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandler Collection.java:250)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.jav a:149)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)

at org.eclipse.jetty.server.Server.handle(Server.java:349)

at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)

at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.j ava:936)

at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)

at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)

at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51 )

at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.jav a:586)

at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java :44)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598 )

at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)

at java.lang.Thread.run(Unknown Source)

I can’t set it up(((

But user exist, enabled, i can log on with this account.

Please, help.

some updates:

I’ve eneble AD logging on level 2.

I saw that AD needs signed sonnection and ssl. I’ve enabled this options in profile settins of openfire.

Than a saw another error in AD:

Internal event: An LDAP client connection was closed because of an error.

Client IP:

10.0.0.19:49282

Additional Data

Error value:

87 The parameter is incorrect.

Internal ID:

c0c0095

What is this?

I had the same problem. You need to use quotes around the DN entries for both the base and admin DNs, or at least that’s how I fixed this. You can also use Microsoft’s AD Explorer to check your service user for the complete distinguished name.

Ex: CN=“Ignite Service”,OU=“users”,DC=“enterprise”,DC=“domain”,DC=“net”

Sorry, Grey- it takes no effect. Error still appears, nothing works.

P/S

complete DN is ok, thanks

go to icq 177074658

I have decided this issue. I just do not a confirmation window appears.

the first thing to do is start the service on behalf of the Administrator. can then be run in a conventional manner. Next you need to understand exactly where lezhit account “openfire” and where necessary to take contact to IM program