How to check installation type of Directory server in 5.2.

Dear All,
I have DS 5.2 environment and here i want to know the installation method of the directory server 5.2 (i mean either it is native or ZIP ). Please revert ASAP it will be really helpful for me. Thanks!
Karthik

Hello,
Try the following method:
ldd ./ns-slapd | grep libnspr | awk '{print $3}'
If the target file is a symbolic link, you are using a package/native install else this is a zip install.
example:
pc1234$ pwd
/data/test/DS/Patch6/bin/slapd/server/64
pc1234$ ldd ./ns-slapd | grep libnspr | awk '{print $3}'
../../../../lib/64/libnspr4.so
if [ -h /data/test/DS/Patch6/bin/slapd/server/64/../../../../lib/64/libnspr4.so ]; then
echo "Symlink. pkg"
else
echo "Not a symlink - zip install"
fi
Hope this helps
Sylvain
Edited by: Sylvain Duloutre on Sep 17, 2012 1:05 PM

Similar Messages

  • How to check installation type in OBIEE

    Hi all,
    I need to upgrade OBIEE 11.1.1.5 to OBIEE 11.1.1.7. OBIEE 11.1.1.5 was installed by other person.
    In-Place upgrade is not possible in simple install.
    I need to check the installation type in OBIEE 11.1.1.5.
    Kindly guide me as soon as possible.
    Thanks in advance.

    Hi
    I referred the below document which provided the screenshot of the simple install
    http://gerardnico.com/wiki/dat/obiee/installation_11.1
    In that link as a part of simple install, he is getting the analytics port as 9704 and not as 7001 like you said below
    >>If it is 7001 it is Simple installation.
    Kindly confirm.
    Thanks
    RR

  • How to check file name in APP server

    Hi,
    Iam writing some files to APP server .Iam unable to check those files by using AL11. How to check those files in APP server?

    Hi,
    You can use this FM EPS_GET_DIRECTORY_LISTING.
    Also please try this FM /SAPDMC/LSM_F4_SERVER_FILE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_apath.
    * Open the Browse Dialog Box on the Application Server
    CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
      IMPORTING
        serverfile = p_apath
      EXCEPTIONS
        canceled_by_user = 1
        OTHERS           = 2.
    IF sy-subrc <> 0.
    * No need to check for sy-subrc
    ENDIF.
    Regards,
    Ferry Lianto

  • How to check Debug messages in the server

    Hi All,
    I am working on extensions and in my java controller file i have certain System.out.println messages. I would like to know how to check these messages from the server for debugging purpose.
    Kindly help me in the same.
    Thanks
    Deeksha

    11i - log file location - $APACHE_TOP/Jserv/logs/jserv.log
    r12 - log file location - $INST_TOP/logs/ora/10.1.3/opmn/oacore_default_group_1/oacorestd.out
    You can prepend your SOP with some text and search for the text in the log files.

  • How to check data type of the field symbol at run time

    Hi,
    My code is as following:
          LOOP AT <fs> ASSIGNING <wa_covp_ext>.
            ASSIGN COMPONENT 86 OF STRUCTURE <wa_covp_ext> TO <f_zzname>.
            IF sy-subrc = 0.
              ASSIGN COMPONENT 158 OF STRUCTURE <wa_covp_ext> TO <f_pernr>.
              IF sy-subrc = 0.
                  SELECT SINGLE sname INTO <f_zzname> FROM pa0001
                                WHERE pernr = <f_pernr>
                                AND endda GE sy-datum
                                AND begda LE sy-datum.
             ENDIF.
          ENDIF.
        ENDLOOP.
    This query is giving dump when <f_zzname> is type P length 8 and decimals 2, because it tries to put PA0001-sname into it which is type C length 30. So I want to check the type of <f_zzname> before the select statement. If it is character 30, then I will write the select statement else not.
    How to check data type of the field symbol at run time? If it's not possible, then can somebody suggest a workaround? Thanks.

    check this ...
    write describe statement  ...
    field-symbols : <f_zzname> .
    data : sname like pa0001-sname,
           typ(10).
    assign sname to  <f_zzname>.
    describe  field <f_zzname> type typ.
    write : typ. <-- typ contains character type in this case ..
    U can check if typ is of character(C) if so .. write the select statement ...

  • How to check files in the directory using JSP?.

    Hi,
    How can i check the file is directory or file and readable or writable and file size and type of file(Ex. jpg, txt, doc., etc). i want to list the specific type of file in the particular directroy.. please help me..
    Regards
    CHinna

    With the File class, using the methods isFile(), isDirectory(), canRead(), canWrite(), length() and getName()
    With File.listFiles() you can get a directory listing. If you want to limit the amount of files returned, you can pass your own FileFilter to it.
    http://java.sun.com/javase/6/docs/api/java/io/File.html

  • How to validate users with Novell Directory Server

    Hi all, with iAS 6.0 SP3, how i can validate users stored in Novell
    Directory Sever?
    Thanks

    Hi
    I believe iAS is designed to work with iDS which is bundled along
    with the SP3 download. Also the directory server which is working with
    iAS must be Nortel LDAP Schema compatible and I'm not sure if NDS(Novell
    Directory Server) is compatible. What I'm trying to understand is if you
    have already registered iAS with NDS and you are having trouble in
    accessing the users or if you are having trouble in the installation.
    Raj
    Josep Maria Camps Riba wrote:
    Hi all, with iAS 6.0 SP3, how i can validate users stored in Novell
    Directory Sever?
    Thanks

  • How to create first instance of directory server (Solaris 9).

    With solaris 9 installation also installs iplanet directory server in "/usr/iplanet/ds5". But there is no instance of the directory server available.
    How can I add the first instcance of the directory server.
    I can not use the admin server as it requires the userid to connect which is not known to me.

    Bharat,
    I have used a script like the following to add a DS instance, though not on Solaris 9. I believe it should work
    #!/bin/sh
    cd /usr/iplanet/ds51/servers/bin/slapd/admin/bin
    ./ds_create -f /setup_scripts/installDataDSD02.inf
    The .inf file is a silent install file which is well documented in the directory server installation documentation.
    Hope this helps
    -Pawan

  • Pls help   how to check the condition in java server faces.....???

    Hi All
    I have strucked with code pls help....
    How can i check the codition in java server faces.....?
    like in my Application when user provides the in put like some state name in the next page i have to display some url for that state .......if he provide some other state name it will be different url .....pls help me how can i do that,,,,,,???
    thanks in advance..

    There are certainly ways to do that. E.g. using the rendered attribute, using conditional statements in EL, using a specialized getter for that (lazily loaded if necessary), etcetera. But your functional requirement is unclear, so I can't go in detail with that.
    In the future, please try to write normal English sentences. Don't write like SMS talk and save the periods and commas. The more effort you put in your question, the more chance you will be taken for serious and the more effort others will post in their answers.
    Also, in the future, JSF related questions should be posted in the JSF forum.
    Edited by: BalusC on 12-aug-2008 7:47

  • Error while connecting to DB, when checking installation type of NW04S-Inst

    Hi,
    i installed a new netweaver 04s - system on sles10sp2 as distributed system.
    SCS is ok, Database DB6 installation is also successfull.
    Now i install the central instance, but when sapinst checks the installation type (i select nothing), the installation failed with:
    Execution of the command "/usr/lib64/jvm/java/bin/java -classpath /tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/sharedlib/launcher.jar -showversion com.sap.engine.offline.OfflineToolStart com.sap.inst.jsourcecheck.JSourceCheck /tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/lib/iaik_jce.jar:/mnt/sapcd/NW04S_SR2n/BS_2005_SR2_SAP_Installation_Master/IM_LINUX_X86_64/COMMON/INSTALL/jsourcecheck.jar:/tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/lib:/tmp/sapinst_instdir/NW04S/SYSTEM/DB6/DISTRIBUTED/AS/CI/install/sharedlib:/home_sap/db2i33/sqllib/java/db2jcc.jar:/home_sap/db2i33/sqllib/java/db2jcc_license_cu.jar -systemName I33 -ssPropFile /usr/sap/I33/SYS/global/security/data/SecStore.properties -ssKeyFile /usr/sap/I33/SYS/global/security/data/SecStore.key -trace all" finished with return code 101. Output:
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 2.2)
    IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142-20080130 (JIT enabled)
    J9VM - 20071205_1933_LHdSMr
    JIT  - r7_level20071016_1845)
    PerfTimes : loadNativeLayer: loading jperflib failed. jperflib (Not found in java.library.path)
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
            at java.lang.reflect.Method.invoke(Method.java:391)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: com.ibm.db2.jcc.b.SqlException: [ibm][db2][jcc][t4][2013][11249] Connection authorization failure occurred.  Reason: User ID or Password invalid.
            at com.ibm.db2.jcc.c.b.i(b.java:2002)
            at com.ibm.db2.jcc.c.b.c(b.java:1657)
            at com.ibm.db2.jcc.c.bb.r(bb.java:792)
    I see the reason, but i don't know which user is mean ?
    Can anyone help me ?
    Best Regards,
    Tom

    This issue (and solution) is described in ML Doc 577905.1 (Error While Connecting To Database Via Workflow Builder)
    HTH
    Srini

  • How to check the type of uploaded file

    Hi, experts,
    how can I check the type of the uploaded file? I am dealing with exception handling now: when user uploads a type of file which is not allowed, then error msg shows up. So first I have to retrieve the type of the uploaded file.
    Best regards,
    Fan

    Best approach would be to control the file upload program. Here in force user to chose only the kind of file supported.
    If you are using WD4A & fileupload UI element, then after user select a file to upload, before processing the file you can check the file name and get its MIME TYPE as shown below.
    example
    data type file string.
    data dot_offset type i.
    data extension type mimetypes-extension.
    data mimetype type mimetypes-type.
    file = 'Image.jpg'.
    " Find out file name extension
    find first occurrence of regex '\.[^\.]+$' in file match offset dot_offset.
    add 1 to dot_offset.
    extension = file+dot_offset.
    " Get mime type
    call function 'SDOK_MIMETYPE_GET'
      exporting
        extension = extension
    importing
        mimetype  = mimetype.
    later using if/else or CASE statement define your logic.
    Greetings
    Prashant
    P.S. Points Welcome

  • How to enable "Starttls" on sun directory server?

    I setup directory server 5.2 on windows XP SP2. using InitialLdapContext of JNDI to connect, the program throws a exception in "StartTlsResponse tls =(StartTlsResponse)ctx.extendedOperation(tldsReq);"
    the exception message:
    javax.naming.CommunicationException: [LDAP: error code 2 - unsupported extended operation]; remaining name ''
         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
         at com.sun.jndi.ldap.LdapCtx.extendedOperation(Unknown Source)
         at javax.naming.ldap.InitialLdapContext.extendedOperation(Unknown Source)
         at LDAPtlsDemo.main(LDAPtlsDemo.java:28)
    so i think that the "Starttls" of server is unabled. I have enabled "SSL", and connected ok by using nitialLdapContext of JNDI.
    But I can't find the way to enable "Starttls" via the GUI. Please make some help.

    To enable the TLS Encryption Cipher
    1. Check out the ssl-supported-ciphers property of the server.
    $ dsconf set-server-prop -h host -p port ssl-cipher-family:cipher2 View the available SSL ciphers.
    $ dsconf get-server-prop -h host -p port ssl-supported-ciphers
      ssl-supported-ciphers :     TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA
      ssl-supported-ciphers :     TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
      ssl-supported-ciphers :     TLS_DHE_RSA_WITH_AES_256_CBC_SHA
      ssl-supported-ciphers :     TLS_DHE_DSS_WITH_AES_256_CBC_SHA
      ...Hope this helps,
    -Shankar

  • Installation of Sun Directory Server on Home PC - Domain name problem

    Hi!
    I would like to install SunONE directory server on my home PC but, I am unable to do so because one of the installation steps requires the fully qualified machine name. This is of format <hostname>.<domainname>. My home PC doesnot belong to any domain. Is there any solution to this problem? Is there a default domain name that I can use?
    Thanks in advance!

    Hi,
    This post talks about that problem:
    http://forum.java.sun.com/thread.jspa?threadID=5111917&tstart=0
    Rob.

  • How to disable nonsecure port in Directory Server 5.2

    We have recently upgraded from Directory Server 5.1 to 5.2. With version 5.1, you could set the non-secure LDAP port to be 0, and that would disable connections to the non-secure port. Version 5.2 doesn't allow you to do this. I tried from the console, and even changed it manually in the dse.ldif file, and neither method worked. Is there any way to disable the non-secure port for Directory Server 5.2?
    Thanks!

    I have found the simplest way is to lock the nonsecure port down to the localhost using
    listenhost: 127.0.0.1
    This means that it won't answer outside queries on that unsecured port, but it still has the advantage of allowing you to use it locally (which can save on the typing a bit).
    Note you can of course set this to any ip or range for example 24.24.*
    This also works for the secure port using securelistenhost: (I think that's the spelling but didn't check.)
    Ward

  • Installation steps of Directory Server 6.3 in Windows 2003

    Hi All,
    I am completely new to SunOne Directory Server.
    Can anyone please tell me how to install "*Directory Server 6.3*" in Windows 2003.
    Have downloaded the file from sun's site named "*DSEE.6.3.Windows-X86-full*".
    Thanks.
    Edited by: kirti_603 on Sep 1, 2008 7:40 AM

    Hi etst123,
    Thanks a lot for ur reply.
    I have already gone through the site you have given and performed the following steps, pls correct me if I am wrong:-
    1.) Downloaded the patch for Windows - (126753-04)
    2.) After downloading the patch i got the following folders
         a) DSEE_Directory_Editor
         b) DSEE_Identity_Synchronization_for_Windows
         c) DSEE_ZIP_Distribution
         d) Legal
    3) I am trying to install in "To Install Directory Server Enterprise Edition 6.3 From Zip Distribution"
    4) After this i ran - "dsee_deploy install -i install-path options" in "c:\dsee" folder
    Its installing without any error telling
    "You can now start your Directory Server Instances
    You can now start your Directory Proxy Server Instances"
    To start Directory Server Instance have followed the below steps:-
    1) C:\tmp\dsee63\DSEE_ZIP_Distribution>cd \tmp\ds63
    2) C:\tmp\ds63> set PATH=c:\tmp\ds63\ds6\bin;c:\tmp\ds63\dsrk6\bin;%PATH%
    3) C:\tmp\ds63>dsadm create /tmp/instance
    4) C:\tmp\ds63>dsadm start /tmp/instance
    -Modify the ds-start-tls-enabled attribute that is stored in the directory server configuration.
    5). Create a file, say c:\tmp\modify.ldif which looks like:
    dn: cn=config
    changetype: modify
    replace: ds-start-tls-enabled
    ds-start-tls-enabled: on
    6). Issue an ldapmodify command something like this:
    C:\tmp>ldapmodify -h localhost -p 1389 -D "cn=Directory Manager" -w password < c:\tmp\modify.ldif
    7). Confirm modification via ldapsearch command:
    C:\tmp>ldapsearch -b "cn=config" -h localhost -p 1389 -D "cn=Directory Manager" -w password "cn=config" ds-start-tls-enabled
    8). Stop and restart the directory server instance
    C:\tmp\ds63>dsadm stop /tmp/instance
    C:\tmp\ds63>dsadm start /tmp/instance
    9). Try creating a suffix with the standard port (1389): (This is where i am gettin error)
    C:\tmp\ds63>dsconf create-suffix -h localhost -p 1389 dc=example1,dc=com
    Error= The "create-suffix" operation failed on "localhost:1389"
    Please help....
    Edited by: kirti_603 on Sep 2, 2008 12:43 AM

Maybe you are looking for