I can not make db2start work on command line - db2

"The requested command or operation failed because the user ID does not have the authority to perform the requested command or operation. User ID: "DB2INST3"." So What I can do with my problem ?I can't connect my db2 database.

Related

mongo dump and restore (when restoring in different os)

I am working on a project, there I need to dump a database from windows and need to restore it on a centos server.
Whenever I do that, there is some error.
Like - error reading database: (Unauthorized) not authorized on mydatabase to execute command
or
error connecting to host: could not connect to server: connection() : auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.
Both os have the same mongo version that is 4.2
How can I correct it?
The error not authorized on mydatabase to execute command indicates that either you have not authenticated, or the authenticated user has not been granted the appropriate permissions to execute that command.
Authentication failed means just that. The server side log may have more detail, like the user and database names used in the auth attempt.
To fix these, make sure:
you are providing authentication credentials
the user account you are using has already been created in the server
the user account has been granted permission for that command on the correct database/collection
The Security page in the docs might be a good place to start.

IBM Lift CLI cannot connect to source database

I am having an issue connecting to the source database when attempting to extract a table.
Here is the error message:
LIFT-4000: Failed acquiring connection for the database SKILLST after
multiple retries. Ensure that host, port and credentials are correct.
Netezza: Cannot create PoolableConnectionFactory (Connection reset)
Also, when trying to migrate DDL from a source to a target database db2, I receive this message:
Generating DDL statement(s) for specified database objects...
LIFT-4030: No object found in schema TADB2 matching with specified
condition.
We have verified the host port, username, password, and all conditions are correct. Even still, we are receiving the LIFT-4030 error above.
Our version of db2 is:
"DB2 v11.1.3.3"

installation with WAS Liberty server and DB2(How to give root access to user )

I am trying to set up a standalone server setup with WAS Liberty server and DB2 database. I have installed IBM Installation Manager, WAS server and WAS supplementary and DB2.THe whole set up is done in ubuntu. I am new to DB2 Express c edition , so when i run the command for creating a database it is giving me a error saying as below. So i need to know the command for getting the root access to the user , seeing the number of the user and also need help in creating the document.
Error message is SQL1092N The requested command or operation failed because the user ID does
not have the authority to perform the requested command or operation. User
ID: "****".

MongoDB 3.2 - Admin user not authorized to execute command

I have created an admin level user and given the dbAdminAnyDatabase, userAdminAnyDatabase, readWriteAnyDatabase permissions on the admin database as well as my other database and I can create a successful connection to the client but when I try to run a command to retreive data I get an error saying 'Command find failed: not authorized on {database} to execute command'.
Any ideas on why this isn't working?
I found an example where the user was made to have "root" access and now I can successfully query data. The question still remains why the above credentials didn't work.

WAS 8.5.5.2 not able to connect to DB2 Datasource

I am trying to test the datasource connection created on cluster in WebSphere 8.5.5.2 ND with DB2. As soon as I click on test connection button, WAS flashes me following message:
The test connection operation failed for data source Temp on server
nodeagent at node MyNode001 with the following exception:
java.sql.SQLInvalidAuthorizationSpecException:
[jcc][t4][2013][11249][4.16.53] Connection authorization failure
occurred. Reason: User ID or Password invalid. ERRORCODE=-4214,
SQLSTATE=28000 DSRA0010E: SQL State = 28000, Error Code = -4,214.
I checked everything, my username and password is correct and not expired. Driver files are also verified. I also tried restarting everything from deployment manager to node agents but still it displays me the same error