Php4+oc8 in debian

Hi all, I'm tryng to recompile php4 to support oci8 on a debian sarge box and the process seems terminate successfully. In effetct now in php4 module I can find the link to the oci library:
psala@debianbox:~$ ldd /usr/lib/apache2/modules/libphp4.so | grep oraclient
libexpat.so.0 => /app/oraclient/lib/libexpat.so.0 (0x4036c000)
libclntsh.so.10.1 => /app/oraclient/lib/libclntsh.so.10.1 (0x4059e000)
libnnz10.so => /app/oraclient/lib/libnnz10.so (0x41574000)But when I try an ocilon in a php page nothing happens but in the apache2 error log I can find
[Wed Aug 24 10:54:55 2005] [notice] child pid 13147 exit signal Segmentation fault (11)Am I wrong something during the php4 building process?
Thank you very much
Piviul

Just tip:
<snip>
If your webserver doesn't start or crashes at startup: Check that Apache is linked with the pthread library
</snip>
More at: http://sk2.php.net/manual/en/ref.oci8.php

Similar Messages

  • Problem using Instant Client 10g with PHP4.3.10-16 on Debian Sarge

    Hello,
    My current email is [email protected]
    I am trying to use PHP on Debian box using Oracle 10gR2 on a RH 4 server. Everything works fine individually, but I cannot get PHP4 to use InstantClient to connect to the Oracle Server. This is what I've done:
    Oracle 10gR2 works fine on the RH 4 server. Listener is running and all required OS security is in place and works (TCP_wrappers, etc.).
    Client machine runs Debian 3.1 (Sarge). It works fine and SSH connectivity to RH4 server works.
    Instant Client 10gR2 installed on Debian client and works fine. Tested SQL*Plus connection to the RH server. I installed Instant Client from the zip file.
    I did have to add libclntsh.so to /etc/ld.so.conf and run ldconfig to get Debian to use it, though.
    Apache2.0.54-5 on Debian client works fine. Web pages on it can be opened in browsers from other machines.
    Installed PHP4.3.10-16 on Debian client using following:
    ./configure --with-oci8-instant-client=<dir of my choice>
    --enable-sigchild
    I first checked ./configure help and the option with-oci8-instant-client was there.
    Configure went well. Log showed checking for Instant Client files.
    Ran make. Saw numerous Instant Client message as words scrolled.
    Ran make install. Successful.
    Restarted Apache2 with following env variables:
    LD_LIBRARY_PATH=<my Instant Client directory)
    TNS_ADMIN=<same directory where I put my sqlnet.ora and tnsnames.ora files).
    SQLPATH=<same directory>
    I know this is correct because Instant Client SQL*Plus can connect.
    Browsers on other machines can view simple php scripts run from the Debian box.
    BUT, phpinfo does NOT show an OCI8 section.
    phpinfo does show the correct extension directory, though.
    Somehow, my PHP4 configure and make is not using the --with-oci8-instant-client option.
    I checked $PHP4HOME/ext/oci8/config.m4 file and the verbiage IS in there to use the --with-oci8-instant-client option, either with the default location or the extension_dir location.
    I tried using the new ZendCore product, even though it is not certified for Debian. It installed okay but I could not get PHP5 to work. I uninstalled it successfully and redid all of the above.
    So, any ideas as to what else I can do here? Other than not use Debian (which is probably the wisest thing to do). And I suppose I could install a thick Oracle client, assuming that Debian would take it. But I prefer the Instant Client.
    I tried the PHP ./configure syntax I've seen several places on this forum.
    ./configure --with-oci8=instantclient,<directory>
    This syntax may work on Red Hat machines but it throws a syntax error on Debian and aborts the configure.
    Thanks for any help.

    Thanks, but that did not work. Configure aborts because it cannot find the required OCI8 libraries. The --with-oci8 option is for the Oracle "thick" client.  I have only the Instant Client...and am not interested in loading the older client.
    I may have my own solution next week, though. I will be loading RH4 on a new server and will then install ZendCore and forget all about using Oracle with Debian.
    Update on trying ZendCore on Debian Sarge:
    I tried installing it again yesterday. The install seemed go to well, and said it was successful.
    It did NOT load PHP5, however. Nor did it load the Instant Client. My previously installed PHP4 and Instant Client remained in my original directories.

  • Installation problem on my debian 2.2.20

    I tryied to install the Appserver 7 on my debian (Linux woody 2.2.20 SMP) without X11 ( ./setup -console ) but i have this error message
    com.iplanet.install.util.wbResource::getString: resource string "appservResources:LinOSCheckPanel-CUI-unsupportedOS-Text" not found
    appservResources:LinOSCheckPanel-CUI-unsupportedOS-Text
    Please, anybody can help me ?
    Excuse my poor english

    fk wrote:
    Hi
    you can try these installation method
    http://wiki.archlinux.org/index.php/Ins … her_distro
      installation work fine..... the problem is the boot from disk after install.
    P.S. i tried installation form ftp but the module of my eth card wont'load  :cry:
    marvell ---> sky2

  • Can't install Oracle 8.1.7 on Debian 3.0 (woody)

    Hello,
    I'm trying to install Oracle 8.1.7 on Debian 3.0 (kernel 2.4.19 and glibc 2.2.5) but the runInstaller program does not start.
    It displays the msg "Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait..." and nothing more happens.
    I found lots of posts on this forum regarding installing Oracle, but none of the workarounds for Debian seems to work.
    I'm using Blackdown's JDK 1.1.8, but even with it the runInstaller does not start (it's installed in /usr/local/java, as Oracle expects).
    I tried "unset LANG", but it didn't work. Also tried "export LD_ASSUME_KERNEL=2.2.5", nothing either.
    It's not possible to use Debian 2.2, I must install Oracle 8.1.7 on Debian 3.0. Also I successfully installed Oracle 9.0.1 on the same machine I'm trying to instal Oracle 8.1.7.
    Has anyone successfully installed Oracle 8.1.7 on Debian 3.0? What should I do install it?
    Regards,
    Ivens Porto
    [email protected]

    I had to install the newest 118 JRE from IBM and change:
    DISTDIR/stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux to be a softlink which pointed to /usr/local/IBMJava-118-JRE/

  • How to install Adobe AIR 2.6 on 64-bit Debian jessie?

    After many tries, TourDeFlex has not yet been installed on 64-bit Debian testing edition. Here is part of the Install.log
    [Adobe AIR Application Installer:7503][INFO] Application Installer begin with version 2.6.0.19170 on Linux x86
    [Adobe AIR Application Installer:7503][INFO] Commandline is: /home/alisa/Downloads/TourDeFlex.air
    [Adobe AIR Application Installer:7503][INFO] Installed runtime (2.6.0.19170) located at /opt/Adobe AIR
    [Adobe AIR Application Installer:7503][INFO] Unpackaging file:///home/alisa/Downloads/TourDeFlex.air to /tmp/FlashTmp.29yCCI
    [Adobe AIR Application Installer:7503][INFO] Application signature verified
    [Adobe AIR Application Installer:7503][INFO] Unpackaging/validation complete
    [Adobe AIR Application Installer:7503][INFO] No app located for appID 'TourDeFlex' and pubID 'E7BED6E5DDA59983786DD72EBFA46B1598278E07.1'
    [Adobe AIR Application Installer:7503][INFO] Cancel request received
    [Adobe AIR Application Installer:7503][INFO] Application Installer end with exit code 6
    Actually, all air applications can not be installed so far, including TweetDeck etc. How can I fix this problem?

    Chris,
    Your suggestion to use Windows Installer CleanUp Utility to solve my problem worked!  Many thanks for the suggestion.
    For anyone who wants to use Windows Installer CleanUp Utility:  Microsoft no longer supports this utility and you will no longer be able to download it from their site.  I found a copy of it at:
    http://www.softpedia.com/get/Security/Secure-cleaning/Windows-Installer-CleanUp-Utility.sh tml
    Please note that after you install it, you will have to go find it in Start -> All Programs (Windows XP), launch it, select Adobe AIR, and click the Remove button.

  • Friends, MacBook Pro 8,1 – Intel Core i5 – 2.23 GHz (early 2011)   New MB Pro with OSX 10.6 – current on all updates.  I successfully installed rEFit. I used Boot Camp to install Win 7.  All was great.  Then installed debian 6.  Somehow after the debian i

    MacBook Pro 8,1 – Intel Core i5 – 2.23 GHz (early 2011) New with OSX 10.6 – current on all updates.
    I successfully installed rEFit. I used Boot Camp to install Win 7.  All was great.
    Then installed debian 6.  Somehow after the debian install and restart (I know this sounds crazy) but I am now reduced to Win 7 only. rEFit is not present when rebooting nor is OSX or debian. Further, I am unable to force the install DVD to launch when rebooting, by holding C, D or F8.  The Option key brings me to the grey screen with a padlock. I have attempted the root and local pw- no go. Restart holding D takes me to the windows boot manager. I have attempted several options within the Advanced Options; including – Repair Your computer, safe mode and “last known good config,” All of which did nothing.
    I can see all my OSX files within win7. I tried to install the OSX within windows. Ya right, that did nothing..
    I only desire to get back to OSX...
    What are my options??

    Yes, you royally hosed up your machine.
    You should first try to get your files off, any way you can to a external drive.
    Your going to need to hold c and boot from the disk that came with your computer and a couple of screens in under the menu is a option for Disk Utility.
    Select your drive and Erase with Security Option Zero, format the drive HFS+ Journaled and when that's finished (about a hour or so) then quit and install OS X from the installer.
    I hope this works, but I suspect it won't. Others have hosed their machines trying to use a Linux disk without proper partition formatting too.
    Another option might be to use another Mac to c boot off the Snow Leopard disk and install OS X onto a external drive, take that to the problem Mac and try holding option and booting off of it to erase your internal drive.
    You could replace the drive.
    frederick s wrote:
     The Option key brings me to the grey screen with a padlock.
    Is this holding option while booting?
    There was someone else around here who hosed their Mac with a Linux disk too. Try to find it.

  • At the beginning of install EBS R12 on Ubuntu 8.04 amd64 (Linux Debian)

    Bonjour,
    Need help, please.
    At the beginning of install EBS R12 on Ubuntu 8.04 amd64 (Linux Debian)
    ATI graphic driver: "ati-driver-installer-8-4-x86.x86_64.run"
    All prerequisites are installed.
    appmgr@ubu:~$ /d01/Stage12/startCD/Disk1/rapidwiz/rapidwiz
    Terminal output:
    Rapid Install Wizard is validating your file system......
    4 dvd labels found
    Rapid Install Wizard will now launch the Java Interface.....
    appmgr@ubu:~$ Locking assertion failure. Backtrace:
    #0 /usr/lib32/libxcb-xlib.so.0 [0xf73cd767]
    #1 /usr/lib32/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xf73cd8b1]
    #2 /usr/lib32/libX11.so.6(_XReply+0xfd) [0xcddf31bd]
    #3 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce162a76]
    #4 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce14880a]
    #5 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce148a51]
    #6 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x24) [0xce148c5c]
    #7 [0xf2437fa8]
    #8 [0xf2431aeb]
    #9 [0xf2431aeb]
    #10 [0xf242f1b4]
    #11 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf765734c]
    #12 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf77f7c08]
    #13 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf765717f]
    #14 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x2dd) [0xf76a636d]
    #15 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xf73762cd]
    #16 [0xf2437838]
    #17 [0xf2431a14]
    #18 [0xf242f1b4]
    #19 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf765734c]
    Locking assertion failure. Backtrace:
    #0 /usr/lib32/libxcb-xlib.so.0 [0xf73cd767]
    #1 /usr/lib32/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xf73cd81e]
    #2 /usr/lib32/libX11.so.6 [0xcddf2518]
    #3 /usr/lib32/libX11.so.6(XGetVisualInfo+0x26) [0xcdde90a6]
    #4 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce1476df]
    #5 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce147970]
    #6 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so [0xce148b98]
    #7 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x24) [0xce148c5c]
    #8 [0xf2437fa8]
    #9 [0xf2431aeb]
    #10 [0xf2431aeb]
    #11 [0xf242f1b4]
    #12 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf765734c]
    #13 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf77f7c08]
    #14 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so [0xf765717f]
    #15 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x2dd) [0xf76a636d]
    #16 /d01/Stage12/startCD/Disk1/rapidwiz/jre/Linux_x64/1.5.0/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xf73762cd]
    #17 [0xf2437838]
    #18 [0xf2431a14]
    #19 [0xf242f1b4]
    The window titled « Install Oracle Applications - Welcome » is displayed but empty;
    I Click [ X ] at the top right corner;
    The windows titled «  Oracle Applications Rapid Install Wizard Alert » is displayed, asking « Are you sure you want to exit ? » I say [ Yes ];
    On the Terminal, I press Ctrl C.
    I choose Ubuntu that is easy to use. I tried and abandoned Oracle EL5 and Solaris.

    Need help N°2, please.
    Install started well. I am facing another lot of errors, quoted as below: -----
    In the windows "System Check Details" - File Space check:
    -- database node space checks --
    RW-20013: Error: - Not enough free disk space on system:
    Database Transaction File Directory = /d01/oracle/VIS/db/apps_st/data
    required = 65064
    actual = 38180
    RW-20013: Error: - Not enough free disk space on system:
    Database Archive File Directory = /d01/oracle/VIS/db/apps_st/data
    required = 44798
    actual = 38180
    (all other Disk spaces were accepted.)
    Where I can correct the disk space allocation ? There are 67 GB free disk space on my pc, avalaible space before VIS install was 270 GB approximatively.
    ---------------------

  • Problem on LabVIEW + Debian 64bits

    Hello,
    I'm trying to install LabVIEW 7.1 on my Debian SID x64, I have all de requirement writen in the Readme.txt and I tryed to install it by INSTALL-norpm . The problem is that I always get :
    #sh INSTALL.norpm labview70-appbuild /usr/local/share/labVIEW/
    Installing labview70-appbuild-7.0-1.i386.rpm into /usr/local/share/labVIEW/...
    /home/esox/labview/rpm2cpio: error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory
    even if :
    #locate libdb.so.2
    /lib/libdb.so.2
    Could you help me?
    Thanks a lot

    it seems to be very very hard to install Oracle 9i on Debian Etch, I found this on the net :
    > Is it possible to install Oracle 9i on Debian etch?
    So far I have had no luck due libraries requirement.
    I appreciate any suggestions.Officially no.
    Unofficially, you should be able to with a loooot of tweaking. The
    secret is in the "compat" libraries. Basically Oracle is a binary
    distribution and relies on gcc296 - not gcc3. You should also get your
    own jdk install. Get 1.1.8 (yep - good old one) and use it to run the
    installer. With Oracle9i there's no gurantee that the jdk in the
    installer will run on your distro. Luckily you can override the jdk with
    your own.
    If anyone knows a simple way to do it, I'd like to know, but I'd rather give up about this idea
    It seems to be to tricky for my poor Linux knowledge

  • Moving from Debian to Arch and exim Problem!

    hello all,
    I Installed arch linux and trying to get exim to work. I use to have Debian with exim and would like to same exim configuration on the new Arch.
    Here my exim configuration:
    exim.conf
    MAIN_TLS_ENABLE = true
    daemon_smtp_ports = 25
    exim_path = /usr/sbin/exim
    .ifndef CONFDIR
    CONFDIR = /etc/mail
    .endif
    UPEX4CmacrosUPEX4C = 1
    domainlist local_domains = @:localhost:dsearch;/etc/mail/virtual.d
    domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS
    hostlist relay_from_hosts = '10.0.1.0/24;10.0.0.0/24'
    .ifndef MAIN_PRIMARY_HOSTNAME_AS_QUALIFY_DOMAIN
    .ifndef MAIN_QUALIFY_DOMAIN
    qualify_domain = ETC_MAILNAME
    .else
    qualify_domain = MAIN_QUALIFY_DOMAIN
    .endif
    .endif
    .ifdef MAIN_LOCAL_INTERFACES
    local_interfaces = MAIN_LOCAL_INTERFACES
    .endif
    .ifndef LOCAL_DELIVERY
    LOCAL_DELIVERY=mail_spool
    .endif
    gecos_pattern = ^([^,:]*)
    gecos_name = $1
    .ifndef CHECK_RCPT_LOCAL_LOCALPARTS
    .endif
    .ifndef CHECK_RCPT_REMOTE_LOCALPARTS
    .endif
    .ifndef MAIN_LOG_SELECTOR
    MAIN_LOG_SELECTOR = +tls_peerdn
    .endif
    .ifndef MAIN_ACL_CHECK_MAIL
    MAIN_ACL_CHECK_MAIL = acl_check_mail
    .endif
    acl_smtp_mail = MAIN_ACL_CHECK_MAIL
    .ifndef MAIN_ACL_CHECK_RCPT
    MAIN_ACL_CHECK_RCPT = acl_check_rcpt
    .endif
    acl_smtp_rcpt = MAIN_ACL_CHECK_RCPT
    .ifndef MAIN_ACL_CHECK_DATA
    MAIN_ACL_CHECK_DATA = acl_check_data
    .endif
    acl_smtp_data = MAIN_ACL_CHECK_DATA
    .ifdef MESSAGE_SIZE_LIMIT
    message_size_limit = MESSAGE_SIZE_LIMIT
    .endif
    .ifdef MAIN_ALLOW_DOMAIN_LITERALS
    allow_domain_literals
    .endif
    .ifndef DC_minimaldns
    .ifndef MAIN_HOST_LOOKUP
    MAIN_HOST_LOOKUP = *
    .endif
    host_lookup = MAIN_HOST_LOOKUP
    .endif
    .ifdef MAIN_HARDCODE_PRIMARY_HOSTNAME
    primary_hostname = MAIN_HARDCODE_PRIMARY_HOSTNAME
    .endif
    .ifdef MAIN_SMTP_ACCEPT_MAX_NOMAIL_HOSTS
    smtp_accept_max_nonmail_hosts = MAIN_SMTP_ACCEPT_MAX_NOMAIL_HOSTS
    .endif
    .ifndef MAIN_FORCE_SENDER
    local_from_check = false
    local_sender_retain = true
    untrusted_set_sender = *
    .endif
    .ifndef MAIN_IGNORE_BOUNCE_ERRORS_AFTER
    MAIN_IGNORE_BOUNCE_ERRORS_AFTER = 2d
    .endif
    ignore_bounce_errors_after = MAIN_IGNORE_BOUNCE_ERRORS_AFTER
    .ifndef MAIN_TIMEOUT_FROZEN_AFTER
    MAIN_TIMEOUT_FROZEN_AFTER = 7d
    .endif
    timeout_frozen_after = MAIN_TIMEOUT_FROZEN_AFTER
    .ifndef MAIN_FREEZE_TELL
    MAIN_FREEZE_TELL = postmaster
    .endif
    freeze_tell = MAIN_FREEZE_TELL
    .ifndef SPOOLDIR
    SPOOLDIR = /var/spool/exim
    .endif
    spool_directory = SPOOLDIR
    .ifndef MAIN_TRUSTED_USERS
    MAIN_TRUSTED_USERS = uucp
    .endif
    #trusted_users = MAIN_TRUSTED_USERS
    .ifdef MAIN_TRUSTED_GROUPS
    trusted_groups = MAIN_TRUSTED_GROUPS
    .endif
    smtp_banner = \t$smtp_active_hostname ESMTP $tod_full
    .ifdef
    .ifndef MAIN_TLS_ADVERTISE_HOSTS
    MAIN_TLS_ADVERTISE_HOSTS = *
    .endif
    tls_advertise_hosts = MAIN_TLS_ADVERTISE_HOSTS
    .ifdef MAIN_TLS_CERTKEY
    tls_certificate = MAIN_TLS_CERTKEY
    .else
    .ifndef MAIN_TLS_CERTIFICATE
    MAIN_TLS_CERTIFICATE = /etc/ssl/certs/mail.crt
    .endif
    tls_certificate = MAIN_TLS_CERTIFICATE
    .ifndef MAIN_TLS_PRIVATEKEY
    MAIN_TLS_PRIVATEKEY = /etc/ssl/private/mail.key
    .endif
    tls_privatekey = MAIN_TLS_PRIVATEKEY
    .endif
    .ifndef MAIN_TLS_VERIFY_CERTIFICATES
    MAIN_TLS_VERIFY_CERTIFICATES = ${if exists{/etc/ssl/certs/mail.crt}\
    {/etc/ssl/certs/mail.crt}\
    {/dev/null}}
    .endif
    tls_verify_certificates = MAIN_TLS_VERIFY_CERTIFICATES
    .ifdef MAIN_TLS_VERIFY_HOSTS
    tls_verify_hosts = MAIN_TLS_VERIFY_HOSTS
    .endif
    .ifndef MAIN_TLS_TRY_VERIFY_HOSTS
    MAIN_TLS_TRY_VERIFY_HOSTS = *
    .endif
    tls_try_verify_hosts = MAIN_TLS_TRY_VERIFY_HOSTS
    .endif
    .ifdef MAIN_LOG_SELECTOR
    log_selector = MAIN_LOG_SELECTOR
    .endif
    begin acl
    acl_local_deny_exceptions:
    accept
    hosts = ${if exists{CONFDIR/host_local_deny_exceptions}\
    {CONFDIR/host_local_deny_exceptions}\
    accept
    senders = ${if exists{CONFDIR/sender_local_deny_exceptions}\
    {CONFDIR/sender_local_deny_exceptions}\
    accept
    hosts = ${if exists{CONFDIR/local_host_whitelist}\
    {CONFDIR/local_host_whitelist}\
    accept
    senders = ${if exists{CONFDIR/local_sender_whitelist}\
    {CONFDIR/local_sender_whitelist}\
    .ifdef LOCAL_DENY_EXCEPTIONS_LOCAL_ACL_FILE
    .include LOCAL_DENY_EXCEPTIONS_LOCAL_ACL_FILE
    .endif
    .ifdef WHITELIST_LOCAL_DENY_LOCAL_ACL_FILE
    .include WHITELIST_LOCAL_DENY_LOCAL_ACL_FILE
    .endif
    acl_check_mail:
    .ifdef CHECK_MAIL_HELO_ISSUED
    deny
    message = no HELO given before MAIL command
    condition = ${if def:sender_helo_name {no}{yes}}
    .endif
    accept
    acl_check_rcpt:
    accept
    hosts = :
    .ifdef CHECK_RCPT_LOCAL_LOCALPARTS
    deny
    domains = +local_domains
    local_parts = CHECK_RCPT_LOCAL_LOCALPARTS
    message = restricted characters in address
    .endif
    .ifdef CHECK_RCPT_REMOTE_LOCALPARTS
    deny
    domains = !+local_domains
    local_parts = CHECK_RCPT_REMOTE_LOCALPARTS
    message = restricted characters in address
    .endif
    accept
    .ifndef CHECK_RCPT_POSTMASTER
    local_parts = postmaster
    .else
    local_parts = CHECK_RCPT_POSTMASTER
    .endif
    domains = +local_domains : +relay_to_domains
    .ifdef CHECK_RCPT_VERIFY_SENDER
    deny
    message = Sender verification failed
    !acl = acl_local_deny_exceptions
    !verify = sender
    .endif
    deny
    !acl = acl_local_deny_exceptions
    senders = ${if exists{CONFDIR/local_sender_callout}\
    {CONFDIR/local_sender_callout}\
    !verify = sender/callout
    accept
    hosts = +relay_from_hosts
    control = submission/sender_retain
    accept
    authenticated = *
    control = submission/sender_retain
    require
    message = relay not permitted
    domains = +local_domains : +relay_to_domains
    require
    verify = recipient
    deny
    !acl = acl_local_deny_exceptions
    recipients = ${if exists{CONFDIR/local_rcpt_callout}\
    {CONFDIR/local_rcpt_callout}\
    !verify = recipient/callout
    deny
    message = sender envelope address $sender_address is locally blacklisted here. If you think this is wrong, get in touch with postmaster
    !acl = acl_local_deny_exceptions
    senders = ${if exists{CONFDIR/local_sender_blacklist}\
    {CONFDIR/local_sender_blacklist}\
    deny
    message = sender IP address $sender_host_address is locally blacklisted here. If you think this is wrong, get in touch with postmaster
    !acl = acl_local_deny_exceptions
    hosts = ${if exists{CONFDIR/local_host_blacklist}\
    {CONFDIR/local_host_blacklist}\
    .ifdef CHECK_RCPT_REVERSE_DNS
    warn
    message = X-Host-Lookup-Failed: Reverse DNS lookup failed for $sender_host_address (${if eq{$host_lookup_failed}{1}{failed}{deferred}})
    condition = ${if and{{def:sender_host_address}{!def:sender_host_name}}\
    {yes}{no}}
    .endif
    .ifdef CHECK_RCPT_SPF
    deny
    message = [SPF] $sender_host_address is not allowed to send mail from ${if def:sender_address_domain {$sender_address_domain}{$sender_helo_name}}. \
    Please see http://www.openspf.org/Why?scope=${if def:sender_address_domain {mfrom}{helo}};identity=${if def:sender_address_domain {$sender_address}{$sender_helo_name}};ip=$sender_host_address
    log_message = SPF check failed.
    !acl = acl_local_deny_exceptions
    condition = ${run{/usr/bin/spfquery --ip \"$sender_host_address\" --mail-from \"$sender_address\" --helo \"$sender_helo_name\"}\
    {no}{${if eq {$runrc}{1}{yes}{no}}}}
    defer
    message = Temporary DNS error while checking SPF record. Try again later.
    condition = ${if eq {$runrc}{5}{yes}{no}}
    warn
    message = Received-SPF: ${if eq {$runrc}{0}{pass}{${if eq {$runrc}{2}{softfail}\
    {${if eq {$runrc}{3}{neutral}{${if eq {$runrc}{4}{unknown}{${if eq {$runrc}{6}{none}{error}}}}}}}}}}
    condition = ${if <={$runrc}{6}{yes}{no}}
    warn
    log_message = Unexpected error in SPF check.
    condition = ${if >{$runrc}{6}{yes}{no}}
    warn
    message = X-SPF-Guess: ${run{/usr/bin/spfquery --ip \"$sender_host_address\" --mail-from \"$sender_address\" \ --helo \"$sender_helo_name\" --guess true}\
    {pass}{${if eq {$runrc}{2}{softfail}{${if eq {$runrc}{3}{neutral}{${if eq {$runrc}{4}{unknown}\
    {${if eq {$runrc}{6}{none}{error}}}}}}}}}}
    condition = ${if <={$runrc}{6}{yes}{no}}
    defer
    message = Temporary DNS error while checking SPF record. Try again later.
    condition = ${if eq {$runrc}{5}{yes}{no}}
    .endif
    .ifdef CHECK_RCPT_IP_DNSBLS
    warn
    message = X-Warning: $sender_host_address is listed at $dnslist_domain ($dnslist_value: $dnslist_text)
    log_message = $sender_host_address is listed at $dnslist_domain ($dnslist_value: $dnslist_text)
    dnslists = CHECK_RCPT_IP_DNSBLS
    .endif
    .ifdef CHECK_RCPT_DOMAIN_DNSBLS
    warn
    message = X-Warning: $sender_address_domain is listed at $dnslist_domain ($dnslist_value: $dnslist_text)
    log_message = $sender_address_domain is listed at $dnslist_domain ($dnslist_value: $dnslist_text)
    !senders = ${if exists{CONFDIR/local_domain_dnsbl_whitelist}\
    {CONFDIR/local_domain_dnsbl_whitelist}\
    dnslists = CHECK_RCPT_DOMAIN_DNSBLS
    .endif
    .ifdef CHECK_RCPT_LOCAL_ACL_FILE
    .include CHECK_RCPT_LOCAL_ACL_FILE
    .endif
    accept
    domains = +relay_to_domains
    endpass
    verify = recipient
    accept
    acl_check_data:
    .ifdef CHECK_DATA_VERIFY_HEADER_SYNTAX
    deny
    message = Message headers fail syntax check
    !acl = acl_local_deny_exceptions
    !verify = header_syntax
    .endif
    .ifdef CHECK_DATA_VERIFY_HEADER_SENDER
    deny
    message = No verifiable sender address in message headers
    !acl = acl_local_deny_exceptions
    !verify = header_sender
    .endif
    .ifdef CHECK_DATA_LOCAL_ACL_FILE
    .include CHECK_DATA_LOCAL_ACL_FILE
    .endif
    accept
    begin routers
    .ifdef MAIN_ALLOW_DOMAIN_LITERALS
    domain_literal:
    debug_print = "R: domain_literal for $local_part@$domain"
    driver = ipliteral
    domains = ! +local_domains
    transport = remote_smtp
    .endif
    hubbed_hosts:
    debug_print = "R: hubbed_hosts for $domain"
    driver = manualroute
    domains = "${if exists{CONFDIR/hubbed_hosts}\
    {partial-lsearch;CONFDIR/hubbed_hosts}\
    fail}"
    same_domain_copy_routing = yes
    route_data = ${lookup{$domain}partial-lsearch{CONFDIR/hubbed_hosts}}
    transport = remote_smtp
    .ifdef DCconfig_internet
    dnslookup_relay_to_domains:
    debug_print = "R: dnslookup_relay_to_domains for $local_part@$domain"
    driver = dnslookup
    domains = ! +local_domains : +relay_to_domains
    transport = remote_smtp
    same_domain_copy_routing = yes
    no_more
    dnslookup:
    debug_print = "R: dnslookup for $local_part@$domain"
    driver = dnslookup
    domains = ! +local_domains
    transport = remote_smtp
    same_domain_copy_routing = yes
    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 192.168.0.0/16 :\
    172.16.0.0/12 : 10.0.0.0/8 : 169.254.0.0/16 :\
    255.255.255.255
    no_more
    .endif
    .ifdef DCconfig_local
    nonlocal:
    debug_print = "R: nonlocal for $local_part@$domain"
    driver = redirect
    domains = ! +local_domains
    allow_fail
    data = :fail: Mailing to remote domains not supported
    no_more
    .endif
    .ifdef DCconfig_smarthost DCconfig_satellite
    smarthost:
    debug_print = "R: smarthost for $local_part@$domain"
    driver = manualroute
    domains = ! +local_domains
    transport = remote_smtp_smarthost
    route_list = * DCsmarthost byname
    host_find_failed = defer
    same_domain_copy_routing = yes
    no_more
    .endif
    COND_LOCAL_SUBMITTER = "\
    ${if match_ip{$sender_host_address}{:@[]}\
    {1}{0}\
    real_local:
    debug_print = "R: real_local for $local_part@$domain"
    driver = accept
    domains = +local_domains
    condition = COND_LOCAL_SUBMITTER
    local_part_prefix = real-
    check_local_user
    transport = LOCAL_DELIVERY
    vdom_aliases:
    driver = redirect
    allow_defer
    allow_fail
    domains = dsearch;/etc/mail/virtual.d
    data = ${expand:${lookup{$local_part}lsearch*@{/etc/mail/virtual.d/$domain}}}
    retry_use_local_part
    pipe_transport = address_pipe
    file_transport = address_file
    no_more
    system_aliases:
    debug_print = "R: system_aliases for $local_part@$domain"
    driver = redirect
    domains = +local_domains
    allow_fail
    allow_defer
    data = ${lookup{$local_part}lsearch{/etc/aliases}}
    .ifdef SYSTEM_ALIASES_USER
    user = SYSTEM_ALIASES_USER
    .endif
    .ifdef SYSTEM_ALIASES_GROUP
    group = SYSTEM_ALIASES_GROUP
    .endif
    .ifdef SYSTEM_ALIASES_FILE_TRANSPORT
    file_transport = SYSTEM_ALIASES_FILE_TRANSPORT
    .endif
    .ifdef SYSTEM_ALIASES_PIPE_TRANSPORT
    pipe_transport = SYSTEM_ALIASES_PIPE_TRANSPORT
    .endif
    .ifdef SYSTEM_ALIASES_DIRECTORY_TRANSPORT
    directory_transport = SYSTEM_ALIASES_DIRECTORY_TRANSPORT
    .endif
    .ifdef DCconfig_satellite
    hub_user:
    debug_print = "R: hub_user for $local_part@$domain"
    driver = redirect
    domains = +local_domains
    data = ${local_part}@DCreadhost
    check_local_user
    hub_user_smarthost:
    debug_print = "R: hub_user_smarthost for $local_part@$domain"
    driver = manualroute
    domains = DCreadhost
    transport = remote_smtp_smarthost
    route_list = * DCsmarthost byname
    host_find_failed = defer
    same_domain_copy_routing = yes
    check_local_user
    .endif
    userforward:
    debug_print = "R: userforward for $local_part@$domain"
    driver = redirect
    domains = +local_domains
    check_local_user
    file = $home/.forward
    require_files = $local_part:$home/.forward
    no_verify
    no_expn
    check_ancestor
    allow_filter
    forbid_smtp_code = true
    directory_transport = address_directory
    file_transport = address_file
    pipe_transport = address_pipe
    reply_transport = address_reply
    skip_syntax_errors
    syntax_errors_to = real-$local_part@$domain
    syntax_errors_text = \
    This is an automatically generated message. An error has\n\
    been found in your .forward file. Details of the error are\n\
    reported below. While this error persists, you will receive\n\
    a copy of this message for every message that is addressed\n\
    to you. If your .forward file is a filter file, or if it is\n\
    a non-filter file containing no valid forwarding addresses,\n\
    a copy of each incoming message will be put in your normal\n\
    mailbox. If a non-filter file contains at least one valid\n\
    forwarding address, forwarding to the valid addresses will\n\
    happen, and those will be the only deliveries that occur.
    procmail:
    debug_print = "R: procmail for $local_part@$domain"
    driver = accept
    domains = +local_domains
    check_local_user
    transport = procmail_pipe
    require_files = ${local_part}:\
    ${if exists{/etc/procmailrc}\
    {/etc/procmailrc}{${home}/.procmailrc}}:\
    +/usr/bin/procmail
    no_verify
    no_expn
    maildrop:
    debug_print = "R: maildrop for $local_part@$domain"
    driver = accept
    domains = +local_domains
    check_local_user
    transport = maildrop_pipe
    require_files = ${local_part}:${home}/.mailfilter:+/usr/bin/maildrop
    no_verify
    no_expn
    .ifndef FIRST_USER_ACCOUNT_UID
    FIRST_USER_ACCOUNT_UID = 0
    .endif
    .ifndef DEFAULT_SYSTEM_ACCOUNT_ALIAS
    DEFAULT_SYSTEM_ACCOUNT_ALIAS = :fail: no mail to system accounts
    .endif
    COND_SYSTEM_USER_AND_REMOTE_SUBMITTER = "\
    ${if and{{! match_ip{$sender_host_address}{:@[]}}\
    {<{$local_user_uid}{FIRST_USER_ACCOUNT_UID}}}\
    {1}{0}\
    lowuid_aliases:
    debug_print = "R: lowuid_aliases for $local_part@$domain (UID $local_user_uid)"
    check_local_user
    driver = redirect
    allow_fail
    domains = +local_domains
    condition = COND_SYSTEM_USER_AND_REMOTE_SUBMITTER
    data = ${if exists{/etc/mail/lowuid-aliases}\
    {${lookup{$local_part}lsearch{/etc/mail/lowuid-aliases}\
    {$value}{DEFAULT_SYSTEM_ACCOUNT_ALIAS}}}{DEFAULT_SYSTEM_ACCOUNT_ALIAS}}
    local_user:
    debug_print = "R: local_user for $local_part@$domain"
    driver = accept
    domains = +local_domains
    check_local_user
    local_parts = ! root
    transport = LOCAL_DELIVERY
    cannot_route_message = Unknown user
    mail4root:
    debug_print = "R: mail4root for $local_part@$domain"
    driver = redirect
    domains = +local_domains
    data = /var/mail/mail
    file_transport = address_file
    local_parts = root
    user = mail
    group = mail
    begin transports
    .ifdef HIDE_MAILNAME
    REMOTE_SMTP_HEADERS_REWRITE=*@+local_domains $1@DCreadhost frs : *@ETC_MAILNAME $1@DCreadhost frs
    REMOTE_SMTP_RETURN_PATH=${if match_domain{$sender_address_domain}{+local_domains}{${sender_address_local_part}@DCreadhost}{${if match_domain{$sender_address_domain}{ETC_MAILNAME}{${sender_address_local_part}@DCreadhost}fail}}}
    .endif
    .ifdef REMOTE_SMTP_HELO_FROM_DNS
    REMOTE_SMTP_HELO_DATA=${lookup dnsdb {ptr=$sending_ip_address}{$value}{$primary_hostname}}
    .endif
    address_file:
    debug_print = "T: address_file for $local_part@$domain"
    driver = appendfile
    delivery_date_add
    envelope_to_add
    return_path_add
    address_pipe:
    debug_print = "T: address_pipe for $local_part@$domain"
    driver = pipe
    return_fail_output
    address_reply:
    debug_print = "T: autoreply for $local_part@$domain"
    driver = autoreply
    mail_spool:
    debug_print = "T: appendfile for $local_part@$domain"
    driver = appendfile
    file = /var/mail/$local_part
    delivery_date_add
    envelope_to_add
    return_path_add
    group = mail
    mode = 0660
    mode_fail_narrower = false
    maildir_home:
    debug_print = "T: maildir_home for $local_part@$domain"
    driver = appendfile
    .ifdef MAILDIR_HOME_MAILDIR_LOCATION
    directory = MAILDIR_HOME_MAILDIR_LOCATION
    .else
    directory = $home/Maildir
    .endif
    .ifdef MAILDIR_HOME_CREATE_DIRECTORY
    create_directory
    .endif
    .ifdef MAILDIR_HOME_CREATE_FILE
    create_file = MAILDIR_HOME_CREATE_FILE
    .endif
    delivery_date_add
    envelope_to_add
    return_path_add
    maildir_format
    .ifdef MAILDIR_HOME_DIRECTORY_MODE
    directory_mode = MAILDIR_HOME_DIRECTORY_MODE
    .else
    directory_mode = 0700
    .endif
    .ifdef MAILDIR_HOME_MODE
    mode = MAILDIR_HOME_MODE
    .else
    mode = 0600
    .endif
    mode_fail_narrower = false
    maildrop_pipe:
    debug_print = "T: maildrop_pipe for $local_part@$domain"
    driver = pipe
    path = "/bin:/usr/bin:/usr/local/bin"
    command = "/usr/bin/maildrop"
    return_path_add
    delivery_date_add
    envelope_to_add
    procmail_pipe:
    debug_print = "T: procmail_pipe for $local_part@$domain"
    driver = pipe
    path = "/bin:/usr/bin:/usr/local/bin"
    command = "/usr/bin/procmail"
    return_path_add
    delivery_date_add
    envelope_to_add
    remote_smtp:
    debug_print = "T: remote_smtp for $local_part@$domain"
    driver = smtp
    .ifdef REMOTE_SMTP_HOSTS_AVOID_TLS
    hosts_avoid_tls = REMOTE_SMTP_HOSTS_AVOID_TLS
    .endif
    .ifdef REMOTE_SMTP_HEADERS_REWRITE
    headers_rewrite = REMOTE_SMTP_HEADERS_REWRITE
    .endif
    .ifdef REMOTE_SMTP_RETURN_PATH
    return_path = REMOTE_SMTP_RETURN_PATH
    .endif
    .ifdef REMOTE_SMTP_HELO_FROM_DNS
    helo_data=REMOTE_SMTP_HELO_DATA
    .endif
    remote_smtp_smarthost:
    debug_print = "T: remote_smtp_smarthost for $local_part@$domain"
    driver = smtp
    hosts_try_auth = <; ${if exists{CONFDIR/passwd.client} \
    ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$host_address}}\
    .ifdef REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
    hosts_avoid_tls = REMOTE_SMTP_SMARTHOST_HOSTS_AVOID_TLS
    .endif
    .ifdef REMOTE_SMTP_HEADERS_REWRITE
    headers_rewrite = REMOTE_SMTP_HEADERS_REWRITE
    .endif
    .ifdef REMOTE_SMTP_RETURN_PATH
    return_path = REMOTE_SMTP_RETURN_PATH
    .endif
    .ifdef REMOTE_SMTP_HELO_FROM_DNS
    helo_data=REMOTE_SMTP_HELO_DATA
    .endif
    address_directory:
    debug_print = "T: address_directory for $local_part@$domain"
    driver = appendfile
    delivery_date_add
    envelope_to_add
    return_path_add
    check_string = ""
    escape_string = ""
    maildir_format
    begin retry
    * * F,2h,15m; G,16h,1h,1.5; F,4d,6h
    begin rewrite
    .ifndef NO_EAA_REWRITE_REWRITE
    *@+local_domains "${lookup{${local_part}}lsearch{/etc/email-addresses}\
    {$value}fail}" Ffrs
    *@ETC_MAILNAME "${lookup{${local_part}}lsearch{/etc/email-addresses}\
    {$value}fail}" Ffrs
    .endif
    begin authenticators
    login_saslauthd_server:
    driver = plaintext
    public_name = LOGIN
    server_prompts = "Username:: : Password::"
    server_condition = ${if saslauthd{{$auth1}{$auth2}}{1}{0}}
    server_set_id = $auth1
    .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
    server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
    .endif
    cram_md5:
    driver = cram_md5
    public_name = CRAM-MD5
    client_name = ${extract{1}{:}{${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}}}
    client_secret = ${extract{2}{:}{${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}}}
    PASSWDLINE=${sg{\
    ${lookup{$host}nwildlsearch{CONFDIR/passwd.client}{$value}fail}\
    {\\N[\\^]\\N}\
    {^^}\
    plain:
    driver = plaintext
    public_name = PLAIN
    .ifndef AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS
    client_send = "<; ${if !eq{$tls_cipher}{}\
    {^${extract{1}{:}{PASSWDLINE}}\
    ^${sg{PASSWDLINE}{\\N([^:]+:)(.*)\\N}{\\$2}}\
    }fail}"
    .else
    client_send = "<; ^${extract{1}{:}{PASSWDLINE}}\
    ^${sg{PASSWDLINE}{\\N([^:]+:)(.*)\\N}{\\$2}}"
    .endif
    login:
    driver = plaintext
    public_name = LOGIN
    .ifndef AUTH_CLIENT_ALLOW_NOTLS_PASSWORDS
    client_send = "<; ${if and{\
    {!eq{$tls_cipher}{}}\
    {!eq{PASSWDLINE}{}}\
    {}fail}\
    ; ${extract{1}{::}{PASSWDLINE}}\
    ; ${sg{PASSWDLINE}{\\N([^:]+:)(.*)\\N}{\\$2}}"
    .else
    client_send = "<; ${if !eq{PASSWDLINE}{}\
    {}fail}\
    ; ${extract{1}{::}{PASSWDLINE}}\
    ; ${sg{PASSWDLINE}{\\N([^:]+:)(.*)\\N}{\\$2}}"
    .endif
    plain_server:
    driver = plaintext
    public_name = PLAIN
    server_condition = "${if crypteq{$auth3}{${extract{1}{:}{${lookup{$auth2}lsearch{CONFDIR/passwd}{$value}{*:*}}}}}{1}{0}}"
    server_set_id = $auth2
    server_prompts = :
    .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
    server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
    .endif
    update-exim4.conf.conf
    dc_eximconfig_configtype='internet'
    dc_other_hostnames='mail.mydomain.com; mail;localhost.localdomain; localhost'
    dc_local_interfaces=''
    dc_readhost=''
    dc_relay_domains=''
    dc_minimaldns='false'
    # HOSTS THAT CAN CONNECT NO MATTER WHAT
    dc_relay_nets='10.0.1.0/24;10.0.0.0/24'
    #xxx.xxx.xxx.xxx is the the Internet IP Address
    dc_smarthost='xxx.xxx.xxx.xxx'
    CFILEMODE='644'
    dc_use_split_config='false'
    dc_hide_mailname=''
    dc_mailname_in_oh='true'
    dc_localdelivery='maildir_home'
    #dc_localdelivery='maildir_home'
    In Debian it seem that update-exim4.conf.conf get load before exim.conf and use what is declared  on update-exim4.conf.conf for exim.conf. How can i do the same thing in Arch ?
    Any help would be much appreciated.

    what is the correct way to add/remove a program from startup at kde4?
    I'm not sure this is the correct way, but it worked for me for starting up yakuake on KDE4's startup. 
    1) Open Konqueror
    2) Go to <<user home>>/.kde4/share/autostart/
    3) Right Click > Create New > Link to Application
    4) You can type in the name (if you know it) or click the icon and do a search for the app name

  • Connecting to Remote Database using Debian w/Oracle XE

    Hello.
    I have managed to install Oracle XE on a Debian box.
    I am trying to connect to a remote server located on my network.
    I am using the following connection string:
    # sqlplus <User>/<Password>@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP>)(PORT=1521)))(CONNECT_DATA=(SID=<SID>)))'
    However, I was given both a SID and a Service_name.
    I tried connecting with both.
    Is it possible to parametrize both? I checked and the remote server is up, and that is the existing port.
    Thanks a lot!

    user603592 wrote:
    Hello.
    I have managed to install Oracle XE on a Debian box.
    I am trying to connect to a remote server located on my network.
    I am using the following connection string:
    # sqlplus <User>/<Password>@'(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=<IP>)(PORT=1521)))(CONNECT_DATA=(SID=<SID>)))'
    However, I was given both a SID and a Service_name.
    I tried connecting with both.
    Is it possible to parametrize both? yes, see below
    bcm@bcm-laptop:~$ sqlplus -h
    SQL*Plus: Release 11.2.0.1.0 Production
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
    Usage 1: sqlplus -H | -V
        -H             Displays the SQL*Plus version and the
                 usage help.
        -V             Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [{logon | /nolog}] [<start>] ]
      <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
        -C <version>   Sets the compatibility of affected commands to the
                 version specified by <version>.  The version has
                 the form "x.y[.z]".     For example, -C 10.2.0
        -L             Attempts to log on just once, instead of
                 reprompting on error.
        -M "<options>" Sets automatic HTML markup of output.  The options
                 have the form:
                 HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
                 [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
        -R <level>        Sets restricted mode to disable SQL*Plus commands
                 that interact with the file system.     The level can
                 be 1, 2 or 3.  The most restrictive is -R 3 which
                 disables all user commands interacting with the
                 file system.
        -S             Sets silent mode which suppresses the display of
                 the SQL*Plus banner, prompts, and echoing of
                 commands.
      <logon> is: {<username>[/<password>][@<connect_identifier>] | / }
               [AS {SYSDBA | SYSOPER | SYSASM}] [EDITION=value]
        Specifies the database account username, password and connect
        identifier for the database connection.  Without a connect
        identifier, SQL*Plus connects to the default database.
        The AS SYSDBA, AS SYSOPER and AS SYSASM  options are database
        administration privileges.
        <connect_identifier> can be in the form of Net Service Name
        or Easy Connect.
          @[<net_service_name> | [//]Host[:Port]/<service_name>]
         <net_service_name> is a simple name for a service that resolves
         to a connect descriptor.
         Example: Connect to database using Net Service Name and the
               database net service name is ORCL.
            sqlplus myusername/mypassword@ORCL
         Host specifies the host name or IP address of the database
         server computer.
         Port specifies the listening port on the database server.
         <service_name> specifies the service name of the database you
         want to access.
         Example: Connect to database using Easy Connect and the
               Service name is ORCL.
            sqlplus myusername/mypassword@Host/ORCL
        The /NOLOG option starts SQL*Plus without connecting to a
        database.
        The EDITION specifies the value for Session Edition.
      <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
        Runs the specified SQL*Plus script from a web server (URL) or the
        local file system (filename.ext) with specified parameters that
        will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run.  The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.
    bcm@bcm-laptop:~$

  • Get a ORA-32104 error: Debian Oracle10gR2 OCCI

    My code is very simple, and i got an exception when I was trying to execute the following code env = Environment::createEnvironment (Environment::OBJECT); I have also tried env = Environment::createEnvironment (); The result is exactly the same.
    The exception is "Error while trying to retrieve text for error ORA-32104"
    My host is Debian, gcc4.1.2, and I have got the new occi library. I am confused with the error.
    I compiler the code with gcc3.4.3, but got the same error.
    Thanks.
    using namespace oracle::occi;
    using namespace std;
    int
    main( int argc, char* argv[] )
         Environment *  env = NULL;
      // Open a connection to the database, then close it.
      int ret = 0;
      try
        env = Environment::createEnvironment(Environment::OBJECT);
        catch (SQLException ea)
         cerr << " Oracle10g: " << ea.what();
         ret = 1;
      Environment::terminateEnvironment(env);
      return 0;
    }Thanks in advance,
    summer

    Do you have the following set in your ENV
    ORACLE_HOME
    ORACLE_SID
    rgds

  • Tools 8.50 on Debian / Ubuntu

    Hi,
    Has anyone tried installing tools 8.50 on a debian / ubuntu system?
      ( yes, I know this is not supported )
      ( yes, I know I could use Oracle Enterprise Linux )
    Oracle, WebLogic and Tuxedo all seem to run ok, so if I can get the database loaded it should all be good, yes? But I'm having problems with the installer, and it looks a bit like some kind of shell issues.
    First attempt:
      $ . psconfig.sh
      $ chmod +x setup/PsMpDbInstall/InstData/setup.linux
      $ setup/PsMpDbInstall/setup.sh
    This runs through the first few sql scripts (very quickly) as far as connect.sql, but then falls over with a "File not found: .../scripts/hr91dmoora.dms" script (HR91DMO is the SID/database). However, looking at the log files, none of the sql scripts actually ran. They all fell over with "sqlplus: command not found", despite entering the correct path for the sqlplus binary when prompted.
    Second attempt:
      $ export ORACLE_HOME=/opt/oracle/dbhome1
      $ export ORACLE_SID=HR91DMO
      $ PATH=$PATH:$ORACLE_HOME/bin
      $ . psconfig.sh
      $ chmod +x setup/PsMpDbInstall/InstData/setup.linux
      $ setup/PsMpDbInstall/setup.sh
    This time the runCreatedb10.sh script runs for a while, but the installer gives "Error while creating database", and stops. Checking the log file shows no errors:
      Database created.
      SQL> spool off
      SQL> exit
      Disconnected from Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    So it looks like there are some kind of shell problems: variables not being set / passed to other scripts; exit codes being incorrectly interpreted.
      $ /bin/sh --version
      GNU bash, version 3.2.48(1)-release (x86_64-pc-linux-gnu)
      Copyright (C) 2007 Free Software Foundation, Inc.
    If anyone has any thoughts on this, I'd love to hear them. Otherwise, it looks like the manual, run-them-all-by-hand approach!
    Cheers,
    Barney

    Ok, so there were a couple of problems:
    1. I had some old deprecated commands in my init.ora file. These caused Oracle warnings in the create script, which Oracle ignored and happily created the database, but the PeopleSoft installation script barfed on. Was nothing to do with shell processing at all. Cleaning these up sorted that out.
    2. Then needed to set a couple of Tuxedo environment settings for Data Mover to run. Should have guessed this from "Data Mover on the UNIX platform has a dependency on the Oracle Tuxedo software." Unfortunately, these aren't really documented until chapter 8 of the installation guide, whereas I was still on chapter 7B. What - you want me to read all 700+ pages before starting... ;-)
    So looking good now. Installing the HRMS data (is it HRMS or HRCS???), then just a couple more steps to go. Only 14822 records remaining...
    [Nicholas]
    Since you're on a non-supported OS, it would be better to follow the manual database creation steps.Yep - I did start to go down that route, but then I was writing my own script to automate things to make it repeatable, and it all just seemed better to try and get the delivered ones to work. Also, unless I'm missing something here, steps in an appendix entitled "Creating a Database Manually on UNIX" which refer to " Setting NLS_LANG in the Windows Registry" just confuse me!
    [Jim]
    can you put up a wiki describing the stepsSure. Never actually added anything to a wiki before, but sure I can get something up there. Will post back here when something's there.
    Cheers,

  • Problem installing Oracle 9i on a Debian 64bits (LD_ASSUME_KERNEL)

    Hi,
    I'm trying to install Oracle 9i on a Debian 64 bits server.
    When I launch runInstaller, the installation process stops at 18% "copying naeet.o".
    I had the same problem when I installed Oracle 9i on a RedHat 4, but I solved it by setting this env variable :
    export LD_ASSUME_KERNEL=2.4.1
    But when I do this on Debian, I can't run any command anymore, I get this error :
    ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
    I've been searching, but I can't find how to set LD_ASSUME_KERNEL without these side effects !
    Can anyone please help ?
    Thanks !

    it seems to be very very hard to install Oracle 9i on Debian Etch, I found this on the net :
    > Is it possible to install Oracle 9i on Debian etch?
    So far I have had no luck due libraries requirement.
    I appreciate any suggestions.Officially no.
    Unofficially, you should be able to with a loooot of tweaking. The
    secret is in the "compat" libraries. Basically Oracle is a binary
    distribution and relies on gcc296 - not gcc3. You should also get your
    own jdk install. Get 1.1.8 (yep - good old one) and use it to run the
    installer. With Oracle9i there's no gurantee that the jdk in the
    installer will run on your distro. Luckily you can override the jdk with
    your own.
    If anyone knows a simple way to do it, I'd like to know, but I'd rather give up about this idea
    It seems to be to tricky for my poor Linux knowledge

  • [SOLVED] Error while installing the RVL200 Virtual Passage on Debian Linux

    When running the install applet in Firefox on a Debian machine, there is an error:
    File Permissions not set.
    Needed permissions couldn't be set on some files.
    "Root" privileges required for setting permissions.
    This is caused by the /vpclient/linuxconfig.sh script. Its last line is "exit" instead of "exit 0"; this (in my case) returns the exit code of "modprobe -q n_hdlc" which is non-0 (this module is compiled into the kernel). Thus the installer fails for no reason.
    The solution was to modify the script and turn "exit" into "exit 0". It now works perfectly.

    When running the install applet in Firefox on a Debian machine, there is an error:
    File Permissions not set.
    Needed permissions couldn't be set on some files.
    "Root" privileges required for setting permissions.
    This is caused by the /vpclient/linuxconfig.sh script. Its last line is "exit" instead of "exit 0"; this (in my case) returns the exit code of "modprobe -q n_hdlc" which is non-0 (this module is compiled into the kernel). Thus the installer fails for no reason.
    The solution was to modify the script and turn "exit" into "exit 0". It now works perfectly.

  • Stereo Out Problem with Macbook Aluminium(Late 2008) Debian OS

    Hello. I'm using my Macbook Aluminium(Late 2008) with 2 operation systems: Snow Leopard(10.6.8) & Debian Squeeze (6.0.4). I've no problem with OsX side, works fast & great. But I've got a interesting problem with Linux side. Everything works but Stereo Speaker. I realized that my macbook uses only one output(right speaker works, left doesn't), so I can't listen stereo music on Linux side. Debian uses ALSA Audio aoutomaticly. I've already asked Debian forums but noone able to solve my problem, so I decided to ask here with my last hope.
    What I tried:
    1- used ''speaker-test -c 2'' terminal code & I've seen this message
    speaker-test 1.0.23
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 2 channels
    Using 16 octaves of pink noise
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 2048 to 8192
    Period size range from 1024 to 1024
    Using max buffer size 8192
    Periods = 4
    was set period_size = 1024
    was set buffer_size = 8192
    0 - Front Left
    1 - Front Right
    Time per period = 5.823448
    2- Checked Debian's Audio Settings, everything seems normal.
    3- Installed Pulse Audio, but it used Alsa base so nothing chanced. In Pulse Volume Control Panel, I saw I've got only Mono Output. But I there is no section for change to stereo.
    4- Uninstalled ALSA & installed OSS4 but OSS4 simply doesn't work. So turned back to ALSA.
    5- My stereo works only with headphone on Debian.

    Hello. I'm using my Macbook Aluminium(Late 2008) with 2 operation systems: Snow Leopard(10.6.8) & Debian Squeeze (6.0.4). I've no problem with OsX side, works fast & great. But I've got a interesting problem with Linux side. Everything works but Stereo Speaker. I realized that my macbook uses only one output(right speaker works, left doesn't), so I can't listen stereo music on Linux side. Debian uses ALSA Audio aoutomaticly. I've already asked Debian forums but noone able to solve my problem, so I decided to ask here with my last hope.
    What I tried:
    1- used ''speaker-test -c 2'' terminal code & I've seen this message
    speaker-test 1.0.23
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 2 channels
    Using 16 octaves of pink noise
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 2048 to 8192
    Period size range from 1024 to 1024
    Using max buffer size 8192
    Periods = 4
    was set period_size = 1024
    was set buffer_size = 8192
    0 - Front Left
    1 - Front Right
    Time per period = 5.823448
    2- Checked Debian's Audio Settings, everything seems normal.
    3- Installed Pulse Audio, but it used Alsa base so nothing chanced. In Pulse Volume Control Panel, I saw I've got only Mono Output. But I there is no section for change to stereo.
    4- Uninstalled ALSA & installed OSS4 but OSS4 simply doesn't work. So turned back to ALSA.
    5- My stereo works only with headphone on Debian.

Maybe you are looking for

  • Zen Stone Plus 4GB - Hiccups / Skipping with new firmware 1.01

    I upgraded my recently purchased Zen Stone Plus 4GB to the new .0.05 firmware a few days ago. Ever since, most (if not all) tracks will play for ~ second, then skip back to the beginning and play fine thereafter. The problem will recur when the next

  • Compound clip audio issue

    I record table-top games, and capture audio from an external microphone. I then sync them up into a compound clip with the camera audio muted and the good audio turned up. The problem is, whenever I go to cut up the clip (delete unnecessary bits), th

  • Pen tool without snap

    I have little bit provlem with using a pen tool in Photoshop. I am conviced that solution would by somewhere in options. When I use a pen tool it snap my path to whole pixels. Is there any settings where I could set that my paths which I make with pe

  • Getting error when importing "SASCHEMAS.dmp "

    Hi all, I am reading guide "SAMPLE APPLICATION 10722 – DEPLOYMENT GUIDE" Not getting the below steps which are bold format -From you SampleApp installation files, copy \DataSources\ORCL\SASCHEMAS.dmp file to the machine where Oracle database 11gR2 is

  • Error in transport, job RDDEXECL cancelled, ended with return code: 12

    Hi all, When I am trying to import a request in a BW system from development to quality , it is giving below error: Program Terminated (job:RDDEXCEL no:11315700) messg no:TR012 Please do needful Thanks and Regards, srinivas.m