Getting error when try to backup oracle rac to another location

Hi there,
I am attempting to backup database to another location from a Oracle RAC database version 11gr2. Here is my script:
#!/bin/ksh
export ORACLE_SID=vvsms1
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1; export ORACLE_HOME
BASE_PATH=/usr/sbin:$PATH; export BASE_PATH
PATH=$ORACLE_HOME/bin:$BASE_PATH; export PATH
/u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms log /home/oracle/log_rman/vvsms.log append <<EOF
RUN {
CROSSCHECK BACKUP;
CROSSCHECK ARCHIVELOG ALL;
ALLOCATE CHANNEL CHANNEL1 TYPE DISK FORMAT '/home/oracle/backup/vvsms/backup_%U';
BACKUP INCREMENTAL LEVEL 0 TAG 'incr_vvsms' DATABASE;
BACKUP ARCHIVELOG ALL;
DELETE OBSOLETE;
RELEASE CHANNEL CHANNEL1;
EXIT;
EOF
I write it into a .sh file and set crontab to run it. But when it run i get the error like these:
Starting backup at 22-OCT-12
channel CHANNEL1: starting incremental level 0 datafile backup set
channel CHANNEL1: specifying datafile(s) in backup set
input datafile file number=00002 name=+DISK2/vvsms/datafile/sysaux.289.794242439
input datafile file number=00006 name=+DISK2/vvsms/datafile/ts_service.dbf
input datafile file number=00007 name=+DISK2/vvsms/datafile/ts_viviet.dbf
input datafile file number=00008 name=+DISK2/vvsms/datafile/viviet.dbf
input datafile file number=00009 name=+DISK2/vvsms/datafile/ts_vivietct_primary.dbf
input datafile file number=00003 name=+DISK2/vvsms/datafile/undotbs1.290.794242445
input datafile file number=00001 name=+DISK2/vvsms/datafile/system.288.794242429
input datafile file number=00004 name=+DISK2/vvsms/datafile/undotbs2.292.794242453
input datafile file number=00005 name=+DISK2/vvsms/datafile/users.293.794242455
channel CHANNEL1: starting piece 1 at 22-OCT-12
released channel: CHANNEL1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on CHANNEL1 channel at 10/22/2012 01:50:16
ORA-19504: failed to create file "/home/oracle/backup/vvsms/backup_2anobqu5_1_1"
ORA-27040: file create error, unable to create file
Linux-x86_64 Error: 2: No such file or directory
I don't know what i'm wrong? The location is correct ("/home/oracle/backup/vvsms/).
Please suggest me some things about it. What do i need to do?
Thanks in advance!
P/s: Sorry for my bad English.

/u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms  log /home/oracle/log_rman/vvsms.log appendThis line can be your problem.
As this database is a RAC and your are using a service with load balance "vvsms" and "/home/oracle/backup/vvsms" is not a shared location. RMAN is starting a session on Other node where "/home/oracle/backup/vvsms" does not exists.
Try change it :
/u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@vvsms  log /home/oracle/log_rman/vvsms.log appendTo this (using Easy Connect Method):
/u01/app/oracle/product/11.2.0/dbhome_1/bin/rman target sys/viviet@localhost:1521/VVSMS  log /home/oracle/log_rman/vvsms.log appendWhere:
localhost: your local node
VVSMS : is the service of database
Also check if "/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora" have configured the line "NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)"
P.S : When RMAN start a session it show where is logged, check on logs what instance RMAN was logged.
HTH,
Levi Pereira

Similar Messages

  • Getting error when try to upload xml file into Data Template

    Hi,
    Getting error when try to upload xml file into Data Template.error:"The uploaded file XXSLARPT.xml is invalid. The file should be in XML-DATA-TEMPLATE format."Plz anybody help me.
    Thanks,
    Prasad.

    Hi,
    Anybody Help Plzzzzzz.
    thx,
    Prasad

  • Error when try to open Oracle Explorer

    I have just installed Oracle.... During the installation, I didn't receive any error message, but when I try to open Oracle Explorer, I get this message:
    Package Load Failure.
    Package 'Oracle Developer Tools for Visual Studio .NET' has failed to load properly (GUID = {D601BB95-E404-4A8E-9F24-5C1A462426CE}). Please contact package vendor for assistance...
    How can I fix that problem?
    I am using Visual Studio 2005 and Framework 2.0; but I don't have any oracle database installed locally.

    first, close vs2005 IDE, try using gacutil supplied by VS2005, then restart vs2005.
    the command looks like this,
    gacutil /i Oracle.DataAccess.dllgacutil is available in SDK folder or vs2005 installation.
    Oracle.DataAccess.dll is available in {ORACLE_HOME}/odp.net/bin/2.x
    Message was edited by:
    nurhidayat

  • Error when try to backup

    When I want to make a backup on my iPod touch (4th generation) since a few months, I always get the message "The last backup could not be completed". When I tap on 'Back Up Now' it takes a few seconds until I get that message. I tried to turn off the functionality and turn it back on, but nothing does make any sense.
    I don't know how to solve this problem, except for using iTunes. But there must be a way to make iCloud Backups over Wi-Fi, right? I mean, it is one of the things of iCloud and iOS 5+; using your device without any need of iTunes. .

    If your back up continually fails, you might try turning off back up on your mobile device (settings > iCloud > storage & backup) and then deleting the backup file from iCloud by swiping the backup file on the mobile device (settings > iCloud > storage & backup > manage…) and then turning back up on again.
    Being able to back up to the cloud can be very useful, especially if you don't have access to a computer or have infrequent access to one, however unless you specifically need to use iCloud for back up, you will find backing up to iTunes significantly more convenient and possibly more reliable.

  • Bought movie from iTumes get error when try to play it on iPhone

    Yesterday I bought a movie from iTunes - just to see how movies looked on my iPhone. Downloaded fine, transfered to iPhone through iTunes. Movies - with cover image appear within the video list. When I try to play the movie I get a "This movie could not be played". Any ideas?

    downloaded latest software - seems to have done the trick. sorry for being a daftie

  • Getting error when try to load from R3 to bw after the patches

    we are in BW3.5
    last day we applied patches to R3 system and BW system, and Now I am trying to load data into BW, it is failing, I am getting message says  "Incomplete control parameter for commmunication with the BW system"  Any idea?

    Hi
    Do a right click/Check source system on your source system in R/3....
    Check the source systems definitions inn R/3 (we20, we21)
    Ask the basis team to check everything is OK
    PY

  • I keep getting this error when trying to backup time capsule with time machine. The backup disk image "/Volumes/Data-1/Dan's iMac.sparsebundle" is already in use.

    I keep getting this error when trying to backup time capsule with time machine. The backup disk image “/Volumes/Data-1/Dan’s iMac.sparsebundle” is already in use.

    Make sure that no other Macs are backing up at the time.
    Pull the power cable from the back of the Time Capsule
    Count to ten
    Plug the power cable back into the back of the Tme Capsule
    Wait a few minutes, then try a backup again.

  • Getting error when i am creating and tesing data server in oracle (Physical

    Hi,
    Getting error when i am creating and tesing data server in oracle (Physical Architecture) in topology manager.
    Please anybody help me on this.
    Java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.s(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1046)
         at java.awt.Dialog$3.run(Dialog.java:1098)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1096)
         at java.awt.Component.show(Component.java:1563)
         at java.awt.Component.setVisible(Component.java:1515)
         at java.awt.Window.setVisible(Window.java:842)
         at java.awt.Dialog.setVisible(Dialog.java:986)
         at com.sunopsis.graphical.l.pm.q(pm.java)
         at com.sunopsis.graphical.l.pm.<init>(pm.java)
         at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
         at com.sunopsis.graphical.frame.bo.w(bo.java)
         at com.sunopsis.graphical.frame.bo.d(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    HI,
    check the jdbc url.
    The datbase and the listener to which you are connecting are suppose to be up and running.
    For testing try and connect using sqlplus from the machine you are trying to make a connection,
    Reshma

  • I am getting error when hovering on document in sharepoint online "sorry there was a problem and we can't open this document.If this happens again, try opening the document in Microsoft Word"

     I am getting error when hovering on document in sharepoint online "sorry there was a problem and we can't open this document.If this happens again, try opening the document in Microsoft Word".I am sure that document is not corrupted and
    all. something it showing the preview and sometimes it throwing this error. I hope this error is intermident. When clicking on the link also it throws this error but on refreshing it working fine. I dont know why it is happening. Please helpme  to resolve
    this issue. 

    Hi Waqas
    Thanks for your help with this. I had a look at both posts, the URL works fine from the WAC server and I am not using a System account to test docs.
    Also, this is a production site that is accessible over the Internet, so we are using https therefore the WOPIZone is external-https.
    Issue #3 in the above blog link does not reflect the same error I see on my servers.
    I also had a look at the information in this link: http://technet.microsoft.com/en-us/library/ff431687.aspx#oauth
    Problem: You receive a "Sorry, there was a problem and we can't open this document" error when you try to view an Office document in Office Web Apps.
    If you added domains to the Allow List by using the
    New-OfficeWebAppsHost cmdlet, make sure you’re accessing Office Web Apps from a host domain that’s in the Allow List. To view the host domains in the Allow List, on the Office Web Apps Server open the Windows PowerShell prompt as an administrator and run
    the Get-OfficeWebAppsHost cmdlet. To add a domain to the Allow List, use the
    New-OfficeWebAppsHost cmdlet.
    I have not added any domains to the Allow list so this did not help either. Should I add the domain?
    Any further help with this is much appreciated.
    Thanks again.
    Yoshi

  • I get error when i try to install flash player and told to try again, but ir never works

    i get error when i try to install flash player and told to try again, but ir never works

    Hi,
    Please provide the following information so that we may be able to better assist you:
    Your operating system & version
    Your web browser(s) & version
    Your Flash Player version
    Explain your problem in step-by-step detail if possible
    A direct link to a page that demonstrates the problem
    If you get error messages, please quote them exactly, or provide a screenshot: http://forums.adobe.com/thread/1070933
    Maria

  • I get this when try to verify my id on FaceTime: the server rencountered an error processing registration please try again later.

    I get this when try to verify my id on FaceTime: the server rencountered an error processing registration please try again later.

    While we all have MacBooks in this forum not all of us use FaceTime. There's a FaceTime Support Community where everybody uses FaceTime. You should also post this question there to increase your chances of getting an answer. https://discussions.apple.com/community/mac_app_store/facetime_for_mac

  • I keep getting error when i try to log in to Adobe to post results.  I have created an ID.

    I keep getting error when i try to log in to Adobe to post results. I have created an ID.

    Running the Lion Os requires a MINIMUM of 2 GB of RAM, as you have.  However, with that little RAM the computer will have trouble with many memory based tasks, such as copying and pasting.  You really need to increase the amount of RAM your computer has in order to increase its speed and performance.  Now, when a task requires more RAM than your system has available then the OS will use some harddrive space temporarily instead.  This is called "Virtual Memory."  Is it possible that at this time that your harddrive is very full relative to its stated capacity, so that even "virtual memory" is not really available?  If that is the case, you really need to cleanup your harddrive by deleting a fair number of less used files.
    Hope this helps

  • Get "network error" when try to view Disney channels on Apple TV

    I get "network error" when try to view Disney channels on Apple TV. Tried restarting Apple tv and restarting my airport.

    Thank you for your feedback

  • Getting error when I try to remove eum secondary email address from the Mailbox from Exchange 2013 server

    Getting error when I try to remove eum secondary email address from the Mailbox from Exchange 2013 server. The command works if you issue directly from the server exchange shell.
    I open the remote power shell to the exchange server 2013.
    Issue the following commands and getting the following error.
    $mailbox = Get-Mailbox -Identity testuser$mailbox.EmailAddresses -= "eum:50004;phone-context=telExt5digits.lync5.com"Then getting the following error:Method invocation failed because [System.Collections.ArrayList] doesn't contain a method named 'op_Subtraction'.
    At line:1 char:27
    + $mailbox.EmailAddresses -= <<<<  "eum:50004;phone-context=telExt5digits.lync5.com"
        + CategoryInfo          : InvalidOperation: (op_Subtraction:String) [], RuntimeException
        + FullyQualifiedErrorId : MethodNotFoundHelp!

    Now for an answer - your remote session doesn't have the same object you have on the server itself.  Notice it says this is an array list, not a ProxyAddressCollection.  If you need to work around this, you'll need to massage the addresses another
    way that the system will accept.  I'd try the following:
    $NewAddresses = $mailboxEmailAddresses | ? { $_ -notlike "eum:50004;phone-context=telExt5digits.lync5.com" }
    See what you get in the $NewAddresses variable when you do this.

  • Getting error when i am creating and tesing data server in ODI

    Hi,
    Getting error when i am creating and tesing data server in oracle (Physical Architecture) in topology manager ODI.
    Please anybody help me on this.
    Java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at java.net.Socket.connect(Socket.java:478)
         at java.net.Socket.<init>(Socket.java:375)
         at java.net.Socket.<init>(Socket.java:189)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.s(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1046)
         at java.awt.Dialog$3.run(Dialog.java:1098)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1096)
         at java.awt.Component.show(Component.java:1563)
         at java.awt.Component.setVisible(Component.java:1515)
         at java.awt.Window.setVisible(Window.java:842)
         at java.awt.Dialog.setVisible(Dialog.java:986)
         at com.sunopsis.graphical.l.pm.q(pm.java)
         at com.sunopsis.graphical.l.pm.<init>(pm.java)
         at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
         at com.sunopsis.graphical.frame.bo.w(bo.java)
         at com.sunopsis.graphical.frame.bo.d(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Thanks,
    Krish

    So are you getting the same error when you try from the installed agent or the tool (Local agent)? Is your agent on the same machine or different machine. If so, does that particular machine can connect to the database?
    Also, are you using the same JDBC driver that you are using in SQLDeveloper? Same URL?
    Typically, connection refused error appears with wrong instance or wrong port. Try telnet-ing the in the database server and db port. See what happens there!!! The java stack that you provided here is not an SQL exception, it is related to socket creation. It has less to do with JDBC and more to do with physical resources like machine, port and permission.

Maybe you are looking for