Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-14-2008, 04:43 PM   #1
Registered: Sep 2005
Location: Serbia
Distribution: Centos 5.2-x86_64, Fedora 10, RHEL 5
Posts: 60

Rep: Reputation: 15
Berkeley db4 issue


I have a few files from the database named in the subject and I'm supposed to extract the data from those files. Now, I know a little bit about DB-s, but not much. With oracle-xe and mySql you're supposed to start oracle or mysql DBMS, import external file and then use some programming language to write a program which should extract the data for me. Since i'm doing best with Java at the moment, java is my choice.

Now, the problem is that I don't quite understand why isn't there any Berkeley DB4 startup script (which isn't the case with Oracle-xe and MySQL), and absolutely no manual or info pages regarding Berkeley DB4!!!

How can i connect Java program to a database imported in DBMS if I can't even start Berkeley DB4 DBMS?

Sure would be grateful for some guidance on this issue.
Old 04-19-2008, 06:15 AM   #2
Registered: Jan 2005
Distribution: Archlinux, Debian, Centos
Posts: 219

Rep: Reputation: 33
BerkelyDB is an embedded database, ie. your programme shares the database handling API. That's why you can't start a BerkeleyDB.

RPM uses (or used) BerkeleyDB files to organize the packages, which you installed on your system. BerkeleyDB is developed by Sleepycat, which now belongs to oracle. You may find BerkelyDB in yum.

The normal installation should provide some tools to get/extract information from a DB file. I guess one is called:

Try 'man dbinfo' for a first impression.

The C/C++ or Java API should be documented anywhere in /usr/share/doc or /usr/share/BerkeleyDb (something like that)
Old 04-19-2008, 11:30 AM   #3
Registered: Sep 2005
Location: Serbia
Distribution: Centos 5.2-x86_64, Fedora 10, RHEL 5
Posts: 60

Original Poster
Rep: Reputation: 15
Yes, I've figured it out by myself by now... but thanks anyway.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
db4, libstdc++, and perl h3xis Linux - Software 0 01-01-2005 07:49 PM
Regarding db4 utils moorman Red Hat 1 09-28-2004 11:42 PM
rpm db4 error huno Linux - General 5 03-16-2004 12:49 PM
db4 error(16) billkris Linux - Software 9 10-12-2003 11:56 PM
db4 installation ekoome Red Hat 1 09-25-2003 02:39 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration