From cynical.nihilist at gmail.com Mon Mar 3 00:05:25 2008 From: cynical.nihilist at gmail.com (Cynical Nihilist) Date: Mon Mar 3 00:05:30 2008 Subject: Examples Message-ID: <47CB39FE.9050204@gmail.com> Is there a place where I could find examples to work with db.h? Thanks From rink at freebsd.org Fri Mar 7 14:56:22 2008 From: rink at freebsd.org (Rink Springer) Date: Fri Mar 7 14:56:36 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> Message-ID: <20080307143946.GI90443@rink.nu> Hi, On Fri, Mar 07, 2008 at 04:36:56PM +0200, Adrian Penisoara wrote: > After having to deploy an Oracle Database XE [1] installation (with Linux > 32bit binaries from the official RPM package) on a production FreeBSD > 6.2machine I realized it would be very much feasible to produce a > FreeBSD > port/package for it. > I would like to know whether similar efforts have been undergoing and > whether people came up with some tips & tricks on this. We run Oracle XE on two FreeBSD 6.3 machines at work - we've just manually set it up, but are very interested in a port of it. We did the same as you basically - just uncompress it and move the files in place. Regards, -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From ady at freebsd.ady.ro Fri Mar 7 15:02:51 2008 From: ady at freebsd.ady.ro (Adrian Penisoara) Date: Fri Mar 7 15:02:54 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? Message-ID: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> Hi, After having to deploy an Oracle Database XE [1] installation (with Linux 32bit binaries from the official RPM package) on a production FreeBSD 6.2machine I realized it would be very much feasible to produce a FreeBSD port/package for it. I would like to know whether similar efforts have been undergoing and whether people came up with some tips & tricks on this. The goal is not only to add the port into FreeBSD's ports tree but also to eventually convince Oracle (I work for them) to post the package on their official download page. [1] http://www.oracle.com/technology/products/database/xe/index.html Thank you for your time and help, Adrian Penisoara ROFUG / EnterpriseBSD From ivoras at freebsd.org Fri Mar 7 15:25:13 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Fri Mar 7 15:25:20 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <20080307143946.GI90443@rink.nu> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> <20080307143946.GI90443@rink.nu> Message-ID: Rink Springer wrote: > Hi, > > On Fri, Mar 07, 2008 at 04:36:56PM +0200, Adrian Penisoara wrote: >> After having to deploy an Oracle Database XE [1] installation (with Linux >> 32bit binaries from the official RPM package) on a production FreeBSD >> 6.2machine I realized it would be very much feasible to produce a >> FreeBSD >> port/package for it. >> I would like to know whether similar efforts have been undergoing and >> whether people came up with some tips & tricks on this. > > We run Oracle XE on two FreeBSD 6.3 machines at work - we've just > manually set it up, but are very interested in a port of it. We did > the same as you basically - just uncompress it and move the files in > place. Could any of you write a short HOWTO article, either for the "official" articles section or for the wiki (or both...)? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-database/attachments/20080307/02b8efb9/signature.pgp From Alexander at Leidinger.net Fri Mar 7 15:30:57 2008 From: Alexander at Leidinger.net (Alexander Leidinger) Date: Fri Mar 7 15:31:02 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> Message-ID: <20080307161415.g9vgql0xcscgkkco@webmail.leidinger.net> Quoting Adrian Penisoara (from Fri, 7 Mar 2008 16:36:56 +0200): > Hi, > > After having to deploy an Oracle Database XE [1] installation (with Linux > 32bit binaries from the official RPM package) on a production FreeBSD > 6.2machine I realized it would be very much feasible to produce a > FreeBSD > port/package for it. > I would like to know whether similar efforts have been undergoing and > whether people came up with some tips & tricks on this. > > The goal is not only to add the port into FreeBSD's ports tree but also to > eventually convince Oracle (I work for them) to post the package on their > official download page. I'm not aware of something like this. Feel free to ask questions regarding the linuxulator and our linux infrastructure in the ports on emulation@. Also feel free to ask for review of the port on emulation@. Bye, Alexander. -- Security isn't. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From ady at ady.ro Fri Mar 7 15:31:26 2008 From: ady at ady.ro (Adrian Penisoara) Date: Fri Mar 7 15:31:37 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> <20080307143946.GI90443@rink.nu> Message-ID: <78cb3d3f0803070731n4f7b4cedu33c88e9ae8e6c175@mail.gmail.com> Hi, On Fri, Mar 7, 2008 at 5:17 PM, Ivan Voras wrote: > Rink Springer wrote: > > Hi, > > > > On Fri, Mar 07, 2008 at 04:36:56PM +0200, Adrian Penisoara wrote: > >> After having to deploy an Oracle Database XE [1] installation (with > Linux > >> 32bit binaries from the official RPM package) on a production FreeBSD > >> 6.2machine I realized it would be very much feasible to produce a > >> FreeBSD > >> port/package for it. > >> I would like to know whether similar efforts have been undergoing and > >> whether people came up with some tips & tricks on this. > > > > We run Oracle XE on two FreeBSD 6.3 machines at work - we've just > > manually set it up, but are very interested in a port of it. We did > > the same as you basically - just uncompress it and move the files in > > place. > > Could any of you write a short HOWTO article, either for the "official" > articles section or for the wiki (or both...)? > > Let's not forget about the Oracle 8i installation section in the FreeBSD Handbook [1] which could surely benefit from updating (8i is desupported since a ling time). I would be glad to help (re)writing such stuff, as time permits. [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-oracle.html Regards, Adrian Penisoara ROFUG / EnterpriseBSD From jka at alum.howard.edu Fri Mar 7 16:29:01 2008 From: jka at alum.howard.edu (Jonathan Adams) Date: Fri Mar 7 16:29:05 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <20080307143946.GI90443@rink.nu> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> <20080307143946.GI90443@rink.nu> Message-ID: <36b1573d0803070812m527c6b7y2d37441cdbd344e5@mail.gmail.com> I am defnitely interested in helping in this area if needed. A couple of years ago, I struggled mightily trying to get Oracle running on 5.1 On Fri, Mar 7, 2008 at 9:39 AM, Rink Springer wrote: > Hi, > > > On Fri, Mar 07, 2008 at 04:36:56PM +0200, Adrian Penisoara wrote: > > After having to deploy an Oracle Database XE [1] installation (with Linux > > 32bit binaries from the official RPM package) on a production FreeBSD > > 6.2machine I realized it would be very much feasible to produce a > > FreeBSD > > port/package for it. > > I would like to know whether similar efforts have been undergoing and > > whether people came up with some tips & tricks on this. > > We run Oracle XE on two FreeBSD 6.3 machines at work - we've just > manually set it up, but are very interested in a port of it. We did > the same as you basically - just uncompress it and move the files in > place. > > Regards, > > -- > Rink P.W. Springer - http://rink.nu > "Anyway boys, this is America. Just because you get more votes doesn't > mean you win." - Fox Mulder > > > _______________________________________________ > freebsd-database@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-database > To unsubscribe, send any mail to "freebsd-database-unsubscribe@freebsd.org" > -- ___________________________ Jon Adams web: http://www.scis.nova.edu/~jonaadam mail: keirre.adams@gmail.com --------------------------------------------- "Strength does not come from physical capacity. It comes from an indomitable will." - Mohandas Gandhi From itetcu at FreeBSD.org Fri Mar 7 17:04:13 2008 From: itetcu at FreeBSD.org (Ion-Mihai Tetcu) Date: Fri Mar 7 17:04:18 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <20080307161415.g9vgql0xcscgkkco@webmail.leidinger.net> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> <20080307161415.g9vgql0xcscgkkco@webmail.leidinger.net> Message-ID: <20080307184427.5a005ef9@it.buh.tecnik93.com> On Fri, 07 Mar 2008 16:14:15 +0100 Alexander Leidinger wrote: > Quoting Adrian Penisoara (from Fri, 7 Mar 2008 > 16:36:56 +0200): > > > Hi, > > > > After having to deploy an Oracle Database XE [1] installation > > (with Linux 32bit binaries from the official RPM package) on a > > production FreeBSD 6.2machine I realized it would be very much > > feasible to produce a FreeBSD > > port/package for it. > > I would like to know whether similar efforts have been undergoing > > and whether people came up with some tips & tricks on this. > > > > The goal is not only to add the port into FreeBSD's ports tree but > > also to eventually convince Oracle (I work for them) to post the > > package on their official download page. > > I'm not aware of something like this. Feel free to ask questions > regarding the linuxulator and our linux infrastructure in the ports > on emulation@. Also feel free to ask for review of the port on > emulation@. I've worked on such a port (probably that's what ady is referring to) but kinda' lost my interest in it ($REALLIFE got in the way). I'll try to find it (it was about 80% done) but I'm not sure it survived the clean-up sessions of my tmp/work dir (I don't know why I didn't ci it in our cvs ...). I'll work with Ady if he need help. Ady, BTW, after we have the port and, with some test cases provided by people that run it, can we hope for any kind of (semi-)official support ? -- IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-database/attachments/20080307/765e46c1/signature.pgp From ady at freebsd.ady.ro Fri Mar 7 19:22:04 2008 From: ady at freebsd.ady.ro (Adrian Penisoara) Date: Fri Mar 7 19:22:08 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <20080307184427.5a005ef9@it.buh.tecnik93.com> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> <20080307161415.g9vgql0xcscgkkco@webmail.leidinger.net> <20080307184427.5a005ef9@it.buh.tecnik93.com> Message-ID: <78cb3d3f0803071122s74ef2075p8b5f761dd5e8b0ad@mail.gmail.com> Hi, On Fri, Mar 7, 2008 at 6:44 PM, Ion-Mihai Tetcu wrote: > On Fri, 07 Mar 2008 16:14:15 +0100 > Alexander Leidinger wrote: > > > Quoting Adrian Penisoara (from Fri, 7 Mar 2008 > > 16:36:56 +0200): > > > > > Hi, > > > > > > After having to deploy an Oracle Database XE [1] installation > > > (with Linux 32bit binaries from the official RPM package) on a > > > production FreeBSD 6.2machine I realized it would be very much > > > feasible to produce a FreeBSD > > > port/package for it. > > > I would like to know whether similar efforts have been undergoing > > > and whether people came up with some tips & tricks on this. > > > > > > The goal is not only to add the port into FreeBSD's ports tree but > > > also to eventually convince Oracle (I work for them) to post the > > > package on their official download page. > > > > I'm not aware of something like this. Feel free to ask questions > > regarding the linuxulator and our linux infrastructure in the ports > > on emulation@. Also feel free to ask for review of the port on > > emulation@. > > I've worked on such a port (probably that's what ady is referring to) > but kinda' lost my interest in it ($REALLIFE got in the way). > > I'll try to find it (it was about 80% done) but I'm not sure it > survived the clean-up sessions of my tmp/work dir (I don't know why I > didn't ci it in our cvs ...). > > I'll work with Ady if he need help. > > Ady, BTW, after we have the port and, with some test cases provided by > people that run it, can we hope for any kind of (semi-)official > support ? > Not so fast (TM) :-). 1). I am talking about the Oracle XE package for which Oracle does not offer any commercial support (except for Forum discussions). 2). Usually everything comes down to business cases and business opportunities. So I think we will need to demonstrate a large userbase in order to get attention. I think we should be happy if an Oracle XE FreeBSD package will make it onto the downloads page in the first place. 3) Oracle EE / SE editions are indeed the big guns on the enterprise database market, but until there are some more steps. And Oracle does not use a packaging format for these, OUI (Oracle Universal Installer) is the designated tool to use. Note: The above represent solely my personal opinions, I do not speak on behalf of my employer (Oracle). Regards, Adrian Penisoara ROFUG / EnterpriseBSD. From ivoras at freebsd.org Fri Mar 7 20:32:05 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Fri Mar 7 20:32:09 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <78cb3d3f0803070731n4f7b4cedu33c88e9ae8e6c175@mail.gmail.com> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> <20080307143946.GI90443@rink.nu> <78cb3d3f0803070731n4f7b4cedu33c88e9ae8e6c175@mail.gmail.com> Message-ID: <9bbcef730803071205p6bd5db13qb6484839e4c8bbc1@mail.gmail.com> On 07/03/2008, Adrian Penisoara wrote: > Let's not forget about the Oracle 8i installation section in the FreeBSD > Handbook [1] which could surely benefit from updating (8i is desupported > since a ling time). I would be glad to help (re)writing such stuff, as time > permits. > > [1] > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu-oracle.html I cannot contribute since I don't use Oracle (I'm interested because running Oracle is a sort-of rite of passage - people look at an OS differently if it can run Oracle :) ), but I can do a part of the logistics - I can put the resulting text in the official wiki, find someone to convert it and add to the handbook, etc. From itetcu at FreeBSD.org Fri Mar 7 20:42:57 2008 From: itetcu at FreeBSD.org (Ion-Mihai Tetcu) Date: Fri Mar 7 20:43:02 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <78cb3d3f0803071122s74ef2075p8b5f761dd5e8b0ad@mail.gmail.com> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> <20080307161415.g9vgql0xcscgkkco@webmail.leidinger.net> <20080307184427.5a005ef9@it.buh.tecnik93.com> <78cb3d3f0803071122s74ef2075p8b5f761dd5e8b0ad@mail.gmail.com> Message-ID: <20080307224249.5e1a46db@it.buh.tecnik93.com> On Fri, 7 Mar 2008 21:22:02 +0200 "Adrian Penisoara" wrote: [ .. ] > > Ady, BTW, after we have the port and, with some test cases provided > > by people that run it, can we hope for any kind of (semi-)official > > support ? > > > > Not so fast (TM) :-). > > 1). I am talking about the Oracle XE package for which Oracle does > not offer any commercial support (except for Forum discussions). > > 2). Usually everything comes down to business cases and business > opportunities. So I think we will need to demonstrate a large > userbase in order to get attention. I think we should be happy if an > Oracle XE FreeBSD package will make it onto the downloads page in the > first place. Yep, this is what I was thinking about for the beginning at least. -- IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-database/attachments/20080307/2dbbeede/signature.pgp From saper at system.pl Fri Mar 7 22:20:06 2008 From: saper at system.pl (Marcin Cieslak) Date: Fri Mar 7 22:20:12 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <78cb3d3f0803071122s74ef2075p8b5f761dd5e8b0ad@mail.gmail.com> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> <20080307161415.g9vgql0xcscgkkco@webmail.leidinger.net> <20080307184427.5a005ef9@it.buh.tecnik93.com> <78cb3d3f0803071122s74ef2075p8b5f761dd5e8b0ad@mail.gmail.com> Message-ID: <47D1BEAD.2020407@system.pl> Adrian Penisoara wrote: > 2). Usually everything comes down to business cases and business > opportunities. So I think we will need to demonstrate a large userbase in > order to get attention. I think we should be happy if an Oracle XE FreeBSD > package will make it onto the downloads page in the first place. I can give you one business case: During election observation mission in 2007 an Oracle XE installation I've had (just for test) on my FreeBSD notebook saved my (election) day and allowed me to analyze and verify election results - and this is a Big Thing(tm). > 3) Oracle EE / SE editions are indeed the big guns on the enterprise > database market, but until there are some more steps. And Oracle does not > use a packaging format for these, OUI (Oracle Universal Installer) is the > designated tool to use. OUI is difficult to run, it's usually easier to setup a database without it. Fortunately XE does not need one at all. There are scripts out there that perform database creation end-to-end and I think they should be included in the port. --Marcin From ady at freebsd.ady.ro Sat Mar 8 11:09:43 2008 From: ady at freebsd.ady.ro (Adrian Penisoara) Date: Sat Mar 8 11:09:46 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <47D1BEAD.2020407@system.pl> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> <20080307161415.g9vgql0xcscgkkco@webmail.leidinger.net> <20080307184427.5a005ef9@it.buh.tecnik93.com> <78cb3d3f0803071122s74ef2075p8b5f761dd5e8b0ad@mail.gmail.com> <47D1BEAD.2020407@system.pl> Message-ID: <78cb3d3f0803080309q311301dm3baf6bad2a70b0ac@mail.gmail.com> Hi, On Sat, Mar 8, 2008 at 12:16 AM, Marcin Cieslak wrote: > Adrian Penisoara wrote: > > 2). Usually everything comes down to business cases and business > > opportunities. So I think we will need to demonstrate a large userbase > in > > order to get attention. I think we should be happy if an Oracle XE > FreeBSD > > package will make it onto the downloads page in the first place. > > I can give you one business case: > > During election observation mission in 2007 an Oracle XE installation > I've had (just for test) on my FreeBSD notebook saved my (election) day > and allowed me to analyze and verify election results - and this is a > Big Thing(tm). Well, this sort of stories really ought to be told and heard around. Have you considered writing a short story or even a news article on this topic (I guess there are good places where you could submit it) ? > > > > 3) Oracle EE / SE editions are indeed the big guns on the enterprise > > database market, but until there are some more steps. And Oracle does > not > > use a packaging format for these, OUI (Oracle Universal Installer) is > the > > designated tool to use. > > OUI is difficult to run, it's usually easier to setup a database without > it. Fortunately XE does not need one at all. There are scripts out there > that perform database creation end-to-end and I think they should be > included in the port. > > Right. I will be extracting the RPM specs file to form the package installation script. I'm not sure whether the debian scripts have something better. Regards, Adrian Penisoara ROFUG / EnterpriseBSD From saper at system.pl Sat Mar 8 13:33:20 2008 From: saper at system.pl (Marcin Cieslak) Date: Sat Mar 8 13:33:24 2008 Subject: Preparing an Oracle Database XE port/package -- any tips ? In-Reply-To: <78cb3d3f0803080309q311301dm3baf6bad2a70b0ac@mail.gmail.com> References: <78cb3d3f0803070636l38ca7683t24235efd8f989c67@mail.gmail.com> <20080307161415.g9vgql0xcscgkkco@webmail.leidinger.net> <20080307184427.5a005ef9@it.buh.tecnik93.com> <78cb3d3f0803071122s74ef2075p8b5f761dd5e8b0ad@mail.gmail.com> <47D1BEAD.2020407@system.pl> <78cb3d3f0803080309q311301dm3baf6bad2a70b0ac@mail.gmail.com> Message-ID: <47D2958D.4040707@system.pl> Adrian Penisoara wrote: > Hi, (dropping -isp) >> During election observation mission in 2007 an Oracle XE installation >> I've had (just for test) on my FreeBSD notebook saved my (election) day >> and allowed me to analyze and verify election results - and this is a >> Big Thing(tm). > > > Well, this sort of stories really ought to be told and heard around. Have > you considered writing a short story or even a news article on this topic (I > guess there are good places where you could submit it) ? This is not always easy. You need to observe state secrets of a host country plus some special requirements in a highly political environment. I will try my best anyway. > Right. I will be extracting the RPM specs file to form the package > installation script. > I'm not sure whether the debian scripts have something better. Go for install.sh on the http://wiki.bsdportal.ru/doc:oraclexe_on_freebsd instead. Worked for me like a charm. (The kernel patches mentioned in the article are already incorporated). --Marcin