Installing PWM on windows server 2008 R2

2,041 views
Skip to first unread message

mangesh darekar

unread,
Sep 5, 2012, 7:05:28 AM9/5/12
to pwm-g...@googlegroups.com
I am finding difficulty in installing PWM on Windows Server 2008 R2.

Kindly verify the steps i followed while installing 
1)Installed jdk7u7 X64 bit edition on 2008R2 server
2)Installed Tomcat 7.0 
3)Copied pwm.war to directory C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps
4)Restarted Apache Tomcat server.

Now if i try accessing webpage using http://locahost:8080/pwm it is not opening.

Where i am doing mistake? PWM will work on 2008R2 server or some other Windows OS?

Richard Kolb

unread,
Sep 5, 2012, 7:11:03 AM9/5/12
to pwm-g...@googlegroups.com
Hi Mangesh


You said you installed Tomcat 7 but then you copied to Tomcat 6 webapps
Is this not finger trouble ?


Also please define not opening.
Use a non Internet explorer browser to see the actual message.

regards
Richard.

mangesh darekar

unread,
Sep 5, 2012, 7:28:53 AM9/5/12
to pwm-g...@googlegroups.com
yeah sry,
initially i tried with Tomcat 6 but now installed Tomcat 7....still same problem...

when i try to browse it just says page cannot be displayed. server dont have internet connection so not able to try with non-IE browser.

Any suggestions.

Menno Pieters

unread,
Sep 5, 2012, 7:35:10 AM9/5/12
to pwm-g...@googlegroups.com
On Wed, Sep 5, 2012 at 1:28 PM, mangesh darekar <mango...@gmail.com> wrote:
yeah sry,
initially i tried with Tomcat 6 but now installed Tomcat 7....still same problem...

when i try to browse it just says page cannot be displayed. server dont have internet connection so not able to try with non-IE browser.

Any suggestions.

Is Tomcat actually running? Isn't Tomcat6 preventing Tomcat7 to start (or the other ways round)?

Could you show some logs (catalina.<date> or catalina.out)?

Regards,

Menno


mangesh darekar

unread,
Sep 5, 2012, 8:19:21 AM9/5/12
to pwm-g...@googlegroups.com
yes uninstalled tomcat6. reinstalled tomcat 7 & copied pwm.rar again.....started service....still page not opening. has somebody tried PWM on windows server.
refer below logs fyr...
===========================
Sep 05, 2012 5:26:40 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\idmu\common;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;;.
Sep 05, 2012 5:26:43 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Sep 05, 2012 5:26:43 AM org.apache.coyote.AbstractProtocol init
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]
java.net.BindException: Address already in use: JVM_Bind <null>:8080
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:406)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:610)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:624)
at org.apache.catalina.startup.Catalina.load(Catalina.java:649)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
... 17 more

Sep 05, 2012 5:26:43 AM org.apache.catalina.core.StandardService initInternal
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8080]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:624)
at org.apache.catalina.startup.Catalina.load(Catalina.java:649)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:983)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
... 12 more
Caused by: java.net.BindException: Address already in use: JVM_Bind <null>:8080
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:406)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:610)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
... 13 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
... 17 more

Sep 05, 2012 5:26:43 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 5:26:43 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 5276 ms
Sep 05, 2012 5:26:44 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 05, 2012 5:26:44 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.29
Sep 05, 2012 5:26:44 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\docs
Sep 05, 2012 5:26:45 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [235] milliseconds.
Sep 05, 2012 5:26:45 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\examples
Sep 05, 2012 5:26:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\host-manager
Sep 05, 2012 5:26:46 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\manager
Sep 05, 2012 5:26:47 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT
Sep 05, 2012 5:26:47 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 5:26:47 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3739 ms
Sep 05, 2012 5:27:27 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\pwm.war
Sep 05, 2012 5:27:27 AM org.apache.tomcat.util.digester.Digester endElement
WARNING:   No rules found matching 'Context/init-param/param-name'.
Sep 05, 2012 5:27:27 AM org.apache.tomcat.util.digester.Digester endElement
WARNING:   No rules found matching 'Context/init-param/param-value'.
Sep 05, 2012 5:27:27 AM org.apache.tomcat.util.digester.Digester endElement
WARNING:   No rules found matching 'Context/init-param'.
Sep 05, 2012 5:27:32 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8080"]
Sep 05, 2012 5:27:32 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 5:27:33 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Sep 05, 2012 5:27:33 AM org.apache.catalina.startup.HostConfig deployWARs
SEVERE: Error waiting for multi-thread deployment of WAR files to complete
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:752)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1454)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:296)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1374)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1530)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1540)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1519)
at java.lang.Thread.run(Unknown Source)

