Community
Search Options
Search Options
Log in
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Power
Topic areas
Automation with Power
Business Continuity
Enterprise Infrastructure as a Service
IBM i
ISV Solutions
Modernization with IBM Power
Open Source
Operating Systems
Power Developer eXchange
Power Global
Power Security
Programming Languages
Virtualization
User groups
Events
IBM TechXchange Conference
Upcoming Power Events
IBM TechXchange Webinars
All IBM TechXchange Community Events
Participate
Gamification Program
Getting Started
Community Manager's Welcome
Post to Forum
Share a Resource
Share Your Expertise
Blogging on the Community
Connect with Power Users
All IBM TechXchange Community Users
Resources
IBM TechXchange Group
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
TechXchange Conference
IBM TechXchange Conference 2024
Marketplace
Marketplace
IBM Power
Connect, learn, share, and engage with IBMPower.
Join / Log in
Skip main navigation (Press Enter).
Toggle navigation
Search Options
AIX Open Source
Open Source
View Only
Group Home
Discussion
10.2K
Library
151
Blogs
20
Events
0
Members
1.5K
Share
Upgrade SUDO problems
By
Per-Ola Hassle
posted
Tue June 09, 2020 12:57 AM
0
Like
Hi
After upgrade of SUDO i get this problem? Somebody that face this problem and have solutions ?
sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: unable to load /opt/freeware/libexec/sudo/
sudoers.so
: 0509-022 Cannot load module /opt/freeware/lib/libldap.a(libldap-2.4.so.2).
0509-150 Dependent module /opt/freeware/lib/libssl.a(
libssl.so
) could not be loaded.
0509-152 Member
libssl.so
is not found in archive
0509-022 Cannot load module /opt/freeware/libexec/sudo/
sudoers.so
.
0509-150 Dependent module /opt/freeware/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
sudo: fatal error, unable to load plugins
upgrade from
sudo-1.6.8p12 to sudo-1.8.28-1.aix6.1.ppc.rpm
Regards
Per
4 comments
119 views
Permalink
Comments
Jan Harris
Tue October 06, 2020 11:43 AM
Hello Shaik
Please see Edward's response with suggestions, in previous comments on this page. Also, as explained on June 24,
It is best to ask these questions on the discussion thread, since blogs are not always reviewed for questions. Additionally, the discussion answers can be marked as "Best Answer"
When you have questions, you can simply
"Post New Message"
TIPS:
You can find similar discussions in the forum
For example:
AIX Linux Toolbox, LDAP and sudo library clash
Make sure you are not mixing AIX Toolbox packages with other packages, especially for openldap.
Uninstall openssl.rpm and only use openssl.base from AIX media
See
R
esolving RPM libssl.a and libcrypto.a errors
Cheers!
Ramakrishna Medarametla
Tue October 06, 2020 08:23 AM
Hi,
I am getting below error while doing sudo. Could you please suggest, how to recover this issue.
$ sudo su -
sudo: error in /etc/sudo.conf, line 0 while loading plugin "sudoers_policy"
sudo: unable to load /opt/freeware/libexec/sudo/sudoers.so: 0509-022 Cannot load module /opt/freeware/libexec/sudo/sudoers.so.
0509-150 Dependent module libldap.a(libldap-2.4.so.2) could not be loaded.
0509-022 Cannot load module libldap.a(libldap-2.4.so.2).
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module /opt/freeware/libexec/sudo/sudoers.so.
0509-150 Dependent module /opt/freeware/libexec/sudo/sudoers.so could not be loaded.
sudo: fatal error, unable to load plugins
$
Thanks,
Shaik
Jan Harris
Wed June 24, 2020 11:29 AM
Hi Per-Ola
FYI - It may be best to ask these questions on the discussion thread, since blogs are not always reviewed for questions. Additionally, the answers can be marked as "Best Answer"
When you have questions, you can simply "Post New Message"
https://community.ibm.com/community/user/power/communities/community-home/digestviewer?communitykey=10c1d831-47ee-4d92-a138-b03f7896f7c9&tab=digestviewer
Edward Davignon
Tue June 16, 2020 03:52 PM
Some useful commands to troubleshoot this are:
rpm -qf /opt/freeware/lib/libssl.a
lslpp -w /opt/freeware/lib/libssl.a
lslpp -l openssl.base
lslpp -fc | grep -e libssl | sort -t: -k3
lslpp -w /usr/lib/libssl.a
rpm -qf /opt/freeware/lib/libldap.a
rpm -qa | grep -i -e ldap | sort
rpm -q --whatrequires openldap
rpm -q --whatrequires libssh2
rpm -qla | grep libssl | sort -u
rpm -qla | grep libssl | sort -u | xargs rpm -qf | sort -u
rpm -qi nss
env | grep -e '^LIBPATH=' # LIBPATH should not be set for AIX toolbox
ldd /usr/bin/sudo # as root
dump -Tv /usr/bin/sudo # as root
You may need install
openldap-2.4.48-1 (RPM package)
You may also need to install a newer OpenSSH and OpenSSL installp packages (Not the old or third-party RPM packages)
then run: updtvpkg
Yum is good at making sure you have the latest versions of packages and their dependencies.
IBM Community Home
Browse
Discussions
Resources
Groups
Events
IBM TechXchange Conference 2023
IBM Community Webinars
All IBM Community Events
Participate
Gamification Program
Community Manager's Welcome
Post to Forum
Share a Resource
Blogging on the Community
All IBM Community Users
Resources
Community Front Porch
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
Marketplace
Marketplace
Power
Topic areas
Automation with Power
Business Continuity
Enterprise Infrastructure as a Service
IBM i
ISV Solutions
Modernization with IBM Power
Open Source
Operating Systems
Power Developer eXchange
Power Global
Power Security
Programming Languages
Virtualization
User groups
Events
IBM TechXchange Conference
Upcoming Power Events
IBM TechXchange Webinars
All IBM TechXchange Community Events
Participate
Gamification Program
Getting Started
Community Manager's Welcome
Post to Forum
Share a Resource
Share Your Expertise
Blogging on the Community
Connect with Power Users
All IBM TechXchange Community Users
Resources
IBM TechXchange Group
IBM Champions
IBM Cloud Support
IBM Documentation
IBM Support
IBM Technology Zone
IBM Training
TechXchange Conference
IBM TechXchange Conference 2024
Marketplace
Marketplace
Copyright © 2020 IBM Corporation. All rights reserved.
Powered by Higher Logic