LinuxBegineer LinuxBegineer 35 1 1 gold badge 1 1 silver badge 5 5 bronze badges. Where is the command. It looks like you remove yum with yum did you cut and paste a command and pasted it twice before hitting return? Add a comment. Active Oldest Votes. You're trying to remove the wrong package. Improve this answer. LinuxBegineer 35 1 1 gold badge 1 1 silver badge 5 5 bronze badges. Now for every command i am getting below exception There was a problem importing one of the Python modules required to run yum.
The error leading to this problem was: libldap It's possible that the above module doesn't match the current version of Python, which is: 2. Well, it seems you have deleted the openldap package or part of it - definitely the lib , so you'll have to find the package for your system and installed it manually. I'm not sure what system you are running version 2. You'll need access to redhat network rhn. If you don't have access you can download the equivalent centos package it will work but if you don't want to upgrade to latest version 2.
Can you make a backup of the configuration and : yum remove openldap rpm -e openldap. Mathieu Coavoux Mathieu Coavoux 4 4 bronze badges. I think u did not check my question in detail — LinuxBegineer. Your configuration files have not been removed if you did only a yum remove. If you've errors while trying to install openldap back as "no such files or directory" it can mean that openldap as not been removed properly.
Sign in. United States English. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Directory Services. Sign in to vote. Thursday, February 28, AM. Hi, Thanks for post. Best Regards, Kallen Please remember to mark the replies as answers if they help.
If the applications and the domain controllers are in a different VLAN you can also use network firewall to block the default port for LDAP default value and allow only the port for LDAPS default value Please don't forget to mark the correct answer, to help others who have the same issue. Thursday, February 28, PM. Add a comment. Active Oldest Votes. There are two questions here: What could be the error? Thanks, slapd -d none helped finally debugging. Basically it wasn't able to create the.
Michael Martinez Michael Martinez 2, 1 1 gold badge 14 14 silver badges 17 17 bronze badges. If you install openldap from source, then this is the best way to make sure you remove all files associated with the package. This isn't rpm or yum. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.
0コメント