4.6.18/19 and chroot on unix environments

Hello
Looks like BDB is caching names (and paths) of it's databases somewhere (in cache files __db* probably). This started to happen with 4.6.18.
This makes a problems when opening database, doing chroot() and making some operations on db.
Is there a way to stop caching database paths in bdb 4.6 and get the same behaviour as it was in 4.5.20?
Using db from inside and outside of chroot() makes nasty problems happen like DB_PAGE_NOTFOUND etc.

The code I'm trying to get working is quite huge (rpm package manager) so I'll describe what I figured out for now.
So suppose that you have directory where BDB database lives (db files + __db.XX files in the same directory):
/level1/superdir/database/
We open (dbenv->open()) that database, do something on it and close() but without calling remove(). So now we have nicely closed database but __db.XX files are still there.
Now we chroot() into /level1/ and run our program again. Since we chrooted /level1/ is now our new root directory. BDB lives in /superdir/database/ now.
So we open() /superdir/database/ and... BDB tries to open still old /level1/superdir/database/ path instead of just /superdir/database/ (after chroot path).
BDB 4.5 was working without problems with such scheme. BDB 4.6 has problems with it.
What can I do about that to get 4.5 behaviour back?
Current bdb 4.6 behaviour means that location of database directory cannot be changed without requirement to rm __db.XXX files. BDB 4.5 behaviour was nicer.

