cancel
Showing results for 
Search instead for 
Did you mean: 

Startup of instance failed

Former Member
0 Kudos

Hi all!

Our SAP ERP servers have been moved from A place to B place physically. Develop server which is one of moved servers startup sucessfully but Product server met follow error when I tried to startup with command 'startsap'.

The server IP and hostnames are same with before. I don't know the reason. Please help me!

-- Error message --

#> su - prdadm

#> startsap

/usr/sap/PRD/SYS/exe/run/startsap[1534]: 0403-057 Syntax error at line 1541 : 'if' is not matched.

--- the contents of startsap line 1541 --

#====================================================================

#

  1. FUNCTION: start_instance

#

  1. PURPOSE: starts the SAP instance

#

start_instance()

{

setTrace "##### start_instance() start"

SAPSTARTSRV="";

if [ -f $EXEDIR/sapstartsrv ];then

SAPSTARTSRV=$EXEDIR/sapstartsrv

elif [ -f $CT

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> -- Error message --

> #> su - prdadm

What's the output of

echo $SHELL

and

id

at this time?

Markus

Edited by: Markus Doehr on Feb 14, 2010 6:43 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks for your reply

The error message is '/usr/sap/PRD/SYS/exe/run/startsap1534: 0403-057 Syntax error at line 1541 : 'if' is not matched'

There are following messages in the startsap file at line 1541

The messages are ended 'elif [ -f $CT'

Please help me!!!

what is problem? Perhaps the file 'startsap' has been broken?

#====================================================================

#

  1. FUNCTION: start_instance

#

  1. PURPOSE: starts the SAP instance

#

start_instance()

{

setTrace "##### start_instance() start"

SAPSTARTSRV="";

if -f $EXEDIR/sapstartsrv ;then

SAPSTARTSRV=$EXEDIR/sapstartsrv

elif [ -f $CT

Former Member
0 Kudos

Hi Seungdam,

It seems to be some problem with the script "startsap". Has the script been touched and modified unknowingly after the servers have been moved? Please check with your OS admiministrators to find out things.

Regards

Sourabh Majumdar

Former Member
0 Kudos

Hello seungdam,

please help us to help you. Best by answering the questions asked by Markus above.

If you are sick, and you go to the doctor, you will answer his questions, won't you?

Former Member
0 Kudos

Hi Seungdam,

Has the problem got identified? Is the issue resolved?

Regards

Sourabh Majumdar