Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Do not create db files when create new projects

Do not create db files when create new projects 15 years 11 months ago #203

  • gallim
  • gallim's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • Karma: 0
Hi,
i have download 45_05 version of Proview, when creating new project $pwrp_db files are missing.

Thanks for help.

/Maurizio
The administrator has disabled public write access.

Re:Do not create db files when create new projects 15 years 11 months ago #204

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Hi Maurizio,

Which linux distribution are you using ?

/Claes
The administrator has disabled public write access.

Re:Do not create db files when create new projects 15 years 11 months ago #205

  • gallim
  • gallim's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • Karma: 0
Hi Claes,
i use Debian Etch 4.0.

/Maurizio
The administrator has disabled public write access.

Re:Do not create db files when create new projects 15 years 11 months ago #208

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Hi,

When the project is created there should be a directory $pwrp_db/directory.db that contains the BerkeleyDb database for the directory volume. The shell command to create a new directory database is

> pwrc create volume /directory
or
> pwrc create volume /directory/database=berkeleydb

so you can try this and see if it works, or if you get any error messages.

/Claes
The administrator has disabled public write access.

Re:Do not create db files when create new projects 15 years 11 months ago #211

  • gallim
  • gallim's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • Karma: 0
Hi,
i tried both shell command and \"pwrc create volume /directory/database=berkeleydb\" generate all files in $pwrp_db.

/Maurizio
The administrator has disabled public write access.

Re:Do not create db files when create new projects 15 years 11 months ago #215

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Hi,

Thanks for the info. BerkeleyDb should always be default for the directory database, but obviously it isn't.

You can fix this by adding \"/database=berkeleydb\" in $pwr_exe/pwrp_env.sh, row 635 (wb_cmd create volume /directory).

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.205 seconds