Similar Messages

  • Display image in forms & reports developed on windows and deployed on Unix

    Hi,
    We are upgrading from Forms and reports 6i to forms10g.
    We need to insert image in forms and reports. Recompile and deploy on unix server.
    So can anyone let me know the exact steps to create jar file containing images, where to place the jar file.
    Corresponding folder, file and configuration changes required on windows and unix.
    Av.

    Hi Frank,
    thanks for the link it helped me in understanding how images work for forms.
    But my real concern is how this will work in reports?
    As we dont have any reportsweb.cfg nor any java path for reports?
    Can you help me in understanding how to embed image in reports that will be displayed even after porting the report on unix oas.
    Regards,
    Av.

  • How can I open and print a unix E....le file

    how can I open and print a unix E...le file

    We have no idea what you're referring to. If you know how to use Terminal and the file has been compiled then it may run.

  • Set date and time in UNIX

    what is the command for RunTime.exec() to set date and time in UNIX.
    please help me example
    thanks in advance

    do you mean like this
    Runtime.getRuntime( ).exec("date -s "Tue Oct 23 20:27:26 PDT 2001"")
    anyone who found this is wrong please tell me the correct command.

  • Ssh config : sshd_config and chroot doesn't work

    Hi,
    We tried to customize ssh parameters in sshd_config file in leopard server (in /etc/ssd_config). We need to restrict ssh and sft users' access only in their folders and not go up in parent folders.
    I read that chroot parameter is the right to do this, but it doesn't work with ssh leopard standard version.
    So I installed with macports last openssh and chroot parameter seems to work (ssh service start correctly) but in this case it's impossible to authentificate users : maybe I must use special parameters to use ODM and Kerberos.
    Have you some ideas ?
    Lines added in sshd_config :
    #Match user myuser
    # ForceCommand internal-sftp
    # ChrootDirectory /Volumes/SAN2/Users/myuser
    Chris

    Meyithi wrote:
    Corsair wrote:I uncommented `make nconfig' and commented `yes "" | make config'.  So now my build() looks like this
    I can't see where on that guide it says to comment 'yes "" | make config", I use the same method and I certainly don't do that.
    EDIT/ Here is PKGBUILD I use - http://paste.pocoo.org/show/376935/
    I also tried to not comment that line.  But as expected, that did not change the behavior of nconfig.  Still did not work...

  • Process for setting up new directories and files on Unix

    I am trying to document a process �Process for setting up new directories and files on Unix batch servers�.
    Developer will be developing project on Windows and I need tell them as well as QA team how the Unix directory and file structure.
    Please let me know how is the process in Unix on AIX.
    If I get some documentation regarding this it will be useful.
    Thanks in advance
    Regards
    San

    well on unix/Linux/solaris there are no drives but storage heirarchy starts with a root directory represented with ' / '. and all files and directories are created in root directoy like
    /usr/local/bin
    /export/home/san
    etc
    also filesystem of unix consists iNodes rathar than FAT entries as in case of Windows.
    some basic information is available at
    http://www.techonthenet.com/unix/index.php
    Regards

  • How to install 10g Forms and reports in Unix

    Hi All,
    How to install 10g Forms and reports in Unix, do we need to install 10g AS then desktop forms and reports, Any metalink documents for reference .
    Thanks

    Is it really so hard for you to find the installation guide?
    http://download.oracle.com/docs/cd/B25016_08//doc/dl/core/B16012_04/toc.htm
    For the Developer Suite you don't need the App Server. You need the App Server for production.
    Edited by: InoL on Jul 19, 2010 1:22 PM

  • Download Oracle client, instant client, sqlplus and isql for Unix sco6

    Can you please let me know where can I download 10g R2 Oracle client, instant client, sqlplus and isql for Unix sco6. Also if you can let me know if this all above is compatible with unix sco6.

    Hi,
    Check the link below.
    /R
    http://www.oracle.com/technology/software/index.html

  • Dequeue and start a UNIX process

    I have a requirement to dequeue a message and start a UNIX shell process on the AIX server in order to process information in the dequeued message. Any suggestions on how to do this? Database is Oracle 9i.

    You should be able to use java calls to run unix commands from the Oracle server. Refer to this link for details:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:8822592704303276870::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:952229840241,

  • Is any body work on oracle5 and forms 1 unix operating system

    if ther's any body who has worked on oralce5 and forms 1 (unix based).

    Hiya Steve.
    Pre Forms 2.0 Forms was around for a short time with Oracle 5, cos that was what I used in 1986 !!!
    If Toad will connect to your Oracle5 database (which it may not as it uses an earlier mode of sqlnet), it has the ability to extract data from tables as sql scripts..
    Anyway, export/import is still worth a go first.

  • JSDS 6.2 and Solaris 10 UNIX Accounts (simple,proxy)

    Hi,
    I just got my Solaris10 server-client setup working. Here's some items that may be useful to you: All I'm using LDAP for at this point is user authentication to include home directory management from the server ( NFS share and auto_fs setup in LDAP and on the client )
    My server is JSDS 6.2 ( at least, that's what Sun's Download Center id'd it as. Here's output of DBVERSION file:
    cat /var/opt/SUNWdsee/dsins1/db/DBVERSION
    Sun-ldbm/6.0(64-bit) SunOS 5.10 sparc
    ASSUMPTIONS:  You have the LDAP server installed and running and you are ready to run /usr/lib/ldap/idsconfig
    Both systems patched to latest Recommended cluster and patches shown at JSDS download site. Also, make sure CRYPT is selected during idsconfig.
    myserver: UE450
    (myserver-root: /:225)-> showrev
    Hostname: myserver
    Hostid: 1234567890
    Release: 5.10
    Kernel architecture: sun4u
    Application architecture: sparc
    Hardware provider: Sun_Microsystems
    Domain: example.com
    Kernel version: SunOS 5.10 Generic_127111-01
    myclient: SF V445
    (myclient-root: /:130)-> showrev
    Hostname: myclient
    Hostid: 1234567890
    Release: 5.10
    Kernel architecture: sun4u
    Application architecture: sparc
    Hardware provider: Sun_Microsystems
    Domain: example.com
    Kernel version: SunOS 5.10 Generic_127111-01
    ON CLIENT:
    ldapclient -v init -a proxyDN=cn=proxyagent,ou=profile,dc=example,dc=com
    -a profileName=myprofile my.svr.ip.addr:port (port if not 389)
    I was not fully qualifying proxyDN and this caused authentication failures. ( do not run ldapclient init until the following are done first )
    ON CLIENT: I edited stock pam.conf and made sure only atries active were those id'd in Sun's doc. Also, I made sure I followed same order in each section as compared to Sun's doc.
    pam.conf ( from Sun's JSDS Admin guide ) on LDAP client:
    (*ldap-client*-root: /var/tmp:213)-> cat /etc/pam.conf
    #ident "@(#)pam.conf 1.28 04/04/21 SMI"
    # Copyright 2004 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # PAM configuration
    # Unless explicitly defined, all services use the modules
    # defined in the "other" section.
    # Modules are defined with relative pathnames, i.e., they are
    # relative to /usr/lib/security/$ISA. Absolute path names, as
    # present in this file in previous releases are still acceptable.
    # Authentication management
    # login service (explicit because of pam_dial_auth)
    login auth requisite pam_authtok_get.so.1
    login auth required pam_dhkeys.so.1
    login auth required pam_unix_cred.so.1
    #login auth required pam_unix_auth.so.1
    login auth required pam_dial_auth.so.1
    login auth binding pam_unix_auth.so.1 server_policy
    login auth required pam_ldap.so.1
    # rlogin service (explicit because of pam_rhost_auth)
    rlogin auth sufficient pam_rhosts_auth.so.1
    rlogin auth requisite pam_authtok_get.so.1
    rlogin auth required pam_dhkeys.so.1
    rlogin auth required pam_unix_cred.so.1
    #rlogin auth required pam_unix_auth.so.1
    rlogin auth binding pam_unix_auth.so.1 server_policy
    rlogin auth required pam_ldap.so.1
    # Kerberized rlogin service
    krlogin auth required pam_unix_cred.so.1
    krlogin auth binding pam_krb5.so.1
    krlogin auth required pam_unix_auth.so.1
    # rsh service (explicit because of pam_rhost_auth,
    # and pam_unix_auth for meaningful pam_setcred)
    rsh auth sufficient pam_rhosts_auth.so.1
    rsh auth required pam_unix_cred.so.1
    rsh auth binding pam_unix_auth.so.1 server_policy
    rsh auth required pam_ldap.so.1
    # Kerberized rsh service
    krsh auth required pam_unix_cred.so.1
    krsh auth binding pam_krb5.so.1
    krsh auth required pam_unix_auth.so.1
    # Kerberized telnet service
    ktelnet auth required pam_unix_cred.so.1
    ktelnet auth binding pam_krb5.so.1
    ktelnet auth required pam_unix_auth.so.1
    # PPP service (explicit because of pam_dial_auth)
    ppp auth requisite pam_authtok_get.so.1
    ppp auth required pam_dhkeys.so.1
    #ppp auth required pam_unix_cred.so.1
    #ppp auth required pam_unix_auth.so.1
    ppp auth required pam_dial_auth.so.1
    ppp auth binding pam_unix_auth.so.1 server_policy
    ppp auth required pam_ldap.so.1
    # Default definitions for Authentication management
    # Used when service name is not explicitly mentioned for authentication
    other auth requisite pam_authtok_get.so.1
    other auth required pam_dhkeys.so.1
    other auth required pam_unix_cred.so.1
    #other auth required pam_unix_auth.so.1
    other auth binding pam_unix_auth.so.1 server_policy
    other auth required pam_ldap.so.1
    # passwd command (explicit because of a different authentication module)
    #passwd auth required pam_passwd_auth.so.1
    passwd auth binding pam_passwd_auth.so.1 server_policy
    passwd auth required pam_ldap.so.1
    # cron service (explicit because of non-usage of pam_roles.so.1)
    cron account required pam_unix_account.so.1
    # Default definition for Account management
    # Used when service name is not explicitly mentioned for account management
    other account requisite pam_roles.so.1
    #other account required pam_unix_account.so.1
    other account binding pam_unix_account.so.1 server_policy
    other account required pam_ldap.so.1
    # Default definition for Session management
    # Used when service name is not explicitly mentioned for session management
    other session required pam_unix_session.so.1
    # Default definition for Password management
    # Used when service name is not explicitly mentioned for password management
    other password required pam_dhkeys.so.1
    other password requisite pam_authtok_get.so.1
    other password requisite pam_authtok_check.so.1
    #other password required pam_authtok_store.so.1
    other password required pam_authtok_store.so.1 server_policy
    # Support for Kerberos V5 authentication and example configurations can
    # be found in the pam_krb5(5) man page under the "EXAMPLES" section.
    ON CLIENT: Sun's nsswitch.ldap files that get's activated after running lapclient init has LDAP take over everything. I use a trimmed-down nsswitch.conf with very few ldap entries.
    nsswitch.conf on LDAP client
    (*ldap-client*-root: /var/tmp:215)-> cat /etc/nsswitch.conf
    # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # ident "@(#)nsswitch.ldap 1.10 06/05/03 SMI"
    # /etc/nsswitch.ldap:
    # An example file that could be copied over to /etc/nsswitch.conf; it
    # uses LDAP in conjunction with files.
    # "hosts:" and "services:" in this file are used only if the
    # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
    # LDAP service requires that svc:/network/ldap/client:default be enabled
    # and online.
    # the following two lines obviate the "+" entry in /etc/passwd and /etc/group.
    passwd: files ldap
    group: files ldap
    # consult /etc "files" only if ldap is down.not using LDAP for hosts
    hosts: files dns
    # Note that IPv4 addresses are searched for in all of the ipnodes databases
    # before searching the hosts databases.
    ipnodes: files
    networks: files
    protocols: files
    rpc: files
    ethers: files
    netmasks: files
    bootparams: files
    publickey: files
    netgroup: files
    automount: files ldap
    aliases: files
    # for efficient getservbyname() avoid ldap
    services: files
    printers: user files
    auth_attr: files
    prof_attr: files
    project: files
    tnrhtp: files
    tnrhdb: files
    ON CLIENT:
    contents of /var/ldap files on client: notice fully qualified NS_LDAP_BINDDN - it me quite some time to understand that this had to be fully qualified or I would continue to get those "Error: Unable to update from profile" in /var/ldap/cachemgr.log and "openConnection: simple bind failed - No such object" in /var/adm/messages error messages.
    (*ldap-client*-root: /var/ldap:218)-> cat ldap*
    # Do not edit this file manually; your changes will be lost.Please use ldapclien
    t (1M) instead.
    NS_LDAP_BINDDN= cn=proxyagent,ou=profile,dc=pacmh,dc=us,dc=eds,dc=com
    NS_LDAP_BINDPASSWD= (removed)
    # Do not edit this file manually; your changes will be lost.Please use ldapclien
    t (1M) instead.
    NS_LDAP_FILE_VERSION= 2.0
    NS_LDAP_SERVERS= my.svr.ip.addr:port (port if not 389)
    NS_LDAP_SEARCH_BASEDN= dc=example,dc=com
    NS_LDAP_AUTH= simple
    NS_LDAP_SEARCH_REF= FALSE
    NS_LDAP_SEARCH_SCOPE= one
    NS_LDAP_SEARCH_TIME= 30
    NS_LDAP_SERVER_PREF= my.svr.ip.addr:port (port if not 389)NS_LDAP_CACHETTL= 3600
    NS_LDAP_PROFILE= myprofile
    NS_LDAP_CREDENTIAL_LEVEL= proxy
    NS_LDAP_BIND_TIME= 15
    ON SERVER
    After running /usr/lib/ldap/idsconfig, I had to create VLV indexes with this command ( after idsconfig runs, it says to use directoryserver command, which does not exist in JSDS 6.2)
    /opt/SUNWdsee/ds6/bin/dsconf create-index -h myserver -p nnnn ( port if not 389 ) dc=example,dc=com getgrent gethostent [....]
    enter space-separated list of all VLV indexes idsconfig said to add after you ran idsconfig
    ON CLIENT:
    If you need to clear client init: ldapclient uninit ( if you get errors, check if ldap_cachemgr is running; if it is, kill -9 it, clear /var/ldap directory, make sure nsswitch.conf is not pointing to ldap stuff -- cp /etc/nsswitch.files /etc/nsswitch.conf
    Initialize ldapclient:
    ldapclient -v init -a proxyDN=cn=proxyagent,ou=profile,dc=example,dc=com
    -a profileName=myprofile my.svr.ip.addr:port (port if not 389)
    If this still does not work, clean up client again as before and reboot it. I had some issues w/Sun's nsswitch.conf file for LDAP taking over my client machine and rendering it useless until I rebooted it with files-settings in nsswitch.conf, making my own nsswitch.ldap file it /etc so Sun's LDAP-happy nsswitch file would not be used, and then running ldapclient init.
    ON CLIENT
    cp /etc/passwd /var/tmp/passwd.ldif ( same for group, shadow, auto_home, auto_master )
    Edit each ldif file and remove all entries other than regular user accounts and nobody/noaccess accounts
    passwd.ldif should look something like this:
    johndoe:x:146:14:John Doe:/home/johndoe:/bin/ksh
    janedoe:x:145:14:Jane Doe:/home/janedoe:/bin/ksh
    nobody:x:60001:60001:NFS Anonymous Access User:/:
    noaccess:x:60002:60002:No Access User:/:
    nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/:
    For auto_home, make sure each entry starts w/home-dir server's ip-addr: it'll look something like this:
    janedoe 10.10.20.50:/export/home/janedoe
    johndoe 10.10.20.50:/export/home/johndoe
    ldapaddent -D "cn=Directory Manager" -w <password> -f /var/tmp/passwd.ldif passwd
    .... group.ldif group NOTE order is important: passwd,
    .... shadow.ldif shadow group, shadow
    .... auto_home.ldif auto_home
    .... auto_master.ldif auto_master
    ON CLIENT
    /etc/auto_master
    +auto_master
    /etc/auto_home
    +auto_home
    enable these NFS daemons: ( ie. svcadm enable network/nfs/status )
    online 9:06:26 svc:/network/nfs/status:default
    online 9:06:27 svc:/network/nfs/nlockmgr:default
    online 13:09:41 svc:/network/nfs/cbd:default
    online 13:09:41 svc:/network/nfs/mapid:default
    online 13:09:41 svc:/network/nfs/client:default
    enable auto_fs
    online 13:37:42 svc:/system/filesystem/autofs:default
    ON SERVER
    enable these NFS daemons:
    online 16:36:16 svc:/network/nfs/cbd:default
    online 16:36:16 svc:/network/nfs/status:default
    online 16:36:17 svc:/network/nfs/mapid:default
    online 16:36:17 svc:/network/nfs/nlockmgr:default
    online 16:36:22 svc:/network/nfs/rquota:default
    online 16:36:22 svc:/network/nfs/client:default
    online 16:36:23 svc:/network/nfs/server:default
    ON HOME DIRECTORY SERVER
    export home dirs
    (home-dir-svr-root: /var/tmp:221)-> cat /etc/dfs/dfstab
    # Place share(1M) commands here for automatic execution
    # on entering init state 3.
    # Issue the command 'svcadm enable network/nfs/server' to
    # run the NFS daemon processes and the share commands, after adding
    # the very first entry to this file.
    # share [-F fstype] [ -o options] [-d "<text>"] <pathname> [resource]
    # .e.g,
    share -F nfs -o rw -d "home dirs" /export/home
    shareall
    enable auto_fs
    online 13:37:42 svc:/system/filesystem/autofs:default
    ON LDAP SERVER via the GUI ( not sure how to do this via command-line and since I have a JAVA GUI, I'm not going to knock myself out on the command-line trying to do something it'l take 15 seconds to do from the GUI -- command-line purists, feel free to contribute command to do this:
    From GUI, go into your DS instance: --> entry Management --> automountMapName=auto_home --> automountinformation: 144.10.199.220:/export/home/janedoe
    Verify home-dir-svr IP and home dir info are correct.
    log on as user from ldap-client
    NOTE: I did not alter any UNIX system files ( nsswitch.conf, pam.conf, passwd, auto_home, and the like) on LDAP server.
    Not sure if I missed anything, but hope this helps.
    John
    Edited by: No_Windoze on Nov 14, 2007 4:16 PM

    Just remembered something that is very subtle during idsconfig:
    At one point durint idsconfig, there's a questions about storing passwords in unix CRYPT format. You must answer yes to that question or none of this will work. The default answer is no.
    John
    Hi munnik,
    I had the same errors initially. I didn't write down what I did to clear them (oops!) but I think what I did to 'fix' this was I restarted/rebooted (can't remember which) the directory server to clear the error and then, from the client and in this order - passwd, group, shadow - I readded ldifs.
    If you're still having issues with DS, make sure the VLV index step discussed above was done, nothing missed, no errors - redo if necessary: uninit client(s), reinit client(s) with new profile created as a result of running idsconfig to recreate VLV indexes - it'll skip any VLV indexes that are in the server and display a message to that effect. It's a reather brute-force method of doing things, but I couldn't locate much in the way of troubleshooting user account creation issues.
    When I add a new user, here's what I do: add user to server where home dirs are and create a set of passwd, shadow, and auto_home ldif files with just the new user info and run ldapaddent. Then I add them to group (if necessary) with direct edit on ldap server.
    HTH
    John
    (aka NoWindoze)
    indexes and VLV Indexes 'created' when I ran idsconfig:
    uidNumber (eq,pres) skipped already exists
    ipNetworkNumber (eq,pres) skipped already exists
    gidnumber (eq,pres) skipped already exists
    oncrpcnumber (eq,pres) skipped already exists
    automountKey (eq,pres) skipped already exists
    VLV-indexes:
    getgrent vlv_index skipped already exists
    gethostent vlv_index skipped already exists
    getnetent vlv_index skipped already exists
    getpwent vlv_index skipped already exists
    getrpcent vlv_index skipped already exists
    getspent vlv_index skipped already exists
    getauhoent vlv_index skipped already exists
    getsoluent vlv_index skipped already exists
    getauduent vlv_index skipped already exists
    getauthent vlv_index skipped already exists
    getexecent vlv_index skipped already exists
    getprofent vlv_index skipped already exists
    getmailent vlv_index skipped already exists
    getbootent vlv_index skipped already exists
    getethent vlv_index skipped already exists
    getngrpent vlv_index skipped already exists
    getipnent vlv_index skipped already exists
    getmaskent vlv_index skipped already exists
    getprent vlv_index skipped already exists
    getip4ent vlv_index skipped already exists
    getip6ent vlv_index skipped already exists
    You can see indexes defined in your server with this command:
    dsconf list-indexes -h ldap.server.host.name-or.ip -p 389
    Edited by: SolarisSAinPA on Nov 30, 2007 1:05 PM
    Edited by: SolarisSAinPA on Nov 30, 2007 1:40 PM

  • SQL*Loader and pipe on unix

    On unix is it possible to pipe the data to be loaded in to SQL*Loader instead of reading it from file? I have a program that generates data that is to be loaded, and it is a bit waste of time to first save it to file, just to read it back in.

    Yes, it's possible :
    TEST@db102 SQL> desc test1
    Name                                                  Null?    Type
    A                                                              VARCHAR2(20)
    B                                                              VARCHAR2(20)
    TEST@db102 SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [ora102 work db102]$ cat test1.dat
    aaaaa,bbbbb
    ccccc,ddddd
    eeeee,fffff
    [ora102 work db102]$ cat test1.ctl
    load data
    replace
    INTO TABLE test1
    fields terminated by ','
    trailing nullcols
    a, b
    [ora102 work db102]$ cat test1.dat | sqlldr test/test control=test1.ctl
    SQL*Loader: Release 10.2.0.1.0 - Production on Mon Sep 25 14:29:50 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Commit point reached - logical record count 3
    [ora102 work db102]$ sqlplus test/test
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Sep 25 14:29:58 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    TEST@db102 SQL> select * from test1;
    A                    B
    aaaaa                bbbbb
    ccccc                ddddd
    eeeee                fffff
    TEST@db102 SQL>                                                                                        

  • Convert  Script output into PDF and save into Unix Directory

    Hi,
      I had Sales Order Acknowledgement Output and wants to converted to PDFs and then these PDFs to be placed in Unix Directory
    on their way to Docs Library.
    I am using the following code
      CALL FUNCTION 'CLOSE_FORM'
        IMPORTING
          RESULT   = itcpp
        TABLES
          otfdata  = lt_otf  " OTF Data
        EXCEPTIONS
          unopened = 1
          OTHERS   = 2.
    After this form ,  table ltf_otf is empty, So i am not converting into PDF .
    So i need the logic to convert to PDF , and most importantly logic to save into UNIX Directory.
    Thanks

    Hi,
    If you are using the Function Module "OPEN_FORM" to open the form for printing then in this function module there is an IMPORTING parameter OPTIONS which is of type ITCPO to this parameter "OPTIONS-TDGETOTF" needs to be passed as 'X' which will give you the OTF output in the FM "CLOSE_FORM".
    After this call the FM "CONVERT_OTF" and pass the FORMAT as "PDF" which will give you the PDF output in LINES table Parameter. Most important please pass some dummy variable to BIN_FILESIZE variable.
    Now by using OPEN DATASET file name FOR OUTPUT IN BINARY MODE and the LOOP the PDF table and use the TRANSFER statement to place the data in the UNIX File and then Finally use the CLOSE DATASET file name.
    Hope will help to address your issue.
    Regards,
    SRinivas

  • What's the deal with 32 bit and chroot?

    I've read all over the place about chroot and 32 bit libraries or something, and I'm wondering if that's something that would be helpful for 64 bit systems for 32 bit compatibility.
    I guess I just want to know what that is.
    Last edited by z.s.tar.gz (2009-09-05 11:30:55)

    Basically, 64-bit can run 32-bit executables (the reverse doesn't work, however). The problem is, all non-trivial executables have to reference libraries, and libraries differ between 64-bit and 32-bit. Some distros, like Ubuntu, use a multilib system, where there's two sets of libraries. Some apps behave better with this sort of setup than others.
    A chroot is basically a 'virtual root'. You'd probably know that in linux everything is done relative to a root filesystem. So, for example, an app who wants libraries will default to searching in /lib or /usr/lib. In a chroot, you'd define a folder in your filesystem (/opt/arch32 for example) to be the root of the install. Meaning that all the executables run inside that chroot (via schroot or whatever) will see /opt/arch32/lib as /lib. That way, all apps will run as if they were natively running on 32-bit, no need for a multilib system.

  • How to create odbc (dsn) connection for OBIEE AND INFOR in unix environment

    Hi,
    we are establishing OBIA in Unix environment we set all the things fine but we are getting problem how to create ODBC connection
    for INFORMATICA AND OBIEE. I searched some blogs thats telling there is a ODBC.INI file we need to configure.
    but i am not getting clear idea to give parameters and it will not showing any TNSNAME ..........etc
    please any body give clear idea about how to create ODBC connection and LOCATION of that file AND parameter which i need to give.
    Thanks,
    charan....

    Hi Dpka,
    yah i already checked that one but i have not find out any parameter for TNS NAME information.
    is OBIEE connected to ORACLE DATA BASE without giving TNS information?............in UNIX OPERATING SYSTEM.
    pls give me the clear idea abt how to connect OBIEE, INFORMATICA to ORACLE DATA BASE IN UNIX ENVRNMENT
    thanks,
    charan.

Maybe you are looking for

  • Mac with serious problems

    I was using my 2010 MacBook on the XDA forums when all of a sudden, it shut down in an instant. I restarted it, and it had problems with the time, it thought it was 2000. I thought "that was weird." Then I kept browsing, when it happened again. This

  • Moving packages from 11.5.10 to R12

    Hi, I'm moving few packages from INV from 11.5.10 to R12.1.3 What changes i have to make in the code, is there any document whichi can follow? Thanks

  • IWeb Publishing issues MobileMe/iCloud/GoDaddy Updates

    Hello - I am hoping someone can provide me some insight. I previously created a website via iWeb and had it hosted via my MobileMe account.  With the new IOS and iCloud updates (and being that I can no longer host through MobileMe), I have transfered

  • "Connecting to itunes store..." freez my itunes.

    this happens everytime I open itunes.  I can't use itunes cause it freezes my itunes leaving it useless. What should I do?

  • Powerbook shuts down without warning

    Lately, when I am running on battery, the Powerbook will shut-off without warning. This happens anywhere from 20 minutes to an hour. The battery is showing fully charged when plugged into an ac adapter. When the shutdown occurs, I can not restart fro