on 02-14-2010 4:57 PM
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 --
#====================================================================
#
FUNCTION: start_instance
#
PURPOSE: starts the SAP instance
#
start_instance()
{
setTrace "##### start_instance() start"
SAPSTARTSRV="";
if [ -f $EXEDIR/sapstartsrv ];then
SAPSTARTSRV=$EXEDIR/sapstartsrv
elif [ -f $CT
> -- 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
#====================================================================
#
FUNCTION: start_instance
#
PURPOSE: starts the SAP instance
#
start_instance()
{
setTrace "##### start_instance() start"
SAPSTARTSRV="";
if -f $EXEDIR/sapstartsrv ;then
SAPSTARTSRV=$EXEDIR/sapstartsrv
elif [ -f $CT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.