On 09/16/15 21:18, Andrei Borzenkov wrote:
16.09.2015 16:26, Muhammad Sharfuddin пишет:
On 09/16/15 17:03, Andrei Borzenkov wrote:
On Wed, Sep 16, 2015 at 2:13 PM, Muhammad Sharfuddin
<[email protected]> wrote:
On 09/16/15 16:07, Kai Dupke wrote:

On 09/16/2015 12:52 PM, Muhammad Sharfuddin wrote:

Error: Command execution failed. : Database user authentication failed:
No access to SecureStore or DB_CONNECT/SYB/SADB_USER or
DB_CONNECT/SYB/SADB_PASSWORD is missing in SecureStore or password is
incorrect. Provide credentials for user sapsa via command input or
provide access to SecureStore. (fault code: 127) ]

That looks like the issue. Might be you have to configure
authentication?

But when  we start sap manually via command:
     startsap -i ASCS00 -v KHIERP
     startsap -i DVEBMGS01 -v KHIERP

Sybase and SAP starts smoothly, without any error. The mentioned
error only
appears when we try to start Sybase via Cluster

agent does not use startsap; it is using saphostctrl as root:

$SAPHOSTCTRL -function StartDatabase -dbname $SID -dbtype $DBTYPE
$DBINST $FORCE -service
-function StartDatabase does not  exist.

does it work for you manually?

No.

I can start the Application instances via $SAPHOSTCTRL as:
     /usr/sap/hostctrl/exe/sapcontrol -nr 00 -function Start
/usr/sap/hostctrl/exe/sapcontrol -nr 01 -function Start


saphostctrl != sapcontrol. sapcontrol is for sapstartsrv and saphostctrl is for SAP Host Agent. SAP Host Agent has explicit support for Sybase, but you need to setup credentials keystore.

./saphostctrl -function StartDatabase -dbname ERP -dbtype syb -dbuser sapsa -dbpass <PASSWORD> -service -force
Webmethod returned successfully
Operation ID: 0050568536081ED59793FF0DE1568884

--
Regards,
Muhammad Sharfuddin


_______________________________________________
Users mailing list: [email protected]
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to