<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 09/16/15 21:18, Andrei Borzenkov wrote:<br>
<blockquote cite="mid:55F99653.3090700@gmail.com" type="cite">16.09.2015
16:26, Muhammad Sharfuddin пишет:
<br>
<blockquote type="cite">On 09/16/15 17:03, Andrei Borzenkov wrote:
<br>
<blockquote type="cite">On Wed, Sep 16, 2015 at 2:13 PM,
Muhammad Sharfuddin
<br>
<a class="moz-txt-link-rfc2396E" href="mailto:M.Sharfuddin@nds.com.pk"><M.Sharfuddin@nds.com.pk></a> wrote:
<br>
<blockquote type="cite">On 09/16/15 16:07, Kai Dupke wrote:
<br>
<br>
On 09/16/2015 12:52 PM, Muhammad Sharfuddin wrote:
<br>
<br>
Error: Command execution failed. : Database user
authentication failed:
<br>
No access to SecureStore or DB_CONNECT/SYB/SADB_USER or
<br>
DB_CONNECT/SYB/SADB_PASSWORD is missing in SecureStore or
password is
<br>
incorrect. Provide credentials for user sapsa via command
input or
<br>
provide access to SecureStore. (fault code: 127) ]
<br>
<br>
That looks like the issue. Might be you have to configure
<br>
authentication?
<br>
<br>
But when we start sap manually via command:
<br>
startsap -i ASCS00 -v KHIERP
<br>
startsap -i DVEBMGS01 -v KHIERP
<br>
<br>
Sybase and SAP starts smoothly, without any error. The
mentioned
<br>
error only
<br>
appears when we try to start Sybase via Cluster
<br>
<br>
</blockquote>
agent does not use startsap; it is using saphostctrl as root:
<br>
<br>
$SAPHOSTCTRL -function StartDatabase -dbname $SID -dbtype
$DBTYPE
<br>
$DBINST $FORCE -service
<br>
</blockquote>
-function StartDatabase does not exist.
<br>
<blockquote type="cite">
<br>
does it work for you manually?
<br>
<br>
</blockquote>
No.
<br>
<br>
I can start the Application instances via $SAPHOSTCTRL as:
<br>
/usr/sap/hostctrl/exe/sapcontrol -nr 00 -function Start
<br>
/usr/sap/hostctrl/exe/sapcontrol -nr 01 -function Start
<br>
<br>
</blockquote>
<br>
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.
<br>
<br>
</blockquote>
<small> ./saphostctrl -function StartDatabase -dbname ERP -dbtype
syb -dbuser sapsa -dbpass <PASSWORD> -service -force</small>
<div>Webmethod returned successfully</div>
<div>Operation ID: 0050568536081ED59793FF0DE1568884</div>
<br>
--<br>
Regards,<br>
Muhammad Sharfuddin<br>
<br>
<br>
</body>
</html>