REP-56105

Hello,

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 ?

PT
ptrevesAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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: 6.0.8.8 to 9.0.4.0

This problem can occur on any platform.
Errors
REP-51002
REP-56105

Symptoms
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
",

Cause
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.

Fix
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 .
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.