Connection to LDAP server ..ERROR

Hello ,
I am new to coding and I am trying to initiate a connection with the LDAP server but I am not able to get going with the connection..The DBMS_LDAP package is available in the SYS schema in toad.And I am trying to accesss it from the APPS schema.So this is the code that I had written and the errors are mentioned below.So can anyone pls help in this regard...
DECLARE
     ldap_host          VARCHAR2(256);
     ldap_port           PLS_INTEGER;
     l_session          SYS.DBMS_LDAP.session;
BEGIN
     ldap_host := 'entro-dev.cisco.com';
     ldap_port := 389;
     l_session := SYS.DBMS_LDAP.init(ldap_host,ldap_port);
END;     
ERRORS...
The following error has occurred:
ORA-04068: existing state of packages has been discarded
ORA-04067: not executed, package body "SYS.DBMS_LDAP" does not exist
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 8
Thanks,
AK

I have fixed this problem successfully.
The problem was with the referral attribute of the cfldap tag.
After adding this (referral="yes") attribute to my code I am able to login into my website.
<cfldap action="QUERY" server="#application.LDAPServer#" port="#application.LDAPPort#" start="#application.LDAPBase#" name="search" attributes="alias, dn, uid, technicalCareerLevel, locationorgunit, givenName, sn" filter="#filter#" scope="SUBTREE" maxRows="2" referral="yes">
Any way thanks for your assistance!!!!!

