Why do I need instant client if I installed 11g1 and it works

sqldeveloper works
em works
sqlplus works
I have a problem with oci8, php 5.2.6, apache 2.2 ...all are installed and working
All the instructions I've found (and there are many) talk about
(1) Zend installs what I already have
(2) installing apache, oci8, php and instant client form scratch
I am NOT going to reduce a working system to scratch.
BTW my oci programs work and they have in the past worked through a client.

What Oracle Software is installed on the machine: client or server?
I concur that there is no need for Instant Client here, indeed it would be a bad idea.
Anything that works with Instant Client should also work with the regular client.
If you encounter any Oracle-specific error messages, feel free to post them and ask for an opinion (even though this forum is reserved for Instant Client, it might be an obvious problem).
Yours,
Laurenz Albe

Similar Messages

  • Why do i need udev+udisks+udisks2+gvfs installed to dynamic mount?

    hi there,
    yes, i have used the search function on that, but still have unanswered questions.
    1.
    why do i need udev+udisks+udisks2+gvfs installed to dynamically mount internal (ntfs, ext4) partitions ?
    If one these packages is missing, mounting an internal drive with "pcmanfm" is not possible.
    I know how to static mount these drives via "fstab", but i want to mount them when i need the access.
    2.
    why are my removable devices not automatically mounted in "pcmanfm" when plugged in?
    I have another OS (Lubuntu) running and this automatically recognizes when a cd is inserted or a usb stick is plugged in.
    I have tried to install the package "gvfs-afc" and rebooted, still no usb stick to see. But when i enter:
    sudo blkid -c /dev/null
    The usb stick is listed as "sdb1"
    I am using 64bit arch linux 3.9.3-1 with openbox+lxde.

    jasonwryan wrote:
    You don't. You need udev for a whole lot of other stuff, so leave that aside. To automount removable media, you can just use udisks and a helper like ud{iskie,evil}.
    For an ntfs partition, you will also need that driver.
    Comparing it with the Lubuntu; I am sure there is a lot more cruft preinstalled that makes this happen. In Arch, you just install what you need.
    The udev page has the details.
    so i have uninstalled the gvfs+udisks2 packages, rebooted and installed udevil-git and rebooted again.
    No partition is shown in the filemanager now. I really dont get it. The udev wiki says udev needs rules but my "/etc/udev/rules.d" folder is empty.
    The udisks wiki says that udisks and udisks2 are incompatible and that only one is needed and that udisks2 should be installed for gnome systems and udisks for xfce, but i have lxde installed. So it is not working with udisks and lxde (pcmanfm), when i try to install udisks2 additionally, it also does not work. Uninstalling udisks is also not possible because of the dependancy to libfm and so on...
    Here is my /etc/udevil/udevil-user-harry.conf:
    # udevil configuration file /etc/udevil/udevil.conf
    # This file controls what devices, networks, and files users may mount and
    # unmount via udevil (set suid).
    # IMPORTANT: IT IS POSSIBLE TO CREATE SERIOUS SECURITY PROBLEMS IF THIS FILE
    # IS MISCONFIGURED - EDIT WITH CARE
    # Note: For greater control for specific users, including root, copy this
    # file to /etc/udevil/udevil-user-USERNAME.conf replacing USERNAME with the
    # desired username (eg /etc/udevil/udevil-user-jim.conf).
    # Format:
    # OPTION = VALUE[, VALUE, ...]
    # DO NOT USE QUOTES except literally
    # Lines beginning with # are ignored
    # To log all uses of udevil, set log_file to a file path:
    #log_file = /var/log/udevil.log
    # Approximate number of days to retain log entries (0=forever, max=60):
    log_keep_days = 10
    # allowed_types determines what fstypes can be passed by a user to the u/mount
    # program, what device filesystems may be un/mounted implicitly, and what
    # network filesystems may be un/mounted.
    # It may also include the 'file' keyword, indicating that the user is allowed
    # to mount files (eg an ISO file). The $KNOWN_FILESYSTEMS variable may
    # be included to include common local filesystems as well as those listed in
    # /etc/filesystems and /proc/filesystems.
    # allowed_types_USERNAME, if present, is used to override allowed_types for
    # the specific user 'USERNAME'. For example, to allow user 'jim' to mount
    # only vfat filesystems, add:
    # allowed_types_jim = vfat
    # Setting allowed_types = * does NOT allow all types, as this is a security
    # risk, but does allow all recognized types.
    # allowed_types = $KNOWN_FILESYSTEMS, file, cifs, smbfs, nfs, curlftpfs, ftpfs, sshfs, davfs, tmpfs, ramfs
    allowed_types = $KNOWN_FILESYSTEMS, file, ntfs, vfat
    # allowed_users is a list of users permitted to mount and unmount with udevil.
    # Wildcards (* or ?) may be used in the usernames. To allow all users,
    # specify "allowed_users=*". UIDs may be included using the form UID=1000.
    # For example: allowed_users = carl, UID=1000, pre*
    # Also note that permission to execute udevil may be limited to users belonging
    # to the group that owns /usr/bin/udevil, such as 'plugdev' or 'storage',
    # depending on installation.
    # allowed_users_FSTYPE, if present, is used to override allowed_users when
    # mounting or unmounting a specific fstype (eg nfs, ext3, file).
    # Note that when mounting a file, fstype will always be 'file' regardless of
    # the internal fstype of the file.
    # For example, to allow only user 'bob' to mount nfs shares, add:
    # allowed_users_nfs = bob
    # The root user is NOT automatically allowed to use udevil in some cases unless
    # listed here (except for unmounting anything or mounting fstab devices).
    allowed_users = harry, root
    # allowed_groups is a list of groups permitted to mount and unmount with
    # udevil. The user MUST belong to at least one of these groups. Wildcards
    # or GIDs may NOT be used in group names, but a single * may be used to allow
    # all groups.
    # Also note that permission to execute udevil may be limited to users belonging
    # to the group that owns /usr/bin/udevil, such as 'plugdev' or 'storage',
    # depending on installation.
    # allowed_groups_FSTYPE, if present, is used to override allowed_groups when
    # mounting or unmounting a specific fstype (eg nfs, ext3, file). For example,
    # to allow only members of the 'network' group to mount smb and nfs shares,
    # use both of these lines:
    # allowed_groups_smbfs = network
    # allowed_groups_nfs = network
    # The root user is NOT automatically allowed to use udevil in some cases unless
    # listed here (except for unmounting anything or mounting fstab devices).
    allowed_groups = storage
    # allowed_media_dirs specifies the media directories in which user mount points
    # may be located. The first directory which exists and does not contain a
    # wildcard will be used as the default media directory (normally /media or
    # /run/media/$USER).
    # The $USER variable, if included, will be replaced with the username of the
    # user running udevil. Wildcards may also be used in any directory EXCEPT the
    # default. Wildcards will not match a /
    # allowed_media_dirs_FSTYPE, if present, is used to override allowed_media_dirs
    # when mounting or unmounting a specific fstype (eg ext2, nfs). For example,
    # to cause /media/network to be used as the default media directory for
    # nfs and ftpfs mounts, use these two lines:
    # allowed_media_dirs_nfs = /media/network, /media, /run/media/$USER
    # allowed_media_dirs_ftpfs = /media/network, /media, /run/media/$USER
    # NOTE: If you want only the user who mounted a device to have access to it
    # and be allowed to unmount it, specify /run/media/$USER as the first
    # allowed media directory.
    # IMPORTANT: If an allowed file is mounted to a media directory, the user may
    # be permitted to unmount its associated loop device even though internal.
    # INCLUDING /MNT HERE IS NOT RECOMMENDED. ALL ALLOWED MEDIA DIRECTORIES
    # SHOULD BE OWNED AND WRITABLE ONLY BY ROOT.
    allowed_media_dirs = /media, /run/media/$USER
    # allowed_devices is the first criteria for what block devices users may mount
    # or unmount. If a device is not listed in allowed_devices, it cannot be
    # un/mounted (unless in fstab). However, even if a device is listed, other
    # factors may prevent its use. For example, access to system internal devices
    # will be denied to normal users even if they are included in allowed_devices.
    # allowed_devices_FSTYPE, if present, is used to override allowed_devices when
    # mounting or unmounting a specific fstype (eg ext3, ntfs). For example, to
    # prevent all block devices containing an ext4 filesystem from being
    # un/mounted use:
    # allowed_devices_ext4 =
    # Note: Wildcards may be used, but a wildcard will never match a /, except
    # for "allowed_devices=*" which allows any device. The recommended setting is
    # allowed_devices = /dev/*
    # WARNING: ALLOWING USERS TO MOUNT DEVICES OUTSIDE OF /dev CAN CAUSE SERIOUS
    # SECURITY PROBLEMS. DO NOT ALLOW DEVICES IN /dev/shm
    allowed_devices = /dev/*
    # allowed_internal_devices causes udevil to treat any listed block devices as
    # removable, thus allowing normal users to un/mount them (providing they are
    # also listed in allowed_devices).
    # allowed_internal_devices_FSTYPE, if present, is used to override
    # allowed_internal_devices when mounting or unmounting a specific fstype
    # (eg ext3, ntfs). For example, to allow block devices containing a vfat
    # filesystem to be un/mounted even if they are system internal devices, use:
    # allowed_internal_devices_vfat = /dev/sdb*
    # Some removable esata drives look like internal drives to udevil. To avoid
    # this problem, they can be treated as removable with this setting.
    # WARNING: SETTING A SYSTEM DEVICE HERE CAN CAUSE SERIOUS SECURITY PROBLEMS.
    # allowed_internal_devices =
    # allowed_internal_uuids and allowed_internal_uuids_FSTYPE work similarly to
    # allowed_internal_devices, except that UUIDs are specified instead of devices.
    # For example, to allow un/mounting of an internal filesystem based on UUID:
    # allowed_internal_uuids = cc0c4489-8def-1e5b-a304-ab87c3cb626c0
    # WARNING: SETTING A SYSTEM DEVICE HERE CAN CAUSE SERIOUS SECURITY PROBLEMS.
    # allowed_internal_uuids =
    # forbidden_devices is used to prevent block devices from being un/mounted
    # even if other settings would allow them (except devices in fstab).
    # forbidden_devices_FSTYPE, if present, is used to override
    # forbidden_devices when mounting or unmounting a specific fstype
    # (eg ext3, ntfs). For example, to prevent device /dev/sdd1 from being
    # mounted when it contains an ntfs filesystem, use:
    # forbidden_devices_ntfs = /dev/sdd1
    # NOTE: device node paths are canonicalized before being tested, so forbidding
    # a link to a device will have no effect.
    forbidden_devices =
    # allowed_networks determines what hosts may be un/mounted by udevil users when
    # using nfs, cifs, smbfs, curlftpfs, ftpfs, or sshfs. Hosts may be specified
    # using a hostname (eg myserver.com) or IP address (192.168.1.100).
    # Wildcards may be used in hostnames and IP addresses, but CIDR notation
    # (192.168.1.0/16) is NOT supported. IP v6 is supported. For example:
    # allowed_networks = 127.0.0.1, 192.168.1.*, 10.0.0.*, localmachine, *.okay.com
    # Or, to prevent un/mounting of any network shares, set:
    # allowed_networks =
    # allowed_networks_FSTYPE, if present, is used to override allowed_networks
    # when mounting or unmounting a specific network fstype (eg nfs, cifs, sshfs,
    # curlftpfs). For example, to limit nfs and samba shares to only local
    # networks, use these two lines:
    # allowed_networks_nfs = 192.168.1.*, 10.0.0.*
    # allowed_networks_cifs = 192.168.1.*, 10.0.0.*
    allowed_networks = *
    # forbidden_networks and forbidden_networks_FSTYPE are used to specify networks
    # that are never allowed, even if other settings allow them (except fstab).
    # NO REVERSE LOOKUP IS PERFORMED, so including bad.com will only have an effect
    # if the user uses that hostname. IP lookup is always performed, so forbidding
    # an IP address will also forbid all corresponding hostnames.
    forbidden_networks =
    # allowed_files is used to determine what files in what directories may be
    # un/mounted. A user must also have read permission on a file to mount it.
    # Note: Wildcards may be used, but a wildcard will never match a /, except
    # for "allowed_files=*" which allows any file. For example, to allow only
    # files in the /share directory to be mounted, use:
    # allowed_files = /share/*
    # NOTE: Specifying allowed_files_FSTYPE will NOT work because the fstype of
    # files is always 'file'.
    allowed_files = *
    # forbidden_files is used to specify files that are never allowed, even if
    # other settings allow them (except fstab). Specify a full path.
    # Note: Wildcards may be used, but a wildcard will never match a /, except
    # for "forbidden_files = *".
    # NOTE: file paths are canonicalized before being tested, so forbidding
    # a link to a file will have no effect.
    forbidden_files =
    # default_options specifies what options are always included when performing
    # a mount, in addition to any options the user may specify.
    # Note: When a device is present in /etc/fstab, and the user does not specify
    # a mount point, the device is mounted with normal user permissions using
    # the fstab entry, without these options.
    # default_options_FSTYPE, if present, is used to override default_options
    # when mounting a specific fstype (eg ext2, nfs).
    # The variables $USER, $UID, and $GID are changed to the user's username, UID,
    # and GID.
    # FOR GOOD SECURITY, default_options SHOULD ALWAYS INCLUDE: nosuid,noexec,nodev
    # WARNING: OPTIONS PRESENT OR MISSING CAN CAUSE SERIOUS SECURITY PROBLEMS.
    default_options = nosuid, noexec, nodev, noatime
    default_options_file = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, ro
    # mount iso9660 with 'ro' to prevent mount read-only warning
    default_options_iso9660 = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, ro, utf8
    default_options_udf = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID
    default_options_vfat = nosuid, noexec, nodev, noatime, fmask=0022, dmask=0022, uid=$UID, gid=$GID, utf8
    default_options_msdos = nosuid, noexec, nodev, noatime, fmask=0022, dmask=0022, uid=$UID, gid=$GID
    default_options_umsdos = nosuid, noexec, nodev, noatime, fmask=0022, dmask=0022, uid=$UID, gid=$GID
    default_options_ntfs = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, utf8
    default_options_cifs = nosuid, noexec, nodev, uid=$UID, gid=$GID
    default_options_smbfs = nosuid, noexec, nodev, uid=$UID, gid=$GID
    default_options_sshfs = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, nonempty, allow_other
    default_options_curlftpfs = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID, nonempty, allow_other
    default_options_ftpfs = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID
    default_options_davfs = nosuid, noexec, nodev, uid=$UID, gid=$GID
    default_options_tmpfs = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID
    default_options_ramfs = nosuid, noexec, nodev, noatime, uid=$UID, gid=$GID
    # allowed_options determines all options that a user may specify when mounting.
    # All the options used in default_options above must be included here too, or
    # they will be rejected. If the user attempts to use an option not included
    # here, an error will result. Wildcards may be used.
    # allowed_options_FSTYPE, if present, is used to override allowed_options
    # when mounting a specific fstype (eg ext2, nfs).
    # The variables $USER, $UID, and $GID are changed to the user's username, UID,
    # and GID.
    # If you want to forbid remounts, remove 'remount' from here.
    # WARNING: OPTIONS HERE CAN CAUSE SERIOUS SECURITY PROBLEMS - CHOOSE CAREFULLY
    allowed_options = nosuid, noexec, nodev, noatime, fmask=0022, dmask=0022, uid=$UID, gid=$GID, ro, rw, sync, flush, iocharset=*, utf8, remount
    allowed_options_nfs = nosuid, noexec, nodev, noatime, ro, rw, sync, remount, port=*, rsize=*, wsize=*, hard, proto=*, timeo=*, retrans=*
    allowed_options_cifs = nosuid, noexec, nodev, ro, rw, remount, port=*, user=*, username=*, pass=*, password=*, guest, domain=*, uid=$UID, gid=$GID, credentials=*
    allowed_options_smbfs = nosuid, noexec, nodev, ro, rw, remount, port=*, user=*, username=*, pass=*, password=*, guest, domain=*, uid=$UID, gid=$GID, credentials=*
    allowed_options_sshfs = nosuid, noexec, nodev, noatime, ro, rw, uid=$UID, gid=$GID, nonempty, allow_other, idmap=user, BatchMode=yes, port=*
    allowed_options_curlftpfs = nosuid, noexec, nodev, noatime, ro, rw, uid=$UID, gid=$GID, nonempty, allow_other, user=*
    allowed_options_ftpfs = nosuid, noexec, nodev, noatime, ro, rw, port=*, user=*, pass=*, ip=*, root=*, uid=$UID, gid=$GID
    # mount_point_mode, if present and set to a non-empty value, will cause udevil
    # to set the mode (permissions) on the moint point after mounting If not
    # specified or if left empty, the mode is not changed. Mode must be octal
    # starting with a zero (0755).
    # mount_point_mode_FSTYPE, if present, is used to override mount_point_mode
    # when mounting a specific fstype (eg ext2, nfs).
    # NOT SETTING A MODE CAN HAVE SECURITY IMPLICATIONS FOR SOME FSTYPES
    mount_point_mode = 0755
    # don't set a mode for some types:
    mount_point_mode_sshfs =
    mount_point_mode_curlftpfs =
    mount_point_mode_ftpfs =
    # Use the settings below to change the default locations of programs used by
    # udevil, or (advanced topic) to redirect commands to your scripts.
    # When substituting scripts, make sure they are root-owned and accept the
    # options used by udevil (for example, the mount_program must accept --fake,
    # -o, -v, and other options valid to mount.)
    # Be sure to specify the full path and include NO OPTIONS or other arguments.
    # These programs may also be specified as configure options when building
    # udevil.
    # THESE PROGRAMS ARE RUN AS ROOT
    # mount_program = /bin/mount
    # umount_program = /bin/umount
    # losetup_program = /sbin/losetup
    # setfacl_program = /usr/bin/setfacl
    # validate_exec specifies a program or script which provides additional
    # validation of a mount or unmount command, beyond the checks performed by
    # udevil. The program is run as a normal user (if root runs udevil,
    # validate_exec will NOT be run). The program is NOT run if the user is
    # mounting a device without root priviledges (a device in fstab).
    # The program is passed the username, a printable description of what is
    # happening, and the entire udevil command line as the first three arguments.
    # The program must return an exit status of 0 to allow the mount or unmount
    # to proceed. If it returns non-zero, the user will be denied permission.
    # For example, validate_exec might specify a script which notifies you
    # of the command being run, or performs additional steps to authenticate the
    # user.
    # Specify a full path to the program, with NO options or arguments.
    # validate_exec =
    # validate_rootexec works similarly to validate_exec, except that the program
    # is run as root. validate_rootexec will also be run if the root user runs
    # udevil. If both validate_exec and validate_rootexec are specified,
    # validate_rootexec will run first, followed by validate_exec.
    # The program must return an exit status of 0 to allow the mount or unmount
    # to proceed. If it returns non-zero, the user will be denied permission.
    # Unless you are familiar with writing root scripts, it is recommended that
    # rootexec settings NOT be used, as it is easy to inadvertently open exploits.
    # THIS PROGRAM IS ALWAYS RUN AS ROOT, even if the user running udevil is not.
    # validate_rootexec =
    # success_exec is run after a successful mount, remount, or unmount. The
    # program is run as a normal user (if root runs udevil, success_exec
    # will NOT be run).
    # The program is passed the username, a printable description of what action
    # was taken, and the entire udevil command line as the first three arguments.
    # The program's exit status is ignored.
    # For example, success_exec might run a script which informs you of what action
    # was taken, and might perform further actions.
    # Specify a full path to the program, with NO options or arguments.
    # success_exec =
    # success_rootexec works similarly to success_exec, except that the program is
    # run as root. success_rootexec will also be run if the root user runs udevil.
    # If both success_exec and success_rootexec are specified, success_rootexec
    # will run first, followed by success_exec.
    # Unless you are familiar with writing root scripts, it is recommended that
    # rootexec settings NOT be used, as it is easy to inadvertently open exploits.
    # THIS PROGRAM IS ALWAYS RUN AS ROOT, even if the user running udevil is not.
    # success_rootexec =
    I have no idea what to do next, the only way it works, is the combination i mentioned in the title of this post. Any suggestion to solve that problem?

  • Instant Client 10.1.0.5 and ORA-12640 with External Authentication

    I am using v10.1.0.5 of Instant Client on Windows 32bit. I have hit bug 5114330 (ANO: ORA-12640 authentication adapter initialization fails if Operating System User does not have admin rights). This was fixed in patch 12 of 10.1.0.5. I copied the updated files from patch 28 that related to the instant client files and I am still hitting the same problem. How do I patch my instant client install to overcome this bug? Using v10.2 of instant client is not an option as it is not compatible with our application.
    Kind regards,
    Steve

    I guess that if you know what you are doing, that approach should work fine; the "standard procedures" are there to guide people who have little experience and to provide a cookbook for how to do it.
    I am not sure about version 10.1, but in Instant Client 10.2 everything except for the Instant Client shared library (in 10.1 that is oraociei10.dll) is the same as the regular client. The Instant Client shared library contains messages and similar, so probably has no influence on a code bug as you experience it.
    What I would do in your case is to install the regular client on a test machine, apply the patch there and see if the problem is fixed there.
    If not, you have a better case for Oracle support, because they understand the regular client much better.
    If it works there, replace the Instant Client shared libraries with the files from the regular client and see if it works.
    In the case that the error persists, I guess there's no way around a Service Request, because nobody except for Oracle can look into the code.
    Yours,
    Laurenz Albe

  • Problem with Instant Client 10.2 with ODBC and Studio 6.0

    Has anyone else had the issue of not being able to make a second connection after the first connection has been closed and the free HENV is called via the object distructor? What actually fails is the second time thru the SQLDriverConnect call returns -1. If the connection object is a global but close is still called it will work. So this leads me to believe the problem might be from the SQLFreeEnv call in the distructor.
    If I run test using the 10.1 Instant cleint it works fine. I have included some code that I use to test with below.
    I am using:
    XP Pro sp2
    Visual Studio 6.0 sp6
    Instant Client 10.2
    MDAC 3.51
    Oracle Server 10g
    Thank you for anyone suggesting advice, help, direction....
    #include "stdafx.h"
    #include <afxdb.h>          
    #include "DriverTest.h"
    #include <odbcss.h>
    #ifdef _DEBUG
    #define new DEBUG_NEW
    #undef THIS_FILE
    static char THIS_FILE[] = __FILE__;
    #endif
    static char CONN_STRING[] = "DSN=TMTest2;UID=TMMain;PWD=TMMain1;";
    CWinApp theApp;
    using namespace std;
    CDatabase cdGlobalTMMainDB;
    BOOL TestOnStack();
    BOOL TestGlobal();
    int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
         int nRetCode = 0;
         // initialize MFC and print and error on failure
         if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0))
              // TODO: change error code to suit your needs
              cerr << _T("Fatal Error: MFC initialization failed") << endl;
              nRetCode = 1;
         else
              // TODO: code your application's behavior here.
              cout << "---------------------- Testing connection as global ------------------------" << endl;
              TestGlobal();
              TestGlobal();
              cout << endl << "---------------------- Testing connection on stack -------------------------" << endl;
              TestOnStack();
              TestOnStack();
              cout << endl << "---------------------- Testing connection as global(again) -----------------" << endl;
              TestGlobal();
              TestGlobal();
         return nRetCode;
    BOOL TestOnStack()
         CString sMessage;
         BOOL bOkay = false;
         try
              CDatabase cdStackTMMainDB;
              // try open connection
              cout << "Attempt open on stack... " ;
         bOkay = cdStackTMMainDB.OpenEx( CONN_STRING, CDatabase::noOdbcDialog );
              // close connection
              cdStackTMMainDB.Close();
              cout << "Successful" << endl;
         catch( CDBException *pX )
              CString cszTheStr;
              printf("FAILED - CDBException has occurred %s\n", pX->m_strError );
              pX->Delete();
         catch( CMemoryException *pX )
              printf("FAILED - CMemoryException has occurred\n" );
              pX->Delete();
         catch( ... )
              printf("FAILED - Other exception has occurred.\n" );
         // return results
         return( bOkay );
    BOOL TestGlobal()
         CString sMessage;
         BOOL bOkay = false;
         try
              // try open connection
              cout << "Attempt open as global... " ;
         bOkay = cdGlobalTMMainDB.OpenEx( CONN_STRING, CDatabase::noOdbcDialog );
              // close connection
              cdGlobalTMMainDB.Close();
              cout << "Successful" << endl;
         catch( CDBException *pX )
              CString cszTheStr;
              printf("FAILED - CDBException has occurred %s\n", pX->m_strError );
              pX->Delete();
         catch( CMemoryException *pX )
              printf("FAILED - CMemoryException has occurred\n" );
              pX->Delete();
         catch( ... )
              printf("FAILED - Other exception has occurred.\n" );
         // return results
         return( bOkay );
    }

    For what it is worth, I am having a similar problem with an application I support. When I upgraded from 10.2.0.2 to 10.2.0.3 to fix a performance problem, we now have this connection problem. If I can not get a good solution for the InstantClient I will have to start using the Full 10.2.0.3 Client and I am not looking forward to deploying that.
    Steve Hicklin
    USA

  • When Instant Client for AIX 5L 32 and HP-UX PA-RISC 32 are released?

    Does anyone know when Instant Client for AIX 5L 32 might be release?
    and also, Instant Client for HP-UX PA-RISC 32 ?

    There isn't much to check. This is the Instant Client and it was downloaded specifically for the 32-bit PA-RISC platform. The "documentation" simply says I should set the "LD_LIBRARY_PATH" environment variable to include the directory where I unzipped the files. It is obviously looking at the libraries when I load my application, otherwise I would get a different type of error message along the lines of "missing Oracle client". FYI, This is not one of the newer 8x00 chips which support 64-bit addressing, but that is the point of the 32-bit option. I assumed this was compiled for my platform (which more specifically is an HP PA-RISC 7300LC 160MHz processor with 768MB RAM). I know this isn't the most modern box, but I would like to have a simple lab environment for my ERP application and save the hassle and additional expense of aquiring a 64-bit compatible workstation. I figure what I have works well with my application, and there is no 9i 32-bit client...so why not try the 10g Instant Client which should be backwards compatible with my database. BTW, the database is not running on this box, it's on a remote server which does support 64-bit and happens to be running Oracle 9.2.0.4.

  • PHP 4.3.11 Oracle Instant Client  10.1.0.4 and my firewall

    I've successfully compiled php with oci8 instant client support.
    The web server is in the DMZ and Oracle on a windows machine in my
    local net .. I've set up my firewall to allow the communication
    betweeen my web server and the oracle machine by freeing the
    standard port 1521.
    when I call the ociplogin function I pass as server argument //192.168.10.3:1521/medDB which match my oracle server configuration.
    As result I become
    Warning: ociplogon(): ociopen_server: ORA-12541: TNS:no listener
    Well I've checked my firewall ad I noticed it blocked connections from
    my web server to my oracle on the port 1035.
    Today I rebooted the web server .. restarted apache
    and on the firewall I had the same blocking
    but this time on the port 1044.
    Someone knows something about this strange behaviour ?
    thank you in advance
    Alex

    Hi,
    Here is the link where you can find the ports : http://www.freshports.org/search.php?query=linux-oracle-instantclient-&search=go&num=10&stype=name&method=match&deleted=excludedeleted&start=1&casesensitivity=caseinsensitive
    One question :
    I'm trying to run sqlplus, but have a pb of version :
    (sh)$ sqlplus
    sqlplus: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libsqlplus.so)
    sqlplus: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libclntsh.so.10.1)
    sqlplus: /lib/libc.so.6: version `GLIBC_2.3.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libclntsh.so.10.1)
    sqlplus: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libclntsh.so.10.1)
    sqlplus: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libnnz10.so)
    I had the same problem when I tried to compile directly from the client.
    I can't find GLIBC_2.3.3 on FreeBSD 5.3.
    Do you know if it works with another version of FreeBSD ? or should I install an emulator (I tried red hat 8.8, but doesn't work)? I tried to compile glib2.3.3, but it hasn't been ported on FreeBSD.
    Anyway, I will try with redhat9.
    Thanks,
    Basha

  • Instant Client 10.1.0.3 and 8i

    I finally got PHP 4.3.11 compiled with Instant Client however I get an error that my database is not supported/
    I know that the latest release of the Instant Client allows for 8.1.7.x but will Instant Client ever support 8.1.6.x?
    Andrew

    Hi,
    I've tried nearly the same today (but with 8.1.7) and also had no success.
    When does the error occur? What is its description?

  • Instant Client 10.2.0.1 and Linux...

    I am new to the Linux world and am trying to create an OCCI application. I have the following configuration:
    Linux Fedora Core 4
    Oracle Instant Client 10.2.0.1
    gcc version 4.0.0 20050519 (Red Hat 4.0.0-8)
    Will this configuation allow me to create OCCI applications? I have created a simple application that only tries to create an Envionment object. I have tried to compile my app with 2 different commands:
    g++ -I/usr/include/oracle/10.2.0.1/client OracleTest.cpp -o OracleTest.exe -L/usr/lib/oracle/10.2.0.1/client/lib -lclntsh -locci
    and
    g++ -I/usr/include/oracle/10.2.0.1/client OracleTest.cpp -o OracleTest.exe -L/usr/lib/oracle/10.2.0.1/client/lib /usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so.10.1 /usr/lib/oracle/10.2.0.1/client/lib/libocci.so.10.1
    The first command returns saying that the compiler cannot find either of the specified libraries (all of my paths are correct). The second command returns all kinds of string errors.
    Does anyone have a similar configuration to mine and have they successfully created OCCI applications?
    Thank you,
    Jason

    OCCI Libraries packaged with 10.2.0.1 Instant Client are gcc323 compatible only.

  • Instant Client Package - SDK, RPM package download not working

    Hi,
    I am trying to download "Instant Client Package - SDK", RPM package for Linux 32 bit, version 11.2.0.1.0 from http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html
    However the file downloaded has zero length. I tried from two different computers. I cannot find any contact/form to report broken content on that website. Can someone help, please?
    Cheers, Tomas

    fyi
    For me, the page ...
    http://www.oracle.com/technology/software/products/database/index.html
    ... currently says ...
    "An error occurred while processing the request. Try refreshing your browser. If the problem persists contact the site administrator"
    But, with the direct URL to the ZIP, which failed to download before ...
    http://download.oracle.com/otn/nt/oracle10g/10201/10201_companion_win32.zip
    ... I was able to download it just now.
    regards
    Jan

  • Instant Client 10.2.0.4 and Warehouse Builder 11.2 on Same Machine

    Previously we used instant client 10.2.0.4 on our development box to connect to 8.1.7.4 and 10.2.0.4 databases. After installing warehouse builder 11.2 we could no longer connect to 8.1.7.4 since the environment was updated to use the 11.2.0.2 client from warehouse builder.
    Attempting to fix that, i changed the PATH setting in Windows to put the instantclient directory ahead of the OWB path. Even after restarting, connections to 8.1.7.4 fail with ORA-03134.
    How can I get instantclient 10.2.0.4 working without uninstalling OWB?

    Client 11g can only connect to 9iR2 onwards only.
    You also have to look for ORACLE_HOME environment/registry variable and remove the 11.2 directories from the PATH.
    If possible use a batch script specific to the versions you want to use and set the PATH/ORACLE_HOME appropriately.

  • OCCI instant client vs complete instalation client

    Dear experts,
    How do we decide if we want to install OCCI instant client or complete client? What are the + and - of these two?
    regards,
    Valerie

    whops, I think I misunderstood when I read the OCCI doc. I thought there were two types of installation, instant and complete. Sorry...:)

  • Why does Adobe Flash Player 11.9 keep installing over and over on Windows Internet Explorer?

    I am having a problem with Adobe Flash Player 11.9. When I visit a site that uses Adobe Flash Player (i.e. NBC News.com) the system keeps asking me to install Adobe Flash Player 11.9. However, Adobe Flash Player 11.9 is ALREADY installed on my system and is working fine. Each time I try to re-install Adobe Flash Player, it doesn't do anything except go through the installation process. Tell me how to stop the notifications.

    You've probably got cached files that keep sending outdated info to pages you visit.
    Download this file: Deep Clean.zip
    Close IE. Check your task manager to be sure the iexplore.exe process is terminated.
    Unzip the file.
    Double click the deepclean_set.bat file.
    A command prompt window will open and your Disk Cleanup settings manager will open too.
    Check EVERY box in the list and click OK.
    Then double click the deepclean_run.bat file.
    Again, a comman prompt window will open, and your Disk Cleanup will run, clearing many more files than the standard cleanup does. It WILL take a while to cleanup.
    When it finishes, you can delete the deepclean_set.bat file as you won't need it again, but keep the deepclean_run.bat as it can be used to "deep clean" your disk whenever you need it. Save it in your documents folder.
    Afterward, open IE again and go back to NBC. You shouldn't see any prompt to upgrade anymore.

  • Why does Adobe try to trick us into installing Chrome and the Google toolbar?

    Why does Adobe try to trick me in an underhand way to install Chrome and the Google toolbar?

    In a word... "Money"

  • Why do i need to declate methods two times for this program work

    Hi,
    why should i have to declare 2 times the methods
    public void mouseClicked(MouseEvent e) {    }
    public void mousePressed(MouseEvent e) {    }
    public void mouseReleased(MouseEvent e) {    }
    public void mouseEntered(MouseEvent e) { }
    public void mouseExited(MouseEvent e) {  }
    to make this program work? why when i declate 1 time this program doesn't work good?
    import java.awt.*;*
    import javax.swing.;
    import java.awt.datatransfer.*;
    import java.io.FileReader;
    import java.io.IOException;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseEvent;
    public class Main extends JPanel implements MouseListener {
    public Main() {
    super(new GridLayout(2,2));
    final JTextArea jt= new JTextArea("dear test :) ",5,20);
    FileReader reader = null;
    System.err.println("Error closing reader");
    exception.printStackTrace();
    JButton bu = new JButton("copiar");
    final Clipboard clipboard = getToolkit().getSystemClipboard();
    //new add
    add(nn);
    add(tt);
    bu.addMouseListener(new MouseListener() {
    public void mouseEntered(MouseEvent e) {
    StringSelection data = new StringSelection(jt.getText());
    clipboard.setContents(data, data);
    public void mouseClicked(MouseEvent e) {
    public void mousePressed(MouseEvent e) {
    public void mouseReleased(MouseEvent e) {
    public void mouseExited(MouseEvent e) {
    private static void createAndShowGUI() {
    //Create and set up the window.
    JFrame frame = new JFrame("TextDemo");
    public static void main(String[] args) {
    //Schedule a job for the event dispatch thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    public void mouseClicked(MouseEvent e) {    }
    public void mousePressed(MouseEvent e) {    }
    public void mouseReleased(MouseEvent e) {    }
    public void mouseEntered(MouseEvent e) { }
    public void mouseExited(MouseEvent e) {  }
    }

    import java.awt.;
    import javax.swing.;
    import java.awt.datatransfer.*;
    import java.io.FileReader;
    import java.io.IOException;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseEvent;
    public class Main extends JPanel implements MouseListener {
    public Main() {
    super(new GridLayout(2,2));
    final JTextArea jt= new JTextArea("dear test :) ",5,20);
    FileReader reader = null;
    System.err.println("Error closing reader");
    exception.printStackTrace();
    JButton bu = new JButton("copiar");
    final Clipboard clipboard = getToolkit().getSystemClipboard();
    //new add
    add(nn);
    add(tt);
    bu.addMouseListener(new MouseListener() {
    public void mouseEntered(MouseEvent e) {
    StringSelection data = new StringSelection(jt.getText());
    clipboard.setContents(data, data);
    public void mouseClicked(MouseEvent e) { }
    public void mousePressed(MouseEvent e) { }
    public void mouseReleased(MouseEvent e) {}
    public void mouseExited(MouseEvent e) { }
    private static void createAndShowGUI() {
    //Create and set up the window.
    JFrame frame = new JFrame("TextDemo");
    public static void main(String[] args) {
    //Schedule a job for the event dispatch thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    public void mouseClicked(MouseEvent e) { }
    public void mousePressed(MouseEvent e) { }
    public void mouseReleased(MouseEvent e) { }
    public void mouseEntered(MouseEvent e) { }
    public void mouseExited(MouseEvent e) { }
    } the problem is this line bu.addMouseListener(new MouseListener() {
    if i change this to bu.addMouseListener(this() {
    it gives error saying expected ')'
    and then doesn't compile.
    i just don't know why , although the program runs when i declare the methods two times,
    but i think it's better java code , if i learn it why is this error and correct it

  • Why do I need a password to open some documents and were must I get it

    Where  do we find these password and how do we create them

    Hi,
    You are prompted to enter the password in some of the pdf files while you are trying to open them in Adobe Reade is due to the fact that they are password protected/encrypted.
    You can get the password of these pdf files from their creators.
    Thanks,
    Ankit
    Adobe Reader Team

Maybe you are looking for