473,400 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

DB2 login issue

I used a root account during DB2 UDB 9.7 in the RHEL system. Installation has been finished successfully. In the DB2 prompt, I tried to create a database.
db2 => CREATE DATABASE VEERA AUTOMATIC STORAGE YES
SQL1092N "ROOT" does not have the authority to perform the requested command or operation.

How to resolve this issue?

Anyone help greatly appreciated.
Oct 7 '11 #1
3 3925
vijay2082
112 100+
Hi Veera,

You need to login as the instance owner and then try creating the database. If you are not aware of the instance then use below command to check the user and su to the user from root.

ps -ef|grep -i sysc

The user attached to the db2sysc process is your instance owner which has all rights and privileges to create a database.

Cheers, Vijay

@Veera1978
Oct 7 '11 #2
Hi Vijay,

Thank you for the details. I run the command and found the following details. What I need to do further to solve the issue?

[root@localhost ~]# ps -ef|grep -i sysc
root 6215 6179 0 10:08 pts/2 00:00:00 grep -i sysc
[root@localhost ~]#



-----------------------------------
(c) Copyright IBM Corporation 1993,2007
Command Line Processor for DB2 Client 9.7.4

You can issue database manager commands and SQL statements from the command
prompt. For example:
db2 => connect to sample
db2 => bind sample.bnd

For general help, type: ?.
For command help, type: ? command, where command can be
the first few keywords of a database manager command. For example:
? CATALOG DATABASE for help on the CATALOG DATABASE command
? CATALOG for help on all of the CATALOG commands.

To exit db2 interactive mode, type QUIT at the command prompt. Outside
interactive mode, all commands must be prefixed with 'db2'.
To list the current command option settings, type LIST COMMAND OPTIONS.

For more detailed help, refer to the Online Reference Manual.

db2 => create database veera automatic storage yes
SQL1092N "ROOT" does not have the authority to perform the requested command
or operation.
db2 =>


Kind regards,
Veera
Oct 10 '11 #3
Dear Vijay,

Can you help me to fix this issue?

Thanks,
Veera
Oct 12 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Remco | last post by:
Hi, I'm working on a secure webportal, a simple representation of my folders: Root ->Users ->Admins ->Printing If somebody attempts to access a sub folder he or she will be redirected to
3
by: Mr.KisS | last post by:
Hello all, I'm working with Windows XP PRO SP1, ASP.NET v2 (with Visual Web Dev) and, MS SQL 2005 with a database with Windows Authentication mode. I've an aspx page which must send a query to...
4
by: Chuck Bowling | last post by:
I'm having a problem that i really don't understand. I'm new to ASP.NET and to SQL Server (MSDE). I'm trying to get a VS walkthru in the C# to work. I think the problem is permissions but I'm not...
5
by: Cesar | last post by:
Hello, I have an application that is using forms authentication and it seems to be working fine most of the time. Unfortunatelly, it sometimes just redirects me to the login screen. It seems that...
14
by: clintonG | last post by:
This is an appeal for peer support sent to Microsoft as will be noted in closing. The Login control does not include a Cancel button. The only option is to convert the Login control to a...
5
by: Ant | last post by:
Hi, I've come from Forms to web pages. (OH DEAR you say) I'm using VS2003. When I drag a table from Server explorer onto the web form to create a DataAdapter & Connection, all ok, but when I...
1
by: smartic | last post by:
Login issue in this code when i enter to the login page the login form still visible how can i solve this problem ? <?php if(!($_SESSION)){ ?> <form method='post' action='Login.php'...
0
by: Anup Daware | last post by:
Hi All, I am facing this very weird issue, for every server request my control is redirecting to the login page and again coming back to the actual page from where the request was initiated when I...
0
by: DanWeaver | last post by:
Hi, I am going mad with this. I seem to have some kind of session problem. Login SEEMS to work (and login event is recorded sucessfuly in DB (MSSQL on shared server)) but asp pages behave as...
1
by: Arielle | last post by:
I'm mainly looking for assistance pointing me in the right direction for my research. I have a few theories of my own but would welcome any others that could help me figure out what the problem is....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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,...
0
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...

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.