Académique Documents
Professionnel Documents
Culture Documents
12c Release 1
Legal Notice
This documentation is distributed under an open source license. You may review the terms
of this license at: http://www.oracle.com/technetwork/database/berkeleydb/downloads/
oslicense-093458.html
Oracle, Berkeley DB, and Sleepycat are trademarks or registered trademarks of Oracle. All rights
to these marks are reserved. No third-party use is permitted without the express prior written
consent of Oracle.
Other names may be trademarks of their respective owners.
To obtain a copy of this document's original source code, please submit a request to the Oracle
Technology Network forum at: https://forums.oracle.com/forums/forum.jspa?forumID=271
6/18/2015
Table of Contents
Introduction ................................................................................................. 2
Stripped Libraries .................................................................................... 2
Localized Libraries .................................................................................. 2
Message Organization ............................................................................... 2
Access Methods Messages ................................................................................. 4
Binary Large Objects Messages .......................................................................... 6
Common Messages ......................................................................................... 7
Database Handle Messages .............................................................................. 11
Environment Handle Messages .......................................................................... 17
Locking Subsystem Messages ............................................................................ 19
Logging Subsystem Messages ............................................................................ 21
Memory Pool Messages ................................................................................... 23
Replication Messages ..................................................................................... 24
Sequences Messages ...................................................................................... 29
Transaction Messages ..................................................................................... 30
Command Line Utilities Messages ...................................................................... 32
6/18/2015
DB Message Reference
Page 1
Introduction
By default, Berkeley DB messages (error and informational) include both a message number
and message text. The message number uses a BDB prefix, followed by a unique 4-digit
number. The message text provides contextual information about the message.
When you build Berkeley DB, it is possible to remove the message text so as to minimize the
library's footprint on devices where memory and storage are severely constrained. This is
called a stripped library. It is also possible to add internationalization/localization support to
the library. This is called a localized library.
Stripped Libraries
How you strip error messages from your library depends on the platform you are building
on. For *nix platforms, you do this when you configure your build using the --enablestripped_messages configuration option. Your messages will also be stripped if you configure
for small builds.
For Windows, you can enable stripped messages using the HAVE_STRIPPED_MESSAGES build
property. Your messages will also be stripped if you build a small memory footprint library.
Stripped libraries still issue error messages, but the only thing displayed is the error number
the text of the message is not available for the library to display. This document provides the
missing error message text.
Localized Libraries
To support globalization, you must provide a localization function that translate message, as
well as translation files used to map default messages to the localized text. You then must
provide the proper flags at library build time to indicate that you have added localization to
the library. An overview of this process is described in Globalization Support in the Berkeley
DB Programmer's Reference Guide.
Message Organization
Message text is organized into tables, where each table identifies a specific portion of the
library. Each such table is then sorted by message number.
The areas of the library which can issue messages are:
Access method. These are error messages related to usage of the various access methods
(Btree, Heap, Queue, and so forth).
Common error messages. These are messages that can be commonly issued by any area of
the library.
Database error messages. These are error messages related to the usage of database
handles.
Environment error messages. These are error messages related to the usage of environment
handles.
6/18/2015
DB Message Reference
Page 2
6/18/2015
DB Message Reference
Page 3
6/18/2015
Message Text
1001
1002
1004
1005
1006
1018
1019
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1122
1123
1130
1131
1132
1133
library build did not include support for the Hash access
method
1134
1135
1140
DB Message Reference
Page 4
Message Number
6/18/2015
Message Text
1141
1143
1144
1145
library build did not include support for the Queue access
method
1168
1170
1171
1172
1185
1186
1198
DB Message Reference
Page 5
6/18/2015
Message Text
0211
0212
0213
0214
0217
0218
0219
0220
0221
0233
0245
0246
DB Message Reference
Page 6
Common Messages
Message Number
6/18/2015
Message Text
0001
fcntl(F_SETFD)
0003
0040
0041
0060
0061
PANIC
0062
Successful return: 0
0063
0064
0065
0066
0067
0068
0069
0070
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084
0085
DB Message Reference
Page 7
Message Number
6/18/2015
Message Text
0086
0087
0088
0089
0090
0091
0096
0097
0098
0099
0100
0101
0103
0106
0107
0114
0115
0120
0121
shmdt
0123
munmap
0124
fileops: munmap
0126
mmap
0127
mlock
0128
0139
fcntl
0140
0144
0146
0149
0151
fsync
0162
fcntl(F_SETFD)
0164
close
DB Message Reference
Page 8
Message Number
6/18/2015
Message Text
0166
fstat
0167
select
0172
0173
0174
0175
Invalid password
0176
0177
0178
0179
0180
Invalid password
0181
0182
0183
0184
0185
0186
0187
0188
0189
0190
0191
0192
0193
0194
0195
0196
0198
0200
0201
0202
0203
0204
0205
DB Message Reference
Page 9
Message Number
6/18/2015
Message Text
0207
0208
0209
0237
0243
0244
DB Message Reference
Page 10
6/18/2015
Message Text
0503
0504
0505
0506
0508
0511
0516
0518
0519
0556
0559
0571
0572
0573
0574
0575
0576
0577
0578
0579
0580
0581
0582
0584
0585
0586
0587
DB Message Reference
Page 11
Message Number
6/18/2015
Message Text
0588
0589
0590
0591
0592
0594
0595
0596
0597
0598
0600
0601
0602
0603
0604
0605
0606
0607
0608
0609
0610
0611
0612
0613
0614
0615
0616
0617
0618
DB Message Reference
Page 12
Message Number
6/18/2015
Message Text
0619
0620
0621
0622
0623
0624
0625
0627
0628
0631
0632
0633
0634
0635
0636
0637
0642
0643
0645
0646
0647
0648
0650
0651
0652
0653
0654
0655
DB Message Reference
Page 13
Message Number
6/18/2015
Message Text
0656
0657
0658
0659
0660
0661
0663
0664
0665
0667
0674
0685
0686
0688
0690
0691
0692
0693
0694
0695
0696
0697
0698
0699
0700
0701
0708
0709
0710
0711
0716
DB Message Reference
Page 14
Message Number
6/18/2015
Message Text
0731
Sync failed
0735
0736
0744
0745
0746
0748
Write failed.
0749
0750
0751
0752
0753
0754
0755
0756
0758
0759
0760
0761
0763
0765
0766
0767
0768
0777
0778
DB Message Reference
Page 15
Message Number
6/18/2015
Message Text
0779
0782
0783
DB Message Reference
Page 16
6/18/2015
Message Text
1501
1503
1504
1505
1506
1507
1508
1510
1512
1516
1528
1539
1540
1543
1546
1547
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1562
1563
DB Message Reference
Page 17
Message Number
6/18/2015
Message Text
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1579
1581
1583
1588
1589
DB_PRIVATE is not
1591
1592
1593
1594
DB_PRIVATE is not
1595
1596
DB Message Reference
Page 18
6/18/2015
Message Text
2001
2002
2006
2009
2012
2013
2014
2015
2016
2018
2021
2023
2024
2026
2027
2028
2029
2033
2034
2036
2039
2040
2041
2042
2043
2044
2048
2054
2058
DB Message Reference
Page 19
Message Number
6/18/2015
Message Text
2059
2060
2069
DB Message Reference
Page 20
6/18/2015
Message Text
2501
2503
callback: initialization
2507
2508
2509
2510
2511
2512
2514
2515
2517
2518
2519
2522
2523
2524
2525
2533
2534
2535
2570
2571
2572
2573
2574
2576
2579
2584
2585
DB Message Reference
Page 21
Message Number
6/18/2015
Message Text
2586
2587
DB_LOG_IN_MEMORY is not
DB Message Reference
Page 22
6/18/2015
Message Text
3003
3004
3005
3006
3014
3017
3019
3025
3026
3029
3030
3033
3034
3035
3036
3039
3041
3044
3045
3046
DB Message Reference
Page 23
Replication Messages
Message Number
6/18/2015
Message Text
3502
3504
3509
3513
3514
3515
3520
3527
3528
3529
3530
3535
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3563
3564
DB Message Reference
Page 24
Message Number
6/18/2015
Message Text
3565
3566
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
closing socket
3583
3584
3585
3586
3587
listen()
3588
3589
3590
3593
EnumNetworkEvents
3614
3615
accept error
3616
3617
DB Message Reference
Page 25
Message Number
6/18/2015
Message Text
3618
3619
3624
3625
malformed V1 handshake
3626
3627
3628
3629
3630
pthread_attr_init in repmgr_thread_start
3631
pthread_attr_setstacksize in repmgr_thread_start
3632
3633
3634
select
3635
3636
3637
3638
3639
3640
3642
3643
3644
3645
3646
3648
3650
3651
repmgr is stopped
3653
set_nonblock channel
3654
3655
3656
DB Message Reference
Page 26
Message Number
6/18/2015
Message Text
3657
3658
3659
3662
3663
3665
3666
3669
3670
3671
3672
3673
rep_start
3674
3675
3682
3685
3686
3687
3688
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
DB_ENV->rep_set_config: %s
DB Message Reference
Page 27
Message Number
6/18/2015
Message Text
3707
3708
DB_ENV->rep_set_config: cannot %s %s
3709
DB Message Reference
Page 28
Sequences Messages
Message Number
6/18/2015
Message Text
4001
4002
4003
4004
4005
4008
4009
4010
4011
Sequence overflow
4012
4013
Sequence overflow
4014
4015
4016
DB Message Reference
Page 29
Transaction Messages
Message Number
6/18/2015
Message Text
4501
4502
4504
4505
4507
No log records
4508
4511
4518
4519
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4536
4538
4539
4540
4541
4542
4543
4544
4545
DB Message Reference
Page 30
Message Number
6/18/2015
Message Text
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4568
4569
4570
4571
4572
DB Message Reference
Page 31
6/18/2015
Message Text
5001
5007
5008
close
5011
callback: initialization
5012
callback: initialization
5013
tx: dispatch
5017
data:
5027
5028
5030
5031
5033
5043
5074
5075
5076
5077
5078
5079
5081
5083
5088
5089
5090
5093
5096
5101
open
5106
close
5117
close
5127
5128
5130
DB Message Reference
Page 32
Message Number
6/18/2015
Message Text
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
DB Message Reference
Page 33