script error backup.

Expert Hi Please suggest what the problem with this script. When I go to run this script, it gives me error.

[root@pritesh backup_script] # sh oraerpPROD.sh

"raerpPROD.sh: line 2: near syntax error unexpected token ' in '.

"raerpPROD.sh: line 2: ' in $1 box.

[root@pritesh backup_script] #.

################################################################################################################################

script:

#! / bin/sh

case $1 in

implementation)

echo "STARTING ORACLE ERP TEST INSTANCE... »

Sleep 10

known - oratest - c 'start /u01/Stage11i/testdb/9.2.0/appsutil/scripts/TEST_pritesh/addbctl.sh '.

known - oratest - c "/u01/Stage11i/testdb/9.2.0/appsutil/scripts/TEST_pritesh/addlnctl.sh start TEST.

Sleep 10

known - appltest - c "/u01/Stage11i/testcomn/admin/scripts/TEST_pritesh/adstrtal.sh apps/apps.

#touch/var/lock/subsys/oraerpPCLONE

;;

stop)

echo "SHUTTING DOWN ORACLE ERP TEST INSTANCE... »

known - appltest - c "/u01/Stage11i/testcomn/admin/scripts/TEST_pritesh/adstpall.sh apps/apps.

#sleep 600

CNT ='ps - ef | grep FNDLIBR | grep appltest | WC-l"

echo $Cnt

slpcntr = 10

echo $slpcntr

While [0 - the $Cnt]

do

Sleep 10

slpcntr = ' expr $slpcntr + 10'.

echo $slpcntr

CNT ='ps - ef | grep appltest | grep FNDLIBR | WC-l"

If test $slpcntr - gt 1200

then

Kill - 9 ' ps - ef | grep FNDLIBR | grep appltest | TR-s "" | "" cut - d""-f2 | " AWK ' {print $1} "

Kill - 9 ' ps - ef | grep frmweb | grep appltest | TR-s "" | "" cut - d""-f2 | " AWK ' {print $1} "

FI

echo "Count = $Cnt.

If [$Cnt - eq 0]

then

echo "Count = $Cnt.

breaking

FI

fact

Kill - 9 ' ps - ef | grep frmweb | grep appltest | TR-s "" | "" cut - d""-f2 | " AWK ' {print $1} "

known - oratest - c "/u01/Stage11i/testdb/9.2.0/appsutil/scripts/TEST_pritesh/addlnctl.sh stop TEST."

Cntdb ='ps - ef | grep LOCAL = NO | grep oratest | WC-l"

echo $Cntdb

slpcntrdb = 10

echo $slpcntrdb

While [0 - the $Cntdb]

do

Sleep 10

slpcntrdb = ' expr $slpcntrdb + 10'.

echo $slpcntrdb

Cntdb ='ps - ef | grep LOCAL = NO | grep oratest | WC-l"

If test $slpcntrdb - gt 200

then

Kill - 9 ' ps - ef | grep LOCAL = NO | grep oratest | TR-s "" | "" cut - d""-f2 | " AWK ' {print $1} "

FI

echo "Count = $Cntdb.

If [$Cntdb - eq 0]

then

echo "Count = $Cntdb.

breaking

FI

fact

known - oratest - c "/u01/Stage11i/testdb/9.2.0/appsutil/scripts/TEST_pritesh/addbctl.sh immediate stop.

;;

ESAC

OS - oracle linux 4

EBS - 11i

concerning

pritesh Rodriguez

Hi the question is raised because I typed in windows and on linux server upload word file. There is no problem with code/script. to solve the problem I have even manually type all the code in the VI editor and run the same. script runs without any errors.


I get this idea of down:



"It's actually a very promising explanation.  If you typed upward on a Windows machine and then transferred, the likely problem is the file format. Yes, text is the text... but there is difference bewteen * nix and Windows, especially in the line breaks.

Make sure that you have opened script upward with a text editor on the server to check the hidden characters. Even if you write the whole thing from scratch, at least rewrite the first line - but do it locally, on the server, rather than on a Windows box and then download. »


Thank you

pritesh Rodriguez

Tags: Oracle Applications