Sep 05, 2012 5:28:20 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  password.pwm.ws.server.rest
Sep 05, 2012 5:28:20 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
  class password.pwm.ws.server.rest.RestSetPasswordServer
  class password.pwm.ws.server.rest.RestHealthServer
  class password.pwm.ws.server.rest.RestStatisticsServer
  class password.pwm.ws.server.rest.RestClearResponsesServer
  class password.pwm.ws.server.rest.RestRandomPasswordServer
  class password.pwm.ws.server.rest.RestCheckPasswordServer
Sep 05, 2012 5:28:20 AM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Sep 05, 2012 5:28:21 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.12 02/15/2012 05:30 PM'
Sep 05, 2012 5:28:28 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [/pwm] created a ThreadLocal with key of type [com.sun.xml.bind.v2.ClassFactory$1] (value [com.sun.xml.bind.v2.ClassFactory$1@1e81d840]) and a value of type [java.util.WeakHashMap] (value [{class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@5e9c6165}]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Sep 05, 2012 5:28:28 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 5:28:35 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\idmu\common;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;;.
Sep 05, 2012 5:28:37 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Sep 05, 2012 5:28:37 AM org.apache.coyote.AbstractProtocol init
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]
java.net.BindException: Address already in use: JVM_Bind <null>:8080
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:406)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:610)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:624)
at org.apache.catalina.startup.Catalina.load(Catalina.java:649)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
... 17 more

Sep 05, 2012 5:28:37 AM org.apache.catalina.core.StandardService initInternal
SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8080]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:559)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:814)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
at org.apache.catalina.startup.Catalina.load(Catalina.java:624)
at org.apache.catalina.startup.Catalina.load(Catalina.java:649)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:983)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
... 12 more
Caused by: java.net.BindException: Address already in use: JVM_Bind <null>:8080
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:406)
at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:610)
at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:119)
at org.apache.catalina.connector.Connector.initInternal(Connector.java:981)
... 13 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
at org.apache.tomcat.util.net.JIoEndpoint.bind(JIoEndpoint.java:393)
... 17 more

Sep 05, 2012 5:28:37 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 5:28:37 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4881 ms
Sep 05, 2012 5:28:37 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 05, 2012 5:28:37 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.29
Sep 05, 2012 5:28:37 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\pwm.war
Sep 05, 2012 5:28:37 AM org.apache.tomcat.util.digester.Digester endElement
WARNING:   No rules found matching 'Context/init-param/param-name'.
Sep 05, 2012 5:28:37 AM org.apache.tomcat.util.digester.Digester endElement
WARNING:   No rules found matching 'Context/init-param/param-value'.
Sep 05, 2012 5:28:37 AM org.apache.tomcat.util.digester.Digester endElement
WARNING:   No rules found matching 'Context/init-param'.
Sep 05, 2012 5:29:56 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  password.pwm.ws.server.rest
Sep 05, 2012 5:29:56 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
  class password.pwm.ws.server.rest.RestHealthServer
  class password.pwm.ws.server.rest.RestStatisticsServer
  class password.pwm.ws.server.rest.RestSetPasswordServer
  class password.pwm.ws.server.rest.RestClearResponsesServer
  class password.pwm.ws.server.rest.RestRandomPasswordServer
  class password.pwm.ws.server.rest.RestCheckPasswordServer
Sep 05, 2012 5:29:56 AM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Sep 05, 2012 5:29:57 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.12 02/15/2012 05:30 PM'
Sep 05, 2012 5:30:03 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\docs
Sep 05, 2012 5:30:03 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\examples
Sep 05, 2012 5:30:04 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\host-manager
Sep 05, 2012 5:30:04 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\manager
Sep 05, 2012 5:30:04 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT
Sep 05, 2012 5:30:04 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 5:30:04 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 86169 ms

