[ClusterLabs] SAPDatabase is not starting Sybase database

Muhammad Sharfuddin M.Sharfuddin at nds.com.pk
Thu Sep 17 04:51:48 UTC 2015


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
>>> <M.Sharfuddin at nds.com.pk> 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20150917/ac4e1a47/attachment-0002.html>


More information about the Users mailing list