Similar Messages

  • How to resolve "Connection to LDAP server failed." error?

    Hello,
    I have installed Coldfusion8 on one of my server that was having ColdFusionMX earlier.
    The ColdFusionMX admin settings are automatically transferred to the new Coldfusion8 admin page after installation.
    Also I have configured all my websites at the time of installation.
    After all when I am trying to login into one of my website system is throwing the below error.
    "Connection to LDAP server failed."
    Prevously it was working well with coldfusionMX. After installed Coldfusion8 I am facing this problem.
    Is there anything to do more with cf admin settings page or is this problem is with the code? (Infact I havent modified my cfm code)
    Please find the piece of code that I am using.
    <cfldap action="QUERY" server="#application.LDAPServer#" port="#application.LDAPPort#" start="#application.LDAPBase#" name="search" attributes="alias, dn, uid, technicalCareerLevel, locationorgunit, givenName, sn" filter="#filter#" scope="SUBTREE" maxRows="2">
    Anybody can assist me on this?
    Thanks in advance.
    Manoz.

    I have fixed this problem successfully.
    The problem was with the referral attribute of the cfldap tag.
    After adding this (referral="yes") attribute to my code I am able to login into my website.
    <cfldap action="QUERY" server="#application.LDAPServer#" port="#application.LDAPPort#" start="#application.LDAPBase#" name="search" attributes="alias, dn, uid, technicalCareerLevel, locationorgunit, givenName, sn" filter="#filter#" scope="SUBTREE" maxRows="2" referral="yes">
    Any way thanks for your assistance!!!!!

  • Connection to LDAP Server failed

    OK, I have an application that has been working for years.
    Yesterday it stopped working and my error trapping started sending
    me messages with the cfcatch.message of " Connection to LDAP Server
    failed" The code hasn't been touch in over three years. Any ideas
    what is going on? I have attached the code but changed some
    information for security reasons.

    CF_contractor wrote:
    > OK, I have an application that has been working for
    years. Yesterday it
    > stopped working and my error trapping started sending me
    messages with the
    > cfcatch.message of " Connection to LDAP Server failed"
    The code hasn't been
    > touch in over three years. Any ideas what is going on? I
    have attached the
    > code but changed some information for security reasons.
    >
    > <cfldap
    > action="QUERY"
    > name="qryResults"
    > attributes="distinguishedname"
    > start=""
    > scope="SUBTREE"
    > filter = "(cn=#txtxNO#)"
    > username="testuser"
    > password="test"
    > server="server.com"
    > >
    >
    An LDAP administrator change the password for or removed the
    'testuser'
    account? Happened to me last week.

  • "No connectivity with the server" error for one document but not the other, in the same document library

    We have a number of users all of a sudden getting "No connectivity with the server.  The file 'xxx' can't be opened because the server couldn't be contacted." errors trying to open MS Office docs (Word, Excel, etc.) in SharePoint with IE,
    just by clicking the link and selecting the "Read Only" option.  If they select the "Check Out and Edit" option, they can open the document no problem.  One of my customers gets the error on one document but not the other, in
    the same document library!  The older document (a weekly report) was copied and renamed as per standard procedure.  She can read the older document, but not the new one.
    It is definitely a profile issue, as other people have logged onto the machines of the users with problems and do not get the error.  We have also renamed people's c:\user profile folders and the corresponding Profilelist registry entry and the newly
    created profile does not experience the error for these people.  Renaming the profile back restores all their personal settings but the error reappears.  When we copied the old profile's folder structure into the new profile, many of the user settings
    were restored (but not all, like Dreamweaver settings) but the error did not appear.  We think that the system folders files (like AppData) weren't totally copied over so we're going to run another test using xcopy.  We are rebooting between
    logons to make sure all files are unlocked.
    The laptops and computers are mainly 32bit, Win7 Enterprise running IE9 and Office 2010 Professional Plus, but there's a few 64bit machines as well. The SharePoint farm has 1 WFE, 1 App Server running search and CA, and a shared database server running SQL
    2005 SP4.  SharePoint is 64bit MOSS 2007 with the latest CU.
    We've checked the logs on the client as well as on the server and there aren't any helpful entries.  We've also run Process Monitor, also with no helpful entries.  We're planning to run something like Fiddler next.
    It's not everyone, because there are many people are accessing the SharePoint system and the same files.  It is also not a permission thing, as we've tested by giving the users elevated permissions with no changes.  One person experiencing
    the errors is a Site Collection Admin.  That same person ran a test where I coped a simple Excel file into a Document Library which contained a problem file.  They were able to open it Read Only no problems that day, but the next day, the same
    file gave them an error.   In their case, they usually get a "xxx is not checked out" error and only occasionally get the "No connectivity with the server" error.
    We've tried lots of things including:
    Deleting IE cache
    Deleting SharePoint Drafts and webcache folder contents
    Running IE without add-ons
    Upgrading and Downgrading IE
    Uninstalling and re-installing IE
    Reinstalling our SSL certs
    Repairing Office
    Removing and then adding back in the Microsoft Office "Microsoft SharePoint Foundation Support" Office Tool 
    Deleting all HKLM and HKLU Office registry settings
    Toggling IE Compatibility Settings
    Toggling the IE Automatic Logon option
    Toggling the location of checked out files
    Adding the site in the trusted sites list
    Adding the site to the WebClient\Parameters registry locations
    Making sure the WebClient service is started
    Rebooting the machine (lol :)
    This is becoming a serious issue, not just because of the inconvenience for the users having to check out every document they want to read, but we have some files with macros that open up other documents to run which are now failing.  There aren't
    "check out" workarounds for some of those macros.
    We're planning to open a ticket with Microsoft, but I'm throwing it out here first in case someone has run into this before, or may have some suggestions on what to try next.  Thanks!
    -Richard.
    PS  I think this needs to be in the "General" forum instead?

    It took three days of dedicated troubleshooting, but I have found the cause of the errors, and a couple of fixes.  It helped tremendously that my own machine was throwing the error.  I have scheduled a couple of users to work with me to test the
    various fixes, to see which one works best, so the story isn't over yet.
    I had backed up my c:\users profile folder and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry key so I could restore my profile after I was done.  I made a copy of the profile folder and was using that for awhile,
    but then made another copy where I had deleted a lot of content out of it so that the copies would go faster.  Since a newly created profile did not have errors, I was trying to copy back as much of the profile as possible to make it easier for our users
    to get back to work.  Instead of blowing away their profile and starting from scratch (which we know worked) I wanted to narrow down what was causing the error and just skip that from the restore.  The concept was to keep as much as the users profile
    in tact (application settings, etc.) not just restoring their desktop and My Documents folders.
    When we first tested a few weeks ago, simply copying the folder contents didn't reproduce the error.  I then tried xcopy, but got the "can't read file" error.  Then I tried robocopy, and ran into the "junction" problem. 
    I went back to xcopy, and found that placing the excludes.txt file in the windows/system32 folder eliminated the error.
    So the process went as follows: 
    Reboot and log into the machine as another user
    Delete the profile and associated registry key
    Reboot and log into the machine as the affected user, creating a new profile, and there is no error
    Reboot and log in as the other user
    xcopy the contents of the skinned-down backed-up profile to the newly created profile
    Reboot and log in as the affected user, and the error occurs
    Repeat the above, but add items in the excludes.txt file to see what, when eliminated, causes the error not to appear in the last step
    I eventually found that skipping the c:\users\<profile folder>\appdata\local\Microsoft\office\14.0 folder allowed the entire profile to be copied over without the error occurring.  That was strange, because we've cleaned out the cache folders
    before which didn't fix the issue. 
    So I went about it the opposite way, and tried to delete the 14.0 folder from the restored profile, and after reboot, the error still occurred.
    What eventually worked was deleting the 14.0 folder and copying over a 14.0 folder from a newly created profile!
    One way to do this was to:
    Reboot and log in as another user
    Rename the c:\users profile folder
    Rename the appropriate [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList] registry key
    Reboot and log in as the affected user, confirm that there is no error
    Reboot and log in as the other user
    Copy the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder to the other user's desktop
    Delete new profile folder, and rename the backup to be the production folder
    Delete the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder and then paste the 14.0 copy from the desktop
    Reboot and log in as the affected user, confirm that there is no error
    We've tried this on a couple machines and it works.  I had to run Windows Explorer as Administrator to access the other profile's folders.
    We've also successfully copied a 14.0 folder created by one profile on one affected computer over another profile's folder on another computer, eliminating the error, so we're trying that first, as that is fewer steps.
    We may attempt to script this, but the self-help instructions are only 5 lines long:
    Reboot and log into the affected computer with another account
    Go to <link to location of 14.0 folder on network> and copy the 14.0 folder
    Run Windows Explorer as Administrator
    Go to c:\users\<profile folder>\appdata\local\microsoft\office and delete the 14.0 folder, and paste the copied 14.0 folder (trying to overwrite it makes Win7 want to merge the folders)
    Reboot and log into your normal account, and confirm the error is gone
    I'll come back and report after we go into the field with this fix, but after the few tests, I am cautiously optimistic that this is it.

  • Unable to connect  remote LDAP server 2005Q1

    To connect remote LDAP server with local mail server in iMS5.2, it was successful and very easy.
    But, with Sun Java Messaging 2005Q1, I failed so many times when I configure mail server.
    Only two things( LDAP and messaging ) are in the same machine, it was successful.
    It's very weird.
    In Install Guide, remote LDAP system has no problem to connect with local mail server.
    Here is LDAP server version.
    # ./monitor
    version: 1
    dn: cn=monitor
    objectClass: top
    objectClass: extensibleObject
    cn: monitor
    connectionpeak: 9
    version: Sun Java(TM) System Directory Server/5.2_Patch_3 B2004.331.1125
    Messaging server version is Sun Java Messaging 2005Q1.
    ================ Install Log ================
    The following items for the product Messaging Server will be configured:
    Product: Messaging Server
    Location: /data/MailData
    Space Required: 0 bytes
    Message Transfer Agent
    Message Store
    Messenger Express
    Ready to Configure
    1. Configure Now
    2. Start Over
    3. Exit Configure Program
    What would you like to do [1] {"<" goes back, "!" exits}?
    Starting Task Sequence
    ===== Thu Apr 21 18:50:38 KST 2005 =====
    Running /usr/sbin/groupadd mail
    ===== Thu Apr 21 18:50:38 KST 2005 =====
    Running /usr/sbin/useradd -g mail -d / mailsrv
    ===== Thu Apr 21 18:50:38 KST 2005 =====
    Running /usr/sbin/usermod -G mail mailsrv
    ===== Thu Apr 21 18:50:38 KST 2005 =====
    Running /bin/rm -rf /opt/java05Q1/Mail/config /opt/java05Q1/Mail/data
    ===== Thu Apr 21 18:50:38 KST 2005 =====
    Running /bin/chmod 600 /opt/java05Q1/Mail/lib/config-templates/Devsetup.
    properties
    ===== Thu Apr 21 18:50:38 KST 2005 =====
    Running /opt/java05Q1/Mail/lib/devinstall -l schema1:sepadmsvr:pkgcfg:config:
    msg:msg_en:imta:msma:webmail:imta -v -m -i /opt/java05Q1/Mail/lib/config-
    templates/config.ins /opt/java05Q1/Mail/lib/config-templates
    /opt/java05Q1/Mail/lib/jars /opt/java05Q1/Mail/lib
    ===== Thu Apr 21 18:50:45 KST 2005 =====
    Running /bin/sh -c /opt/java05Q1/Mail/sbin/imsimta clbuild -
    image_file=IMTA_COMMAND_DATA IMTA_BIN:pmdf.cld
    ===== Thu Apr 21 18:50:46 KST 2005 =====
    Running /bin/sh -c /opt/java05Q1/Mail/sbin/imsimta chbuild
    ===== Thu Apr 21 18:50:46 KST 2005 =====
    Running /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/cfgdir23381 -c -
    e /opt/java05Q1/Mail/config/cfgdir.ldif.rej -f /opt/java05Q1/Mail/config/cfgdir.
    ldif
    ===== Thu Apr 21 18:50:46 KST 2005 =====
    Running /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/ugdir23382 -c -
    e /opt/java05Q1/Mail/config/usergroup.ldif.rej -f
    /opt/java05Q1/Mail/config/usergroup.ldif
    ===== Thu Apr 21 18:50:46 KST 2005 =====
    Running /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/ugdir23382 -c -
    e /opt/java05Q1/Mail/config/dctree.ldif.rej -f /opt/java05Q1/Mail/config/dctree.
    ldif
    ===== Thu Apr 21 18:50:46 KST 2005 =====
    Running /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/ugdir23382 -c -
    e /opt/java05Q1/Mail/config/mid_dctree.ldif.rej -f
    /opt/java05Q1/Mail/config/mid_dctree.ldif
    ===== Thu Apr 21 18:50:47 KST 2005 =====
    Running /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/ugdir23382 -c -
    e /opt/java05Q1/Mail/config/last_dctree.ldif.rej -f
    /opt/java05Q1/Mail/config/last_dctree.ldif
    ===== Thu Apr 21 18:50:47 KST 2005 =====
    Running /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/ugdir23382 -c -
    e /opt/java05Q1/Mail/config/pab.ldif.rej -f /opt/java05Q1/Mail/config/pab.ldif
    ===== Thu Apr 21 18:50:47 KST 2005 =====
    Running /bin/sh -c /opt/java05Q1/Mail/sbin/imsimta cnbuild
    ===== Thu Apr 21 18:50:47 KST 2005 =====
    Running /bin/sh -c /bin/cp /opt/java05Q1/Mail/lib/config-
    templates/madman_solaris.reg /etc/snmp/conf/ims.reg
    ===== Thu Apr 21 18:50:47 KST 2005 =====
    Running /bin/sh -c /bin/cp /opt/java05Q1/Mail/lib/config-
    templates/madman_solaris.acl /etc/snmp/conf/ims.acl
    ===== Thu Apr 21 18:50:47 KST 2005 =====
    Running /bin/sh -c /usr/bin/crle
    ===== Thu Apr 21 18:50:47 KST 2005 =====
    Running /bin/sh -c /usr/bin/crle -s /usr/lib/secure -s /opt/java05Q1/Mail/lib
    ===== Thu Apr 21 18:50:48 KST 2005 =====
    Running /bin/sh -c /usr/bin/crle
    ===== Thu Apr 21 18:50:48 KST 2005 =====
    Running /bin/sh -c /bin/cp -rpf /opt/java05Q1/Mail/lib/config-templates/html
    /opt/java05Q1/Mail/config/
    ===== Thu Apr 21 18:50:57 KST 2005 =====
    Running /bin/chown -Rh mailsrv /opt/java05Q1/Mail/config/html
    ===== Thu Apr 21 18:50:57 KST 2005 =====
    Running /bin/chgrp -Rh mail /opt/java05Q1/Mail/config/html
    ===== Thu Apr 21 18:50:57 KST 2005 =====
    Running /bin/sh -c /bin/cp -rpf /opt/java05Q1/Mail/config
    /opt/java05Q1/Mail/install/configure_20050421184758
    ===== Thu Apr 21 18:51:08 KST 2005 =====
    Running /bin/sh -c /bin/cp -p /opt/java05Q1/Mail/lib/config-templates/Devsetup.
    properties /opt/java05Q1/Mail/install/configure_20050421184758/Devsetup.
    properties
    Sequence Completed
    PASSED: /usr/sbin/groupadd mail : status = 9
    PASSED: /usr/sbin/useradd -g mail -d / mailsrv : status = 0
    PASSED: /usr/sbin/usermod -G mail mailsrv : status = 3
    PASSED: /bin/rm -rf /opt/java05Q1/Mail/config /opt/java05Q1/Mail/data : status
    = 0
    PASSED: /bin/chmod 600 /opt/java05Q1/Mail/lib/config-templates/Devsetup.
    properties : status = 0
    FAILED: /opt/java05Q1/Mail/lib/devinstall -l schema1:sepadmsvr:pkgcfg:config:
    msg:msg_en:imta:msma:webmail:imta -v -m -i /opt/java05Q1/Mail/lib/config-
    templates/config.ins /opt/java05Q1/Mail/lib/config-templates
    /opt/java05Q1/Mail/lib/jars /opt/java05Q1/Mail/lib : status = 1
    PASSED: /bin/sh -c /opt/java05Q1/Mail/sbin/imsimta clbuild -
    image_file=IMTA_COMMAND_DATA IMTA_BIN:pmdf.cld : status = 0
    PASSED: /bin/sh -c /opt/java05Q1/Mail/sbin/imsimta chbuild : status = 0
    FAILED: /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/cfgdir23381 -c -
    e /opt/java05Q1/Mail/config/cfgdir.ldif.rej -f /opt/java05Q1/Mail/config/cfgdir.
    ldif : status = 89
    FAILED: /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/ugdir23382 -c -
    e /opt/java05Q1/Mail/config/usergroup.ldif.rej -f
    /opt/java05Q1/Mail/config/usergroup.ldif : status = 89
    FAILED: /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/ugdir23382 -c -
    e /opt/java05Q1/Mail/config/dctree.ldif.rej -f /opt/java05Q1/Mail/config/dctree.
    ldif : status = 89
    FAILED: /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/ugdir23382 -c -
    e /opt/java05Q1/Mail/config/mid_dctree.ldif.rej -f
    /opt/java05Q1/Mail/config/mid_dctree.ldif : status = 89
    FAILED: /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/ugdir23382 -c -
    e /opt/java05Q1/Mail/config/last_dctree.ldif.rej -f
    /opt/java05Q1/Mail/config/last_dctree.ldif : status = 89
    FAILED: /opt/java05Q1/Mail/lib/ldapmodify -h love.daou.co.kr -p 389 -D
    cn=Directory Manager -j /opt/java05Q1/Mail/lib/config-templates/ugdir23382 -c -
    e /opt/java05Q1/Mail/config/pab.ldif.rej -f /opt/java05Q1/Mail/config/pab.ldif
    : status = 89
    PASSED: /bin/sh -c /opt/java05Q1/Mail/sbin/imsimta cnbuild : status = 0
    PASSED: /bin/sh -c /bin/cp /opt/java05Q1/Mail/lib/config-
    templates/madman_solaris.reg /etc/snmp/conf/ims.reg : status = 0
    PASSED: /bin/sh -c /bin/cp /opt/java05Q1/Mail/lib/config-
    templates/madman_solaris.acl /etc/snmp/conf/ims.acl : status = 0
    PASSED: /bin/sh -c /usr/bin/crle : status = 0
    PASSED: /bin/sh -c /usr/bin/crle -s /usr/lib/secure -s /opt/java05Q1/Mail/lib :
    status = 0
    PASSED: /bin/sh -c /usr/bin/crle : status = 0
    PASSED: /bin/sh -c /bin/cp -rpf /opt/java05Q1/Mail/lib/config-templates/html
    /opt/java05Q1/Mail/config/ : status = 0
    FAILED: /bin/chown -Rh mailsrv /opt/java05Q1/Mail/config/html : status = 1
    FAILED: /bin/chgrp -Rh mail /opt/java05Q1/Mail/config/html : status = 1
    PASSED: /bin/sh -c /bin/cp -rpf /opt/java05Q1/Mail/config
    /opt/java05Q1/Mail/install/configure_20050421184758 : status = 0
    PASSED: /bin/sh -c /bin/cp -p /opt/java05Q1/Mail/lib/config-templates/Devsetup.
    properties /opt/java05Q1/Mail/install/configure_20050421184758/Devsetup.
    properties : status = 0
    FAILURE: Number of task failed:9. Please check install log
    /opt/java05Q1/Mail/install/configure_20050421184758.log
    for further details.
    Hit NEXT to continue
    Configuration Details:
    Product Result More Information
    1. Messaging Server Failed Available
    2. Done
    Enter the number corresponding to the desired selection for more
    information, or enter 2 to continue [2] {"!" exits}:
    ================
    Any Good ADVICE would be welcomed.

    I already did what you advised - installing admin server on each machine. I tested throught connecting admin console,modifying ldap,mail config and adding users.
    To say about running 'comm_dssetup.pl' script , if I didn't I could not even setup and configure mail server.
    In a month, there is a chance to setup both mail and ldap servers on diferrent machines.
    I am a little bit worry. What did I wrong?
    welcomed... any words of advice..

  • While Configuring Siebel Server we are getting "Unable to Connect to Gateway server" error in siebel 8.2.2.14

    Hi
    While Configuring Siebel Server we are getting "Unable to Connect to Gateway server" error in siebel 8.2.2.14
    Our OS is windows 2008 R2 64 bit,Orcale client is 11g 32 bit and Oracle DB is in 11g.We are also able to connect to DB using ODBCSQL.
    Please help.
    Regards
    Shuvendu

    Hello Shuvendu,
    Thanks for using Oracle Communities.
    About your error, there could be many reasons, To start with, please have following knowledge article to know possible reasons.
    C028: "Unable to Connect to the Siebel Gateway Name Server" Logged By Configuration Wizard (Doc ID 1391312.1)
    I hope it helps.
    Best Regards,
    Chetan
    P.S. If any one of the provided responses has been correct or helpful it would be great if you could mark them as appropriate.

  • Cannot connect to activation server error when I tried to re-authorize my computer

    I had problem copying library books to my kobo reader. It was OK back in Dec.
    So I tried to erase authorization and re-authorize my computer to try as a fresh start.
    I am getting a "cannot connect to activation server error". I have no problem connecting to the internet on all other sites that I am accessing.

    I don't know if this will help, but I was having trouble today activating another Adobe product as well. Turns out the problem was other software on my computer - a program called "Net Nanny" that filters content and supposedly keeps malware and other stuff out. Maybe you have that or something similar, like a McAfee or Norton? Temporarily disabling the software fixed my problem. Good luck!

  • I can´t set the control panel iCloud. PC writes this: you can not connect because the server error occurred. What´s matters?

    I can´t set the control panel iCloud. PC writes this: you can not connect because the server error occurred. What´s matters?

    Whenever I log into icloud.com
    Using what version of which browser?
    iCloud.com requires Safari 6 or later, Firefox 22 or later, or Google Chrome 28 or later. Have you tried all of those?
    If you have, have you tried clearing your browser cache and cookies?
    For the first tine since 1989 I'm thinking about buying a PC.
    You'd have exactly the same problems on an 8 year old PC too. It's a bit unreasonable to expect such an old Mac to continue to be compatible as software is constantly updated.
    Saying that, I'm still able to access iCloud.com successfully in Safari v5.0.6 on a PowerPC Mac running Mac OS X 10.5.8, so the problem you're having is likely to be a browser issue, not something inherently wrong with the computer.
    Since all this crap started, Mail won't download my Mac.com or me.com email.
    The iCloud.com website is totally unconnected to Mail's ability to download email via IMAP. Have you checked the mail server settings are correctly setup and up-to-date?

  • Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context

    Hi everybody,
    I'm running in an urgent problem, because binding to my OpenDirectory got lost. I've lots of "Module: AppleODClientLDAP - unable to open connection to LDAP server - unable to create connection context" messages in the system.log and OD service stoppped running. In the OD-section no server is listed any longer and all buttons are greyed. All network users for sure are not available, but all other services are up. I didn't changed anything to the existing services but started with the netinstall config. I got the following entries in the systemlog
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: server name macminiserver.homenet
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: interface en0: ip 192.168.0.11 mask 255.255.255.0
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: subnets: Failed to convert 'domain_search': Empty array
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: re-reading configuration
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: shadow file size will be set to 48 megabytes
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: age time 00:15:00
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bsdpd: no NetBoot images found
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: bootpd: NetBoot service turned off
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: DHCP REQUEST [en0]: 1,0:1b:77:36:47:f6 <NB01>
    Jun 19 00:35:30 macminiserver.homenet bootpd[95005]: ACK sent NB01 192.168.0.107 pktsize 304
    Since these logentries appeared, no network users and groups are available anymore. I'm running OS X ML 10.8.3 and DNS is fine.
    Are there any steps to perform to get LDAP working again? With all buttons in the server admin OD section greyed out I even can't setup a new directory.
    BR
    Jens

    I was able to restore the existing server with the automatic OD backup that Server.app creates. When my OD fails to start after a crash and db_recover commands don't work, it's always worked for me to restore the odmaster from a backup using the command:
    sudo slapconfig -restoredb /private/var/backups/ServerBackup_OpenDirectoryMaster.sparseimage
    I'm careful to keep an independent OD backup with Carbon Copy Cloner and this preflight script.
    You can also grab an earlier version of the sparse image ServerBackup_OpenDirectoryMaster.sparseimage from a Time Machine backup. It's also possible to rsync the database files directory from a Time Machine backup.

  • C# error when connecting to ldap server that does not exist

    When using Novell.Directory.Ldap.dll and making a connect to an ldap
    server which does not exists i'm getting the following error:
    Connection.freeWriteSemaphore(-2): semaphore not owned by any thread
    Im using this to connect: conn.Connect(ldapHost, ldapPort);
    This error is not catched by LdapException. Can anyone tell me if this is
    a bug or do I have to do something different.

    Hi. I'm using version 2.1.11 of the NDK for CSharp. I'm getting this
    same error message:
    Code:
    Connection.freeWriteSemaphore(-2): semaphore not owned by any thread
    at Novell.Directory.Ldap.Connection.freeWriteSemaphor e(Int32 msgId)
    at Novell.Directory.Ldap.Connection.connect(String host, Int32 port, Int32 semaphoreId)
    at Novell.Directory.Ldap.LdapConnection.Connect(Strin g host, Int32 port)
    at TestLDAP.Program.Main(String[] args) in D:\Documents and Settings\tjbuege\my documents\visual studio 2010\Projects\TestLDAP\TestLDAP\Program.cs:line 20
    This occurs when I try to bind to a server that does not exist. Here
    is my sample source code that generates that error:
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Novell.Directory.Ldap;
    namespace TestLDAP
    class Program
    static void Main(string[] args)
    LdapConnection conn = null;
    string host = "server.does.not.exist.com";
    int port = 389;
    try
    conn = new LdapConnection();
    conn.Connect(host, port);
    catch (Exception ex)
    Console.WriteLine(ex.Message);
    Console.WriteLine(ex.StackTrace);
    if (conn != null)
    conn.Disconnect();
    Is there a fix for this? It makes this library useless for me.
    Thanks,
    Tim
    tjbuege
    tjbuege's Profile: http://forums.novell.com/member.php?userid=108957
    View this thread: http://forums.novell.com/showthread.php?t=365082

  • Help on ldapsearch: ldap_search: Can't connect to LDAP server  -- No error

    Hi,
    I just want to do a basic search
    ldapsearch -h "xxx" -b "dc=yyy.com" -s sub "objectclass=*"
    Here is what I got:
    ldap_search: Can't connect to the LDAP server -- No error
    Please help
    Thanks,
    Lynne

    Since you havent specified the -p (port) option, the default is taken to be 389. You might want to check that first.
    If thats fine, try to ping the host you are trying to access.
    One of the above shd solve your problem.

  • Sample connecting to LDAP Server in Java

    Hi,
    I am trying to establishing SSL from Java Application(via Netscape Directory SDK 4.0 - Java version) to the Directory Server(ADS) in a secure manner - i.e. LDAP over SSL.
    I am trying to run this code...
    LDAPConnection ld = null;
    LDAPModificationSet attrs = new LDAPModificationSet();
    attrs.add(LDAPModification.REPLACE,new LDAPAttribute("unicodePwd", "testpassword"));
    try
    LDAPSSLSocketFactory ssl = new LDAPSSLSocketFactory();
    ld = new LDAPConnection( ssl );
    /* Connect to server */
    ld.connect("10.10.10.7",636);
    /* Authenticate to the server as directory manager */
    ld.authenticate(adminDN,password);
    /* Now modify the entry in the directory */
    ld.modify( userDN, attrs );
    catch(Exception e)
    But I don't know where my program reads the Cert. info... I don't know
    if I have to import my internal CA via keytool or I have missed some
    special configuration ..
    When I run this code, the following error appears:
    netscape.ldap.LDAPException: Failed to create SSL socket (91); Cannot connect to the LDAP server
    at netscape.ldap.LDAPSSLSocketFactory.makeSocket(LDAPSSLSocketFactory.java:309)
    at edu.umassmed.chcf.security.ldap.LDAPHelper.setLDAPPassword(LDAPHelper.java:742)
    at edu.umassmed.chcf.security.administration.userhandler.UserHandlerBean.changePassword(User HandlerBean.java:628)
    at edu.umassmed.chcf.security.administration.userhandler.UserHandlerBean_37ncs1_ELOImpl.chan
    gePassword(UserHandlerBean_37ncs1_ELOImpl.java:409)
    at edu.umassmed.chcf.security.administration.userfacade.UserManagerBean.changePassword(UserM
    anagerBean.java:174)
    at edu.umassmed.chcf.security.administration.userfacade.UserManagerBean_3chmth_EOImpl.change
    Password(UserManagerBean_3chmth_EOImpl.java:501)
    at edu.umassmed.chcf.sbb.action.ChangePasswordAction.perform(ChangePasswordAction.java:114)
    at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:24
    95)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    LDAPHelper - authenticateUser() - expLDAP.toString() netscape.ldap.LDAPException: Failed to create S
    SL socket (91); Cannot connect to the LDAP server
    Is this possible? If so, what hints can you give me to get started (any sample code would be greatly appreciated).
    Thanks in advance.
    With Regards,
    Gokul.

    hey guys .. i was struggling with the same thing - finally found this solution -
    use:
    import netscape.ldap.*;
    import netscape.ldap.factory.JSSESocketFactory;
    JSSESocketFactory fact = new JSSESocketFactory(null);
    //unless u wanna specify any specific ciphers in the constructor
    log("Factory created");
    LDAPConnection ld = new LDAPConnection(fact);
    log("Connection initialised");
    ld.connect(MY_HOST, MY_PORT);
    log("Connected");
    ld.authenticate(user, pwd);
    log("Authenticated!");
    Before running this, i used the "keytool" command line utility to import the SSL client certificate into my default trustStore .. as a trusted cert. Dont know if thats required.. but it worked :) Hope this helps.

  • Problems getting Web server to connect with LDAP server.

    Have 4.1.8 iplanet Web and 4.13 LDAP running on Win2000 sp2. Both are working fine separately, i.e. 'have good anonymous LDAP://URL responses, and 'have working application CGI responses from web server. 'Have previously had same setup running on another server. However, with this install on win2000 cannot get Global settings LDAP feature to work ~ getting " An error occured while contacting th LDAP server. A connection to the the directory server could not be opened. Have checked DNS settings, etc. All seems to be in order. Any suggetions?

    Hi,
    What edition of Win 2K are you using (Pro/Server/Ad Server). The problem could be your DNS settings only.Ensure which machine is your DNS Server is running,is it on NT? if so change it to win 2K server.
    Delete your LDAP machines A record from DNS server and add it again. This will solve your problem.
    Refer the URL :
    http://knowledgebase.iplanet.com/ikb/kb/articles/5135.html

  • How to connect a LDAP Server?

    When creating the LDAP Data Server in Topology Manager using the Sunopsis LDAP Open Connector, the following message is displayed:
    "A NamingException occured saying: [LDAP: error code 49 - Invalid Credentials]"
    I use the sunopsis JDBC driver:
    com.sunopsis.ldap.jdbc.driver.SnpsLdapDriver
    and set the parameters:
    jdbc:snps:ldap?ldap_url=ldap://10.182.255.38:389/&ldap_basedn=cn=Users,dc=cn,dc=oracle,dc=com
    the user is set to:
    cn=orcladmin,cn=Users,dc=cn,dc=oracle,dc=com OR cn=orcladmin OR orcladmin, the error is the same.
    Could anyone tell me how to solve this issue?

    I can't connect to the ldap server.
    Using a simple java program, no problem, ODI, no go.
    Some code I found on the internet to connect to the ldap server
    Note the comments on SECURITY_PRINCIPAL and SECURITY_CREDENTIALS.
    This works fine for me.
    If I try to do the same with ODI, it doesn't work.
    Why?
    Kinde regards,
    Frans.
    public static void main( String[] args ) {
    // set up environment to access the server
    Properties env = new Properties();
    env.put( Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory" );
    env.put( Context.PROVIDER_URL, "ldap://" + ldapServerName + "/" + rootContext);
    //env.put( Context.SECURITY_PRINCIPAL, rootdn );
    //env.put( Context.SECURITY_CREDENTIALS, rootpass );
    try {
    // obtain initial directory context using the environment
    DirContext ctx = new InitialDirContext( env );
    // now, create the root context, which is just a subcontext
    // of this initial directory context.
    //ctx.createSubcontext( rootContext );
    Attributes attr = ctx.getAttributes("");
    NamingEnumeration allAttr = attr.getAll();
    while (allAttr.hasMore()) {
    Attribute a = (Attribute)allAttr.next();
    System.out.println("attr: " + a.getID());
    NamingEnumeration values = attr.getAll();
    while (values.hasMore()) {
    System.out.println("value: " + values.next());
    catch ( NameAlreadyBoundException nabe ) {
    System.err.println( rootContext + " has already been bound!" );
    catch ( Exception e ) {
    System.err.println( e );
    }

  • There was a problem connecting to the server error

    HELP!
    Right, so I upgraded to Lion on my MacBook Pro last night, and have spasmodically gotten the following error:
    There was a problem connecting to the server "me409fs02"
    followed by:
    There was a problem connecting to server "me35syd08"
    Now the weird thing is, me409fs02 and me35syd08 were servers at a company I used to work for 2 years ago. I have no idea why my computer is suddenly trying to log in to these old servers, or how to make it stop.
    Here's a screen shot of what's going on in the console at the exact moment that the errors occur:
    This is turning out to be a gargantuan pain in the butt and I'd really appreciate any help I can get.
    Thanks in advance,
    Brent.

    G'day mate,
    Is this only happening in one user account?  If so, then you should look into the library folder of your user account and your login items (through "Users & Groups Preferences"). 
    Check for any LaunchAgents or LaunchDaemons that could be attempting to connect to the server.
    If it's happening for every user, then also check the Library folder at the root of your hard drive (LaunchAgents, LaunchDaemons and StartupItems).
    Cheers,
    Rodney

Maybe you are looking for