[osiris] Re: error in print-db

David Vasil dmvasil at ornl.gov
Tue May 30 09:54:43 EDT 2006


This patch I posted on Friday appears to work just fine for 4.2.0.  To
patch the osiris.c file copy the osiris.diff attached and do:

cd osiris-4.2.0/src/cli/
patch -p0 < osiris.diff

Then recompile and reinstall the osiris CLI.

osiris-4.2.0-release: host lappy486
!! error: unable to connect to host.
osiris-4.2.0-release: list-databases lappy486
This may take a while...

  [ name ]                        [ created ]

    1                               Tue May 30 09:41:57
  * 2                               Tue May 30 09:42:45

total: 2
(*) denotes the base database for this host.

osiris-4.2.0-release: print-db lappy486 1
This may take a while...

100% [========================================>] 2211840 bytes

    h) show database header.
    r) list file records.
    d) list file record details.
    m) list module records.
    x) list errors.
    q) quit

[lappy486:database: 1]: h

  DATABASE: 1

         status: complete
           host: lappy486
         config: default.linux (c8ce9c09)

         errors: 0
   file records: 2598
 system records: 119

  SCAN RESULTS:

            record type: UNIX1

      files encountered: 2598
          files scanned: 2598

   symlinks encountered: 447
      symlinks followed: 0

       files unreadable: 0
 directories unreadable: 0
    symlinks unreadable: 0

           scan started: Tue May 30 09:41:57 2006
          scan finished: Tue May 30 09:42:18 2006




    h) show database header.
    r) list file records.
    d) list file record details.
    m) list module records.
    x) list errors.
    q) quit

[lappy486:database: 1]: q

osiris-4.2.0-release: host lappy486
lappy486 is alive.  ( I restarted osirisd at this point )
osiris-4.2.0-release[lappy486]: print-db 1
This may take a while...

100% [========================================>] 2211840 bytes

    h) show database header.
    r) list file records.
    d) list file record details.
    m) list module records.
    x) list errors.
    q) quit

[lappy486:database: 1]: q
osiris-4.2.0-release[lappy486]:

-- 
| David Vasil <dmvasil at ornl.gov>
| Oak Ridge National Laboratory NCCS Division
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osiris.diff
Type: text/x-patch
Size: 1123 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/osiris/attachments/20060530/63989521/attachment.bin 


More information about the osiris mailing list