Tags:
view all tags
<!-- keep this as a security measure: * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.LCGAdminGroup * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.LCGAdminGroup #uncomment this if you want the page only be viewable by the internal people * Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.LCGAdminGroup --> ---+!! %TOPIC% %TOC% ---++ Symptoms Summary: %FORMFIELD{"Symptom summary"}% A program (==rpm==, OpenLDAP's ==slapd==) aborts with error: <verbatim> rpmdb: unable to initialize mutex: Function not implemented ... error: db4 error(38) from dbenv->open: Function not implemented </verbatim> The exact db4 function in which the problem occurs may vary, but the error code 38 and the message =unable to initialize mutex: Function not implemented= are constant. The problem we are facing (and its variations, depending on the workarounds that one can try) is quite accurately described at http://www.openldap.org/lists/openldap-software/200603/msg00199.html ---++ Occurrences Reproduceable on any Xen DomU running RHEL4-derived systems (CentOS4, SL4, SLC4). ---++ Observations <!-- #collect here the information which may help to better understand the state of the system or services, e.g. #log excerpts, strace output, etc. #this also may help to identify the problem if similar conditions arise again --> On the site-BDII, the problem was fixed by using the "ldbm" backend and avoiding Berkeley DB4 completely. We cannot do this for Phedex, since it uses a CMS-built version of apt+rpm+db4, so we cannot rebuild that with different flags. ---++ Solution or Workaround None known so far. I wasn't able to find much information by googling: all the related pages date back to 2005/2006 (when CentOS4/RHEL4 was current), and the links to software packages or patches are often broken. Some suggest fixing the problem by recompiling the libc with a special gcc option; finally I found the exact patch here: http://lists.centos.org/pipermail/centos-devel/2005-December/000175.html ---++ Monitoring for this condition <!-- #how can this condition be recognized automatically, if at all? --> -- Main.RiccardoMurri - 05 Nov 2008
IssueForm
Affected Service
BDII, Phedex/cmsvobox
Symptom summary
program fails with error: "unable to initialize mutex: Function not implemented"
Reason Understood
yes
Solution Exists
no
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r5
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2008-11-05
-
RiccardoMurri
LCGTier2
Log In
(Topic)
LCGTier2 Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
Users
Entry point / Contact
RoadMap
ATLAS Pages
CMS Pages
CMS User Howto
CHIPP CB
Outreach
Technical
Cluster details
Services
Hardware and OS
Tools & Tips
Monitoring
Logs
Maintenances
Meetings
Tests
Issues
Blog
Home
Site map
CmsTier3 web
LCGTier2 web
PhaseC web
Main web
Sandbox web
TWiki web
LCGTier2 Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Warning: Can't find topic "".""
Account
Log In
Edit
Attach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback