Can not connect to MaxDB 'Unknown user name/password combination' returned
Hi,
I try to make a connection from NWDS 7.2 to MaxDB. So i use the url as 'jdbc:sapdb://127.0.0.1:7210/CE1' to make a connection (by wizard of data source explorer in NWDS).
I try to entry username and password as below :
User : 'Administrator' , Pass : 'admin123'
User : 'SAPJ2EDB' , Pass : 'admin123'
User : 'superdba' , Pass : 'admin123'
User : 'control' , Pass : 'admin123'
So i always got
com.sap.dbtech.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException: [-4008]: Unknown user name/password combination
returned
I quite sure that 'admin123' is the password for MaxDB because when i try to uninstall the MaxDB it ask me to input password for 'superdba' and 'control'
How should i do? I remember that when i installed the SAP CE7.2 i had entered just only one password.
How can i reset the username and password or use default password?
P.S i try to enter user and pass from this post MAXDB Server,Database,Username and pasword , but it still not work .
Edited by: Thongie on Jul 14, 2011 2:48 PM
Hi every one,
I can solve it. I just restart DB and try agian.
Similar Messages
-
[-4008]: Unknown user name/password combination (MaxDB, Java)
Hey,
I'm having some troubles to connect to MaxDB using Java. I'm getting some error when I try to run my program.
import java.sql.*;
public class Hello
public static void main(String[] args)
throws ClassNotFoundException, SQLException
String username = "DBM";
String password = "azerty";
String dbname = "SAPDB";
Class.forName ("com.sap.dbtech.jdbc.DriverSapDB");
Connection connection = DriverManager.getConnection("jdbc:sapdb:" + dbname, username, password);
Exception in thread "main" com.sap.dbtech.jdbc.exceptions.DatabaseException: [-4008]: Unknown user name/password combination
at com.sap.dbtech.jdbc.packet.ReplyPacket.createException(ReplyPacket.java:69)
at com.sap.dbtech.jdbc.ConnectionSapDB.throwSQLError(ConnectionSapDB.java:768)
at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:434)
at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:325)
at com.sap.dbtech.jdbc.ConnectionSapDB.doConnect(ConnectionSapDB.java:277)
at com.sap.dbtech.jdbc.ConnectionSapDB.<init>(ConnectionSapDB.java:81)
at com.sap.dbtech.jdbc.DriverSapDB.connect(DriverSapDB.java:184)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
I checked the User and Password with the GUI (Database manager) and everything works fine.
I've also added the .jar in my Project Library.
Any ideas ?
ThanksLooking at your screen shot, it seems the database instance itself hasn't been correctly created because you lack permissions to do so. Subsequently, all your connection attempts basically fail because the database does not exists. I'm no real expert in SAP MaxDB administration on Microsoft Windows, but I read about System Error 5 once in a while earlier, have a look at [http://www.syseva.com/2009/05/operating-system-error-5-5access-is-denied/|http://www.syseva.com/2009/05/operating-system-error-5-5access-is-denied/]. Overally, I suspect you don't have the permissions you need to have (operating system/file system -wise) in order to create the files belonging to a MaxDB instance (and/or required by the server and tools, such as the dbmsrv ... err file mentioned in the screen). Maybe you should check your system permissions? Are you administrator or member of the appropriate groups [http://maxdb.sap.com/doc/7_7/0e/218650d996419d91f6b234766eadd3/content.htm|http://maxdb.sap.com/doc/7_7/0e/218650d996419d91f6b234766eadd3/content.htm]? As pointed out, I'm no MaxDB/Windows expert, but this seems likely to be a problem as far as your screenshot is concerned.
Cheers,
Kristian -
Hello Gurus,
we have a unusual problem with our MaxDB 7.9.8.25
We want to check the parameter like discribed in note 1111426, but dbanalyzer throws the following error.
tttadm >/sapdb/TTT/db/bin/dbanalyzer -d TTT -u superdba,****** -f dbanalyzer_InstanceParameterCheck.cfg -o /tmp -i -c 1 -t 1,1
SAP MaxDB Database Analyzer, The Performance Analysis Tool, Version 7.9.08.25
Copyright 2000-2014 by SAP AG
ERROR 25: SQLDBC error -4008, POS(1) Unknown user name/password combination (SQL state "28000").
But with dbmcli we can connect with the same user.
tttadm > dbmcli -d TTT -u superdba,******
dbmcli on KBP>
Has anyone a suggestion?!Have you tried, if you can actually do SQL with that user? Maybe there is a problem with the SQL authorization?
Does the following work for you?
>sqlcli -d tz79 -u dba,dba select * from dual
| DUMMY |
| ----- |
| a
1 row selected (1318 usec)
dbmcli -d tz79 -u dba,dba sql_execute select * from dual
OK
END 'a' -
Recurring [-4008]: Unknown user name/password combination
Hi,
I am using MaxDB 7.6.00 BUILD 012-123-102-632 with JBoss through the JDBC Driver 7.6.0 on a Windows XP box.
Sometimes, seldomly, after a reboot, I have the error :
2008-05-28 14:52:40,093 WARN http://org.jboss.resource.connectionmanager.JBossManagedConnectionPool Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.sap.dbtech.jdbc.exceptions.DatabaseException: -4008: Unknown user name/password combination)
When this happens, I can still connect to the databse using both the "Database Manager" or the java based "Db Visualizer" connecting as JBOSS/JBOSS. The "JBoss" user is registered as being of the type "dba".
If I stop the sapdb windows service and my JBoss server windows service and restart them slowly and calmly. The problem disapears.
I suspect that, sometimes, for some reason, my JBoss server tries to connect with the database when the latter is not "completely" ready. But by "completely" I don't really know what I mean.
Did anyone experience that kind of problem ?
Thank you
Regards
Francis GirardHi,
I am using MaxDB 7.6.00 BUILD 012-123-102-632 with JBoss through the JDBC Driver 7.6.0 on a Windows XP box.
Sometimes, seldomly, after a reboot, I have the error :
2008-05-28 14:52:40,093 WARN http://org.jboss.resource.connectionmanager.JBossManagedConnectionPool Throwable while attempting to get a new connection: null
org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.sap.dbtech.jdbc.exceptions.DatabaseException: -4008: Unknown user name/password combination)
When this happens, I can still connect to the databse using both the "Database Manager" or the java based "Db Visualizer" connecting as JBOSS/JBOSS. The "JBoss" user is registered as being of the type "dba".
If I stop the sapdb windows service and my JBoss server windows service and restart them slowly and calmly. The problem disapears.
I suspect that, sometimes, for some reason, my JBoss server tries to connect with the database when the latter is not "completely" ready. But by "completely" I don't really know what I mean.
Did anyone experience that kind of problem ?
Thank you
Regards
Francis Girard -
Hello Experts,
After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
Logical Command: DBMRFC
Parameter: exec_lcinit register
Name and Server : LCQ - dusepierp12
DBMRFC Function : DBM_EXECUTE
Command : exec_lcinit register
Error : DBM Error
Return Code : -24964
Error Message : ERR_EXECUTE: error in program execution#
0,sap\lcinit LCQ register -uDBM , -uDBA , -uSQL ,
liveCache LCQ (register)
The liveCache state is ONLINE
DBMServer 7.6.04 Build 009-123-182-193
Creating liveCache application procedures
ERROR : liveCache LCQ not registered (see "s:\sapdb\data\wrk\LCQ\lcinit.log").
START *****************************
liveCache LCQ (register)
Thu 07/30/2009
10:26 PM
installation path = S:\sapdb\LCQ\db
OK
DBMServer 7.6.04 Build 009-123-182-193
Creating liveCache application procedures
ERR
-24964,ERR_EXECUTE: error in program execution
1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
Traceback----
Error----
sql.SQLError: [-4008] (at 1) Unknown user name/password combination
Traceback (most recent call last):
File "S:\sapdb\LCQ\db\env\lapps.py", line 38, in ?
connectAndInstall (install, install.__doc__)
File "S:\sapdb\LCQ\db\env\installib.py", line 398, in connectAndInstall
session = connect (options)
File "S:\sapdb\LCQ\db\env\installib.py", line 350, in connect
alterUserNotExclusive(options)
File "S:\sapdb\LCQ\db\env\installib.py", line 338, in alterUserNotExclusive
session.release()
AttributeError: 'NoneType' object has no attribute 'release'
ERROR : liveCache LCQ not registered
Thu 07/30/2009
10:26 PM
END ******************************
Many Thanks,
TIA,
NischNischal Mahakal wrote:>
> Hello Experts,
>
> After a Test refresh for SCM system, we restored Livecache. The database has been changed and starts using database manager, during registration (Register LCApps) it gives the following error:
> -24964,ERR_EXECUTE: error in program execution
> 1,""S:\sapdb\LCQ\db\bin\x_python" "S:\sapdb\LCQ\db\env\lapps.py" -R "S:\sapdb\LCQ\db" -d LCQ -u DBADMIN,*"
> -
Traceback----
Hi there,
looks like you entered "DBADMIN" when you created the liveCache instance in DBMGUI as the DBM Operator.
For SAP installations, this user is always named "CONTROL".
So, drop the instance again, recreate it with "CONTROL" and re-do the recovery of the liveCache backup.
regards,
Lars -
-24988 DBM -4008,Unknown user name/password combination
Hello,
I am not able to connect Whit database Manager Gui 7.6 with the standard user and password, (control,control e.g). The Database Manager Client show the follow error:
-24988 DBM -4008,Unknown user name/password combination
but from the dbhost with dbmcli, the logon is possibile (dbmcli -d LCX -u control,control).
Any idea ?
Alf
SAPDB version:KERNEL 7.4.2 BUILD 030-122-117-803
OS AIX 5.3
OS client XPHello ALF,
1)
Please check if you have the user data set in the config database file using dbm command
on the database server < as you wrote, you have "SAPDB version:KERNEL 7.4.2 BUILD 030-122-117-803" >:
dbmcli -d LCX -u control,control dbm_configget SAPDB12
If the above command didn't return you the 'control' user, run:
dbmcli -d LCX -u control,control dbm_configset SAPDB12 control
&& try to connect to the database in DBMGUi with control user again.
2)
If the 1) step didn't help, please try delete the entry for the database in DBMGUI &
Add the database again.
Update with the results of the recommended steps.
Thank you and best regards, Natalia Khlopina -
-4008 Unknown user name/password combination
Hi All,
We are installing SAP NW 7.4 with MaxDB 7.8 on Windows server 2008 R2, When in the phase Create database schema for ABAP its giving error like below.
"[-4008] Unknown user name/password combination"
Below is the output from SdbCmdOut.log
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.models.software.Software | Software object initialized Sucessfully
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.models.database.DatabaseParameter | Create new database parameter object with name: MCOD value: and comment:
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | JDBC driver path: D:\sapdb\programs\runtime\jar\sapdbc.jar
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.powertoys.DBM loaded
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.jdbc.DriverSapDB loaded
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Use Java process call.
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Execute command: D:\sapdb\programs\bin\x_server.exe start
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Establish dbmcli session
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Connect to database: SID on host: HOSTNAME
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Logon with user: control
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Run command: param_directget MCOD
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | MCOD NO
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.DbmJdbcSession | Close dbmcli Session.
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.runtime.SdbLibInstance | End of command section: PARAM_GET
Tue Aug 12 20:31:19 IST 2014 | class com.sap.sdb.sllib.runtime.SdbLibInstance | *************************************************************
Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.runtime.SdbLibInstance | Start new command section: GET_SQL_USERS
Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.Dbmcli | Use Java process call.
Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.Dbmcli | Execute command: D:\sapdb\programs\pgm\dbmcli.exe -s dbm_version build
Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.sdbregview.SdbRegviewIsolated | Use Java process call.
Tue Aug 12 20:31:20 IST 2014 | class com.sap.sdb.sllib.utils.sdbregview.SdbRegviewIsolated | Execute command: D:\sapdb\programs\bin\sdbregview.exe -l -delimiter -DELIM-
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.models.software.Software | Software object initialized Sucessfully
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | JDBC driver path: D:\sapdb\programs\runtime\jar\sapdbc.jar
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.powertoys.DBM loaded
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.JdbcDriver | Class: com.sap.dbtech.jdbc.DriverSapDB loaded
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Use Java process call.
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.Xserver | Execute command: D:\sapdb\programs\bin\x_server.exe start
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.connection.session.SqlJdbcSession | Start new connection with URL: jdbc:sapdb://HOSTNAME/SID connect user: superdba
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.utils.DbCommand | com.sap.dbtech.jdbc.exceptions.DatabaseException: [-4008]: Unknown user name/password combination
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.connection.JdbcDriver.createSqlSession(JdbcDriver.java:69)
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.DbCommand.getAllSqlUsers(DbCommand.java:2054)
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.cmd.ident.classes.GET_SQL_USERS.run(GET_SQL_USERS.java:26)
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.sllib.utils.DbCommand.runCommand(DbCommand.java:3469)
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.core.main.cmd.SdbCmdMain.<init>(SdbCmdMain.java:67)
Tue Aug 12 20:31:22 IST 2014 | class com.sap.sdb.sllib.api.exceptions.DatabaseCommandException | com.sap.sdb.core.main.cmd.SdbCmdMain.main(SdbCmdMain.java:212)
Kindly Suggest me to resolve.
Regards,
JD.SHi Deepak,
I have executed the below commands,
xuser -U c -u CONTROL,<password> -d SID -n HOSTNAME -S INTERNAL set
xuser -U w -u CONTROL,<password> -d SID -n HOSTNAME -S INTERNAL set
After execution of the commands i have retry the same installation still i am getting same error.
Kindly suggest,
Regards,
Sree -
Unknown user name/password combination
Hi SAPDBV Gurus,
1. I did a full Live cache backup of system A (LCZ)
2. Did a restore with initialization to target. (LCR)
3. I checked the system logs snm21 :- Unknown user name/password combination, and also in live cache logs
4. When I tried to do a load systab with dbmcli> , I see the message :- -24907,ERR_DBAWRONG: wrong SYSDBA
I could not create the DBADMIN user or reset the password, it gives a user_put error.
I also found that in the source the sysdba user was DBADMIN (LCZ), and the target was SYSDBA (LCR)
Thanks,
Naren
> Unknown user name/password combination
Database error -4008 at CONHello,
Please update with additional information:
-> What are the versions of the source & target liveCache instances?
-> Please update with outputs of the following commands:
dbmcli -u control,<controlpw> -d LCR
<enter>
Dbmcli on LCR>db_state
Dbmcli on LCR>sql_connect
Dbmcli on LCR>sql_execute select * from users
Dbmcli on LCR>load_systab -u DBADMIN,DBADMIN -ud DBADMIN
Dbmcli on LCR>exit
-> What is the dbm users? < if the liveCache instances were not created with control user >
-> Please overview the SAP note 877203.
Thank you and best regards, Natalia Khlopina -
Upgrade to MaxDB 7.8 fails due to -4008,Unknown user name/password
Hello,
I have a strange problem. I try to update a MaxDB 7.7 instance to 7.8.
I start ./DBUPDATE.SH:
INFORMATION : This program upgrades the SAP MaxDB database instance
Do you want to continue the upgrade [Y] : Y
Check installation of C++ runtime
...execution 12:08:59
OK
IndepProgPath : /sapdb/programs
IndepDataPath : /sapdb/data
Please enter SAP MaxDB Name [SID] : J93
Please enter SAP System Name [SID] : J93
Please enter DBM User Name [control] : control
Please enter DBM User Password :
INSTROOT : /sapdb/J93/db
Authorization successful
DB KERNEL : 64-BIT
DB VERSION : 7.7.04 Build 28
Database instance version supported
PrivateDataPath : NO
Check availability of SAP users
...execution 12:09:05
SAP System Administrator : j93adm
SAP Database Administrator : sqdj93
OK
SAP VERSION : -4008,Unknown user name/password combination
Please confirm the upgrade start [Y] :
Obviously the DBM user and password have been accepted.
Also I created the xuser entry according to SAP note 39439:
xuser -U DEFAULT -u SAPJ93DB,password -d J93 -S SAPR3 -n minbbn30 -t 0 -I 0 set
xuser list
XUSER Entry 1
Key :DEFAULT
Username :SAPJ93DB
UsernameUCS2 :S.A.P.J.9.3.D.B. . . . . . . . . . . . . . . . . . . . . . . . .
Password :?????????
PasswordUCS2 :?????????
Long Password :?????????
Dbname :J93
Nodename :minbbn30
Sqlmode :SAPR3
Cachelimit :-1
Timeout :0
Isolation :0
Charset :<unspecified>
I can successfully connect to the database with SAPJ93DB:
dbmcli -u control,password -d J93 sql_connect SAPJ93DB,password
OK
So why can't I simply upgrade this MaxDB instance? Is there any logfile of DBUPDATE.SH with more information available?
Regards,
MarkHi Mark,
this error can be ignored (see note 1353266, section IV "Errors during the upgrade").
Continue the upgrade by answering the question
SAP VERSION : -4008,Unknown user name/password combination
Please confirm the upgrade start [Y] :
with Y.
Regards,
Steffen -
I receive an error message0xe800007f iTunes can not connect with iPhone unknown error
i receive an error message, " itunes can not connect with iphone , unknown error
" 0xe800007f
i have mac mini with lion os and iphone 4sMake sure you have the latest version of iTunes. You can download it from here -> http://www.apple.com/itunes/download/
If that doesn't work, check out this Apple article -> iOS: Unknown error containing '0xE' when connecting to a Windows PC -
Can not connect to iTunes store after resetting password
After resetting password on iPhone 5,iPad can not connect to iTunes. Any one know how to correct?
I am having the same Issues.
-
HT1222 Can not get mail . The user name or passwords is incorrect
Can not get e-mail . It states that the user name is incorrect and pass-word is incorrect
Did you check your settings and make sure that the information is correct?
-
HT2623 Can not get mail. Message, user name or password is incorrect
I have not changed settings but have this message and I cannot receive my emails
Did you check your settings and make sure that the information is correct?
-
The email server did not recognize your user name/password combination
email server did not recognized your username/password combination
I found that by turning of the SSL option at the bottom of the Accounts panel did the trick.
-
Email server didn't recognize user name/password combination
I solved this problem by delete the email a/c and recreate again, but it wouldn't work. pls help.
Ben,
Can you clarify how:
I solved this problem
and
but it wouldn't work
can be in the same sentence ?
Can you also clarify what the problem is?
Maybe you are looking for
-
Jce1_2_1 problem in SP2, iAS 6.0 on UNIX
Hi, experts, Has any of you encountered the problem using jce1_2_1 in the applications in SP2, iPlanet AS 6.0 on UNIX? I followed exactly the jce1_2_1 installation guide (for the JRE bundled with iAS) but still got a SecurityException: certs cannot b
-
Messages in multi-message format can only be sent to one Adapter Engine
Hi, Using XI 7.0 SPS 12 I have a scenario Single Flat File->XI->Multiple Messages to ECC. Due to an annoying limitation/bug in ECC we have to send workorders in to be processed as individual transactions. This means generating seperate calls to ECC
-
Cannot select Outlook 2003 to sync calendar, tasks etc. ver 6.0
I have desktop software 6.0 install on a Windows 7 64 bit laptop. I installed ver 6.0 desktop manager, connected my Curve 8530, it recognized it and synced my media. I have office 2003 and outlook installed, and it is running fine. When I try to sele
-
I'm looking for a backup fire wire drive for G3 iBook. I've come across the IOmega 320 eGo. Any comments or suggestions greatly appreciated. Will it work? Which SW? Tx J Aronson
-
Business Objects Webi Report looks at the wrong universe
Hi, Problem: A Webi Report that is believed to be running off Universe A in Dev A Environment no longer works because for an unknown reason it is trying to run off Universe A (same name different version) in Dev B Environment where most of the object