Perl connectivity with remote DB.

Hi All,
We have Oracle 9i RAC, i am working on a testing tool for that i have to connect from remote monitoring machine to Oracle RAC servers, i have installed following packages on monitoring machine i.e.
1. Perl
2. Perl-DBI
3. Oracleinstant client basic package
4. Oracleinstant client sqlplus package
5. Oracleinstant client sdk package
but when I tried to run perl's oracle connecting script i am getting error for missing Perl's DBD::Oracle package, i am confuse whether we need to install this package even when we are trying with instantclient?
PS: even if i try to install DBD::Oracle module on monitoring server, i get error for missing oracle.mk!
please point me to some solution,
TIA
Message was edited by:
nayyares

<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mlightner:
How would I get just the Oracle client? The installation CD that I have only runs in XWindows and it won't even start.<HR></BLOCKQUOTE>
To connect to Oracle via Perl, you simply need these two Perl modules:
1. DBD
2. DBI::Oracle
DBD is a popular Perl module that is used to connect to most databases in existence. You install the DBD module, then you install an accompanying DBI module for the database you are using. These are Perl modules found on CPAN (go to perl.com). On the Oracle side, you need to have sql*net running - that's all.
null

Similar Messages

  • Error while making connection with remote oracle database

    Dear,
    I am trying to make connection with oracle database but when i run java file it's raise an error "classnotfoundexception oracle.jdbc.driver.oracledriver"
    DriverManager.getConnection(
      "jdbc:oracle:thin:@erp:1521:ORCL", "apps",
      "apps");
    Pls any body have idea.
    Thanks.

    Thanks for support.
    Below is error which i am getting while making connection with remote database.
    C:\Program Files\Java\jdk1.7.0_05\bin>java OracleJDBC
    -------- Oracle JDBC Connection Testing ------
    Where is your Oracle JDBC Driver?
    java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
            at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:186)
            at OracleJDBC.main(OracleJDBC.java:13)
    Advice.

  • Upgrade to iTunes 7.2 broke connection with remote speakers

    There have been a few discussions about the inability of iTunes to connect to remote speakers in the past, and I found one that was answered regarding an upgrade to 7.0 back in September 2006 - b noir recommended the help article posted on his page: http://docs.info.apple.com/article.html?artnum=304371
    My issue is the same as the one posted in Sept. 2006, but it only started when I downloaded the upgrade to iTunes 7.2. I see the remote speakers greyed out in my iTunes speaker list but can't select them. The fix in the help article above of configuring IPv6 doesn't help. Has anyone else run into this/have any suggestions for me? My wireless network consists of 2 Airport Expresses; the extension is the one hooked up to my speakers.
    Many, many thanks!

    I'm experiencing something similar where my remote speakers are working well from my Macs (wired) and Windows Vista laptop (wireless) but do not show up at all from my Windows XP desktop (wired).
    I do have Symantec Personal Firewall running, but I have (1) trusted my local internal network, (2) explicitly opened ports 3689 and 5353 and (3) tried it with the firewall disabled with no luck. I do not have Windows Firewall running, and I don't believe I have anything else that would be limiting network traffic. I do not have Bonjour or Rendevous services running. I can ping the AEs just fine (I have 3 AEs), and I am on the same subnet. I have selected LOOK FOR REMOTE SPEAKERS in the iTunes settings, and I am running the latest version of iTunes (7.2). I have also not tried downgraded to an earlier version of iTunes, but for now I'd rather get this fixed in another fashion as 7.2 works well from my other machines.
    I hope the above description (with fixes recommended by other users in other threads) is helpful. I appreciate any input or feedback people may have.

  • Connection with remote server

    i want to connect to the remote server through Swings application. Which techonology should i use?

    i want to connect to the remote server through Swings
    application. Which techonology should i use?Swing has got nothing to do with remote servers or clients. If the
    communication protocol is simple, read all about it in the Socket
    and ServerSocket API documentation. Otherwise if possible, read
    up about RMI ... or Servlets ... or Midlets, or, or, or ...
    kind regards,
    Jos

  • Bluecove - connecting with remote device

    Hello,
    I am in a situation to use bluecove for communicating remote device(Not a mobile phone) with my PC. Using the test code, I can able to identify the remote device. I want to know which functionalities will be useful for make a connection with the bluetooth remote device and get data from it. Please tell me some links which will help me as a starting point for reading about the bluecove.

    hey man, i am in the same situation , had you found any solution?

  • How do I simulate a right-click in Windows when connected with Remote Desktop 8.0 for Mac OS X?

    When connecting to a remote Windows 7 OS from Mac OS X 10.8.5 with Microsoft Remote Desktop 8.0.24091, I'm not able to simulate a right-click with the Apple magic mouse.  
    On an older version Microsoft Remote Desktop Client version 2.1.1, I can hold down shift+ctl on the Mac and click the magic mouse to simulate a right-click in Windows.  With this new version RDP 8.0, I can't find any way to simulate a right-click,
    other than to select "Swap mouse buttons" under settings, and then every click is a right-click and then I'm no longer able to left-click (which is even worse).  I've tried several key combinations and nothing seems to work.  Am I missing
    something simple here with the new RDP 8.0 application, or is the right-click simulation not (yet) functional?  
    Any help is greatly appreciated, thanks!

    In order to make use of the right-click inside an open session you have three options:
    Standard PC two button USB mouse
    Apple Magic Mouse: To enable right-click, clickSystem Preferences in the dock, click Mouse, and then enable Secondary click.
    Apple Magic Trackpad or MacBook Trackpad: To enable right-click, click System Preferences in the dock, click Mouse, and then enable Secondary click.
    Extracted from "Remote desktop Client on Mac: FAQ"
    http://technet.microsoft.com/en-us/library/dn473006.aspx

  • Not able to connect with remote speakers after successfully set up

    I just finished setting up successfully (joining existing wireless network) but when I go to Itunes and select my remote speakers it just goes connecting to airport and then stops. Any ideas why?

    You might want to try upgrading to the latest version of JavaMail (1.4.3), which makes use
    of SSL somewhat simpler. Also, the file SSLNOTES.txt included with JavaMail has some
    tips for debugging problems such as this, as does the JavaMail FAQ.
    Most often this error is caused by not having the appropriate certificates in your local trust
    store. The JDK normally comes with the required root certificates, but if you're running in
    an application server environment you might be using a different trust store.

  • Spotify Connect with remote- Can't pause

    I like using the Spotify app on my iPhone as a remote when I use Spotify playing from Desktop or iPad. However, I've never been able to pause a song. If I do, it instantly loses the connection to the main device. If I try to reconnect it says "Spotify is not active on this device." Is there a way around this?  Thanks 

    Hey guys,
    If you could confirm the following so we can keep investigating:
    1. What devices are you having this issue with?
    2. The operating system you're running on these devices.
    3. The exact Spotify version installed (check About Spotify)
    4. Does a clean reinstallation help?
    Thank you!

  • Info on tape channel when connected with remote instance

    Hello,
    I'm trying to debug a problem with Backup Exec to do recovery of an instance against a server different from the original one, using command line
    and so I'm doing some tests isolating some components to keep the problem general...
    Suppose I have a server server_one with Oracle instance TEST and a running listener
    Suppose I have another server server_two with tnsnames.ora configured to reach TEST instance.
    On server_two I have a dummy instance in nomount, called again TEST and where I set ORACLE_SID=TEST
    I run:
    $ rman
    RMAN> connect target sys@TEST <--- remote
    target database Password:
    connected to target database: TEST (DBID=1165152943)
    RMAN> connect auxiliary / <--- local
    connected to auxiliary database: TEST (not mounted)
    RMAN> run {
    2> ALLOCATE CHANNEL ch0 TYPE 'SBT_TAPE';
    3> RELEASE CHANNEL ch0;
    4> }
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Additional information: 2
    The question is about my "allocate" channel above:
    Who drives there, the target and so it tries to go remote with the tape in some way or local so it should work, if the local instance/user/oracle installation is configured for tape access?
    Thanks,
    Gianluca

    Ok, stupid me I had to use AUXILIARY in channel specification
    ALLOCATE AUXILIARY CHANNEL ch0 TYPE 'SBT_TAPE';
    With that, now I correctly get:
    allocated channel: ch0
    channel ch0: SID=135 device type=SBT_TAPE
    channel ch0: Symantec/BackupExec/1.1.0
    Thanks anyway...

  • Can't Connect with Remote Desktop, It worked before!

    Hello. We currently bought alot of seats of Remote Desktop to connect to computer not located in the office. During the time spent here at this office, all the remote desktop connections worked fine. Once the machines were moved up to the new business location, we tried to connect to the machine. We changed the IP's to the ISP new ip, which the server then port forwarded the correct ports to the specific ip for those machines.
    We open up Remote Desktop on the computer, with the scanner, and type in the ip address where the computers are going to be stored. Once the ip is in, we can see the computers have been located on the scanner. When then select a computer we want to observe/control/curtain and typied in the username and password, which are all correct. It then says " connecting to "theipaddress" for about 1 min, then displays an error message saying "Connection failed to ipaddress".
    something that ive noticed, is that in the scanner window the icon is grey, instead of its little blue monitor and only displays the ip address in the name field, but not the computer name like it did when we ran it thru the lan. question is what are we doing wrong.
    can someone please tell us the correct ports to open on what side
    what are the ports on the server side that need to be opened on the router/server?
    are there any ports on the client side that need to be opened on the router/server?
    please help me.

    both udp and tcp, but the problem you're having may be the same one that stumped me for a couple of hours.
    You can't communicate with a machine that has gone into deep sleep mode. If the screensaver is running, you're okay ... but once that cuts out and the screen goes blank, it's out of touch.
    In ARD 3 you can tell whether or not it's available by the colour of the little 'monitor' icon to the left of the the listing in the Scanner or All Computers windows.
    Grant

  • PERL Connectivity to remote Oralce DB

    What do I need to connect a PERL CGI script
    to an Oracle database on a remote machine. I would assume that I wouldn't need to install all of Oracle8i.
    I don't have much memory on my machine and
    am looking for the mimum to get by.
    Thanks in advance for you help !!
    Mark

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mlightner:
    How would I get just the Oracle client? The installation CD that I have only runs in XWindows and it won't even start.<HR></BLOCKQUOTE>
    To connect to Oracle via Perl, you simply need these two Perl modules:
    1. DBD
    2. DBI::Oracle
    DBD is a popular Perl module that is used to connect to most databases in existence. You install the DBD module, then you install an accompanying DBI module for the database you are using. These are Perl modules found on CPAN (go to perl.com). On the Oracle side, you need to have sql*net running - that's all.
    null

  • L7580 net printer driver disappearing in Win 7-62 after connecting with Remote Desktop Connection

    I have an Officejet Pro L7580 connected via ethernet. I've been using the driver released from Jan 2010, and whenever I connect to my Windows 7 Ultimate 64 computer via Remote Desktop Connection, the printer drivers for both the printer and the fax disappear. I have to constantly run the "add a device" window to add the printers back again. 
    Why do they disappear like that?
    Fishanderson

    OK after updating the Server and clients I am still having this issue :( 
    and just today after no sound problems for 6 days the sound dropped out on a couple of RDP sessions, yet the sound on the client itself worked fine when tested (minimise the RDP session).
    It took the RDP sessions to be restarted to restore the sound within the session.
    I have found similar (old) thread regarding this problem:
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/958fd891-6f55-432b-8268-a326ac6b2b2e/sound-in-remote-desktop-session-stops-working
    but no one has informed about if as solution was ever found.

  • Connection with remote computer

    I want to write a program that checks the status of remote machines continuously whether they are on or off. Which method i should use

    @Ian: I agree. You could easily implement a multi-cast (or similar) heartbeat solution if you control the machines and can ensure the heartbeat is running via a scheduler or other means.
    But if you simply want to write a standalone program to check other machines without installing software on them, I could see that being more problematic. You might be able to come up with an O/S specific solution or assume certain programs are always installed. But there are problems in each of those methodologies, IMO.
    - Saish

  • Error 1858: The connection with Remote Managment Agent had timed out.

    Every workstations seem the same result. I cannot remote or execute file.
    Please help me. Thanks
    Ps. All of them install Zenwork 6.5 Agent only ,which was deployed at the
    sub branch, connected to the same server which using NAT IP address.

    On Thu, 16 Dec 2004 11:54:47 GMT, [email protected] wrote:
    > Ps. All of them install Zenwork 6.5 Agent only ,which was deployed at the
    > sub branch, connected to the same server which using NAT IP address.
    hmm.. same issue like your other mail?
    Marcus Breiden
    Please change -- to - to mail me.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • Socket connection with remote PC

    Hi,
    I am trying to connect remote PC thru socket connection but to unable to setup.
    Can anyone give me sample code of how to do that.?both server n client code
    Thanks in advance.

    [http://java.sun.com/docs/books/tutorial/networking/index.html]

Maybe you are looking for