===========================


On Wednesday, September 5, 2012 4:35:28 PM UTC+5:30, mangesh darekar wrote:

mangesh darekar

unread,
Sep 5, 2012, 8:23:47 AM9/5/12
to pwm-g...@googlegroups.com
Also i am curious to know......how to configure PMW to sync with AD.....as i didn't find information in Admin guide.
please post some DOCS if you have any.


On Wednesday, September 5, 2012 4:35:28 PM UTC+5:30, mangesh darekar wrote:

Richard Kolb

unread,
Sep 5, 2012, 8:25:01 AM9/5/12
to pwm-g...@googlegroups.com
On 5 September 2012 14:19, mangesh darekar <mango...@gmail.com> wrote:
yes uninstalled tomcat6. reinstalled tomcat 7 & copied pwm.rar again.....started service....still page not opening. has somebody tried PWM on windows server.
refer below logs fyr...
===========================
Sep 05, 2012 5:26:40 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\idmu\common;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;;.
Sep 05, 2012 5:26:43 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Sep 05, 2012 5:26:43 AM org.apache.coyote.AbstractProtocol init
SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]
java.net.BindException: Address already in use: JVM_Bind <null>:8080

Your problem is here.
Another process is listening on 8080

regards
Richard
 

Menno Pieters

unread,
Sep 5, 2012, 8:28:06 AM9/5/12
to pwm-g...@googlegroups.com
The problem is that another service is running on port 8080. Kill that or change the port to something else that is free.

Check the processes using the task manager or in a command line:
  netstat -a -p tcp -n -b | find ":8080" | find "LISTEN"

- Menno

mangesh darekar

unread,
Sep 5, 2012, 8:51:35 AM9/5/12
to pwm-g...@googlegroups.com
even after re-installation with changing port to 8282 it is not opening......really stuck.
=====================
Sep 05, 2012 6:01:08 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\idmu\common;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;;.
Sep 05, 2012 6:01:11 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8282"]
Sep 05, 2012 6:01:11 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 6:01:11 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 5629 ms
Sep 05, 2012 6:01:11 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 05, 2012 6:01:11 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.29
Sep 05, 2012 6:01:11 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\docs
Sep 05, 2012 6:01:13 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [330] milliseconds.
Sep 05, 2012 6:01:14 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\examples
Sep 05, 2012 6:01:15 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\host-manager
Sep 05, 2012 6:01:15 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\manager
Sep 05, 2012 6:01:15 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT
Sep 05, 2012 6:01:15 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8282"]
Sep 05, 2012 6:01:15 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 6:01:15 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4246 ms
Sep 05, 2012 6:01:36 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\pwm.war
Sep 05, 2012 6:01:37 AM org.apache.catalina.startup.ContextConfig init
SEVERE: Exception fixing docBase for context [/pwm]
java.io.FileNotFoundException: C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\pwm.war (The process cannot access the file because it is being used by another process)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.<init>(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(Unknown Source)
at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:112)
at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:697)
at org.apache.catalina.startup.ContextConfig.init(ContextConfig.java:820)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:364)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:139)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Sep 05, 2012 6:01:37 AM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Invalid or unreadable WAR file : C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\pwm.war (The process cannot access the file because it is being used by another process)
at org.apache.naming.resources.WARDirContext.setDocBase(WARDirContext.java:141)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4906)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5086)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Sep 05, 2012 6:01:37 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
Sep 05, 2012 6:01:37 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
Sep 05, 2012 6:01:37 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/pwm] startup failed due to previous errors
Sep 05, 2012 6:01:50 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-8282"]
Sep 05, 2012 6:01:51 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 6:01:51 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Sep 05, 2012 6:01:51 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-8282"]
Sep 05, 2012 6:01:51 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 6:02:01 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\idmu\common;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;;.
Sep 05, 2012 6:02:04 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8282"]
Sep 05, 2012 6:02:04 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 6:02:04 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 8435 ms
Sep 05, 2012 6:02:04 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Sep 05, 2012 6:02:04 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.29
Sep 05, 2012 6:02:05 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\pwm.war
Sep 05, 2012 6:02:05 AM org.apache.tomcat.util.digester.Digester endElement
WARNING:   No rules found matching 'Context/init-param/param-name'.
Sep 05, 2012 6:02:05 AM org.apache.tomcat.util.digester.Digester endElement
WARNING:   No rules found matching 'Context/init-param/param-value'.
Sep 05, 2012 6:02:05 AM org.apache.tomcat.util.digester.Digester endElement
WARNING:   No rules found matching 'Context/init-param'.
Sep 05, 2012 6:03:12 AM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  password.pwm.ws.server.rest
Sep 05, 2012 6:03:13 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
INFO: Root resource classes found:
  class password.pwm.ws.server.rest.RestRandomPasswordServer
  class password.pwm.ws.server.rest.RestCheckPasswordServer
  class password.pwm.ws.server.rest.RestClearResponsesServer
  class password.pwm.ws.server.rest.RestStatisticsServer
  class password.pwm.ws.server.rest.RestHealthServer
  class password.pwm.ws.server.rest.RestSetPasswordServer
