RFUTIL help please

Anne-Marie

New Member
Hi

I'm new to Progress and the Database administration tools, however, I need to get to grips with it pretty quickly and find out what is already installed on the Database I need to provide support for which includes backup/recovery.

Progress - 10.01c on a Unix platform.

I am aware of the importance of having the AI installed/enabled and what a difference this can made as far as Disaster Recover goes. However I seem to have fallen over at the first hurdle, so to speak and am having trouble running the RFUTIL command to find out if AI is enabled.

I know where the RFUTIL command resides and I have discovered that I needed to export the path for this and for where the Database itself resides.

However I am now getting the following errors

stat() failed on both /coins.lk and , errno = 2. (2607)
stat() failed on both /coins.db and , errno = 2. (2607)

Can anyone give me any advice as to what I have missed or is wrong please.


Thanks
Anne-Marie
 
How about show the actual command being executed.
Show the value for $DLC and $PATH
Remember to check the online kb at progress website.
 
There is a script that comes with the Progress/OpenEdge installation which will set the basic necessary environment so that you can execute the commands: proenv

It's located in $DLC/bin where $DLC stands for your installation directory.


HTH, RealHeavyDude.
 
Hi

Thanks for the help so far.

To answer first question the complete sequence was:

export PATH=$PATH:/u/coins/live/data/db:/u/dlc/v101c/bin/

then

rfutil coins.db -C aimage extent list

thats when I got the error

stat() failed on both /coins.lk and , errno = 2. (2607
stat() failed on both /coins.db and , errno = 2. (2607


I have run now run the proenv command

DLC: /u/dlc/v101c
WRKDIR: /home/progress/v101c/wrk

Inserting /u/dlc/v101c/bin to beginning of path and
the current directory is /home/progress/v101c/wrk.

OpenEdge Release 10.1C03 as of Sat Jan 31 21:43:54 EST 2009

now getting this error.

Cannot find or open file /home/progress/v101c/wrk/coins.db, errno = 2. (43)



Thanks
Anne-Marie

 
I am not really aware whether the commnds like rfutil use PATH - I've never tried it that way ...

What will definately work is:
  • Either you cd into the directory where the datbase is located
  • Or you specify the full path to the database
HTH, RealHeavyDude.
 
export PATH=$PATH:/u/coins/live/data/db:/u/dlc/v101c/bin/

rfutil coins.db -C aimage extent list
stat() failed on both /coins.lk and, errno = 2. (2607)
stat() failed on both /coins.db and, errno = 2. (2607)

It looks like your database is probably in /u/coins/live/data/db. But when you ran the rfutil command you were in /. Rfutil does not search the PATH for the target database (the shell searches the PATH for executables but not for data files...). So it looked in the current directory ("/"), failed to find it and gave you the error. (Note the leading "/" on the dbname in the error message...)

So as RHD says either cd to /u/coins/live/data/db before issuing your rfutil command or use the full absolute path name.
 
Hi

Thanks to everyone for their help, got my answer, not the one I was hoping for but there we are.

proenv>rfutil coins.db -C aimage extent list
OpenEdge Release 10.1C03 as of Sat Jan 31 21:43:54 EST 2009
After imaging is not enabled for this database. (3803)

Thanks
Anne-Marie
 
Back
Top