Skip to Content

Authentication error at the start of Import ABAP phase during Installation

Hello All,

I am importing ECC application on a newly installed HANA DB

with the latest version of 1.0 SPS10 REV 102. During the import I am

facing an issue right at the start of the import ABAP phase where I am

getting an authentication error as per the logs shown below:

*********

Execution of the command

"/tmp/sapinst_exe.27660.1444398180/jre/bin/java-classpath

migmon.jar:migmonctrl.jar:ngdbc.jar -showversion -Xmx1024m

com.sap.inst.migmon.imp.ImportMonitor -sapinst -host

-instanceNumber 00 -username SAPAHD -readPasswordFromStdin

-databaseNameAHD" finished with return code 101. Output:

java version "1.6.0_101"

Java(TM) SE Runtime Environment (build 6.1.080)

SAP Java Server VM (build 6.1.080 25.51-b02, Aug 6 2015 17:24:33 -

61_REL - optU - linux amd64 - 6 - bas2:247116 (mixed mode))

com.sap.inst.migmonctrl.exception.MigmonCtrlException:

com.sap.inst.migmonctrl.exception.MigmonCtrlException:

com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException:

[10]: authentication failed

at

com.sap.inst.migmonctrl.imp.database.JdbcConnection.createConnection(JdbcConnection.java:77)

at

com.sap.inst.migmonctrl.imp.database.JdbcConnection.get(JdbcConnection.java:138)

at

com.sap.inst.migmonctrl.imp.database.JdbcConnection.prepareQuery(JdbcConnection.java:176)

at

com.sap.inst.migmonctrl.imp.database.JdbcConnection.executeQuery(JdbcConnection.java:191)

at

com.sap.inst.migmonctrl.MigmonCtrlImport.initializeConnection(MigmonCtrlImport.java:296)

at

com.sap.inst.lib.migmonctrl.MigmonCtrlFactory.getInstance(MigmonCtrlFactory.java:60)

at

com.sap.inst.migmon.imp.ImportMonitor.startAppJob(ImportMonitor.java:440)

at

com.sap.inst.lib.app.CommandLineApp.doMain(CommandLineApp.java:116)

at

com.sap.inst.migmon.imp.ImportMonitor.main(ImportMonitor.java:484)

Caused by: com.sap.inst.migmonctrl.exception.MigmonCtrlException:

com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException:

[10]: authentication failed

at

com.sap.inst.migmonctrl.imp.database.JdbcConnection.establishConnection(JdbcConnection.java:118)

at

com.sap.inst.migmonctrl.imp.database.JdbcConnection.createConnection(JdbcConnection.java:59)

... 8 more

Caused by:

com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException:

[10]: authentication failed

at

com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException.createException(SQLInvalidAuthorizationSpecException.java:40)

at

com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:301)

at

com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:185)

at

com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:102)

at

com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1030)

at

com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:820)

at

com.sap.db.util.security.AbstractAuthenticationManager.connect(AbstractAuthenticationManager.java:43)

at

com.sap.db.jdbc.ConnectionSapDB.openSession(ConnectionSapDB.java:569)

at

com.sap.db.jdbc.ConnectionSapDB.doConnect(ConnectionSapDB.java:421)

at

com.sap.db.jdbc.ConnectionSapDB.<init>(ConnectionSapDB.java:174)

at

com.sap.db.jdbc.ConnectionSapDBFinalize.<init>(ConnectionSapDBFinalize.java:13)

at com.sap.db.jdbc.Driver.connect(Driver.java:235)

at java.sql.DriverManager.getConnection(DriverManager.java:582)

at java.sql.DriverManager.getConnection(DriverManager.java:185)

at

com.sap.inst.migmonctrl.imp.database.JdbcConnection.establishConnection(JdbcConnection.java:109)

*******************

I tried to login with the SAPAHD user to the

HANA DB(both HANA Studio and HDBSQL) and the login was successful and I do not see any

authentication issues with respect to this users to the HANA DB.

Kindly help me to check on this.

Regards,

Krishna

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 13, 2015 at 10:32 AM

    Hi Krishna,

    Create the SAP<SID> in your case SAPAHD ,in the System DB. And repeat the phase.

    BR,

    Sriram

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 10, 2015 at 09:46 AM

    Hello Krishna,

    Have you tried following Note 2093767?

    It seems as if you have entered the wrong password with the user.

    Regards,

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.