473,789 Members | 2,624 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Lost/compromise db2admin password

Hi IBMers,

I haven't used the db2 v8.1 on my win OS for a while, now, all of a
sudden, it became a stranger to me or vice versa, to start with, db2
db server can no longer starts, it complained about logon failure, I
managed to find the db2admin logon pwd, however, to no avail; searched
the NG for clue, got something like "get dbm cfg", it won't help,
minic "get dbm db2admin", "get dbm pwd|pasword" neither helped.

So, help, I'm "drowning", TIA.

Don
Nov 12 '05 #1
6 21291
On 2004-04-08, DonLi scribbled:
Hi IBMers,

I haven't used the db2 v8.1 on my win OS for a while, now, all of a
sudden, it became a stranger to me or vice versa, to start with, db2
db server can no longer starts, it complained about logon failure, I
managed to find the db2admin logon pwd, however, to no avail; searched
the NG for clue, got something like "get dbm cfg", it won't help,
minic "get dbm db2admin", "get dbm pwd|pasword" neither helped.

So, help, I'm "drowning", TIA.

Don


On Windows NT/2000/XP, DB2 usually uses Windows itself to handle
authentication. Hence, there is no way to ask DB2 "what is the password
for user X?" (just as you cannot ask Windows "what is the password for
user X?"). Which is not to say that Windows passwords are 100% safe and
couldn't be cracked - they can be, and this _may_ be what has happened
in your case.

However, you may also have password policies set, such as "passwords
expire after 180 days" or similar. In this case, it may be that the
password for the db2admin user has now expired and the DB2 services are
no longer capable of logging on using the password they have. If this
is the case, you can probably get around it by setting the "Password
never expires" option for the db2admin user.

Otherwise, you'll need to reset the password for the db2admin user (I'd
recommend doing this anyway just to assuage any paranoia), and set all
the DB2 services that logon using db2admin to use the new password.

Note that, to change the password (and optionally userid) used by the
DB2 administrator server (usually the service called "DB2 - DB2DAS00"),
you should use the following command line instead of changing it
manually in the Services console:

db2admin SETID <username> <password>

I seem to remember this avoids some problem that can occur with the
manual method - but can't remember exactly what or where I read it.

HTH, Dave.

--
Dave
Remove "_nospam" for valid e-mail address

"Never underestimate the bandwidth of a station wagon full of CDs doing
a ton down the highway" -- Anon.
Nov 12 '05 #2
Thank you very much for the explanation and the remedy. Executing
db2admin SETID <username> <password>
at Command Window was successful, and I tried to start the DB2-DB2
service and then DB2DAS service, also reversed the sequence, also
tried to started all other DB2 related services first, however, both
of these two services failed to start, respective err msgs: 8000 and
22204. Just searched the NG for clue to these two errors respectively
to no avail. Would appreciate your further assistance in this
important matter very much.
"Dave Hughes" <da*********@wa veform.plus.com > wrote in message news:<xn******* *********@usene t.plus.net>...
On 2004-04-08, DonLi scribbled:
Hi IBMers,

I haven't used the db2 v8.1 on my win OS for a while, now, all of a
sudden, it became a stranger to me or vice versa, to start with, db2
db server can no longer starts, it complained about logon failure, I
managed to find the db2admin logon pwd, however, to no avail; searched
the NG for clue, got something like "get dbm cfg", it won't help,
minic "get dbm db2admin", "get dbm pwd|pasword" neither helped.

So, help, I'm "drowning", TIA.

Don


On Windows NT/2000/XP, DB2 usually uses Windows itself to handle
authentication. Hence, there is no way to ask DB2 "what is the password
for user X?" (just as you cannot ask Windows "what is the password for
user X?"). Which is not to say that Windows passwords are 100% safe and
couldn't be cracked - they can be, and this _may_ be what has happened
in your case.

However, you may also have password policies set, such as "passwords
expire after 180 days" or similar. In this case, it may be that the
password for the db2admin user has now expired and the DB2 services are
no longer capable of logging on using the password they have. If this
is the case, you can probably get around it by setting the "Password
never expires" option for the db2admin user.

Otherwise, you'll need to reset the password for the db2admin user (I'd
recommend doing this anyway just to assuage any paranoia), and set all
the DB2 services that logon using db2admin to use the new password.

Note that, to change the password (and optionally userid) used by the
DB2 administrator server (usually the service called "DB2 - DB2DAS00"),
you should use the following command line instead of changing it
manually in the Services console:

db2admin SETID <username> <password>

I seem to remember this avoids some problem that can occur with the
manual method - but can't remember exactly what or where I read it.

HTH, Dave.

Nov 12 '05 #3
DB2 doesn't store any information on your user db2admin or any other
users. It's useless to ask DB2 for password. Check if you can login
with db2admin user and password on your OS or you can reset your
password on OS if you have system
admin previlege. This might solve your problem.

I hope this helps.

Amar.

