Re: Oracle, anyone?

2005-12-05 Thread Dennis S.Davidoff
Monday, December 5, 2005, 12:49:21 AM, you wrote:

FP Has anyone got Oracle 10g working on OpenBSD 3.8?

FP What is the general consensus of running Oracle on OpenBSD?

Bad idea, use Linux instead.
Incidentally, I ask audience, have anyone port oracle7 client (API)
like in FreeBSD? :) I don't need Oracle on OpenBSD, but an libraries
to build perl DBD::Oracle. I've got oracle7 from FreeBSD and install
DBD::Oracle, but after that I've got a problem while running script
that only connects to Oracle:

/usr/bin/perl:
/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBD/Oracle/Oracle.so: 
can't resolve reference '_DefaultRuneLocale'
/usr/bin/perl:
/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/DBD/Oracle/Oracle.so: 
can't resolve reference '_CurrentRuneLocale'
Segmentation fault (core dumped)

-- 
Sincerely,
Dennis



Re: tshirtcd store code

2005-11-30 Thread Dennis S.Davidoff
Wednesday, November 30, 2005, 12:37:15 PM, you wrote:

JL The OpenBSD On-Line Ordering software, aka the code for 
JL https.openbsd.org/cgi-bin/order is nice and minimal.
JL Who wrote it? Is it available for download and adaptation?

JL jake

SpongiForm, Bob Beck :)

-- 
Sincerely,
Dennis



Community policy in openbgpd

2005-11-23 Thread Dennis S.Davidoff
Hello all!

Could someone show examples of complex community policy in openbgpd?

-- 
Sincerely,
Dennis



Re: RAIDFrame, failed component

2005-11-17 Thread Dennis S.Davidoff
Wednesday, November 16, 2005, 11:35:16 PM, you wrote:

KBK Dennis S.Davidoff [EMAIL PROTECTED] writes:

 How to reconfigure RAIDFrame to use another hdd? Earler I have such
 configuration with NON-existent hdd (wd2):

 ...
 START disks
 /dev/wd1e
 /dev/wd2e
 ...

 Now, I need to replace non-existent wd2e with wd0e. Disklabel for wd0
 identical to wd1e. After reading raidctl(8) I did following:

 raidctl -a /dev/wd0e raid0
 raidctl -vF component1 raid0
 raidctl -P raid0

 Again after reboot I've got failed ``component1':

 # raidctl -vs raid0
 raid0 Components:
/dev/wd1e: optimal
   component1: failed
 No spares.

KBK It seems you weren't successful in adding wd0e as a spare.  But if you
KBK were,

KBK raidctl -r /dev/wd0e raid0

KBK to remove it.

KBK Modify your raid0.conf:
KBK START disks
KBK /dev/wd1e
KBK /dev/wd0e
KBK ...

KBK raidctl -Rv /dev/wd0e raid0
KBK raidctl -Pv raid0

KBK to reconstruct directly onto wd0e.

KBK I'm not sure what to make of 'component1'.  It's not an explicit
KBK device, did you use that string your raid0.conf?  The first slot in
KBK these commands should refer to an explicit device.

# raidctl -vF component1 raid0
# raidctl -vP raid0
# raidctl -s raid0
raid0 Components:
   /dev/wd1e: optimal
  component1: spared
Spares:
   /dev/wd0e: used_spare
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
# raidctl -r /dev/wd0e raid0
# cat /etc/raid0.conf
START array
1 2 0

START disks
/dev/wd1e
/dev/wd0e

START layout
128 1 1 1

START queue
fifo 100
# raidctl -Rv /dev/wd0e raid0  
raidctl: ioctl (RAIDFRAME_GET_INFO) failed
# raidctl -Pv raid0
raid0: Parity status: clean
# raidctl -sv raid0
raid0 Components:
   /dev/wd1e: optimal
  component1: spared
Spares:
   /dev/wd0e: used_spare
Component label for /dev/wd1e:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 777, Mod Counter: 348
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 156038272
   RAID Level: 1
   Autoconfig: Yes
   Root partition: Yes
   Last configured as: raid0
component1 status is: spared.  Skipping label.
raidctl: ioctl (RAIDFRAME_GET_COMPONENT_LABEL) failed
# 

-- 
Sincerely,
Dennis



RAIDFrame, failed component

2005-11-16 Thread Dennis S.Davidoff
Hi all.

How to reconfigure RAIDFrame to use another hdd? Earler I have such
configuration with NON-existent hdd (wd2):

...
START disks
/dev/wd1e
/dev/wd2e
...

Now, I need to replace non-existent wd2e with wd0e. Disklabel for wd0
identical to wd1e. After reading raidctl(8) I did following:

raidctl -a /dev/wd0e raid0
raidctl -vF component1 raid0
raidctl -P raid0

Again after reboot I've got failed ``component1':

# raidctl -vs raid0
raid0 Components:
   /dev/wd1e: optimal
  component1: failed
No spares.
Component label for /dev/wd1e:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 777, Mod Counter: 329
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 156038272
   RAID Level: 1
   Autoconfig: Yes
   Root partition: Yes
   Last configured as: raid0
component1 status is: failed.  Skipping label.
Parity status: DIRTY
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
#

What's wrong? How to replace invalid component wd2e with wd0e?
Thanks for any advice.

-- 
Sincerely,
Dennis