Installing second instance of directory in common root.

Is it possible to install a second instance of a directory server in a
common base directory?
For example:
/user/netscape/server4/slapd-first-server
/user/netscape/server4/slapd-second-server
I'm using the iAS 6.0 installer. I've installed the first instance with all
components. When I try to install a 2nd instance providing a base directory
of /user/netscape/server4 it doesn't let me install the 2nd instance.
Thanks in advance,
Rodger...

Rodger,
I am sorry for being dense, but would a second instance be a configuration
where you are running 2 servers on the same machine on different ports for
instance (389 and 400 for example) but they access the same base database? I am
looking at how to do that and would like to know.
thanks,
Gary
[email protected]
Rodger Ball wrote:
Is it possible to install a second instance of a directory server in a
common base directory?
For example:
/user/netscape/server4/slapd-first-server
/user/netscape/server4/slapd-second-server
I'm using the iAS 6.0 installer. I've installed the first instance with all
components. When I try to install a 2nd instance providing a base directory
of /user/netscape/server4 it doesn't let me install the 2nd instance.
Thanks in advance,
Rodger...

Similar Messages

  • Could not connect to my sql server second instance

    connection problem in sql server 2008 . i installed second instance
    but it does not connect 

    1. Make sure SQL Server Service is running
    2. If a named instance, make sure SQL Server browser service is running
    3. Make sure SQL Server is configured to allow remote connections
    4. Examine the SQL Server error log for messages confirming that SQL is listening on the expected network interfaces and ports
    5. Test server connectivity with PING from the client machine
    6. Test port connectivity using TELNET or PowerShell to the server and port (from step 4) from the client machine.  For example
    a. TELNET <server-name> 1433
    b. PowerShell: 1433 | % { echo ((new-object Net.Sockets.TcpClient).Connect("YourServerName",$_)) "server listening on TCP port $_" }
    7. Check firewall settings if step 5 or 6 connectivity test fails
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Can I install a second instance of i-Calender on the server where right now is running the first instance? How?

    The first instance is running on a Sun R420 Enterprise
    server. The second instance will run in the same server.

    When you say "Authorized"  you mean in the sense of Itunes Store Authorized? if so the system in Question is authorized it is my primary Workstation and was waiting until iCloud came out to update to Lion. My MBP , and 2006 MP are all running Lion and are part of the 5 systems "authorized". I did not run into this issue with either the MBP or the MP when i installed and I bought two copies at the same time on my the first day Lion was available.
    Do you know the mechanism with which the App Store tracks purchases on different computers prior to iCloud coming out?
    once again thanks for your response
    chris meredith

  • Install a second instance of livecycle

    Hi,
    I have a livecycle8.2 installed on my windows server 2003. It's a migration from the 8.0.1 SP3 but I have some troubles.
    I need to install an instance of the 8.2 version and not do a migration to see if the problems are still present.
    I was asking me if I could run the livecycle server installation again without uninstall the current version and install it in other folder with an other JBoss and database without troubles because I don't have an other server to do this.
    Thanks

    Try installing the free VMware Server (previously called GSX Server), and run LiveCycle inside the virtual environment.
    http://www.vmware.com/products/server/

  • Problem with second instance of access manager

    Well, after sorting out things with the first install of access manager, I went on to install a second instance on a different host (it's required for delegated admin..)
    Here are the options I used on install:
    Access Manager: Administration (1 of 6)
    Administrator User ID: amAdmin
    Administrator Password [] {"<" goes back, "!" exits}:
    Retype Password [] {"<" goes back, "!" exits}:
    LDAP User ID: amldapuser
    LDAP Password [] {"<" goes back, "!" exits}:
    Retype Password [] {"<" goes back, "!" exits}:
    Password Encryption Key [gFoe4t8UlUW3wEApngAY3S8bCQFVMlGk] {"<" goes back,
    "!" exits}: weW5jtopMLQsODiBZDp+hlEp1/CtbiXX
    Install type (Realm/Legacy) Mode [Legacy] {"<" goes back, "!" exits}:
    Access Manager: Web Container (2 of 6)
    1. Sun Java System Application Server
    2. Sun Java System Web Server
    Select the container to deploy the component and hit enter key [2] {"<" goes
    back, "!" exits}
    Access Manager: Sun Java System Web Server (3 of 6)
    Host Name [zone2.corenode.com] {"<" goes back, "!" exits}:
    Web Server Instance Directory [opt/SUNWwbsvr/https-zone2.corenode.com] {"<"
    goes back, "!" exits}:
    Web Server Port [80] {"<" goes back, "!" exits}:
    Document Root Directory [opt/SUNWwbsvr/docs] {"<" goes back, "!" exits}:
    Secure Server Instance Port [No] {"<" goes back, "!" exits}:
    Access Manager: Web Container for running Access Manager Services(4 of 6)
    Host Name [zone2.corenode.com] {"<" goes back, "!" exits}:
    Services Deployment URI [amserver] {"<" goes back, "!" exits}:
    Common Domain Deployment URI [amcommon] {"<" goes back, "!" exits}:
    Cookie Domain(Assure it is not a top level domain) [.corenode.com] {"<" goes
    back, "!" exits}:
    Administration Console [Yes] {"<" goes back, "!" exits}:
    Console Deployment URI [amconsole] {"<" goes back, "!" exits}:
    Password Deployment URI [ampassword] {"<" goes back, "!" exits}:
    Access Manager: Directory Server Information (5 of 6)
    Directory Server Host [] {"<" goes back, "!" exits}: zone1.corenode.com
    Directory Server Port [] {"<" goes back, "!" exits}: 389
    Directory Root Suffix [dc=corenode,dc=com] {"<" goes back, "!" exits}:
    Directory Manager DN [cn=Directory Manager] {"<" goes back, "!" exits}:
    Directory Manager Password [] {"<" goes back, "!" exits}:
    Access Manager: Directory Server Information (6 of 6)
    Is Directory Server provisioned with user data [No] {"<" goes back, "!"
    exits}? Yes
    Organization Marker Object Class [sunISManagedOrganization] {"<" goes back,
    "!" exits}:
    Organization Naming Attribute [o] {"<" goes back, "!" exits}:
    User Marker Object Class [inetorgperson] {"<" goes back, "!" exits}:
    User Naming Attribute [uid] {"<" goes back, "!" exits}:
    Yes, I am using the same key as was used on host1 for access manager. Yes, access manager on host 1 is quite functional right now. Yes, that directory server works. Now I'm really stumped on what to do! Everything in JES seems to work great except access manager, the exceptions it throws really don't help any at all in troubleshooting.
    Any ideas?

    More info from error logs:
    # pwd
    /var/opt/SUNWam/debug
    # tail -200 amAuth
    04/12/2006 09:56:47:127 AM HST: Thread[main,5,main]
    ERROR: AuthD failed to get auth session
    04/12/2006 09:56:47:165 AM HST: Thread[main,5,main]
    ERROR: AuthD init()
    com.iplanet.dpro.session.SessionException: AuthD failed to get auth session
    at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:709)
    at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
    at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:494)
    at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    # tail -200 amSession
    04/12/2006 09:56:47:098 AM HST: Thread[main,5,main]
    ERROR: SessionService.SessionService(): Initialization Failed
    com.iplanet.services.naming.ServerEntryNotFoundException: Cannot find server ID.
    at com.iplanet.services.naming.WebtopNaming.getServerID(WebtopNaming.java:350)
    at com.iplanet.dpro.session.service.SessionService.<init>(SessionService.java:1540)
    at com.iplanet.dpro.session.service.SessionService.getSessionService(SessionService.java:382)
    at com.sun.identity.authentication.service.AuthD.getSS(AuthD.java:685)
    at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:706)
    at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
    at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:494)
    at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    04/12/2006 09:56:47:126 AM HST: Thread[main,5,main]
    ERROR: Error creating service session
    java.lang.NullPointerException
    at com.iplanet.dpro.session.service.SessionService.generateEncryptedID(SessionService.java:588)
    at com.iplanet.dpro.session.service.SessionService.generateSessionId(SessionService.java:612)
    at com.iplanet.dpro.session.service.SessionService.newInternalSession(SessionService.java:557)
    at com.iplanet.dpro.session.service.SessionService.getServiceSession(SessionService.java:501)
    at com.iplanet.dpro.session.service.SessionService.getAuthenticationSession(SessionService.java:408)
    at com.sun.identity.authentication.service.AuthD.initAuthSessions(AuthD.java:706)
    at com.sun.identity.authentication.service.AuthD.<init>(AuthD.java:229)
    at com.sun.identity.authentication.service.AuthD.getAuth(AuthD.java:494)
    at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    #

  • How do I create a second instance of oc4j in a standalone enviroment

    I am using OC4J standalone to deploy a sparql endpoint using jena, joseki, and the oracle jena adaptor. OC4J is running on the same server as my DEV and QAR databases. The current instance of OC4J is using a data source called "OracleSemDS" to connect to my DEV database. We are now ready to migrate the endpoint to QAR. As I was setting up the QAR endpoint, I discovered the the jena/joseki tools are hard-coded to use the "OracleSemDS" data source. Therefore, I cannot have 2 endpoints running in the same OC4J instance where one points to DEV and the other points to QAR.
    Therefore, I need to create a second instance of OC4J that specifies QAR as the "OracleSemDS" data connection. Can someone tell me how to do that?
    Thanks,
    Phil

    jphilb wrote:
    I am using OC4J standalone to deploy a sparql endpoint using jena, joseki, and the oracle jena adaptor. OC4J is running on the same server as my DEV and QAR databases. The current instance of OC4J is using a data source called "OracleSemDS" to connect to my DEV database. We are now ready to migrate the endpoint to QAR. As I was setting up the QAR endpoint, I discovered the the jena/joseki tools are hard-coded to use the "OracleSemDS" data source. Therefore, I cannot have 2 endpoints running in the same OC4J instance where one points to DEV and the other points to QAR.
    Therefore, I need to create a second instance of OC4J that specifies QAR as the "OracleSemDS" data connection. Can someone tell me how to do that?
    Thanks,
    Philgday Phil -- Melli Annamalai from the Oracle Server PM team pointed me to your question. I was an OC4J Product Manager before we bought out BEA and I swapped over to WLS -- so I have some information below that hopefully is of assistance to you.
    Since you are using OC4J standalone, the simplest way to get a second instance, is to just clone the existing, whole directory structure of your working OC4J instance into another directory, and configure/run it from that directory. To map the OracleSemDS to another target (QAR) you change the data-sources.xml file in the second instance. If you want to run them concurrently on the same server, you'll need to change the ports in the second instance so they have unique values: default-web-site.xml, rmi.xml, internal-settings.xml, jms.xml. These additional ports can be specified on the command line as a Java property string, albeit this is not a documented nor supported feature. See http://buttso.blogspot.com/2007/02/specifying-oc4j-standalone-ports-from.html for more information.
    Now as an example, assuming you have your OC4J you want to clone in the dev directory, and now want to create a second instance of OC4J in qar, I'd do this:
    cp -rp dev/* qar
    cd qar/j2ee/home/config
    vi data-sources.xml
    (edit any other files if needed to alter ports) ...
    cd ..
    java -jar oc4j.jar That should work, and should create the second instance using the current configuration (ie dev) as its basis (including deployed apps). Of course, you'll need to manage them independently from here as they really are just two separate OC4J standalone instances.
    Now what else you could potentially do is to create a secondary configuration file subset only which only changes the necessary files to support running the second instance. In this case, you'd make a copy of the j2ee/home/config/server.xml, j2ee/home/config/application.xml and j2ee/home/config/data-sources.xml files, renaming them to qar-server.xml, qar-application.xml and qar-data-sources.xml.
    Then do the following:
    1. In qar-server.xml file, you'd change the global-application application to point at qar-application.xml instead of application.xml:
    <global-application name="default" path="qar-application.xml" parent="system" start="true" />
    2. Change qar-application.xml so that it used the qar-data-sources.xml file:
    <data-sources path="qar-data-sources.xml" />
    3. Change qar-data-sources.xml file so it points to the qar database target.
    4. Start OC4J, telling it to use qar-server.xml instead of the default server.xml
    D:\java\oc4j-10135-prod\j2ee\home>java -jar oc4j.jar -config config/qar-server.xmlI think you could run into some concurrency problems if you try and run the two instances simulataneously, but in general it should be OK I think if you run them separately.
    Another solution here is look at how the application specifies/uses datasources. The hard coding of the data-source name into the applicaiton via a direct JNDI lookup works, but restricts the flexibility you as a deployer/administrator has.
    If the application used the Java EE resource-ref approach to look up and use the datasource, then the actual JNDI name of the datasource the application uses it totally abstracted from the actual physical name of the datasource that is created on the container -- so you'd have DEVDS and QARDS as physical datasources configured and running on OC4J -- and what happens is that as you deploy the application, you essentially map its lookup and use of OracleSemDS (which would need to change to a java:env/ namespace) to the physical datasource you want it to use (DEVDS or QARDS for example). You can easily alter this post deployment by changing the generated orion-application.xml file to point at the alternate physical datasource. Following that, you can also create separate deployment plans which map the app to the different datasources, then feed this in with the deployment operation so that the correct mapping to either DEVDS or QARDS is done during the deployment process.
    I don't know what scope you have to change the application so the above may not be possible -- you'd need to change the lookup code so that it uses the Java EE reference model and change the meta-inf/application.xml to add the corresponding resource-ref entry which declares the logical datasource name that needs to be mapped on deployment.
    Another approach here may be to use an application embedded datasource, where you put a data-sources.xml file into the application archive itself (along with an orion-application.xml file which references it) whereupon at deployment time, a datasource specific to the application will be created. In this manner, you'd have say two copies of the same application to deploy (DEV, QAR) which contain different data-sources.xml file. From memory, each application will have its own JNDI namespace so their datasources can co-exist with the same names, with application level data-sources overriding server level ones. Since you'll most likely want to keep the same context-root for the web modules (which has to be unique per server) you'll generally need to run just one of the applications at a time. I'd do this like this: deploy one, stop it, deploy the other, stop it, then start only the one you need to test. In that way, you'll have one copy of the application running (either DEV or QAR) and one datasource definition running within it.
    Here's some documentation links to get you going:
    Managing Application Lifecycle (start, stop): http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13978/adminclient.htm#BABHJAFE <-- describes admin_client.jar but general principles apply to ascontrol management of application.
    Packaging and Testing Applications: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13979/packag.htm#BHCFBEEC
    Application Level DataSources: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13975/datasrc.htm#CHDIBFHG
    Using Deployment Plans: http://download.oracle.com/docs/cd/E14101_01/doc.1013/e13980/deployplan.htm#CHDFEFAE
    cheers
    -steve-

  • Creating second instance 10g (non rac)

    We are 10G 64bit on a Windows/VM box - or will be:)
    Is it possible to create multiple instances of oracle on a single server?
    Generally speaking - would I create the second instance just like the first instance but with a different db name?
    Any reasons why I wouldn't want to create multiple database instances on the same server?
    Currently we have our client (enterprise manager) installed on a separate box and use the same client to connect to several databases. If I had multiple instances on one server how would enterprise manager connect to multiple instances with the same ip?
    Thanks for taking my question!.
    Kathie

    When running the second DBCA the global database name and sid would be unique as well?Yea, the global database name must be unique.
    I could also use the same flashback directory as this area has the sid in the directory path? Yea, you can use the same flashback directory for any database on the same server.
    Forum question: Is there a way to close a question and give credit for an answer? I dont, know, but the interesting about the participation on this forum is HELP
    Luck.
    Have a good day.
    Regards.

  • Creating objects in a second instance

    I have created a second instance through the console of a directory server, which has been configured with the same rootdn as the original.
    When I open up the console why in the new instance does it show the rootdn on the config tab but the original doesnt ......
    also ....
    why when i go into the second instance i try creating data objects for root suffixes ive created to mirror the original instance, does it create them under cn=config ......
    Thanks
    G

    Hi
    I have read that creating objects in a loop degrades
    performance. Can someone explain why this should be
    so?Every object creation takes time, so if you create
    lot of unnecessary temporary items in loop it degrades
    performance (so it is nothing loop specific).

  • DB2, Install "Database instance" from Solution Menager

    Install "Database instance" from Solution Menager
    <br>SAPinst ask me for password for database administrator account - db2d10.
    error:
    <br>"Invalid password. DIAGNOSIS: The password you specified for user 'db2d10' is wrong. SOLUTION: Enter the correct password."
    <br>I can log to Solaris on this password
    <br>
    <br>When user database administrator don't exist SAPinst wont to create this user:
    <br>"FSL-01002  Unable to create account user="db2d10". UX: /usr/sbin/useradd: ERROR: Unable to create the home directory: No such file or directory. (return code 12)"
    <br>When I create this user manualy:
    <br>"FSL-01011  Unable to check password for account user="db2d10" uid="125"."
    <br>When I change password manualy in solaris:
    <br>"CJS-20004  Invalid password.<br>DIAGNOSIS: The password you specified for user 'db2d10' is wrong.<br>SOLUTION: Enter the correct password."
    <br>
    <br>Solaris 10, db2 9, instal as root
    <br>Could you help me ?

    Hello Maciek
    there is an db2icrt.log.<Number> in the /tmp directory , that should match your db2icrt issued by sapinst . Please check this file first for error messages .
    This message
    "MDB-01006 DBI1010W The "-w" option specified in the db2icrt, db2iupdt or db2ilist command was ignored.
    is just a warning , that the -w Option of db2icrt issued by sapinst is deprecated and ignored by db2icrt of newer DB2 versions . This message should not indicate the source of the problem .
    Usually there is also the entire db2icrt instruction with parameters in sapinst_dev.log and you can run this db2icrt manually as root .
    There is also an
       -d          turn debug mode on.
    parameter for debugging db2icrt issues , but this you should use , when db2icrt also does not run when issued manually as root .
    Also check , whether you have created the home directory for db2<db2sid> /db2/db2<db2sid> properly with the proper permissions .
    Best regards
    dirk

  • Installing second oracle on same host

    Hi All,
    We already have one Netweaver Installed with oracle as a database. Now want to install IDES server with independent Oracle Database on windows.
    Can any one guide me in installing second Oracle.
    Thanks in advance.
    Sharib

    Hi Sharib,
    Just make the different envoirnment as per the <SID>.
    For Example.
    SID = ABC
    Users:
    oraabc
    abcadm
    SAPServiceABC
    Instance Directory =D:\usr\sap\ABC
    ORACLE_HOME=D:\oracle\ABC\102_64
    SAPDATAHOME=D:\oracle\ABC\sapdata1, D:\oracle\ABC\sapdata<n>
    All other directories will be under D:\oracle\ABC
    set the ORACLE_HOME and ORACLE_SID in oraabc users environment settings
    SID = XYZ
    Users:
    oraxyz
    xyzadm
    SAPServiceXYZ
    Instance Directory =D:\usr\sap\XYZ
    ORACLE_HOME=D:\oracle\XYZ\102_64
    SAPDATAHOME=D:\oracle\XYZ\sapdata1, D:\oracle\XYZ\sapdata<n>
    All other directories will be under D:\oracle\XYZ
    set the ORACLE_HOME and ORACLE_SID in oraxyz users environment settings.
    In short make the same Directory structure and User environment with different SID.
    You can also keep the second instance on another drive, for example E:
    Its depend on available partitions and their free space.
    Regards.
    Rajesh Narkhede
    Edited by: Rajesh Narkhede on Apr 26, 2010 2:04 PM

  • Install 2nd instance of Arch Linux without internet connection

    I have successfully install a first instance of Arch Linux using Arch Linux ISO + pacstrap + pacman with internet connection.
    I have updated to latest package database list (/var/lib/pacman/sync) and package cache files (/var/cache/pacman/pkg) in first instance of Arch Linux with "pacman -Swyu".
    Next, I would like to install 2nd instance of Arch Linux without using internet connection.
    I share the "/var/lib/pacman/sync" and "/var/cache/pacman/pkg" via NFS from first Arch Linux instance.
    I boot the 2nd instance with Arch Linux ISO and attempt to install without internet connection.  I mount the two NFS shares from 1st instance to "/var/cache/pacman/pkg" and "/mnt/var/lib/pacman/sync" respectively.  I execute
       # pacstrap -i -c /mnt"
    to start installation.
    I found it is almost impossible with current implementation of pacstrap script.  The pacstrap script always attempt to update package database list with -Sy option.
    I think some amendments on pacstrap script is needed to install Arch Linux without internet connection.

    I made the edit by adding the option -o to do what you want.
    I am too lazy for a feature request right now...
    #!/bin/bash
    # Assumptions:
    # 1) User has partitioned, formatted, and mounted partitions on /mnt
    # 2) Network is functional
    # 3) Arguments passed to the script are valid pacman targets
    # 4) A valid mirror appears in /etc/pacman.d/mirrorlist
    shopt -s extglob
    out() { printf "$1 $2\n" "${@:3}"; }
    error() { out "==> ERROR:" "$@"; } >&2
    msg() { out "==>" "$@"; }
    msg2() { out " ->" "$@";}
    die() { error "$@"; exit 1; }
    in_array() {
    local i
    for i in "${@:2}"; do
    [[ $1 = "$i" ]] && return
    done
    track_mount() {
    mount "$@" && CHROOT_ACTIVE_MOUNTS=("$2" "${CHROOT_ACTIVE_MOUNTS[@]}")
    api_fs_mount() {
    CHROOT_ACTIVE_MOUNTS=()
    { mountpoint -q "$1" || track_mount "$1" "$1" --bind; } &&
    track_mount proc "$1/proc" -t proc -o nosuid,noexec,nodev &&
    track_mount sys "$1/sys" -t sysfs -o nosuid,noexec,nodev &&
    track_mount udev "$1/dev" -t devtmpfs -o mode=0755,nosuid &&
    track_mount devpts "$1/dev/pts" -t devpts -o mode=0620,gid=5,nosuid,noexec &&
    track_mount shm "$1/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev &&
    track_mount run "$1/run" -t tmpfs -o nosuid,nodev,mode=0755 &&
    track_mount tmp "$1/tmp" -t tmpfs -o mode=1777,strictatime,nodev,nosuid
    api_fs_umount() {
    umount "${CHROOT_ACTIVE_MOUNTS[@]}"
    valid_number_of_base() {
    local base=$1 len=${#2} i=
    for (( i = 0; i < len; i++ )); do
    (( (${2:i:1} & ~(base - 1)) == 0 )) || return
    done
    mangle() {
    local i= chr= out=
    unset {a..f} {A..F}
    for (( i = 0; i < ${#1}; i++ )); do
    chr=${1:i:1}
    case $chr in
    [[:space:]\\])
    printf -v chr '%03o' "'$chr"
    out+=\\
    # fallthrough
    out+=$chr
    esac
    done
    printf '%s' "$out"
    unmangle() {
    local i= chr= out= len=$(( ${#1} - 4 ))
    unset {a..f} {A..F}
    for (( i = 0; i < len; i++ )); do
    chr=${1:i:1}
    case $chr in
    if valid_number_of_base 8 "${1:i+1:3}" ||
    valid_number_of_base 16 "${1:i+1:3}"; then
    printf -v chr '%b' "${1:i:4}"
    (( i += 3 ))
    fi
    # fallthrough
    out+=$chr
    esac
    done
    printf '%s' "$out${1:i}"
    dm_name_for_devnode() {
    read dm_name <"/sys/class/block/${1#/dev/}/dm/name"
    if [[ $dm_name ]]; then
    printf '/dev/mapper/%s' "$dm_name"
    else
    # don't leave the caller hanging, just print the original name
    # along with the failure.
    print '%s' "$1"
    error 'Failed to resolve device mapper name for: %s' "$1"
    fi
    fstype_is_pseudofs() {
    # list taken from util-linux source: libmount/src/utils.c
    local -A pseudofs_types=([anon_inodefs]=1
    [autofs]=1
    [bdev]=1
    [binfmt_misc]=1
    [cgroup]=1
    [configfs]=1
    [cpuset]=1
    [debugfs]=1
    [devfs]=1
    [devpts]=1
    [devtmpfs]=1
    [dlmfs]=1
    [fuse.gvfs-fuse-daemon]=1
    [fusectl]=1
    [hugetlbfs]=1
    [mqueue]=1
    [nfsd]=1
    [none]=1
    [pipefs]=1
    [proc]=1
    [pstore]=1
    [ramfs]=1
    [rootfs]=1
    [rpc_pipefs]=1
    [securityfs]=1
    [sockfs]=1
    [spufs]=1
    [sysfs]=1
    [tmpfs]=1)
    (( pseudofs_types["$1"] ))
    newroot=/mnt
    hostcache=0
    copykeyring=1
    copymirrorlist=1
    offline=0
    usage() {
    cat <<EOF
    usage: ${0##*/} [options] root [packages...]
    Options:
    -C config Use an alternate config file for pacman
    -c Use the package cache on the host, rather than the target
    -d Allow installation to a non-mountpoint directory
    -G Avoid copying the host's pacman keyring to the target
    -i Avoid auto-confirmation of package selections
    -M Avoid copying the host's mirrorlist to the target
    -o Do not update the pacman cache for offline installation
    -h Print this help message
    pacstrap installs packages to the specified new root directory. If no packages
    are given, pacstrap defaults to the "base" group.
    EOF
    if [[ -z $1 || $1 = @(-h|--help) ]]; then
    usage
    exit $(( $# ? 0 : 1 ))
    fi
    (( EUID == 0 )) || die 'This script must be run with root privileges'
    while getopts ':C:cdGiMo' flag; do
    case $flag in
    C)
    pacman_config=$OPTARG
    d)
    directory=1
    c)
    hostcache=1
    i)
    interactive=1
    G)
    copykeyring=0
    M)
    copymirrorlist=0
    o)
    offline=1
    die '%s: option requires an argument -- '\''%s'\' "${0##*/}" "$OPTARG"
    die '%s: invalid option -- '\''%s'\' "${0##*/}" "$OPTARG"
    esac
    done
    shift $(( OPTIND - 1 ))
    (( $# )) || die "No root directory specified"
    newroot=$1; shift
    pacman_args=("${@:-base}")
    if (( ! hostcache )); then
    pacman_args+=(--cachedir="$newroot/var/cache/pacman/pkg")
    fi
    if (( ! interactive )); then
    pacman_args+=(--noconfirm)
    fi
    if (( ! offline )); then
    pacman_args+=(-y)
    fi
    if [[ $pacman_config ]]; then
    pacman_args+=(--config="$pacman_config")
    fi
    [[ -d $newroot ]] || die "%s is not a directory" "$newroot"
    if ! mountpoint -q "$newroot" && (( ! directory )); then
    die '%s is not a mountpoint!' "$newroot"
    fi
    # create obligatory directories
    msg 'Creating install root at %s' "$newroot"
    mkdir -m 0755 -p "$newroot"/var/{cache/pacman/pkg,lib/pacman,log} "$newroot"/{dev,run,etc}
    mkdir -m 1777 -p "$newroot"/tmp
    mkdir -m 0555 -p "$newroot"/{sys,proc}
    # always call umount on quit after this point
    trap 'api_fs_umount "$newroot" 2>/dev/null' EXIT
    # mount API filesystems
    api_fs_mount "$newroot" || die "failed to setup API filesystems in new root"
    msg 'Installing packages to %s' "$newroot"
    if ! pacman -r "$newroot" -S "${pacman_args[@]}"; then
    die 'Failed to install packages to new root'
    fi
    if (( copykeyring )); then
    # if there's a keyring on the host, copy it into the new root, unless it exists already
    if [[ -d /etc/pacman.d/gnupg && ! -d $newroot/etc/pacman.d/gnupg ]]; then
    cp -a /etc/pacman.d/gnupg "$newroot/etc/pacman.d/"
    fi
    fi
    if (( copymirrorlist )); then
    # install the host's mirrorlist onto the new root
    cp -a /etc/pacman.d/mirrorlist "$newroot/etc/pacman.d/"
    fi
    # vim: et ts=2 sw=2 ft=sh:

  • Install "Database instance", Invalid password for db2 dbsid

    Install "Database instance" from Solution Menager
    <br>SAPinst ask me for password for database administrator account - db2d10.
    error:
    <br>"Invalid password. DIAGNOSIS: The password you specified for user 'db2d10' is wrong. SOLUTION: Enter the correct password."
    <br>I can log to Solaris on this password
    <br>
    <br>When user database administrator don't exist SAPinst wont to create this user:
    <br>"FSL-01002  Unable to create account user="db2d10". UX: /usr/sbin/useradd: ERROR: Unable to create the home directory: No such file or directory. (return code 12)"
    <br>When I create this user manualy:
    <br>"FSL-01011  Unable to check password for account user="db2d10" uid="125"."
    <br>When I change password manualy in solaris:
    <br>"CJS-20004  Invalid password.<br>DIAGNOSIS: The password you specified for user 'db2d10' is wrong.<br>SOLUTION: Enter the correct password."
    <br>
    <br>Solaris 10, db2 9, instal as root
    <br>Could you help me ?

    Try this
    http://help.sap.com/bp_bpmv130/Documentation/Installation/SAPWAS_Java_trouble_shootingGuide.pdf         on page 24
    Thanks
    Kalyan
    Pls reward points if answer is helpful

  • How to install 2 instances of minisap on the same computer

    Hello, is that possible to install 2 instances of minisap on windows? (so that to make RFC tests from system to system, but I could try some other features, like system landscape, etc.)
    In particular, I have an old minisap 6.20 installed, and I want to install minisap nw2004s : I have chosen a directory, but the sapdb directory is fixed ("c:\sapdb"), and is the same as for the minisap 6.20 (thus, I guess that the old sapdb will be overwritten and thus I can't have 2 minisap instances). Do you know whether it's possible to change maxdb directory ?
    thx a lot!

    Hi Sandra,
    As far i know we cannot install 2 instances in the same system for MiniSap. We tried it and did not work.
    Regards
    Gokul

  • How to install new instance on Stellent Content Server

    Hi All,
    I have installed Stellent Admin Server and Content Server with the instance name "idc".
    Now I want to install one more content server "idc1" on same Admin server.
    So is there any appropriate way to do this?
    Please let me know.
    Thanks & Regards,
    Vishal Shah

    Hi
    You can do it but there is one very critical exception to do it depending on the Webserver that you are using :
    1. Is you are using Sunone Webserver then you cannot install multiple instances of CS on the same webserver instance.
    And if using IIS then the only thing that you need to do on the webserver front is to restart the Webserver after the second instance is installed so that the webserver picks up the config entries made for the second instance's install.
    With Apache webserver you will have make the entry in the httpd.conf for the second instance as you had done for the first instance
    Eg for this is :
    This is my first instance:
    LoadModule IdcApacheAuth "D:/oracle/ucm/cs2/shared/os/win32/lib/IdcApache22Auth.dll"
    IdcUserDB cs2 "D:/oracle/ucm/cs2/data/users/userdb.txt"
    Alias /cs2 "D:/oracle/ucm/cs2/weblayout"
    <Location /cs2>
         Allow from all
         Order allow,deny
         DirectoryIndex portal.htm
         IdcSecurity cs2
    </Location>
    This is my second instance:
    LoadModule IdcApacheAuth D:/oracle/ucm/idc1/shared/os/win32/lib/IdcApache22Auth.dll
    IdcUserDB idc1 "D:/oracle/ucm/idc1/data/users/userdb.txt"
    Alias /idc1 "D:/oracle/ucm/idc1/weblayout"
    <Location /idc1>
    Order allow,deny
    Allow from all
    DirectoryIndex portal.htm
    IdcSecurity idc1
    </Location>
    Hope this helps
    Thanks
    Srinath

  • How to install two instance on one server

    Dear Guru,
    I want to install two instance on one server.
    I have installed IDES server ( win 2k3 64 bit with SQL 2005 ECC 6.0)
    Drive is
    c: 20 GB for os
    d: 5 gb swap
    e: 5 gb  swap
    f: 450 GB database.
    The same server i want to  installed SOLMAN 4.0 with sql 2005.
    Please suggest me how to installed without affcting IDES server.
    Amol

    Hi,
    You only have to consider 2 things :
    1. SAPTRANSHOST entry in hosts file will be the same for both systems
    this mean that both systems will share the same transport directory
    Regards,
    Wojtek
    This is not true.  Your SAPTRANSHOST will remain the same, but you can (and should) specify independent trans directories with the DIR_TRANS and and EPS profile parameters to designate where the instance trans files should be located (i.e. /usr/sap/trans_SID).  I recommend you make this change in the existing host first, and then clear out the trans directory.  Let the 2nd instance install into it and then alter that one too (thereby moving the files to the new /usr/sap/trans_SID2).
    Edited by: David Ingersoll on Jan 31, 2008 3:12 PM

Maybe you are looking for