Database Exists but can not be opened

Post Reply
bhaskar_dave
Posts: 3
Joined: Mon Oct 22, 2001 3:13 pm

Database Exists but can not be opened

Post by bhaskar_dave »

Hi ,
I have two database in texis. dbone and dbtwo. While crawling thru dbtwo database it gives me error of saying "Database dbtwo exists, but can not be opened"

The command I am using is :
gw -dE:\TexisDatabase\dbtwo -s "select * from PRODUCT_CONTENT"

This command is just a sample example. It doesn't even let me wipe the database.
But it allows me to crawl thru the database dbone

I have created both the database in same location which is E:\TexisDatabase\dbone and E:\TexisDatabase\dbtwo.

Pls. help

Awaiting reply,
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Database Exists but can not be opened

Post by mark »

You probably somehow created dbtwo as the wrong userid, so now that gw is running as the correct userid it can't access it. Compare the ownerships and permissions of the two directories and the files in them.
bhaskar_dave
Posts: 3
Joined: Mon Oct 22, 2001 3:13 pm

Database Exists but can not be opened

Post by bhaskar_dave »

Hi Mark,
Thanks for reply.
I Don't get it what you are saying !!!
Ownerships and permissions are same for both direcotories. files are diff. While creating database what userid does it take by default ?

Awaiting reply,
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Database Exists but can not be opened

Post by mark »

You were going to -wipe it anyhow. Just delete the whole directory and everything in it and recreate it with
gw -create -dE:\TexisDatabase\dbtwo
Post Reply