Intermittent error while trying to connect oracle through shell script

Hi All,
I am getting following error Intermittently while connecting to oracle database.
ERROR:
ORA-03113: end-of-file on communication channel
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[<password>][@<connect_string>] | /
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where <logon> ::= <username>[<password>][@<connect_string>] | /
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
Please help.
Thanks in advance.

I cannot give this file D:\oracle\ora92\network\trace\cli_3932_1.trc (sorry for that) No problem I understant that you don't want post sensitive information.
You may contact Oracle Support Services (raise a SR along with generated trace files) for problem resolution.
TNS-12547: TNS:lost contact
TNS-00517: Lost contact12547, 00000, "TNS:lost contact"
// *Cause: Partner has unexpectedly gone away, usually during process
// startup.
// *Action: Investigate partner application for abnormal termination. On an
// Interchange, this can happen if the machine is overloaded.
00517, 00000, "Lost contact"
// *Cause: Partner has unexpectedly gone away.
// *Action: Investigate partner application for abnormal termination.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Error while trying to execute a unix shell script from java program

    Hi
    I have written a program to execute a unix shell script in a remote machine. I am using J2ssh libraries to estabilish the session connection with the remote box.The program is successfully able to connect and authenticate with the box.
    The runtime .exec() is been implemented to execute the shell script.I have given below the code snippet.
    try {
         File file_location = new File("/usr/bin/");
         String file_location1 = "/opt/app/Hyperion/scripts/daily";
         String a_mib_name = "test.sh";
         String cmd[] = new String[] {"/usr/bin/bash", file_location1, a_mib_name};
         Runtime rtime = Runtime.getRuntime();
         Process p = rtime.exec(cmd, null, file_location);
    System.out.println( "Connected to the server1" );
    BufferedReader br = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String line = br.readLine();
    while(line !=null)
    System.out.println(line);
    line = br.readLine();
    br.close();
    p.getErrorStream ().close ();
    p.getOutputStream().close();
    int retVal = p.waitFor();
    System.out.println("wait " + retVal);
    //session.executeCommand("ls");
    catch (IOException ex) {
    I get an error message
    Connected to the server
    java.io.IOException: Cannot run program "/usr/bin/bash" (in directory "\usr\bin"
    ): CreateProcess error=3, The system cannot find the path specified
    at java.lang.ProcessBuilder.start(Unknown Source)
    at java.lang.Runtime.exec(Unknown Source)
    at SftpConnect.main(SftpConnect.java:143)
    Caused by: java.io.IOException: CreateProcess error=3, The system cannot find th
    e path specified
    at java.lang.ProcessImpl.create(Native Method)
    at java.lang.ProcessImpl.<init>(Unknown Source)
    at java.lang.ProcessImpl.start(Unknown Source)
    I am sure of the file path where the bash.sh and test.sh are located.
    Am i missing something? Any help would be greatly appreciated.
    Thanks
    Senthil

    Hi, I am using a simple program to connect to a RMI server and execute shell script. I use the Runtime.exec aommand to do the same.
    The script is sh /tmp/pub/alka/test.sh /tmp/pub/alka/abc/xyz/ul ul
    The script when run from the server, gives no errors. But when ran using rthe above method in java, gives errors as follows,
    Mycode:
    String command = "/bin/sh /tmp/pub/alka/test.sh /tmp/pub/alka/abc/xyz/ul ul";
    Runtime rt = Runtime.getRuntime();
    Process proc = rt.exec(command);
    int exitVal = proc.exitValue();
    System.out.println("Process exitValue: " + exitVal);
    java.io.IOException: CreateProcess: /bin/sh /tmp/pub/alka/test.sh /tmp/pub/alka/abc/xyz/ul ul error=3
         at java.lang.ProcessImpl.create(Native Method)
         at java.lang.ProcessImpl.<init>(Unknown Source)
         at java.lang.ProcessImpl.start(Unknown Source)
         at java.lang.ProcessBuilder.start(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at DecryptTest.main(DecryptTest.java:18)
    Can anyone please help

  • Linking error while trying to connect to 10 g oracle db through OCCI

    Hello experts,
    Iam getting a linking error while trying to connect to 10 g through OCCI.I've tried both available Instant client versions,But no luck.now, I am using instant client 11.2.0.2 with visual studio 2005 and oracle 10 g on 32 bit XP. I get "*The procedure entry point OCILobSetContentType could not be located in the dynamic link library OCI.dll*" linking error
    How can i fix this error
    Thanks in advance..
    Regards,
    Srihari

    Hello,
    Please ensure that you are using correct PATH and ORACLE_HOME settings - for example if IC 11202 is installed in
    c:\oracle\11202\instantclient_112
    execute on commandline
    ORACLE_HOME=c:\oracle\11202\instantclient_112
    PATH=%ORACLE_HOME%;%ORACLE_HOME%\bin;%PATH%
    before starting VS2005 from commandline - or generate a commandscript
    Inside VS2005 please ensure that you are picking up the libraries from
    %ORACLE_HOM%\oci\lib\msvc\v8\*
    furtheron, copy the
    %ORACLE_HOM%\oci\lib\msvc\v8\*.dll
    to %ORACLE_HOME% - otherwise by default the v9 ar picked up (copied during installation)
    When this has been done, build the code and test - should work
    regards,
    Frank
    Edited by: fscherie on 11.01.2012 12:41

  • I want to access my Icloud account through my office computer but every time I get a message saying ''iCloud encountered an error while trying to connect to the server''

    I want to access my Icloud account through my office computer but every time I get a message saying ''iCloud encountered an error while trying to connect to the server''

    My recommendation is to download Apple’s Safari version 5.1.7 for Windows to access iCloud.com. It consistently works for me!!!! To make things easier with Safari, I made iCloud.com its Homepage. I’m using it to access iCloud.com from all of my PCs.
    On my Windows 7 systems it appears that some add-ons are causing problems when you try to access iCloud.com with the 32-bit version of IE9, but the 64-bit version seems to work fine, more than likely because there are few add-ons that are 64-bit and the 64-bit version of IE9 can't be the default browser in Windows 7.

  • Getting error while trying to connect to application

    Hi All,
    I am getting below error while trying to connect to application
    [4/23/12 6:20:49:930 EDT] 000001c7 SQLConnection E com.primavera.infr.log.CommonsLoggingAdapter error Establish connection error.
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:438)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:140)
    at com.primavera.infr.db.PoolableConnection.byte(Unknown Source)
    at com.primavera.infr.db.SQLConnectionPool.try(Unknown Source)
    at com.primavera.infr.db.SQLConnectionPool.getConnection(Unknown Source)
    at com.primavera.infr.db.SQLConnectionPool.new(Unknown Source)
    at com.primavera.infr.db.SQLConnectionPool.try(Unknown Source)
    at com.primavera.infr.db.SQLConnectionPool$2.execute(Unknown Source)
    at com.primavera.infr.threadpool.ThreadPool.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:595)
    [4/23/12 6:20:49:936 EDT] 000001c7 SysServices I com.primavera.infr.log.CommonsLoggingAdapter info Connections are being cleared due to validation failure for database: P3ED
    java.sql.SQLException: Establish connection error.
    at com.primavera.infr.db.SQLConnectionPool.getConnection(Unknown Source)
    at com.primavera.infr.db.SQLConnectionPool.new(Unknown Source)
    at com.primavera.infr.db.SQLConnectionPool.try(Unknown Source)
    at com.primavera.infr.db.SQLConnectionPool$2.execute(Unknown Source)
    at com.primavera.infr.threadpool.ThreadPool.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: com.primavera.PhoenixException: Establish connection error.
    at com.primavera.infr.db.SQLConnectionPool.try(Unknown Source)
    ... 6 more
    Thanks in advance.

    Hello,
    this issue is related with database connection. Please, create the database connection again (with dbconfig.cmd), restart your app server and try to log into P6 again.
    Check that your port number, instance (or database name) , users are correct.

  • HT4436 When trying to sign in I keep getting the error message, "iCloud encounterd a error while trying to connect to the server". How can I get signed in?

    When trying to sign in to iCloud, I always get the message, iCloud has encountered a error while trying to connect to the server. How do I get in????

    Hello,
    Try following step and check if issue gets resolved or not.
    Find Acrobat.exe on your computer.  Right click the program and click 'Troubleshoot Compatibility'.  Set the compatibility to Windows XP service pack 3.
    Regards,
    Anoop

  • Trying to setup new iCloud in system preferences and get error message: "iCloud encountered an error while trying to connect to the server."

    Here's the sequence of events:
    Setting up a new iMac.
    Migration Assistant was aborted during setup and a normal setup was completed.
    Then ran Migration Assistant from the newly setup account.
    It ran fine, but put all the data in a new account called "user".
    Renamed "user" to a new name, renamed the home folder to a new name following these instructions: OS X: How to change your account name or home directory name
    Delete the account we originally created, so just have one account with the name we want and all the data, email. Works fine.
    Sign into the App Store with the account we share for purchases.
    Now, the problem:
    Go to System Preferences to setup iCloud with a new Apple ID
    Get this error: "iCloud encountered an error while trying to connect to the server."
    So I'm unable to setup iCloud for photo stream, FaceTime, etc.
    Internet works fine, we can get mail, etc.
    Rebooting doesn't help
    Ideas?

    never mind the problem is gone this morning.

  • Error While Trying to Connect Weblogic

    im gettting an error while trying to connect server on jdeveloper 11.1.1.1.5
    The server is on LAN and installed on other PC I can also access the console and login correctly to console. After doing application server connection and testing the connection it gives me following error
    Testing JSR-160 Runtime ... failed.
    Cannot establish connection.
    Testing JSR-160 DomainRuntime ... skipped.
    Testing JSR-88 ... skipped.
    Testing JSR-88-LOCAL ... skipped.
    Testing JNDI ... skipped.
    Testing JSR-160 Edit ... skipped.
    Testing HTTP ... success.
    Testing Server MBeans Model ... skipped.
    Testing HTTP Authentication ... success.
    2 of 9 tests successful.
    any solution do u have
    regards
    Edited by: user5386925 on 22.Haz.2011 01:49

    Disable proxy settings in JDeveloper (Tools -->Preferences --> Web Browser and Proxy).
    Then, re-start JDeveloper IDE and re-test your application server Connection,it should work fine.

  • On my Mac Mini, I keep getting this error message: "iCloud encountered an error while trying to connect to the server".  I don't have any problems with iCloud on my laptop / PC.  It works fine... Does anyone know what the problem could be?

    On my Mac Mini, I keep getting this error message: "iCloud encountered an error while trying to connect to the server".  I don't have any problems with iCloud on my laptop / PC.  It works fine... Does anyone know what the problem could be?

    Your Mac must be on Lion (10.7) to run iCloud. Apple had to change the operating system to fully support it. Nevertheless, it is possible to get emails from iCloud without having Lion. Please tell me if this interests you.
    Anyways, here is the link to buy Lion (30 dollars, totally worth the upgrade ): http://itunes.apple.com/be/app/os-x-lion/id444303913?mt=12
    Franklin

  • I keep getting an error that "iCloud encountered an error while trying to connect to the server". What's up?

    I've been getting an error most of the day that says "iCloud encountered an error while trying to connect to the server" on my pc. Also, anything I update on either iPad or iPhone does not update on the other device. What's up?

    Hello pongo19,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    How to restart the Apple Mobile Device Service (AMDS) on Windows
    http://support.apple.com/kb/ts1567
    Close iTunes and disconnect the iPhone, iPad, or iPod touch.
    Click the Windows Start button .
    In the Start Search field type Services.
    In the Programs section of the search results, Click "Services".
    Select Apple Mobile Device and click Stop the service as shown below:
    After the service has stopped, click Start the service.
    After the Apple Mobile Device service has started again, open iTunes and connect the device.
    Set the Apple Mobile Device Service Startup type to Automatic
    Remove and reinstall iTunes and AMDS
    Best of luck,
    Mario

  • HT204053 How to resolve "error while trying to connect to the server."

    Receive "error while trying to connect to the server" on my PC when using iCloud. How to resolve?

    check the below link.
    /people/stephen.johannes/blog/2005/08/18/external-data-loads-for-crm-40-using-xif-adapter

  • Why am I getting this error trying to sign into icloud encountered an error while trying to connect to the server????

    I am trying to sign into my mail and keep getting this error encountered an error while trying to connect to the server????

    I'm having the same issue.  Did you resolve it?

  • TS3988 I can't sign in to iCloud, message pops up stating that "iCloud encountered an error while trying to connect to the server". How do I sign in to iCloud now?

    Was using iCloud just fine on Mac and iPad and suddenly can't access it from either devices.
    When reviewing the settings on iPad a "verification failed, could not communicate with the server" message pops up.
    When trying to access iCloud account on icloud.com a "iCloud encountered an error while trying to connect to the server" message pops up.
    Meanwhile iCloud no longer works on both devices. (Apple ID works fine on Manage my Account)
    I don't remember changing any iCloud settings but I was working on email account settings when this happened....Any ideas??

    I have the same problem. This happens multiple times a day. I answer some questions and then unlock my account and then before long it all happens again. Extremely frustrating as I don't have a clue how to solve the problem.

  • Connection Error iCloud encountered an error while trying to connect to the server

    Hi iCloud users
    For the first time I have experienced errors while attempting to connect to iCloud via my PC.  Never had any problems previously.
    The first error I received was:
         "Connection Error - iCloud encountered an error while trying to connect to the server"
    After a few attempts I was able to connect to iCloud.  However I was unable to access my Calendar and Contacts.  I received the following error messages:
         "Can't load Calendar - There was a problem loading the application"
         "Can't load Contacts - There was a problem loading the application"
    Has anyone out there experienced this?  If so could you offer an solutions/suggestions?  Is iCloud not working properly today?
    Many thanks & cheers,
    Sue

    Hi
    I am sorry can't help you because I have same problem when login to icloude.com and try insert to Contacts!
    Many times happen.
    what is issues ?

  • ICloud encountered an error while trying to connect to the server

    My iMac 27 inch ( Mid 2011) running OSX 10.9.4.  Suddenly i have this problem "iCloud encountered an error while trying to connect to the server"
    Please help what has happened and how to solve the problem.

    You might want to just give it some time as there are a number of iCloud system issues effecting some users right now (see http://www.apple.com/support/systemstatus/).

Maybe you are looking for

  • 'log' file in user folder

    I just opened my "User" folder in the finder and noticed there is a random file in there named 'log'. When i open it in textedit, there is just one line of text: "cp_plugin_dir:/Users/Mitchell/Library/Internet Plug-Ins" What is this file and is it sa

  • Anyone having issues with custom paper sizes?

    I've narrowed down my printing problems to be primarily when using custom paper sizes. I still get regular crashes with standard sizes, but cannot print at all if I set up a custom size in A3. I am able to print custom sizes in Lightroom so it must b

  • My macbook wants me to update OSX 10.8.5. When I attempt to do this it says: "updates are already in progress". (104)?

    My macbook pro wants me to update my OSX 10.8.5 and when I attempt to do this it says error updates are currently being updated (104)? I am not or have not updated anything recently so don't know why it is doing this?

  • Java on mobile phones - where can I learn to programm for

    I have bought a new mobile phone that can run java applications. I can programm in Java but there are surely some restrictions and many other things you have to know. Where can I find a guide for java programming on mobile phones? please tell me if y

  • IPod Touch 5th Gen won't connect to iTunes

    Hi everybody. I got a new iPod touch 5g and it won't show up in iTunes when I try to connect it. I've reset it, tried a different cord, tried updating both iTunes and my iPod and also have tried everything the Apple support page has suggested (restar