Similar Questions

  • View CD can't mistake of player Director, was not found in the object #getPropRef, Script error. Continue?, yes no

    OT: Error player Director, not found in the object #getPropRef, Script error. Continue?, Yes No. nursing student cannot run his CD CD practice to work on other laptops. but not on it!

    Nursing Student cannot carry out its practice CD which comes with Prentice Hall Nursing book: "medical and nursing care 2nd edition, comments & justifications surgical."  CD works on PC and a laptop running Windows XP, Vista and Windows 7 and on an iMac; but not on it!  She has a Toshiba laptop with Windows Vista Home Premium and it just doesn't work!  My wife has lent her one of its laptops with Windows Vista, but the CD works fine.  What is the problem? I called Prentice Hall and got no help from them!  They said it was a computer problem.  This student is an exchange student and she would really any help.  I tried to clean the system and even tried the Optimizer5.2 perfect for the correction of errors in Script, but it didn't work.  Help please!  My only recourse is to backup all files and wipe the disk clean and start again to do a reinstall of all applications.  Any other ideas?  She had the phone since 2005 and the hard drive has only about 30% free space left on 147 GB.

    Hello cobblestone47,

    1. What is the version of the steering drive you use on your computer?

    2. the other users who are able to play the CD using the Director or shockwave player player is

    Player de Macromedia Director is also known as the Shockwave Player. I suggest that you uninstall the Director player and install the latest version of Shockwave player, and check if you have the same problem.

    You can follow the link below to download and install the latest version of Shockwave player:

    http://get.Adobe.com/Shockwave/

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • After you install the update, I get script error box popping up

    original title: after installing the update I get error script to appear, box what the sam Hill I do?

    I installed an update that recommended the bulk of security on my computer and now I get a script on the screen error message. When I tried to install a gamebar, so that the site wasn't ready yet so my update was unable to download the toolbar. This seems to be the script error that keeps popping up on my screen. I'm not an expert, far from it, in computer science, so I hope someone out there can help you.

    Thanks for your quick response and I appreciate the suggestion, but the person getting impatient that I am, I went to the backup and restore functionality and configure the computer a moment before I started to have trouble and that seems to have solved the problem. If I have problems in the future I will definitely use this site to ask questions, thanks again.

  • Script errors

    How can I fix it

    Please post a screenshot of this script error message.

    https://support.Mozilla.org/en-us/KB/how-do-i-create-screenshot-my-problem

    It is best to use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed a maximum file size of 1 MB.
    
    Then use the Browse .... button below the Post a Reply text box to upload the screenshot.
    
  • I get script error java application "too much recursion" and they come in 4. This happened after the upgrade to firefox

    Hello

    I've recently upgraded to firefox 35, after this upgrade, whenever I log on tumblr, I get this "java script application error too much recursion" and they come in 4 (I have to click on each one on top of the other). I am able to connect and do my normal stuff, but whenever I move to another page inside of tumblr, the same java script error appears and I have to click again to make them disappear.
    This seems to happen only on this website (tumblr).

    any help will be appreciated.
    Thank you

    for anyone else having this problem... Fixed it got...
    Xensemble app for tumblrto tumblr users, if the application that is causing the prob ' java script application error too much recursion ".
    Xensemble has finally solved the extension of the application and all what you need to do is to download the fixed xensemble extension on their site.

    Thank you

  • script error < button id = "abp-notification-Yes" label = "" & notification.button.yes; "/ > appear at the bottom of my browser Firefox." How can I get rid of this?

    When I open Firefox, I get a script error in the bottom of the browser (not in the status bar or of the 'frame', but in the current window. He cut my pages right there and just reads

    <button id="abp-notification-yes" label="&notification.button.yes;"/>
     _ _ _ _ _ _ ^
    

    My Firefox is updated (according to the site). I even deleted and reinstalled just to reappear after re installation. I tried 3 times with 'fresh' facilities (Nothing saved from the previous installation. Please help me get rid of this problem. Thank you

    It was in fact TrueBlock 2.0.2. I disabled it and my problem is now gone. I re-enabled it and it pops up. Thanks for the reply. He started me in the right direction.

  • script error

    script error? Try open http://happygift.uniqlo.com/app/m/ or http://happygift.uniqlo.com/app/ and choose "Tokyo" option button, it won't work. other browsers can do.

    the problem is the flash player, not firefox. To solve the problem:

    1. to go to a site with a flash video, such as youtube
    2. right click on the video and select "Global settings", this will open the configuration flash drive Manager
    3. click on the advance tab
    4. under 'data navigation and settings', click 'clear all '.

    That's it, you'll notice wil firefox run smoothly once more. If after a while firefox slow to respond again, just do the same thing to fix. Good luck!!!

  • 16.0.2 does not correctly load due to the AVG script error

    I upgraded 16.0.2 about half an hour ago (had no internet access for 3 weeks, so end update of Firefox) and found I get a script error: "a script on this page error is busy..." Chrome://AVG/content/js:532'). I guess that this refers to the installation of taskbar and search for AVG SafeSearch. The only way I can use Firefox is with the default settings, which disables the AVG SafeSearch. Can I get the taskbar of the AVG and 16.0.2 to work together? Any help, greatly appreciated.

    I got the below info earlier with Firefox default setting as the tab would not load with the taskbar enabled.

    http://forums.Avg.com/ww-en/AVG-forums?sec=thread & Act = Show & ID = 206731

    We regret to inform you that the AVG Safe Search add-on will not be available for Mozilla Firefox 13 (and newer) browser.
    
    So verdict icons rating websites will no longer be available in Firefox 13 and newer.
    
    AVG Surf-shield and AVG Secure Search (isearch.avg.com) component's support for Firefox Browser will continue. Security level of Firefox user will not decrease.
    
  • Script error does not YouTube HTML5

    With the YouTube HTML5 (http://www.youtube.com/html5 ) mode is activated, any video that is played with the HTML5 player will give me a script error does not respond on "" Script: http://s.ytimg.com/yt/jsbin/html5player-vflGWJljH.js:58".

    Note that not all videos play on the HTML5 player. Try this video: http://www.youtube.com/watch?v=cdgQpa1pUUE

    Howard Forum Wiki gives me unresponsive script error as well. Go in http://www.howardforums.com/showwiki.php?title=Android+Wiki: on and click on the Discussion tab and I get an error of "Script: http://www.howardforums.com/clientscript/vault/reset.js?v=3014:285"script. "

    Google knows about the issue, and they should be updating the Web site later today.

  • I get script errors repeated, especially because of YouTube videos.

    Since updating to 10.0.2 I get a ridiculous amount of script errors. It happens usually when you try to load a video from YouTube, even if not on YouTube and embedded on a forum. The browser everything will freeze for about 40 seconds and then a script error will pop up saying a script on the page is not responding and stop script or continue. No matter who I choose, the browser will then freeze for another 40 seconds, then the YouTube video will load... slow and ended up playing. He does this with a few other things too, such as Facebook, as the buttons on some sites. I have not had any problems before the update yesterday.

    Finally, I fixed that by running the uninstall program flash from Adobe, I have downloaded, restart and then reinstall the latest version of flash.

  • "svchost" and "script" error on my Tecra S2

    I have a Tecra S2. When I boot, I get a svchost.exe error and (sometimes) an on toshiba pc health script error. Can someone help me with this problem?
    Its really bugging me.

    Hello

    Have you checked the operating system to viruses?
    Did you use an anti-virus program?
    Well, I found information that could be a horse of TROJAN TOFGER-AP.
    http://www.pcreview.co.UK/startup/Svchost.exe.php

    In my opinion, you need to update your antivirus program and do a full scan of your device.

    Best regards

  • Ustream and Script errors does not

    I watch the Decorah Eagles and want to leave it on for long periods of time. However, I get Script errors is not responding. If I'm right there when they occur, I can click on "stop script" and all is well. But if I entered it here, the script block not only the dissemination of Ustream, but my internet connection.

    There are several different script errors and that they occur in Safari, Firefox and Chrome. I have a page but don't see is not a way to fix it.

    Any ideas to solve this will be appreciated.

    Mac 10.6.8

    P.S. I have tried to get help from Ustream Chat, Forums of Ustream and sent a question to the support (which made me an email telling me that if I'm on a paid version of Ustream, I won't get an answer).

    sharon175 wrote:

    I watch the Decorah Eagles and want to leave it on for long periods of time. However, I get Script errors is not responding. If I'm right there when they occur, I can click on "stop script" and all is well. But if I entered it here, the script block not only the dissemination of Ustream, but my internet connection.

    There are several different script errors and that they occur in Safari, Firefox and Chrome. I have a screen shot but don't see is not a way to fix it,

    Any ideas to solve this will be appreciated.

    Mac 10.6.8

    P.S. I have tried to get help from Ustream Chat, Forums of Ustream and sent a question to the support (which made me an email telling me that if I'm on a paid version of Ustream, I won't get an answer).

    Drag & Drop will work - or - camera tool > search

    Script errors are just that - bad JavaScript in web pages = thus, they will appear in all browsers. Thus, no attachments from your end.

    Looks like you're stuck

  • HP printer Assistant does not work, script error

    Hi, I have a Photosmart Plus B210 connected wireless to my home network.

    When I try to run the wizard on the printer, I get a script error (only, not open in Notepad), as seen in this post:

    http://support.HP.com/us-en/document/c03640384

    To try to solve this I have done both steps of the solution 1 and 2 in this post (I'm on Vista x 64) and still have the problem.

    In desparation I tried also the recommendation of this post, suggested by Erico:

    http://h30434.www3.HP.com/T5/printer-networking-and-wireless/script-error/TD-p/1460221

    I have uninstalled/reinstalled all the software and drivers, using the two Uninstall HP once, and using another control panel and still have the problem.

    Note, printing works fine, just cannot run the wizard on the printer. Thank you for your help.

    Hi scooby_doo,

    I found another forum with someone with script errors, I wonder if the solution might work for you.

    HP printer Assistant scipt errors

    I would like to know if it works and if not I will continue to seek a solution for you.

  • Script error when printing a web page

    Cannot print web page on attached USB printer.  Results in a script error message.  Using a HP Officejet Pro 8500 first running on a Windows 7 64-bit system.  I am able to print the web page if I choose a network printer.

    I mainly use Internet Explorer.  I am currently using v9.0.8112.16421.  I used to have this problem, and it is possible that it started after I upgraded from v8 to v9.  As you suggest, I have tried with Firefox v13.0.1 and it gave me an error message about a script error, but it also printed the page.  I also tried with Chrome v20.0.1132.47 m and it printed without any problems at all.  As I said, I have my printer via the USB port and network and am also able to print from explore with no script error if I use the accessory network instead of the attachment of the USB.  When I use the accessory USB it gives me the script error and will not print.  It is said that there is no connection for this connection ID and it shows a URL of type res://ieframe.dll/preview.js

  • When I try to print I get internet script error

    I'm trying to get my hp 609n wireless printer to print pages on the internet. When I selent a page or an article to print I get a script error message, it says: an error has occurred in the script on this page-how can I fix this sucker

    Internet Explorer, Firefox , Opera, and Google Chrome are a Grazer. Yahoo and Google, at least that you're referring to Google Chrome are not browsers. The browser is what to change. There are three images below three different browsers. You are probably using Internet Explorer. Switch to another browser for a test print.

    Google Chrome

    Firefox

    Opera

    Do you understand the browser term as an interface? It is a graphical user interface that allows you to connect to MSN and Yahoo to browse the internet.

    Best regards

    ERICO

Maybe you are looking for

  • erratic wireless keyboard and mouse

    Two week old HP Pavilion h8 - 1380t, core i7-3820: 3.60 GHz, 14 GB of memory 1600, Win7 Pro 64-bit. Keyboard & mouse extremely accurate up until yesterday. KB & mouse connect with internal wireless, not the Receiver USB receiver. Keyboard started err

  • XP - after updates taskmgr.exe takes 30 to 50% of my CPU

    After a recent "update" of my software Windows Virtual PC and Windows XP taskmgr.exe and ntvdm.exe started going crazy with 30-50% of my CPU at all times... slow down the use of "any" program to a crawl. On the side of Windows 7 is fine no problem. N

  • D/DVD-ROM drive cannot read the CD or DVD

    Hello I use Windows Vista on my laptop. Its quite some time that I did not use my DVD/CD drive. Today, I try to use but cannot read any CD or DVD. I was trying to solve the problem of updating the drive, but still cannot fix. Can I use Microsoft FIX

  • Vista detects wrong monitor

    I have an Acer X193W lcd monitor, but Vista detects it as E151H.I tried to install correct driver but visits won't tell me that the best driver is already installed.Tried to remove the driver and restart, but Vista still detects incorrect monitor. Vi

  • BlackBerry Smartphones uninstalled completely absent from the list of uninstalled App World app

    Hello Recently, I uninstalled an application _by accident_, and now it has completely disappeared from the list even uninstalled my world. When I go to the app in the App World, I see the app, but there is no icon to install or reinstall. How to brin