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 > DB2 > SQL1092N "USER" does not have the authority to perform the requested

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-06-11, 15:26
jumshoos jumshoos is offline
Registered User
 
Join Date: Sep 2011
Posts: 17
SQL1092N "USER" does not have the authority to perform the requested

I am not able to create or drop database, but i can stop and start db2 instance.

User is a domain user, but memeber of local Administrator group and
DB2ADMNS local group which is SYSADM_GROUP in dbm cfg.
OS windows XP.

i tried setting DB2_GRP_LOOKUP=LOCAL or
DB2_GRP_LOOKUP=LOCAL,TOKENLOCAL , but no use.

Any suggestions.
Reply With Quote
  #2 (permalink)  
Old 09-07-11, 07:10
Naval29 Naval29 is offline
Registered User
 
Join Date: Apr 2008
Posts: 9
To drop a db user should have either sysadm or sysctrl Authorization. Please check what type of Authorization your user id had.

Thanks
Naval K
Reply With Quote
  #3 (permalink)  
Old 09-07-11, 11:21
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
paste the output of

db2 get authorizations

regds
Paul
Reply With Quote
  #4 (permalink)  
Old 09-08-11, 09:09
jumshoos jumshoos is offline
Registered User
 
Join Date: Sep 2011
Posts: 17
It Works now

Hi i am not sure what i did , but now it is fine.

U:\>db2 get authorizations

Administrative Authorizations for Current User

Direct SYSADM authority = NO
Direct SYSCTRL authority = NO
Direct SYSMAINT authority = NO
Direct DBADM authority = NO
Direct CREATETAB authority = NO
Direct BINDADD authority = NO
Direct CONNECT authority = NO
Direct CREATE_NOT_FENC authority = NO
Direct IMPLICIT_SCHEMA authority = NO
Direct LOAD authority = NO
Direct QUIESCE_CONNECT authority = NO
Direct CREATE_EXTERNAL_ROUTINE authority = NO
Direct SYSMON authority = NO

Indirect SYSADM authority = YES
Indirect SYSCTRL authority = NO
Indirect SYSMAINT authority = NO
Indirect DBADM authority = NO
Indirect CREATETAB authority = YES
Indirect BINDADD authority = YES
Indirect CONNECT authority = YES
Indirect CREATE_NOT_FENC authority = NO
Indirect IMPLICIT_SCHEMA authority = YES
Indirect LOAD authority = NO
Indirect QUIESCE_CONNECT authority = NO
Indirect CREATE_EXTERNAL_ROUTINE authority = NO
Indirect SYSMON authority = NO
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