do***@yahoo.com (DonLi) wrote in message news:<9a******* *************** ****@posting.go ogle.com>...
Thank you very much for the explanation and the remedy. Executing
db2admin SETID <username> <password>
at Command Window was successful, and I tried to start the DB2-DB2
service and then DB2DAS service, also reversed the sequence, also
tried to started all other DB2 related services first, however, both
of these two services failed to start, respective err msgs: 8000 and
22204. Just searched the NG for clue to these two errors respectively
to no avail. Would appreciate your further assistance in this
important matter very much.
"Dave Hughes" <da*********@wa veform.plus.com > wrote in message news:<xn******* *********@usene t.plus.net>...
On 2004-04-08, DonLi scribbled:
Hi IBMers,

I haven't used the db2 v8.1 on my win OS for a while, now, all of a
sudden, it became a stranger to me or vice versa, to start with, db2
db server can no longer starts, it complained about logon failure, I
managed to find the db2admin logon pwd, however, to no avail; searched
the NG for clue, got something like "get dbm cfg", it won't help,
minic "get dbm db2admin", "get dbm pwd|pasword" neither helped.

So, help, I'm "drowning", TIA.

Don


On Windows NT/2000/XP, DB2 usually uses Windows itself to handle
authentication. Hence, there is no way to ask DB2 "what is the password
for user X?" (just as you cannot ask Windows "what is the password for
user X?"). Which is not to say that Windows passwords are 100% safe and
couldn't be cracked - they can be, and this _may_ be what has happened
in your case.

However, you may also have password policies set, such as "passwords
expire after 180 days" or similar. In this case, it may be that the
password for the db2admin user has now expired and the DB2 services are
no longer capable of logging on using the password they have. If this
is the case, you can probably get around it by setting the "Password
never expires" option for the db2admin user.

Otherwise, you'll need to reset the password for the db2admin user (I'd
recommend doing this anyway just to assuage any paranoia), and set all
the DB2 services that logon using db2admin to use the new password.

Note that, to change the password (and optionally userid) used by the
DB2 administrator server (usually the service called "DB2 - DB2DAS00"),
you should use the following command line instead of changing it
manually in the Services console:

db2admin SETID <username> <password>

I seem to remember this avoids some problem that can occur with the
manual method - but can't remember exactly what or where I read it.

HTH, Dave.

Nov 12 '05 #4
Yeah, I'm able to log on as db2Admin from OS, however, this same user
failed to start DB2 - DB2 service, though this user belongs to sys
admin group. Oh, forget it, DB2 is not my priority for now. Thanks
though.

he*******@yahoo .com (Amar) wrote in message news:<47******* *************** ****@posting.go ogle.com>...
DB2 doesn't store any information on your user db2admin or any other
users. It's useless to ask DB2 for password. Check if you can login
with db2admin user and password on your OS or you can reset your
password on OS if you have system
admin previlege. This might solve your problem.

I hope this helps.

Amar.

do***@yahoo.com (DonLi) wrote in message news:<9a******* *************** ****@posting.go ogle.com>...
Thank you very much for the explanation and the remedy. Executing
db2admin SETID <username> <password>
at Command Window was successful, and I tried to start the DB2-DB2
service and then DB2DAS service, also reversed the sequence, also
tried to started all other DB2 related services first, however, both
of these two services failed to start, respective err msgs: 8000 and
22204. Just searched the NG for clue to these two errors respectively
to no avail. Would appreciate your further assistance in this
important matter very much.
"Dave Hughes" <da*********@wa veform.plus.com > wrote in message news:<xn******* *********@usene t.plus.net>...
On 2004-04-08, DonLi scribbled:

> Hi IBMers,
>
> I haven't used the db2 v8.1 on my win OS for a while, now, all of a
> sudden, it became a stranger to me or vice versa, to start with, db2
> db server can no longer starts, it complained about logon failure, I
> managed to find the db2admin logon pwd, however, to no avail; searched
> the NG for clue, got something like "get dbm cfg", it won't help,
> minic "get dbm db2admin", "get dbm pwd|pasword" neither helped.
>
> So, help, I'm "drowning", TIA.
>
> Don

On Windows NT/2000/XP, DB2 usually uses Windows itself to handle
authentication. Hence, there is no way to ask DB2 "what is the password
for user X?" (just as you cannot ask Windows "what is the password for
user X?"). Which is not to say that Windows passwords are 100% safe and
couldn't be cracked - they can be, and this _may_ be what has happened
in your case.

However, you may also have password policies set, such as "passwords
expire after 180 days" or similar. In this case, it may be that the
password for the db2admin user has now expired and the DB2 services are
no longer capable of logging on using the password they have. If this
is the case, you can probably get around it by setting the "Password
never expires" option for the db2admin user.

Otherwise, you'll need to reset the password for the db2admin user (I'd
recommend doing this anyway just to assuage any paranoia), and set all
the DB2 services that logon using db2admin to use the new password.

Note that, to change the password (and optionally userid) used by the
DB2 administrator server (usually the service called "DB2 - DB2DAS00"),
you should use the following command line instead of changing it
manually in the Services console:

