Need a second set of eyes

Oracle 11.2.0.2.0 StdEd 64-bit

Oracle Linux 5.3 64-bit

This question is probably in the cracks between SQL and linux shell scripting...

Given this piece of shell script (#! / bin/sh):

sqlplus sys/${syspw}@${srcdb s} as sysdba < < EOF

Set echo off feedback off verify wide head

Select log_mode from v$ database;

output

EXPRESSIONS OF FOLKLORE

#

{srclogmode ='sqlplus-s sys/${syspw}@${srcdb} as sysdba < < EOF1

Set echo off feedback off verify wide head

Select log_mode from v$ database;

output

EOF1'

echo log source mode is $srclogmode

output


the first behaves exactly as expected:

NOARCHIVELOG

But the second, by assigning the sqlplus output to a variable, the "echo" statement rpoduces

Source journal mode is select log_mode from v dupeactive dupeactive.save refresh_test_db report_oracle_inventory startem ERROR at line 1: ORA-04044: procedure, function, package or type is not allowed here

The 'dupeactive', 'dupeactive.save', etc., are the names of the files in the current directory.

?!?!?!?

You may need to switch using parentheses-dollar $ () to run commands shell instead of the old back-ticks. $ () Does not have this error.

View shell - what is the difference between $(stuff) and 'stuff'?-Unix & Linux change battery

Tags: Database

Similar Questions

  • Need of second pair of eyes to find Analyising BSOD errors.

    Hi all

    I recently built a computer from scratch using the following components:

    INTERNAL:
    Card mother (GA-970-a - UD3) Gigabyte Tech w / 8 GB RAM
    Cooler Cooler Master Hyper 212
    AMD FX-8350 8-core processor - black edition
    AMD Black Edition graphics card R7870
    SeaGate 2 TB SATA HARD drive
    Corsair HX650 PSU
    Writing of Asus-48 x/24 x rewrite/48 x read CD/DVD drive
    TP-LINK TL - WDN4800 N900 dual band Wireless PCI Express Adapter

    EXTERNAL:
    Two IPS HP 22 "monitors
    WD 1 TB external hard drive
    W Klipsch surround sound system / Sound Blaster headphones

    (Added the outside just in case bits wherever they were originally a kind of incompatibility that someone could see.)

    The computer is barely a month and I got a few BSOD. Unfortunately, time did not check far .dmp files, only I think I'm going blind because I can not find where the issues is / is.

    I was wondering if anyone would be good enough to help me eliminate through these files (there are four in total) to try to locate the conflict?

    Link to the file .zip containing the .dmp files:

    https://SkyDrive.live.com/redir?RESID=9E718950D4D5A5E2! 127 & authkey =! AD1RYuPZBvcegQg

    Any help is greatly appreciated!

    Literally all of them concerned the EtronXHCI.sys eXtensible Host Controller Driver of turd Technology Inc.   Yours is 2 years and more.  I would like to re - install the most recent driver available.

    Just to play safe I would also run a file system check

    To run a check of the filesystem (CFS)


    Open a cmd high window

    (Go to start > type CMD > right click and run as administrator)
    Type SFC/scannow
    You may need to run this upward to 3 times.

  • I need a new set of eyes to look at my work, could help forum?

    Hi forum members.

    I started with no experience with Illustrator, Photoshop or character animator. Never heard of the puppet animation until I saw a video on You Tube. But through the magic of blind chance, I a puppet. It only took 4 months. But it does not work.

    I would like the form to look at a few screenshots, and discovered by the structure and layers. IHAVE tried to produce the puppet as "Wilk". But when I imported it Ch nothing happens. No lip SNYC, no movement of the head, eyes or eyebrows.

    The puppet contains only the frontal view, have four heads more to add. In addition, 9 games to hand more.


    Take a look any assistance will be greatly appreciated.


    Thank you

    BY

    Nice character!

    Another look at the structure of Wilk - it seems that you have the right parts, but just the group/organize properly.

    1. put your point of view within a leading group.

    2. place your pieces (such as the mouth and eyes) within the groups named as Wilk.

    I think once you emulate that structure a little closer, things should start to work.

  • HP recovery media does not, need to do the second set of recovery on USB media.

    Hello

    I have a new HP Envy laptop that I have created a set of recovery on six DVD media.  These work very well, but are a pain in the end to keep pending next DVD to load.

    So I tried to make another recovery media and place it on a USB key.  Discovered, that it will not allow a second value created.

    So I then ordered and paid for a recovery of HP media.  A beautiful labeled Microsoft USB key came. Great, I thought.

    My laptop because of my fault I failed and wouldn't boot.  So I decided to use my new HP USB stick and after that go into the BIOS and disable the boot from USB stick and start secure etc as he said to it returned with an error that "this computer can not be recovered from this media!"

    I then pluged in my DVD - ROM external and used drive recovery media that I did and it worked perfectly!

    I tried the live chat with a technical person of HP and they checked the serial number and said I got what should work.  They could do a repair ticket and send the laptop.

    It makes no sense to me as I have the unit upwards and running, but I wanted to know how I could get a USB work recovery media.

    I ended up saying goodbye as they were of no help.

    My questions are:

    (1) why this media does not work?

    (2) is it possible to make a second set of recovery media?

    (3) is there a way to transfer my recovery media DVD 6 on a USB?

    OLD POST > I first noticed the order said it was a pn 735088-002 and a sticker outside the wand that has the same number, BUT when he looks at a name on the flash drive is 735088-DB2... >

    UPDATE:

    The new USB recovery media came today from HP.   He had again the same top part number that the original order has been 735008-002, BUT this time the corresponding came USB drive name to the tile. 735008-002 , I inserted this new media and it is fully charged.

    Thank you for all your help.

  • I need a second Apple ID/e-mail address.  How?

    I need a second Apple e-mail address.  How?

    Settings > Mail, Contacts, calendars > accounts > add account

  • I just reinstalled windows xp sevice pack 3 in my laptop. l need help to set up the wireless modem. My laptop is IBM ThinkPad.

    I just reinstalled windows xp sevice pack 3 in my laptop. l need help to set up the wireless modem. My laptop is IBM ThinkPad and the modem is a construction in one. would appriciate ay help

    Hi bardhiboris,

    You can follow the steps from the link below: set up a wireless network:http://www.microsoft.com/windowsxp/using/networking/setup/wireless.mspx

    Other links, please refer to: 10 tips to help improve your wireless network:http://www.microsoft.com/athome/setup/wirelesstips.aspx

    To set up automatic wireless network configuration:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/wlan_client_configure.mspx?mfr=true

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I need help to set up the linksys adsl router

    Hello world!

    I have LINKSYS WIRELESS - N HOME ADSL2 + MODEM ROUTER (wag120n) and I connect to the internet via the cable that I took my friend who already SPEEDTOCH ADSL ROUTER, I bought the d-link wireless card and I install it in one of my PC
    what I need is to set up my linksys wireless router for my two PCs, on via the wireless and another an ethernet cable, how can I do?

    thanks4all

    Follow this link to configure the router.

  • Do I need a second WAP54G?

    Miss me part of the configuration, or miss me an access point.  Any help is appreciated.

    Here we go...

    I have a wireless ISP router that serves as my internet source.  I have a laptop that connects to what just fine (wireless) and can surf the web. I have a router WRT54GS (router called "A") connected to the ethernet port (1) on the ISP router.  The router is used 2 wireless computers on my floor of my house.  I have no problem, surf the web with these two computers.

    Here is where the fun begins.

    In my Office I have a WAP54G that connect wirelessly to the router.  Can I connect a pc or a server via Cat5 on port ethernet of the WAP54G and surf the web. At this point, all is well in my world.  But it was not good enough!  I'm working on a large number of pc and I need more connections in my office.

    I decided to connect another router (WRT54G Router called "b") to the WAP54G so that I could connect several computers to a kvm in the same room all wired.

    I connected via cat5 ethernet port WAP on the WAN port on the router B.

    I then connected to a pc/server/laptop (yes I tried everything) to router B and I couldn't surf the web but could have access to router via web services.

    Things I know.

    When you are connected to router B.  I received a valid (via DHCP) IP address of the router.  Can I access router via WAP.  This means that I was able to connect to router and change all the settings.  Without router B in the image of a pc/server/computer laptop all work well when hard connected to the WAP.  Even with the router B connected to WAP (and the machines connected to router B does not) my other computers that connect wirelessly to the router work seamlessly.  In the router I have updated the list of mac filter with the mac address of each asset.

    so...   If I don't have not lost...  What do you think?

    Do I need a second WAP to complete the bridge?

    WAP needs to be connected to a port ethernet in router B?

    I forget just an easy adjustment?

    Is it impossible given equipment I currently have?

    Do you need clarification or have any questions?

    Can you help me?

    Thank you for your time and your thoughts,

    Justin

    If it helps, it's Ikster who helped me no volcano. I pasted the shortcut to this one below, don't forget to turn off your firewall until you have your configuration work.

    http://forums.Linksys.com/Linksys/board/message?board.ID=Access_Points&message.ID=3533&query.ID=2007...

  • need help to set up Linksys printserver with verizon wifi hotspot

    need help to set up Linksys printserver with verizon wifi hotspot

    pfsjmhall,

    Configure your wireless router to use these recommended wireless router settings, I use channel 11. I would use a new SSID to connect easier.

    Then configure the Linksys print server. Find your network to give your passkey (password)

    Then set up the printer, choose network and follow the instructions.

    Rick

  • Need help with setting up in checkbox in interactive reports

    I need help with setting up in checkbox in interactive reports, I use this statement a query

    SELECT apex_item.checkbox

    (

    1, ROLEID,

    'onchange = "spCheckChange (this);". ',

    : F_ROLEID_LIST,.

    ':'

    ), del.

    ROLEID, ROLEDESCRIPTION

    OF EBA_ROLES

    When I run it I get the following

    < input type = "checkbox" name = "f01" value = "1" onchange = "spCheckChange (this); ' / > instead of the checkbox

    Do I need to configure anything else

    Aditya Gupta wrote:

    I need help with setting up in checkbox in interactive reports, I use this statement a query

    SELECT apex_item.checkbox

    (

    1, ROLEID,

    'onchange = "spCheckChange (this);". ',

    : F_ROLEID_LIST,.

    ':'

    ), del.

    ROLEID, ROLEDESCRIPTION

    OF EBA_ROLES

    When I run it I get the following

    instead of the checkbox

    Do I need to configure anything else

    This is one of the most frequently asked questions in this forum. Set the column attribute the text to display as Standard report column and not display text (special escape characters).


    Always include the information referred to in these guidelines when you ask a question and if you use APEX 5.0, State, if you develop using the pages or the view of the component designer.

  • Is it possible to have a second set of faces attached to a keyboard shortcut?

    Hello

    I wonder if there is a way to have a second set of faces attached to a keyboard shortcut?

    I have a normal set of forms of mouth working with sync lip.  I also established a second series of mouth that are 'happy mouths. "

    I would like to be able to keep a key and lip sync use immediately all forms of mouth instead of the normal mouth forms happy.

    I tried to do a couple of different ways without success.  Is this possible?

    Thank you!

    Yes. Try this small example: http://adobe.ly/2bkcMJ4

    Basically, I made a group called switch, had two groups inside I have the tag with the mouth and makes key elements of B for the second series (of mouth backwards) on.

  • How can I reinstall the Photoshop from one computer to another? I didn't need a second license...

    How can I reinstall the Photoshop from one computer to another? I didn't need a second license...

    You are allowed to install Photoshop on two computers. Recent versions allow to choose if they are versions Mac or Windows, or one of each!

  • ORA-02019 - need another set of eyes

    It must be fair in my driveway, but something is cheating on me.

    Try to use db link returns the equivalent of ora-12154/tns-03505 but tnsping says its there

    Connected to:

    Oracle Database 11 g Release 11.2.0.2.0 - 64 bit Production

    SQL > select count (*) in the attendee@epm;

    Select count (*) in attendee@epm

    *

    ERROR on line 1:

    ORA-02019: description of the connection to the remote database not found

    SQL > select host dba_db_links where db_link = 'EMP ';

    HOST

    --------------------------------------------------------------------------------

    epmdev. World

    SQL >! epmdev.World tnsping

    AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on 16 July 2015 10:21:47

    Copyright (c) 1997, 2010, Oracle.  All rights reserved.

    Use settings files:

    /U01/app/Oracle/product/11.2.0.2/PS/network/admin/SQLNET.ora

    TNSNAMES adapter used to resolve the alias

    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxsqlsrvrxx) (port = 1521)) (CONNECT_DATA = (SID = epmdev)) (HS = OK))

    OK (0 msec)

    SQL > show the global_names parameter

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    global_names boolean FALSE

    SQL > show the db_domain parameter

    VALUE OF TYPE NAME

    ------------------------------------ ----------- ------------------------------

    db_domain chain

    A private DB link? I forgot once when I ORA-02019

  • How to set up the second computer to edit pdf files. I guess I don't need a second subscription?

    Hi, I can edit PDFs on my desk and pay a monthly subscription.

    How can I configure to modify pdf files on my laptop for when I'm out and about.

    If I go to tools and select edit it sends me to the Adobe site and does not allow editing, simply show where to subscribe to Acrobat pro, which I am already

    Hi Simon,.

    You can install your software subscription on two computers. See the product license agreement, that you want to subscribe to for more information.

    You can register the software with Adobe credentials.

    Concerning

    Sukrit diallo

  • Need help to set up parental controls

    Hello

    I want to set up parental controls on my son's laptop computer.

    Thus, users are

    His name

    Director of comp.

    Password protected

    not monitored by family safety

    I thought that I could not / would not set up on the administrator, so I created a second user

    His name1

    standard user - control parental on

    no password

    monitored by family safety

    I have implemented controls, but they are not in force, I guess, because they should be on his main user? If this means that it can change the settings since this is admin?  I'm confused :(

    Hi Dee2537,

    We are happy to help you set up parental controls in your son's laptop computer. Given the information you have provided, we see that you addressed some of the scenarios where parental control will not work correctly. One of it is implemented in your child as an administrator's account. Family safety not restrict and recognize the account as a child, if the application detects that it is using an administrator account. The other implements access to his account without password because Family Safety requires that the user has a password to secure the account. Because you have pain to configure the account correctly, we strongly recommend that you follow the instructions step by step on how to set up on behalf of the child in the family security and laptop to your son.

    Here is the link where you can find the complete steps: setting up parental controls

    Please let us know if you need more help and we will help you the best we can.

    Thank you.

Maybe you are looking for