Hi mgbill,

Can you use a port offset [1][2] on your default setup and restart the
server (retry your scenario). The issue must be resolved if you reverted
the changes properly (Otherwise even on a fresh IS 5.3.0 pack, this should
be reproducible)

Regards,
Kasun




[1] https://docs.wso2.com/display/IS530/Default+Ports+of+WSO2+Products

[2] https://docs.wso2.com/display/ADMIN44x/Changing+the+Default+Ports

Kasun Gayan Bandara
PhD Research Student
Machine Learning Group

Faculty of Information Technology, Clayton
Monash University
25 Exhibition Walk, Clayton Campus
Wellington Road
Clayton VIC 3800
Australia.

E: [email protected]
M (+61) 43 491 6476

<https://www.linkedin.com/in/bandarakasun>



On Fri, Feb 10, 2017 at 1:09 PM, mgbii bax <[email protected]> wrote:

> I made sure to check while troubleshooting if port 10389 is listening
> using "netstat" and "ss", and it's not.
>
> As for carbon.xml and user-mgt.xml, no recent changes that will cause the
> default ldap user store to not start-up. I did changes on 3 files though:
>
> [1] catalina-server.xml ==> ==>> changed localhost entries to my hostname
> - troubleshooting why End User Dashboard in 5.3.0 does not work (keep
> getting a redirect when accessing /dashboard )
>         <Engine name="Catalina" defaultHost="localhost">
> ..
>             <Host name="localhost" unpackWARs="true"
> deployOnStartup="false" autoDeploy="false"
>                   appBase="${carbon.home}/repository/deployment/server/
> webapps/">
>
>
> [2] repository/conf/security/authenticators.xml ==>> changed localhost
> entries to my hostname - troubleshooting why End User Dashboard in 5.3.0
> does not work (keep getting a redirect when accessing /dashboard ).
>             <Parameter name="IdentityProviderSSOServiceURL">
> https://localhost:9443/samlsso</Parameter>
>             <Parameter name="NameIDPolicyFormat">urn:
> oasis:names:tc:SAML:1.1:nameid-format:unspecified</Parameter>
>             <Parameter name="AssertionConsumerServiceURL">h
> ttps://localhost:9443/acs</Parameter>
>
> [3] /repository/components/features/org.wso2.carbon.
> webapp.mgt.server_4.7.0/conf/security/sso-sp-config.properties:
> SAML2.IdPURL=https://localhost:9443/samlsso  ==>> changed localhost to my
> hostname in hopes that the Resident Identity Provider will show the correct
> SSO URL and Logout Url hostname.
>
> I have also connected the ldap backend to Apache Directory Studio to
> browse the schema while identity server was still running. Disconnected
> Apache Directory Studio before shutting down then that's it ldap will not
> start.
>
> Also reverted my changes on 3 files (compared with a fresh unzipped copy
> of wso2is 5.3.0 files) and will still not start properly.
>
> wso2user 19381  0.0  0.0   9508  1416 pts/0    S    17:07   0:00 sh
> /_wso2is-5.3.0/bin/wso2server.sh
> wso2user 19482  0.6  7.6 6880092 322956 pts/0  Sl   17:07   0:17  \_
> /usr/java/jdk1.8.0_111/bin/java -Xbootclasspath/a: -Xms256m -Xmx1024m
> -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/_wso2is-5.3.
> 0/repository/logs/heap-dump.hprof -Dcom.sun.management.jmxremote
> -classpath /usr/java/jdk1.8.0_111/lib/tools.jar:/_wso2is-5.3.0/bin/
> org.wso2.carbon.bootstrap-4.4.11.jar:/_wso2is-5.3.0/bin/
> tcpmon-1.0.jar:/_wso2is-5.3.0/bin/tomcat-juli-7.0.73.jar:/_
> wso2is-5.3.0/lib/commons-lang-2.6.0.wso2v1.jar
> -Djava.endorsed.dirs=/_wso2is-5.3.0/lib/endorsed:/usr/java/
> jdk1.8.0_111/jre/lib/endorsed:/usr/java/jdk1.8.0_111/lib/endorsed
> -Djava.io.tmpdir=/_wso2is-5.3.0/tmp -Dcatalina.base=/_wso2is-5.3.0/lib/tomcat
> -Dwso2.server.standalone=true -Dcarbon.registry.root=/
> -Djava.command=/usr/java/jdk1.8.0_111/bin/java
> -Dcarbon.home=/_wso2is-5.3.0 
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Dcarbon.config.dir.path=/_wso2is-5.3.0/repository/conf
> -Djava.util.logging.config.file=/_wso2is-5.3.0/
> repository/conf/etc/logging-bridge.properties
> -Dcomponents.repo=/_wso2is-5.3.0/repository/components/plugins
> -Dconf.location=/_wso2is-5.3.0/repository/conf
> -Dcom.atomikos.icatch.file=/_wso2is-5.3.0/lib/transactions.properties
> -Dcom.atomikos.icatch.hide_init_file_path=true
> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
> -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true
> -Dcom.sun.jndi.ldap.connect.pool.authentication=simple
> -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 
> -Dorg.terracotta.quartz.skipUpdateCheck=true
> -Djava.security.egd=file:/dev/./urandom -Dfile.encoding=UTF8
> -Djava.net.preferIPv4Stack=true -Dcom.ibm.cacheLocalHost=true
> -DworkerNode=false -Dorg.wso2.ignoreHostnameVerification=true
> org.wso2.carbon.bootstrap.Bootstrap
>
>
>
> --
>
> regards
>
> gezeala bacuño II
>
> On Wed, Feb 8, 2017 at 4:32 PM, Kasun Bandara <[email protected]>
> wrote:
>
>> Hi mgbil,
>>
>> According to the error message, the user store is unable to connect to
>> LDAP server. This could be due to another LDAP server running on port 10389
>> (port of the default embedded LDAP server). Can you please check whether
>> this port has already used by another server? (maybe used by another IS
>> server). And did you make any changes to the default settings of
>> carbon.xml and user-mgt.xml files?
>>
>> Regards,
>> Kasun
>>
>> Kasun Gayan Bandara
>> PhD Research Student
>> Machine Learning Group
>>
>> Faculty of Information Technology, Clayton
>> Monash University
>> 25 Exhibition Walk, Clayton Campus
>> Wellington Road
>> Clayton VIC 3800
>> Australia.
>>
>> E: [email protected]
>> M (+61) 43 491 6476
>>
>> <https://www.linkedin.com/in/bandarakasun>
>>
>>
>>
>> On Thu, Feb 9, 2017 at 8:42 AM, mgbii bax <[email protected]> wrote:
>>
>>> I'm having some problems starting wso2 5.3.0 IS. For some reason the
>>> embedded ldap backend is not starting up. Entire error log can be found at
>>> http://pastebin.com/xbrZEGqz.
>>>
>>> Is there a way to start its embedded ldap backend manually?
>>>
>>> --
>>>
>>> regards
>>>
>>> mgbii
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to