Sep 05, 2012 6:03:13 AM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Sep 05, 2012 6:03:13 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.12 02/15/2012 05:30 PM'
Sep 05, 2012 6:03:21 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\docs
Sep 05, 2012 6:03:21 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\examples
Sep 05, 2012 6:03:22 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\host-manager
Sep 05, 2012 6:03:22 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\manager
Sep 05, 2012 6:03:22 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT
Sep 05, 2012 6:03:22 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8282"]
Sep 05, 2012 6:03:22 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Sep 05, 2012 6:03:22 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 78058 ms

=====================


On Wednesday, September 5, 2012 4:35:28 PM UTC+5:30, mangesh darekar wrote:

Menno Pieters

unread,
Sep 5, 2012, 9:05:17 AM9/5/12
to pwm-g...@googlegroups.com
Try rebooting... Might clean up some locks. If that is not an option, kill every process that looks like tomcat or java.

Regards,

Menno

--
You received this message because you are subscribed to the Google Groups "pwm-general" group.
To post to this group, send email to pwm-g...@googlegroups.com.
To unsubscribe from this group, send email to pwm-general...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/pwm-general/-/SDhHLSx5RcQJ.

For more options, visit https://groups.google.com/groups/opt_out.
 
 

mangesh darekar

unread,
Sep 5, 2012, 9:09:29 AM9/5/12
to pwm-g...@googlegroups.com
somehow.......configuration page is opening now finally.....
while in configuration i can do telnet to AD server on port 389 but while saving gives me error below

LDAP WARN error connecting to ldap directory: unable to create connection: unable to bind to ldap://test-ad.shop.com:389 as cn=administrator,cn=users,dc=site,dc=example,dc=net reason: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1]
Version WARN Unable to check PWM current version: 5054 ERROR_UNREACHABLE_CLOUD_SERVICE (unable to reach version check service 'https://pwm-cloud.appspot.com/rest/pwm/current-version', error: pwm-cloud.appspot.com)

On Wednesday, September 5, 2012 4:35:28 PM UTC+5:30, mangesh darekar wrote:

Menno Pieters

unread,
Sep 5, 2012, 9:28:56 AM9/5/12
to pwm-g...@googlegroups.com
On Wed, Sep 5, 2012 at 3:09 PM, mangesh darekar <mango...@gmail.com> wrote:
somehow.......configuration page is opening now finally.....
while in configuration i can do telnet to AD server on port 389 but while saving gives me error below

LDAP WARN error connecting to ldap directory: unable to create connection: unable to bind to ldap://test-ad.shop.com:389 as cn=administrator,cn=users,dc=site,dc=example,dc=net reason: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1]
Version WARN Unable to check PWM current version: 5054 ERROR_UNREACHABLE_CLOUD_SERVICE (unable to reach version check service 'https://pwm-cloud.appspot.com/rest/pwm/current-version', error: pwm-cloud.appspot.com)


