473,888 Members | 1,522 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

The database alias "MONITOR" already exists Can't Not Drop it

Try every thing I know to remove this alias

I know there been other posting I read each one none seem to work.

Thank You
DLWasler
dw*****@yahoo.c om

OS Window db2 V 8.2.X

I tried to uncatalog
List doesn't show it

I'm at a major loss here the only thing left is to delete the database
and reinstall it
SQL1005N The database alias "MONITOR" already exists in either
the local database directory or system database directory.

Explanation:

The alias name specified has already been used. If no alias is
specified in the catalog database command, the database name is
used as the alias. When a database is created, the alias name is
the same as the database name.

This error may occur on the catalog database command when the
alias already exists in the system database directory.

On the create database command this error may occur in one of
the following situations:

o The alias already exists in the system database directory and
local database directory.

o The alias already exists in the system database directory but
not in the local database directory.

o The alias already exists in the local database directory but
not in the system database directory.

User Response:

For the catalog database command, uncatalog the alias from the
system database directory and resubmit your original command or
catalog the database with a different alias name.

For the create database command, do the following operations
with respect to the above 3 situations:

o Drop the database using the alias name. Resubmit your
original command.

o Uncatalog the alias. Resubmit your original command.

o Catalog the alias into the system database directory. Drop
the database using the same alias. Resubmit your original
command.

Aug 28 '07 #1
1 9979
dw*****@yahoo.c om wrote:
Try every thing I know to remove this alias

I know there been other posting I read each one none seem to work.

OS Window db2 V 8.2.X

I tried to uncatalog
List doesn't show it

I'm at a major loss here the only thing left is to delete the database
and reinstall it
There are two places where DB2 can find information about a database: the
(DB2) database directory (under sqllib/sqldbdir) and the file system
directory where the physical files of the DB2 reside.

In your case, I believe the following happened:
(1) the database was removed from the DB directory using UNCATALOG DB (or
some point'n'click in Control Center or so)
(2) the database files were _not_ removed, i.e. the database was not dropped

When you try an UNCATALOG DB, you get the above error because the database
is not cataloged in the DB directory. When you ren a CREATE DATABASE, DB2
adds it to the DB directory, then goes to the path where the files shall be
created, and finds the files of the previous database with name MONITOR
there.

So what you have to do is to bring DB directory and files back in sync by
(A) cataloging the DB with "CATALOG DB MONITOR", and
(B) dropping the DB if you want to get rid of it completely (DROP DB
MONITOR)

--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany
Aug 29 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1230
by: Irmen de Jong | last post by:
I created my first ever Python Meta Class to solve a problem I'm having. I have an existing class that I want to make thread-safe: all method calls should use a thread-lock to avoid having multiple threads active in the class at the same time. I don't want to change every method of the class by adding lock.acquire()...try...finally..lock.release() stuff, so I decided to try it with a Meta Class. Below is what I came up with (after a bit...
0
1682
by: Jack | last post by:
I am setting up a partitioned db environment and am seeing some slow performance when a query goes off the coordinator node. I have run a global database manager snapshot and these numbers raise some questions in my mind: Node number = 0 Memory Pool Type = FCMBP Heap Current size (bytes) = 17432576 High water mark (bytes) = 17432576
0
1560
by: UDBDBA | last post by:
Hi: Currently, MAXFILOP cfg parameter is set to maximum value allowed for AIX 64bit: Max DB files open per application (MAXFILOP) = 1950 Still, we see "Database files closed" increasing gradually: Database files closed = 825 DGTT's are used heavily by application and most of the files closed
3
2868
by: Phil Sherman | last post by:
What is the relationship between the snapshot elements: Log pages written Number write log IOs Number partial page log IOs There doesn't appear to be any information in my PDF System monitor guide or the online information center. When a COMMIT is issued; a log page containing updates must be written to disk before control is returned to the application program. This
0
4416
by: Peter | last post by:
When I issue call sqlj.install_jar('file:///f:/jars/mail.jar','MAIL'); I get the messages SQL4301N Java or .NET interpreter startup or communication failed, reason
2
6709
by: Al | last post by:
May anybody help with the function GetDesktopWindow (imported from the user32.dll)? How to get the active desktop (monitor) window, i.e., a desktop that contains the active window? The active window handler may be acieved by GetActiveWindow() (imported from user32.dll), but I cannot realize how to "connect" GetActiveWindow to GetDesktopWindow
1
1223
by: =?Utf-8?B?Qm9jYUJveQ==?= | last post by:
I have an interesting problem I haven't been able to unravel. I installed a new 24" widescreen monitor which is working perfectly. However, my cursor disappears below the taskbar instead of stopping there, as if there is more screen real estate than there actually is. I've checked the driver for both the display card and monitor as well as the mouse and all are current and up-to-date. Does anyone have any ideas?? Thanks!
4
1704
by: Bob Imperial | last post by:
Hello folks....my first time posting here, hope the response times are quick ;) I have a new layout I'm working on here, trying to move away from the whole tabled layout from a previous design and using divs, having an issue with images on a page. They display just fine in IE and FF on my development box from home, but now that I'm in my office at work on this ummmm how shall we say, less than adequate for a designer, 15" monitor, 3...
2
1625
by: Justin Voelker | last post by:
I have built a messaging system where users of a website can send messages to each other and they will appear in the other users inbox for viewing next time they log in. In a bar at the top of the page it says "Inbox (0)" if they have no new messages and, yup, you guessed it "Inbox (2)" if they have two waiting messages. If someone sends them a message while they are sitting on some page of the website I would like the counter to...
0
9800
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9597
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7990
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7148
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6014
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4642
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4244
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3252
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.