On Sun, 16 May 2004, Feczak Szabolcs wrote:

> Hi, 
> 
> I can't get the storage ready ... 
> Im trying to use this from freebsd ports.
> I have tried to create the storage with oops -z
> from scratch, and with dd as well, of course I did
> oops -z as well. I have read that only either Berkely
> or Gigabase can be used, not both. Even though I have
> commented out Berkely stuff from the config it was still
> loaded according to oopsctl stat, so I have moved the module
> out of the /usr/local/libexec/oops directory, which disabled
> it finally. Iit seems to be a problem that
> /home/oops/gdburl is not created...  
> Any help appreciated ....

Please, post complete startup message. Problem can be related to
problems with loading dynamic libraries, and this should be reported at
startup.

Another source of problems - file access permissions. Check if /home/oops
is accessible for "write" for the uid under which oops run.

> 
> More details about the system and stuff :
> 
> Actually uname says: 
> 
> FreeBSD fonix.sziriusz 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 
> GMT 2004     [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
> if any of interest ...
> 
> versions :
> oops-1.5.23
> gigabase-3.02
> 
> storage and db config:
> 
> storage {
>         path /home/oops/storage ;
>       size 20m ;
> 
> }
> 
> 
> module  gigabase_db {
> 
>       dbhome  /home/oops
>       dbname  gdburl
> }
> 
> format storage with:
> 
> oopsctl -xa -z -c /usr/local/etc/oops/oops.cfg
> 
> logged as:
> 
> Sun May 16 13:03:14 2004  [0x80ae000]do_format_storages(): Formatting storage /ho
> me/oops/storage for 20971520 bytes
> Sun May 16 13:03:21 2004  [0x80ae000]db_api_open()
> Sun May 16 13:03:21 2004  [0x80ae000]init_domain_name(): 1: host_name = `fonix.sz
> iriusz' domain_name = `.sziriusz'
> Sun May 16 13:03:21 2004  [0x80ae000]report_limits(): RLIMIT_DATA: 536870912
> Sun May 16 13:03:21 2004  [0x80ae000]report_limits(): RLIMIT_NOFILE: 957
> Sun May 16 13:03:21 2004  [0x80ae000]report_limits(): RLIMIT_CORE: 4294967295
> 
> file looks okay:
> 
> fonix# ls -ld /home/oops/storage
> -rw-r--r--  1 oops  wheel  20971520 May 16 12:46 /home/oops/storage
> 
> after start with oopsctl start
> Sun May 16 13:03:21 2004  [0x80bcc00]prep_storages(): Storages checked.
> 
> oopsctl stat says:
> 
> ## --  General info   --
> Version      : 1.5.23
> Uptime       : 771sec, (0day(s), 0hour(s), 12min(s))
> Last update  : Sun May 16 13:00:01 2004
> Clients      : 0 (max: 0)
> HTTP requests: 118
> ICP  requests: 0
> Total hits   : 1
> Curr.req.rate: 0.00 req/sec (max: 1.42)
> Tot.req.rate : 0.15 req/sec
> Curr.hit.rate: 0.00 %
> Tot.hit.rate : 0.85 %
> Curr.icp.rate: 0.00 req/sec (max: 0.00)
> ## --       CPU       --
> Total usage  : 3556ms
> Delta usage  : 198ms
> Delta time   : 61000ms
> Curr. CPU    : 0.32 % (0.02s+0.30u)
> Aver. CPU    : 0.46 % (0.12s+0.34u)
> ## --    storages     --
> Disks msg    : Storages checked
> Storage      : /home/oops/storage
> Size         : 20.00 MB
> Free blks    : 0 blks (0.00Mb) 0.00 %
> State        : NOT_READY
> Fileno       : -1
> ## -- end of storages --
> ## --     modules     --
> accel         WWW-accelerator (URL redirector)
> CustomLog     Customized access log. (Log recording)
> err           Error reporting module (Error reporting)
> fastredir     Fast Substring URL Redirector (URL redirector)
> gigabase_db   GigaBASE 3.2 API (DB Interface)
> DummyLog      Dummy logging module (Log recording)
> netflow       Netflow  access log. (Log recording)
> oopsctl       Oops controlling module (Independent port listener)
> pam           Auth using PAM (Authentication)
> passwd_file   Auth using passwd file (Authentication)
> redir         Regex URL Redirector (URL redirector)
> transparent   Transparent proxy (URL redirector)
> ## -- end of modules  --
> ## --    icp peers    --
> ## -- end of icp peers--
> 
> 
> -- 
>   _(_)_
>  (_. o_)            F3CZ0
>    (_,)     http://feczo.nmi.rulez.org
>   (    )    __________________________
>   // //
> 
> =====================================================================
> 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/
> 

Igor Khasilev                     |
PACO Links, igor at paco dot net  |

=====================================================================
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/

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