You need to properly configure LDAP settings (dn and passwords) for the pwmadmin and preferably the pwmtest user, set some base dns for searches etc. You can ignore the warning for the cloud service or disable the version check.

Regards,

Menno


 
On Wednesday, September 5, 2012 4:35:28 PM UTC+5:30, mangesh darekar wrote:
I am finding difficulty in installing PWM on Windows Server 2008 R2.

Kindly verify the steps i followed while installing 
1)Installed jdk7u7 X64 bit edition on 2008R2 server
2)Installed Tomcat 7.0 
3)Copied pwm.war to directory C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps
4)Restarted Apache Tomcat server.

Now if i try accessing webpage using http://locahost:8080/pwm it is not opening.

Where i am doing mistake? PWM will work on 2008R2 server or some other Windows OS?

--
You received this message because you are subscribed to the Google Groups "pwm-general" group.
To post to this group, send email to pwm-g...@googlegroups.com.
To unsubscribe from this group, send email to pwm-general...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/pwm-general/-/BAagap7PgnEJ.

mangesh darekar

unread,
Sep 5, 2012, 10:02:24 AM9/5/12
to pwm-g...@googlegroups.com
Hello Menno,

Thanks for your post.
But i have corrected settings as below which seems correct....but not sure why still receiving error as bottom.
Kindly assist as working on it for long time now.
=============================
LDAP URLs 

LDAP Proxy User 
cn=administrator,cn=users,dc=shoppee,dc=com

LDAP Proxy Password 

LDAP Contextless Login Root 
cn=users,dc=shoppee,dc=com


error connecting to ldap directory: unable to create connection: unable to bind to ldap://exc-dr-adc2.shoppee.com:389 as cn=administrator,cn=users,dc=shoppee,dc=com reason: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1]
=============================


On Wednesday, September 5, 2012 4:35:28 PM UTC+5:30, mangesh darekar wrote:

Menno Pieters

unread,
Sep 5, 2012, 10:07:36 AM9/5/12
to pwm-g...@googlegroups.com
Try ldaps instead of ldap. You may need to add the certificate of your AD server to the cacerts or have PWM ignore the server certificate's validity (advanced option). The last option is NOT recommended for production.

Regards,

Menno

--
You received this message because you are subscribed to the Google Groups "pwm-general" group.
To post to this group, send email to pwm-g...@googlegroups.com.
To unsubscribe from this group, send email to pwm-general...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/pwm-general/-/LrxLpzjW0moJ.

Joshua Ellsworth

unread,
Sep 5, 2012, 10:08:10 AM9/5/12
to pwm-g...@googlegroups.com
Can you connect as that user using an LDAP browser like the Apache Directory Studio?

--
You received this message because you are subscribed to the Google Groups "pwm-general" group.
To post to this group, send email to pwm-g...@googlegroups.com.
To unsubscribe from this group, send email to pwm-general...@googlegroups.com.

mangesh darekar

unread,
Sep 5, 2012, 10:15:55 AM9/5/12
to pwm-g...@googlegroups.com
yes if i type Ldap://adr-test-gdc.shoppee.com:389 in internet explorer....ldap query page opens.

Joshua Ellsworth

unread,
Sep 5, 2012, 10:19:39 AM9/5/12
to pwm-g...@googlegroups.com
That is basically just showing that something is listening on that port. Can you connect as the  cn=administrator,cn=users,dc=shoppee,dc=com user and browse? 

Incidentally, that seems like an unlikely dn for that user. I would guess it to be uid=administrator,ou=users,dc=shoppee,dc=com.

Josh

To view this discussion on the web visit https://groups.google.com/d/msg/pwm-general/-/NM_8uj987-IJ.

mangesh darekar

unread,
Sep 5, 2012, 10:24:30 AM9/5/12
to pwm-g...@googlegroups.com
i dont understand ur 1st option...i am connected as administrator user only.
Regarding DN...i have copied user dn  cn=administrator,cn=users,dc=shoppee,dc=com from active directory which is right.

Joshua Ellsworth

unread,
Sep 5, 2012, 10:28:23 AM9/5/12
to pwm-g...@googlegroups.com
OK, I just haven't seen a dn look quite like that before.

