[ClusterLabs] SAPDatabase is not starting Sybase database
Muhammad Sharfuddin
M.Sharfuddin at nds.com.pk
Wed Sep 16 17:38:35 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.
>
/usr/sap/hostctrl/exe/saphostctrl -function StartDatabase -dbname ERP
-dbtype syb -dbuser syberp -dbpass -service -force
Error: HTTP error, HTTP/1.1 401 Unauthorized
>> But when I try to execute the:
>> /usr/sap/hostctrl/exe/sapcontrol -function StartDatabase ** ** **
>> command prints help for me to read
>>
>>
>> --
>> Regards,
>>
>> Muhammad Sharfuddin<http://www.nds.com.pk>
>>
>
>
--
Regards,
Muhammad Sharfuddin
More information about the Users
mailing list