DB2 -- ADM13001E "IBMOSauthclient" received error code in .nfy log and diag log
DB2
version → Checked on v8.1 and v9.7, think it is same on other
versions.
OS
→ AIX 5
In
one of our db2 databases there was a sudden growth of space usage in
db2 instance home. This was due to huge .nfy log being creted on
db2dump folder. This .nfy log was repeating same error below and was
growing very fast, reached 10G within 4 hrs in our case.
2014-12-23-09.38.48.685598
Instance:idsldap Node:000
PID:1695766(db2aud)
TID:1 Appid:none
bsu
security sqlexGetDefaultLoginContext Probe:15
ADM13001E
Plug-in "IBMOSauthclient" received error code "-2"
from the DB2
security
plug-in API "db2secGetDefaultLoginContext" with the error
message " ".
There
were some errors related access violation in diag log as well,
2014-12-23-09.40.41.094246+330
I137165939A396 LEVEL: Error
PID
: 1609906 TID : 1 PROC : db2set
INSTANCE:
idsldap NODE : 000
FUNCTION:
DB2 UDB, bsu security, sqlex_write_log_record, probe:30
RETCODE
: ZRC=0x840F0001=-2079391743=SQLO_ACCD "Access Denied"
DIA8701C
Access denied for resource "", operating system return code
was "".
The
db connection were allowed and initially we didn't identify any
effect due to these errors.
But
to stop the huge log generation we deactivated the db2audit (since
the file was written by audit process).
Checking
further we have noticed that our db backups were failing as well, the
script simply couldn't create the backup file since it didn't have
permission to write to backup location from os level.
Then
we identified what was going on,
So
the db2 instance should be running from idsldap user, but it shows
the uid number 220 instead.
But
when checking the passwd file there is no entry for uid 220.
In
password file idsldap user is given the uid 120.
This
has cause all these problems. When the db2 instance was started the
instance user idsldap had the uid 220.
But
while the instance was running the unix admin has changed the uid to
120 by editing the password file manually causing all these
authentication and privilege related errors.
For
us the resolution was to just edit the password file manually and
change the uid of idsldap user 220 back again, and every thing was
back to normal. Please not this might not be the resolution in every
occurrence of this error.
We
could recreate the same on db2 9.7 as well.
Comments
Post a Comment