When you go to  ldap://exc-dr-adc2.shoppee.com:389 are you prompted for a login?

To view this discussion on the web visit https://groups.google.com/d/msg/pwm-general/-/B46VYWiKdAcJ.

mangesh darekar

unread,
Sep 5, 2012, 11:42:33 PM9/5/12
to pwm-g...@googlegroups.com
Now while saving configuration getting different error

error verifying test user account: null: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001F7, problem 2006 (BAD_NAME), data 8350, best match of: 'null' ]

mangesh darekar

unread,
Sep 5, 2012, 11:51:38 PM9/5/12
to pwm-g...@googlegroups.com
How to specified Testuser account? can we escaped this step because i am getting error for test user account as 
=========================
error verifying test user account: Testuser1: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001F7, problem 2006 (BAD_NAME), data 8350, best match of: 'Testuser1' ]
=========================



Joshua Ellsworth

unread,
Sep 6, 2012, 8:34:47 AM9/6/12
to pwm-g...@googlegroups.com

You have to create an ldap account that pwm canuse to make sure everything is configured correctly. Specify the dn of that user in your pwm configuration.

--
You received this message because you are subscribed to the Google Groups "pwm-general" group.
To post to this group, send email to pwm-g...@googlegroups.com.
To unsubscribe from this group, send email to pwm-general...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/pwm-general/-/QftrkkvnJHIJ.

mangesh darekar

unread,
Sep 6, 2012, 2:44:28 PM9/6/12
to pwm-g...@googlegroups.com
this test user account is a member of Domain admin group so it is having highest domain rights.
also now error says.................."unexpected ldap error while writing test user temporary random password"

What does this error means?

Joshua Ellsworth

unread,
Sep 6, 2012, 2:48:14 PM9/6/12
to pwm-g...@googlegroups.com
It sounds like either the test user or the proxy user doesn't have rights to write a new password. 

I don't think that the test user is typically an admin-level account.

To view this discussion on the web visit https://groups.google.com/d/msg/pwm-general/-/tD5zDnsyWdAJ.

mangesh darekar

unread,
Sep 6, 2012, 2:54:05 PM9/6/12
to pwm-g...@googlegroups.com
ok so can you tel me which rights i should assign in ad for that testuser account.
& in configuration setting do i just mentioned testuser with samaccountname or complete DN.e.g. CN=Testuser,CN=Users,DC=shoppee,DC=com

Joshua Ellsworth

unread,
Sep 6, 2012, 2:59:28 PM9/6/12
to pwm-g...@googlegroups.com
The test user doesn't need to be able to do much - just write it's own password and pwm attributes. It can probably be configured the same as the most basic user in your directory.

You need to specify the complete DN.

To view this discussion on the web visit https://groups.google.com/d/msg/pwm-general/-/Qrbvbkq0zhMJ.

mangesh darekar

unread,
Sep 7, 2012, 12:35:11 AM9/7/12
to pwm-g...@googlegroups.com
Hi Josh,

I have configured the test user as delegation control permission over entire Domain so permission wont be an issue now.
Error while saving configuration is as below:
================================
unexpected ldap error while writing test user temporary random password: [LDAP: error code 53 - 0000001F: SvcErr: DSID-031A120C, problem 5003 (WILL_NOT_PERFORM), data 0 ]
================================
Did somebody face similar issue?

farid.ras...@gmail.com

unread,
May 24, 2013, 9:39:43 AM5/24/13
to pwm-g...@googlegroups.com
I have the exact same issue. Have you made any progress since you last posted it? Can anyone direct me towards looking for the root cause? Thanks in advance.

Jason Rivard

unread,
May 25, 2013, 12:03:15 PM5/25/13
to pwm-g...@googlegroups.com
Have you tried googling the error code?  It is a common problem and answered often.

Farid Rashid

unread,
May 27, 2013, 10:13:44 PM5/27/13
to pwm-g...@googlegroups.com

My issue is now resolved. I realize that AD expects passwords via  ldaps port 636. When I configured this it worked. By default AD runs only ldap on port 389. Configuring it to run LDAPS requires some work with SSL certificates.
Reply all
Reply to author
Forward
0 new messages