If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Other > INGRES - Createdb - Database does not exist (isnt that the point?)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-06-03, 11:30
AmandaAlderman AmandaAlderman is offline
Registered User
 
Join Date: Jun 2003
Posts: 1
Red face INGRES - Createdb - Database does not exist (isnt that the point?)

I'm trying to create a database in ingres called refmail, and it says database does not exist and gives abnormal termination.

I've checked accessdb and there is no such database and everything looks fine, so why wont it create?

I am doing

createdb -urefmail refmail

gives me:

createdb -urefmail refmail
Creating database 'refmail' . . .

E_US0010 Database does not exist: 'refmail'.
(Sun Jan 26 17:19:21 2003)

and refmail is a valid user with create database priviledges.
I've created two other databases with junk names and they work fine! How can I find out why this one wont work?

Last edited by AmandaAlderman; 06-06-03 at 11:33.
Reply With Quote
  #2 (permalink)  
Old 06-17-03, 07:26
taff taff is offline
Registered User
 
Join Date: Jun 2003
Location: UK
Posts: 2
Re: INGRES - Createdb - Database does not exist (isnt that the point?)

Quote:
Originally posted by AmandaAlderman
I'm trying to create a database in ingres called refmail, and it says database does not exist and gives abnormal termination.

I've checked accessdb and there is no such database and everything looks fine, so why wont it create?

I am doing

createdb -urefmail refmail

gives me:

createdb -urefmail refmail
Creating database 'refmail' . . .

E_US0010 Database does not exist: 'refmail'.
(Sun Jan 26 17:19:21 2003)

and refmail is a valid user with create database priviledges.
I've created two other databases with junk names and they work fine! How can I find out why this one wont work?

Are you using the same -u flag, e.g. "-urefmail" with accessdb. If not then the db might not be listed, depending upon who created it and how the access to the DB is set up. Remember that Ingres allows different users to create dbs of the same name.

If you are using accessdb correctly then it could be a problem with the system catalogues, e.g. you created the DB and the session fell over leaving it in a half complete state. Have you tried deleting the DB using destroydb -urefmail refmail then recreating.

hth
Reply With Quote
  #3 (permalink)  
Old 07-14-03, 14:58
Ruu Ruu is offline
Registered User
 
Join Date: Jul 2003
Posts: 1
Re:

May be a little late to this party, since you posted this a month ago, but hey - I just registered. The problems I have had with this error were caused by residual checkpoint / journal files - make sure that there are no transaction logs / general logs etc named after that database too.

Dave
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On