db2admin SETID <username> <password>

I seem to remember this avoids some problem that can occur with the
manual method - but can't remember exactly what or where I read it.

HTH, Dave.

Nov 12 '05 #5
On 2004-04-09, DonLi scribbled:
Thank you very much for the explanation and the remedy. Executing
db2admin SETID <username> <password>
at Command Window was successful, and I tried to start the DB2-DB2
service and then DB2DAS service, also reversed the sequence, also
tried to started all other DB2 related services first, however, both
of these two services failed to start, respective err msgs: 8000 and
22204. Just searched the NG for clue to these two errors respectively
to no avail. Would appreciate your further assistance in this
important matter very much.

[snip]

Just looked up SQL8000 in the DB2 Message Reference, Volume 2 which
reads:

"Explanatio n: A valid license key could not be found and the evaluation
period has expired.

User Response: Install a license key for the fully entitled version of
the product. You can obtain a license key for the product by contacting
your IBM representative or authorized dealer."

So, assuming you do actually have a license, and that you don't have a
expired try-and-buy installation, the problem could be that the "DB2
Licensing Server" service isn't started, or is failing to start. Take a
look in the services control panel to check whether it's started, and
try and start it if not.

Failing that, there's an application you can start which allows you to
list and maintain the licenses for DB2 - unfortunately, I can't
remember it off-hand right now - but it should be somewhere under the
Start menu group containing the other DB2 apps like Control Center, etc.

Also, I couldn't find any information on message SQL22204 (assuming it
is an SQL error message - could you post any other output you got with
this message?)

HTH, Dave.
--
Dave
Remove "_nospam" for valid e-mail address

"Never underestimate the bandwidth of a station wagon full of CDs doing
a ton down the highway" -- Anon.
Nov 12 '05 #6
DonLi wrote:
Yeah, I'm able to log on as db2Admin from OS, however, this same user
failed to start DB2 - DB2 service, though this user belongs to sys
admin group. Oh, forget it, DB2 is not my priority for now. Thanks
though.


You have to use the Windows "Services" application
to update the password that is used when the
service is started.

Start -- Run -- services.msc
The userid & pwd entry fields are located on the LogOn tab.

--
Eric Diamond/New York

e-mail address brought to you by
http://whois.ibm.com and the letter "J"
Nov 12 '05 #7

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

Similar topics

1
547
by: Anthony Davis | last post by:
Hello All, I have been using the MySQL control center and had my usernames and passwords for the MySQL server stored in the control center. I recently lost everything on my PC including the usernames and passwords. Does anyone know if there is a way to reset or remove the passwords from MySQL so that I can make new ones? I do have the root password for the server that MySQL is running on.
3
8272
by: Lan W via DBMonster.com | last post by:
Hi, I tried to issue the command: db2admin start on my db2 UDB 8.2 with AIX 5.2 server. It gives me the error: SQL4401C The DB2 Administration Server encountered an error during startup. Does anyone can tell me how to fix it? Thanks! Lan
6
2200
by: a_hartmann_andersen | last post by:
Hi Guys Here is the problem: Im bored changing the local administrator password for a set of servers in a domain. So I though that I would write myself a little tool in C# to do that. I found bits and pices but the subject, but not anything solid. Ofcause its out there :-) can anybody help me out on this. Thanks!
0
1807
by: nm31 | last post by:
I am using DB2 8.1 I have resetted the db2admin password from the My computer>Properties>Manage>Users>db2admin>set password. After that when I go to db2 command prompt and type list applications, it gives an error SQL30082N Attempt to establish connection failed with security reason "24" <"USERNAME AND/OR PASSSWORD INVALID">. SQLSTATE=08001. I read a forum that by using the command db2set DB2_NUM_CKPW_DAEMONS=0, it gives me error ...
2
3657
by: RoopaHemanth | last post by:
hi all, The following is the scenario and also the problem description a. We have a win2k server on which we had installed the DB2 8.1 server. It was running fine. b. Recently, we installed and uninstalled the ADS on the win2k OS and all the users got deleted (including db2admin). c. DB2 server is down from then. We tried to recreate the Db2admin id but with a different password as we do not know the old password. d. The services for DB2...
3
3448
by: randeeparora | last post by:
Guys, I desperately need some help here. I have lost my root password and I am unable to login in. Every time on the CL prompt I am asked for a password and I obviuosly can't get through. I also tried removing the MySQL, manually deleting the entire directory, reg entries and every time I re-install it asks for the same password again and again that I unfortunately don't remember. Even while configuring the MySQL server it keeps on referring...
4
1992
by: imranshaiks786 | last post by:
I lost my administrator password and there is no other users to login. How can I still login to my system?
1
1681
by: Shandelzare | last post by:
I forgot my sql server password, and i need to get the sql sa password back, how can i retrieve my sql sa password? its SQL server 2005. Any advice is ok, i dont want to reinstall the SQL server, Thanks in advance.
0
10199
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9020
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...
0
6769
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
5417
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4092
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
3
2909
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.