Original Message:
Sent: 2/19/2026 10:09:00 AM
From: Michel de Kraker
Subject: RE: SQL30082N error
Jan,
unfortunately not
dsna@tsaix18 # db2 attach to DB2GW1 user dsna using xxxxxxx
Instance Attachment Information
Instance server = DB2/AIX64 8.2.7
Authorization ID = DSNA
Local instance alias = DB2GW1
dsna@tsaix18 # db2 connect to A01DSNA
SQL30082N Attempt to establish connection failed with security reason "3"
("PASSWORD MISSING"). SQLSTATE=08001
dsna@tsaix18 #
------------------------------
Michel de Kraker
------------------------------
Original Message:
Sent: Thu February 19, 2026 10:03 AM
From: Jan Nelken
Subject: SQL30082N error
Treating local database as local is the best and cleanest solution.
After ATTACH to node can user dsna connect to database without password?
Original Message:
Sent: 2/19/2026 9:20:00 AM
From: Michel de Kraker
Subject: RE: SQL30082N error
Hi Jan,
I took over admin task from outsourcing company without any knowledge transfer on setup. So cannot answer your 3 questions.
However I will catalogue the db to local. Good tip.
This is also working!
dsna@tsaix18 # db2 attach to DB2GW1 user dsna using xxxxxx
Instance Attachment Information
Instance server = DB2/AIX64 8.2.7
Authorization ID = DSNA
Local instance alias = DB2GW1
Could I be able now to unlock the user this way , or is LOCAL the best way to go forward?
Regards
Michel
------------------------------
Michel de Kraker
Original Message:
Sent: Thu February 19, 2026 08:18 AM
From: Jan Nelken
Subject: SQL30082N error
What was rationale to treat this database as remote, if it is local?
Directory entry type = Remote
It should never worked before (connection to local database as remote - without password.
So back to original question:
Usual questions:
- did it ever worked before?
- if so - when it stopped working?
- when it stopped working - what has been changed?
What is stopping you from defining (i.e. cataloguing) this database as local to AIx?
Can user dsna perform:
db2 attach to DBGW1
without specifying password?
------------------------------
Jan Nelken
Db2 (LUW) DBA
Open for work
Katowice or Krakow
+48 783 109 863
Original Message:
Sent: Thu February 19, 2026 07:08 AM
From: Michel de Kraker
Subject: SQL30082N error
Correct Jan,
I changed it to DBALIAS because of security.
Forget to change it to DBALIAS again :-)
But DBGW1 is pointing to the same AIX system where the user dsna is defined. So definitely not mainframe.
dsna user has rlogin=true
[root@xxxxxx]/>lsuser -a rlogin dsna
dsna rlogin=true
------------------------------
Michel de Kraker
Original Message:
Sent: Thu February 19, 2026 06:54 AM
From: Jan Nelken
Subject: SQL30082N error
In previous messages you stated DBALIAS as database name; it looks like database A01DSNA is hosted on host of name or ip addres xxxxx defined in node DB2GW1:
Database alias = A01DSNA
Database name = A01DSNA
Node name = DB2GW1
All the naming suggest real database is on z/OS - and you are using Db2 Connect as gateway; I suggest checking in z/OS whether user dsna is restricted, expired or disabled.
------------------------------
Jan Nelken
Db2 (LUW) DBA
Open for work
Katowice or Krakow
+48 783 109 863
Original Message:
Sent: Thu February 19, 2026 06:42 AM
From: Michel de Kraker
Subject: SQL30082N error
Thankyou Jan,
dsna@tsaix18 # db2 list node directory show detail
Only showing the one which is important:
Node Directory
Number of entries in the directory = 1
Node 1 entry:
Node name = DB2GW1
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = xxxxxx
Service name = 52001
Remote instance name =
System =
Operating system type = None
db2 list db directory
Database 13 entry:
Database alias = A01DSNA
Database name = A01DSNA
Node name = DB2GW1
Database release level = a.00
Comment =
Directory entry type = Remote
Catalog database partition number = -1
Alternate server hostname =
Alternate server port number =
will perform your other question tomorrow.
Thank you.
Regards
Michel
------------------------------
Michel de Kraker
Original Message:
Sent: Thu February 19, 2026 06:20 AM
From: Jan Nelken
Subject: SQL30082N error
As you wish; I still would like to glance at the output of those two db2 list .... commands:
I suspect that database pointed to by DBALIAS is remote to Aix - which would explain this behavior.
If this is true - then check userid dsna in the OS hosting database pointed to by the alias DBALIAS - db2 performs OS authentication on the host O/S.
Another ondirect proof would be to create on Aix user dsnx or similiar new user - and try |db2 connect to| DBALIAS" as such user.
If it fails the same way - suspition that databse is remote to Aix is stronger; if it works - then issue is on Aix with dsna user and/or db2ckpwd.
------------------------------
Jan Nelken
Db2 (LUW) DBA
Open for work
Katowice or Krakow
+48 783 109 863
Original Message:
Sent: Thu February 19, 2026 04:55 AM
From: Michel de Kraker
Subject: SQL30082N error
Jan,
You are absolutely right, but there is no way to update unfortunately.
But since this is indeed very old software, let's stop this discussion (do not want to waste your time on this).
Appreciate yours and Madhusudan effort on this.
Thankyou,
Regards
Michel.
------------------------------
Michel de Kraker
Original Message:
Sent: Thu February 19, 2026 04:42 AM
From: Jan Nelken
Subject: SQL30082N error
Michel,
Let me clearly understand - you are running important database - presumably production - on unsupported code 20 years old? Is it correct?
For completeness please show us output of the commands (on Aix):
db2 list db directory
db2 list node directory show detail
------------------------------
Jan Nelken
Db2 (LUW) DBA
Open for work
Katowice or Krakow
+48 783 109 863
Original Message:
Sent: Thu February 19, 2026 03:39 AM
From: Michel de Kraker
Subject: SQL30082N error
Unfortunately I cannot delete the user because there is an important database running with this user.
This is what I after I login with the user in AIX :
dsna@tsaix18 # db2 connect to A01DSNA
SQL30082N Attempt to establish connection failed with security reason "3"
("PASSWORD MISSING"). SQLSTATE=08001
dsna@tsaix18 #
------------------------------
Michel de Kraker
Original Message:
Sent: Wed February 18, 2026 10:31 AM
From: Madhusudan S M
Subject: SQL30082N error
Hi Michel,
Can you let us know if the error has been addressed?
Original Message:
Sent: 2/18/2026 5:12:00 AM
From: Madhusudan S M
Subject: RE: SQL30082N error
Alternatively, you can try restarting the instance-earlier versions would not refresh the buffer or recognize that your expired password had been updated after a failed login attempt.
Original Message:
Sent: 2/18/2026 4:50:00 AM
From: Madhusudan S M
Subject: RE: SQL30082N error
Did you try running "db2 connect to A01DSNA" after logging into the AIX DB server box using the user dsna ? What is the message you are getting now?
Try deleting this user and creating a new one with the same name.
Original Message:
Sent: 2/18/2026 2:39:00 AM
From: Michel de Kraker
Subject: RE: SQL30082N error
Hi Madhusudan,
This is what I get when I login with the Aix user and then perform db2 connect to:
dsna@xxxxxx # db2 connect to A01DSNA user dsna using xxxxxx
SQL30082N Attempt to establish connection failed with security reason "19"
("USERID DISABLED or RESTRICTED"). SQLSTATE=08001
------------------------------
Michel de Kraker
Original Message:
Sent: Tue February 17, 2026 10:58 AM
From: Madhusudan S M
Subject: SQL30082N error
Can you log on the AIX server using the user dsna ?
If yes, after login using the user dsna, type "db2 connect to DBALIAS".It won't ask for a password now.Can you connect to the DB successfully? What is the error you are getting?
Original Message:
Sent: 2/17/2026 7:23:00 AM
From: Michel de Kraker
Subject: SQL30082N error
Goodday
I get this error:
SQL30082N Attempt to establish connection failed with security reason "19"
("USERID DISABLED or RESTRICTED"). SQLSTATE=08001
The command is:
dsna@xxxxxx # db2 connect to DBALIAS user dsna using xxxxxxx
SQL30082N Attempt to establish connection failed with security reason "19"
("USERID DISABLED or RESTRICTED"). SQLSTATE=08001
I can login with user dsna on AIX with the same password. So that is OK.
Hints on internet is not getting me to the solution.
I am also not able to db2 connect to DBALIAS, because it is asking for a password which I do not know.
Does anybody have any ideas?
Thankyou,
Kind regards,
Michel.
------------------------------
Michel de Kraker
------------------------------