• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3572
  • Last Modified:



I started my stand-alone Reports Server as follows:

./rwserver server=RepSRV

All of a sudden, I noticed the following error:

REP-56105: Engine RWEng-0 died with error:/u01/app01/oracle_iAS_10g/bin/rwengine.sh  line 21:  -A command not found

1) What does this mean ?

1 Solution
Helena Markováprogrammer-analystCommented:
I hope this Metalink's Note:286391.1 will help you:

The information in this document applies to:
Oracle Reports Developer - Version: to

This problem can occur on any platform.

You are getting REP-51002 when you try to connect to reports server. When you try to start the reports server, you get an error :
In the Reports Server trace file , you see rep-56105
Engine rwEng-0 died with error:
<MIDTIER_ORACLE_HOME>/bin/rwengine.sh[8]: syntax error at line 45 : `elif' unexpected

You changed the reports.sh file using some non-ascii editor , and as a result some special characters were introduced in that file. That caused the reports.sh to be corrupted, and reports server was not able to interpret it properly, and as a result, you were getting syntax error.

Correct the corrupted file (here reports.sh, or report60.sh in 6i) or replace it from a backup if you have it. This could have happened with any file which was modified by some Windows editor which is non-ascii in nature (notepad is the safest windows editor).

You may also want to be careful, if you are in the habit of copying unix files to windows for modifications using some ftp tool, and then uploading it back to unix after modification. Many ftp tools are also supects .

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now