On Thu, 28 Sep 2000, Igor Khasilev wrote:
> Trere was one plan - to complete russian version, then translate. But if
> somebody can translate "synchronously" then this would be fine.
Maybe possible, I'll look for it.
> This would be fixed (done already), so everything will work as supposed
> without changes in procedure or config.
Do you mean (one of) the next version?
> > other, that I mentioned, the
> > "Wed Sep 27 19:59:16 2000 [0x402]check_storage(): Can't create cursor for
> > checking." bug.
>
> Check if /var/spool/oops/DB/dburl is not Gigabase index. then check that
> berkeley_db module was loaded successfully, then - if
> /var/spool/oops/DB/dburl can be opened by userid you use in oops.cfg (if
> applicable). Anyway, verbose startup info can give a hint.
Of course not, it is a berkeley. The oops runs, and says:
RLIMIT_DATA changed to maximum: 4294967295
RLIMIT_NOFILE changed to maximum: 8196
RLIMIT_NPROC changed to maximum: 4294967295
Loading modules from /usr/lib/oops
Loading module /usr/lib/oops/accel.so
Module: WWW-accelerator (Redirect module)
Insert module 'accel'
Accel started
Loading module /usr/lib/oops/berkeley_db_api.so
Module: BerkeleyDB API (DB API)
Insert module 'berkeley_db'
berkeley_db started
Loading module /usr/lib/oops/custom_log.so
Module: Customized access log. (Logger)
CustomLog started
Insert module 'CustomLog'
CustomLog started
Loading module /usr/lib/oops/err.so
Module: Error reporting module (Error handling)
Insert module 'err'
Err_report started
Loading module /usr/lib/oops/fastredir.so
Module: Fast Substring URL Redirector (Redirect module)
Insert module 'fastredir'
fast redirector started
Loading module /usr/lib/oops/gigabase_db_api.so
Module: GigaBASE API (DB API)
Insert module 'gigabase_db'
Loading module /usr/lib/oops/lang.so
Module: National languages handling module (Output module)
Insert module 'lang'
Lang started
Loading module /usr/lib/oops/log_dummy.so
Module: Dummy logging module (Logger)
Dummy logger started
Insert module 'DummyLog'
Dummy logger started
Loading module /usr/lib/oops/oopsctl_mod.so
Module: Oops controlling module (Listener module)
Insert module 'oopsctl'
Oopsctl started
Loading module /usr/lib/oops/passwd_file.so
Module: Auth using passwd file (Auth module)
Insert module 'passwd_file'
Passwd_file started
Loading module /usr/lib/oops/redir.so
Module: Regex URL Redirector (Redirect module)
Insert module 'redir'
Redirector started
Loading module /usr/lib/oops/transparent.so
Module: Transparent proxy (Redirect module)
Insert module 'transparent'
Transparent started
Loading module /usr/lib/oops/vary_header.so
Module: Processing 'Vary:' header (Headers match module)
Insert module 'vary'
Vary: started
Making logfile /var/log/oops/oops.log unbuffered.
Making accesslog /var/log/oops/access.log unbuffered.
Named ACL ADMINS src_ip 127.0.0.1
DATA: ADMINS src_ip 127.0.0.1
Named ACL PURGE method PURGE
DATA: PURGE method PURGE
acl->data: `PURGE'
Setting Language to `ru'
Parser returned 0, 0 errors found
BerkeleyDB interface
BerkeleyDB opened successfully
worker(): New worker started
worker(): New worker started
...
and the related oops.log:
Thu Sep 28 10:14:47 2000 [0x400]do_format_storages(): Formatting storage
/var/spool/oops/storages/oops_storage for 20971520 bytes
Thu Sep 28 10:15:18 2000 [0x400]open_db(): db_open(dburl): 22 Success
Thu Sep 28 10:15:18 2000 [0x400]init_domain_name(): 4: host_name =
`alabama' domain_name = `.(none)'
Thu Sep 28 10:15:18 2000 [0x400]report_limits(): RLIMIT_DATA: 4294967295
Thu Sep 28 10:15:18 2000 [0x400]report_limits(): RLIMIT_NOFILE: 8196
Thu Sep 28 10:15:18 2000 [0x400]report_limits(): RLIMIT_CORE: 0
Thu Sep 28 10:15:18 2000 [0x400]report_limits(): RLIMIT_NPROC: 4294967295
Thu Sep 28 10:15:18 2000 [0x400]main(): oops 1.4.18 Started.
Thu Sep 28 10:15:18 2000 [0x400]run(): http_listen on descriptor 29
Thu Sep 28 10:15:18 2000 [0x400]run(): icp_listen on descriptor 30
Thu Sep 28 10:15:18 2000 [0x400]Starting threads
Thu Sep 28 10:15:18 2000 [0x402]check_storage(): Checking storage
/var/spool/oops/storages/oops_storage
Thu Sep 28 10:15:18 2000 [0x402]check_storage(): Super: 5120 total
Thu Sep 28 10:15:18 2000 [0x402]check_storage(): 5118 free
Thu Sep 28 10:15:18 2000 [0x402]check_storage(): 4096 blk size
Thu Sep 28 10:15:18 2000 [0x402]check_storage(): bdcdada - magic
Thu Sep 28 10:15:18 2000 [0x402]check_storage(): Read map.
Thu Sep 28 10:15:18 2000 [0x402]check_storage(): Done.
Thu Sep 28 10:15:18 2000 [0x402]check_storage(): Can't create cursor for
checking.
Thu Sep 28 10:15:18 2000 [0x402]prep_storages(): Storages checked.
Thu Sep 28 10:15:18 2000 [0x1004]rotate_logs(): Log rotator started.
As You mentioned now it runs as a root (commented userid token), but
anyway - of course - the proxy user can reach and write the DB directory.
I hope this can help You somehow.
>
> >
> > part of the config file:
> >
> > module berkeley_db {
> > dbhome /var/spool/oops/DB
> > dbname dburl
> > }
> >
> > and the /var/spool/oops/DB is empty.
> > It seems that is the main problem, but when has to be filled up the dburl
> > file? so what does the config/code need to be fixed?
--
VWOL
Tamas SZERB <[EMAIL PROTECTED]>
GPG public key: http://alabama.inf.elte.hu/~toma/gpgkey.asc
PGP public key: http://alabama.inf.elte.hu/~toma/pgpkey.asc
=====================================================================
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://www.paco.net/oops/