Hi,

I have a problem with the storage file of oops.  I'll try
to explain exactly what I did and what is happening ...

Today I installed oops 1.5.22 on FreeBSD.  I used the
standard FreeBSD port, nothing special.  It presented me
with a menu to select one from several databases (GigaBase,
DB4, MySQL, PgSQL, PCRE).  I wasn't sure what is best, so
I simply chose "DB4".  Installation went without errors.
oops -V says this:

oops version 1.5.22
CC=cc
CFLAGS=-O -pipe  -I/usr/local/include/db4 -I/usr/local/include -pthread -D_REENTRANT 
-DFREEBSD -D_THREAD_SAFE -DFD_SETSIZE=2048 -DWITH_LARGE_FILES
LIBS=-lc_r -lfl -lpam  -lcrypt  -L/usr/local/lib -ldb4

I copied the sample oops.cfg and edited it a bit.  Then I
created a storage file with dd (1 Gbyte) and formatted it
with oops -z.  It looks like this:

-rw-r--r--  1 oops  wheel  1073741824 May 25 01:39 /backup/oops_storage

When I start oops, everything works -- it accepts requests,
stores data in memory -- BUT it never touches the storage
file.  lsof shows that it doesn't even seem to open it.
oopsctl stat says this:

## --    storages     --
Disks msg    : Storages checked
Storage      : /backup/oops_storage
Size         : 1024.00 MB
Free blks    : 0 blks (0.00Mb) 0.00 %
State        : NOT_READY
Fileno       : -1

This is what I get in the logfile from running oops with
the -xa switch:

Sat May 25 01:39:42 2002  [0x80af000]do_format_storages(): Formatting storage 
/backup/oops_storage for 1073741824 bytes
Sat May 25 01:40:02 2002  [0x80af000]init_domain_name(): 1: host_name = 
`testbox.bastelnetz.intern' domain_name = `.bastelnetz.intern'
Sat May 25 01:40:02 2002  [0x80af000]my_gethostbyname(): DNS rq sent.
Sat May 25 01:40:02 2002  [0x80af400]prep_storages(): Storages checked.
Sat May 25 01:40:02 2002  [0x80af000]my_gethostbyname(): got 107 bytes answer
Sat May 25 01:40:02 2002  [0x80af000]my_gethostbyname(): Put 1 answers in dns_cache
Sat May 25 01:40:02 2002  [0x80af000]my_gethostbyname(): Done...
Sat May 25 01:40:02 2002  [0x80af000]main(): Binding to testbox.bastelnetz.intern 
enabled.
Sat May 25 01:40:02 2002  [0x80af000]report_limits(): RLIMIT_DATA: 536870912
Sat May 25 01:40:02 2002  [0x80af000]report_limits(): RLIMIT_NOFILE: 3722
Sat May 25 01:40:02 2002  [0x80af000]report_limits(): RLIMIT_CORE: 4294967295
Sat May 25 01:40:02 2002  [0x80af000]main(): oops 1.5.22 Started.
Sat May 25 01:40:02 2002  [0x80af000]run(): http_listen on descriptor 29
Sat May 25 01:40:02 2002  [0x80af000]run(): icp_listen on descriptor 30
Sat May 25 01:40:02 2002  [0x80af000]Starting threads
Sat May 25 01:40:02 2002  [0x80af400]Statistics started.
Sat May 25 01:40:02 2002  [0x80ef000]Garbage collector started.
Sat May 25 01:40:02 2002  [0x80ef400]Garbage drop started.
Sat May 25 01:40:02 2002  [0x80ef800]Log rotator started.
Sat May 25 01:40:02 2002  [0x80efc00]Clean disk started.
Sat May 25 01:40:02 2002  [0x80f0000]Eraser started.
Sat May 25 01:40:03 2002  [0x80ef000]garbage_collector(): 1 dns hash entries.
Sat May 25 01:40:03 2002  [0x80ef000]flush_mem_cache(): Start.
Sat May 25 01:40:03 2002  [0x80ef000]flush_mem_cache(): Done
Sat May 25 01:40:05 2002  [0x80ef400]drop_mem_cache() : Start.
Sat May 25 01:40:05 2002  [0x80ef400]drop_mem_chache() : total_size: 0MB, 
current_swap_size: 0MB.
Sat May 25 01:40:05 2002  [0x80ef400]drop_mem_chache() : no need.

Does anyone have an idea what's going on?  I don't know how
to proceed from here.  Is there anything I can do to track
that problem down?

Thankyou very much in advance!

Best regards
   Oliver Fromme

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 M�nchen
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)
=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
Archive is accessible on http://lists.paco.net/oops-eng/

Дати відповідь електронним листом