Shmmax in linux

It looks like I can only have a maximum of 512MB SHAMMAX in linux. It does not report any error if I allocate more than 512mh shmmax but it does not allow my SGA more than 512 MB. Is this is a limit in linux?(!!!!), or Do I missing some thing?
Thanks in advance.
Ravi
null

It looks like I can only have a maximum of 512MB SHAMMAX in linux. It does not report any error if I allocate more than 512mh shmmax but it does not allow my SGA more than 512 MB. Is this is a limit in linux?(!!!!), or Do I missing some thing?
Thanks in advance.
Ravi
null

Similar Messages

  • Kernel.shmmax on Linux 64 bit (SLES 10 x86_64)

    i'm installing 10gR2 on SLES 10 x86_64 bit on a machine with 64 bit xeon processors and i'm a bit confused
    about the setting of kernel parameter kernel.shmmax. According to note 373681.1 and other similar notes
    of requirements for installations on linux 64 bit it seems that this values can be setted at a maximum of
    4gb and i can't understand why. For what i know Oracle tries to allocate SGA on one large shared memory
    segment and the parameter kernel.shmmax for what i've understand limits the maximum size of shared memory
    segments, with kernel.shmall. So if i set kernel.shmmax to 4 GB i'm not able to set SGA_MAX_SIZE to a value
    higher than 4 gb and this is not what i want.
    So, why on all notes i've found on the web it is written to set the parameter to a values max of 4 GB????
    Regards,
    Cristian Cudizio

    On a 32 bit machine max addressable memory is 2^32-1^ which comes to 2GB considering one parity bit actual usable size for SGA is aroung 1.7-1.8GB. Using VLM/AWE you can increase upto 4gb (which comes to across 3.7GB usable). These are all limits given for 32bit machine which i could come across in metalink but I am not sure where is 4GB limit for 64bit machine specified as i don't have metalink access now. So, I cannot say anything about the doc which haven't seen.
    Thanks

  • XE11: Calculating shmall and shmmax for 64b linux

    Hello,
    installing XE11 on a 64b linux gives me  a message like 'unexpected nummer' or '
    'expect  a integer value'
    shmall and shmmax is set to
    kernel.shmall = 1152921504606846720
    kernel.shmmax = 18446744073709551615
    from the os.
    shmmax seems to big for calculating:
    This is what the installation does:
    shmmax=`cat /proc/sys/kernel/shmmax`
    changeshmmax=no  
    if [ $shmmax -lt 4294967295 ]
    then
        shmmax=4294967295
        changeshmmax=yes
    fi
    if [ "$changeshmmax" != "no" ]
    then
        /sbin/sysctl -w kernel.shmmax="4294967295" >> /etc/sysctl.conf
    fi
    How can i calcutlate and set correct values for shmall and shmmax for XE11?
    OS is openSUSE 13.1 64bit, machine has 4GB memory, but it seems to be the same in all 64bit
    distributions.
    Best regards.

    Hello again,
    this is allocated on most distributions with kernel 3.x in
    /boot/sysctl.conf-<kernel-version>:
    # Generated file - do not edit.
    # Disable the hung task timer by default. (bnc#552820)
    kernel.hung_task_timeout_secs = 0
    # Increase defaults for IPC (bnc#146656)
    kernel.msgmax = 65536
    kernel.msgmnb = 65536
    kernel.sem = 250 256000 32 1024
    # Increase defaults for IPC (bnc#146656) (64-bit, 4k pages)
    kernel.shmmax = 0xffffffffffffffff
    # SHMALL = SHMMAX/PAGE_SIZE*(SHMMNI/16)
    kernel.shmall = 0x0fffffffffffff00
    But i cannot access the bugzilla entry bnc#146656
    Best regards

  • Shmmax settings in Linux

    I am working with our Linux admin to understand this issue:
    We have a Dell server with 4Gb of memory, 1-CPU, OS is RedHat Linux 3.x, for our DEV instance. We are starting to play around with the SGA_TARGET and SGA_MAX_SIZE init.ora parms in our 10g instance.
    From other websites, we have read that the LINUX kernel parameter SHMMAX should be set at 2Gb, and that we cannot create an SGA greater than 1.7 Gb (we actually read that if multiple instances are installed, their collective SGA size couldn't exceed 1.7Gb either).
    Being new to Oracle, I'm not sure if 1.7Gb is a very generous helping of memory anyway, but we are trying to understand this whole issue. Any advice on the interaction between SGA size and shmmax, and the amount of memory others have provided for their total SGA would be greatly appreciated.
    Thanks,
    Chuck

    Oracle recommends shmmax be set to a value greater than or equal to half the size of physical memory. Typically, the initialization parameter 'WORKAREA_SIZE_POLICY' is set to 'AUTO' for Oracle 10g. It means that Oracle will make use of the parameter 'PGA_AGGREGATE_TARGET' to enable automatic sizing of work areas.
    The sum of memory associated with SGA and PGA will give you the total memory.
    The question is: How did some body come with a magic number of 1.7GB when SHMMMAX is set to 2 GB?
    Oracle defaults the PGA_AGGREGATE_TARGET to 20% of SGA (if PGA_AGGREGATE_TARGET is not set).
    SGA + PGA = Total memory
    1.7 GB + 1.7 GB*0.2 = 2 GB (approximately)
    If I were you, I would set the SGA to 1.6 GB(to start with SHMMAX of 2 GB).
    Note that 20% of SGA as PGA may be too low for a DSS system.
    You have to run a representative workload on the instance and monitor the performance using pga statistics collected by Oracle. This would help you figure out if your PGA_AGGREGATE_TARGET is under-configured or over-configured.
    The parameter SGA_MAX_SIZE is the maximum size for the SGA for the life time of the instance.
    If the initialization parameter SGA_TARGET is specified, then the parameters for buffer cache (DB_CACHE_SIZE), Java pool (JAVA_POOL_SIZE), large pool (LARGE_POOL_SIZE), and shared pool (SHARED_POOL_SIZE) memory pools are automatically sized.
    The use of SGA_TARGET is recommended by Oracle. This parameter will help you configure SGA using Automatic Shared Memory Management. Oracle will automatically determine the sizes for buffer cache, java pool, large pool and shared pool. If you use SGA_TARGET, make sure you set it to the value of memory you want to dedicate to the SGA (in your case 1.6 GB corresponding to kernel parameter SHMMAX size of 2GB). Make certain that you set STATISTICS_LEVEL initialization parameter to TYPICAL or ALL. SGA_TARGET is a dynamic parameter and can be changed through Oracle Enterprise Manager or with the ALTER SYSTEM command. SGA_TARGET can be set less than or equal to the value of SGA_MAX_SIZE initialization parameter. I hope this helps.

  • Adjust shmmax but still ORA27123 problem on Linux

    ORA-27123: On linux redhat adv3
    Hi
    I try to startup db. event if I edit parameters in /proc/sys/kernel
    as followed
    [root@dev kernel]# cat shmmax
    2147483648
    [root@dev kernel]# cat shmmni
    4096
    [root@dev kernel]# cat shmall
    2097152
    [root@dev kernel]# ipcs -ls
    ------ Semaphore Limits --------
    max number of arrays = 128
    max semaphores per array = 250
    max semaphores system wide = 32000
    max ops per semop call = 100
    semaphore max value = 32767
    And then I try to startup db as followed
    [oracle@dev oracle]$ sqlplus /nolog
    SQL*Plus: Release 9.2.0.4.0 - Production on Sun Jul 18 04:33:04 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> connect /as sysdba
    Connected to an idle instance.
    SQL> startup
    ORA-27123: unable to attach to shared memory segment
    Linux Error: 22: Invalid argument
    Additional information: 1
    Additional information: 6815802
    I apply instalation step as http://www.puschitz.com/InstallingOracle9i.shtml for Linux Adv3
    and apply patch as followed
    3006854, 3119415,
    Oracle 9i Release 2 Patch Set 3 Version 9.2.0.4.0 for Linux x86 (p3095277),
    OPatch 2617419
    why I still got this error message? Anyone can help me?
    Thana
    [email protected]

    [root@dev dbs]# cat spfiledb2.ora |more
    *.aq_tm_processes=1
    *.background_dump_dest='/opt/oracle/admin/db2/bdump'
    *.compatible='9.2.0.0.0'
    *.control_files='/IDE/oradata/control01.ctl','/opt/oracle/oradata/db2/control02.ctl','/opt/oracle/oradata/db2/control03.ctl'
    *.core_dump_dest='/opt/oracle/admin/db2/cdump'
    *.db_block_size=8192
    *.db_cache_size=902823936
    *.db_domain=''
    *.db_file_multiblock_read_count=16
    *.db_name='db2'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=db2XDB)','(PROTOCOL=TCP)'
    *.fast_start_mttr_target=300
    *.hash_join_enabled=TRUE
    *.instance_name='db2'
    *.java_pool_size=20971520
    *.job_queue_processes=10
    *.large_pool_size=178257920
    *.open_cursors=300
    *.pga_aggregate_target=400556032
    *.processes=150
    *.query_rewrite_enabled='FALSE'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.shared_pool_size=300941312
    *.sort_area_size=524288
    *.star_transformation_enabled='FALSE'
    *.timed_statistics=TRUE
    *.undo_management='AUTO'
    *.undo_retention=10800
    *.undo_tablespace='UNDOTBS1'
    *.user_dump_dest='/opt/oracle/admin/db2/udump'
    [root@dev dbs]# free
    total used free shared buffers cached
    Mem: 2578228 2553520 24708 0 39020 2335796
    -/+ buffers/cache: 178704 2399524
    Swap: 4192956 0 4192956

  • NetWeaver 2004s installation problem on Suse Linux

    Hi,
    I downloaded NetWeaver 2004s 90 days version from SDN and installed on Suse linux. I am not able to execute command to get the license after installation. Here is the line I executed
    add user n4sadm
    unpacking adm_env.tar.bz2
    Changing password for n4sadm.
    New Password:
    Bad password: it is based on a dictionary word
    Reenter New Password:
    Password changed.
    add user sdb
    Changing password for sdb.
    New Password:
    Bad password: it is based on a dictionary word
    Reenter New Password:
    Password changed.
    add user sqdn4s
    unpacking sqd_env.tar.bz2
    Changing password for sqdn4s.
    New Password:
    Bad password: it is based on a dictionary word
    Reenter New Password:
    Password changed.
    unpacking /mnt/iso/server/TAR/x86_64/SAPDB_I.tar.bz2
    unpacking /mnt/iso/server/TAR/x86_64/SAPDB_II.tar.bz2
    unpacking /mnt/iso/server/TAR/x86_64/SAPDB_III.tar.bz2
    unpacking /mnt/iso/server/TAR/x86_64/SAPN4S.tar.bz2
    Service visinet-gui on port 3601/tcp was deactivated...
    Service cpq-tasksmart on port 3201/tcp was deactivated...
    Service netxms-mgmt on port 4701/tcp was deactivated...
    Service iwec on port 4801/tcp was deactivated...
    Service tick-port on port 3200/tcp was deactivated...
    Service netxms-agent on port 4700/tcp was deactivated...
    Service iims on port 4800/tcp was deactivated...
    Update the necessary information in sysctl.conf:
    kernel.shmmax = 23136829430
    kernel.shmall = 5242880
    kernel.msgmni = 1024
    fs.file-max = 32768
    kernel.sem = 1250 256000 100 1024
    Found interface: eth0 . Alias is eth0:0
    ifconfig eth0:0 192.168.155.1 up
    Ok
    n4shost:n4sadm 35> /usr/sap/N4S/SYS/exe/run/saplicense -get
    /usr/sap/N4S/SYS/exe/run/saplicense: Exec format error. Binary file not executable.
    Can any one help me to complete the installation and execute the server successfully. I am very new to linux. Do i need to execute any other commands to complete my installation.

    Dear Rajasekhar,
    this error simply comes, because the architecture of your computer is not the same as the one from the test drive. As I'm not sure, which architecture the N4S test drive uses, we simply have one of the following situations here. Either
    your machine is x86_64 and the N4S is i386 or
    your machine is i386 and the N4S is x86_64.
    Please check!
    Thanks,
      Hannes

  • Installation problem: Central Instance 6.40 Oracle on Linux 32

    Hi everybody, I ran into some basic problems with an installation on Redhat EL4 with SUN SDK 1.4.2_12
    here is where sapinst stops after selecting the java dvd:
    somehow the getting the right Java home seems to be the problem, although environment variables are set...
    SAPinst component stack:
    ========================
      Preinstall|ind|ind|ind|ind|ind|0
    Current script:
    ===============
    if (!context.getBool("ci") && !context.getBool("di") && !installer.onWindows()) {
      // we are running on Unix. We need JAVA_HOME for the user creation only.
      WebAS.restore(context.get("WebASDump"));
      var webas = new WebAS({sid:context.get("SID"), j2eeStandalone:context.getBool("standalone")});
      if (webas.getAccountData(WebAS.SIDAdm).exists) {
        return;
    if (context.get("JAVA_HOME") == "") {
      if (installer.onOS400()) {
        installer.getCD("J2EE");
        context.set( "JAVA_HOME", os400_getJavaHome() );
      } else {
        var versions = Java.readVersionFile(installer.getCD("J2EE"));
        context.set("JAVA_HOME", Java.getBestHome(versions.minVersion, versions.maxVersion));
    here the sapinst_dev.log:
    TRACE      [sapinst.cpp:285]
               CSapInst::initMessaging()
    Using custom value info for property SAPINST_MESSAGE_CONSOLE_THRESHOLD.
    TRACE[E]   [syxxcfsmgt.cpp:269]
               CSyFileSystemMgtImpl::getNode(const CSyPath &product.catalog) const
    Node product.catalog does not exist.
    TRACE      [iaxxccontrolfile.cpp:344]
               CControlFile::getMessageFilePath()
    Running with messages from /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST
    TRACE      [sapinst.cpp:306]
               CSapInst::initMessaging()
    This is SAPinst, version 642, build 703609
    compiled on Nov 21 2004, 20:12:45
    TRACE      [sapinst.cpp:311]
               CSapInst::initMessaging()
    Gui connected by user root from host localhost
    TRACE      [syuxcgroup.cpp:528]
               bool CSyUserImpl::isExistingOnOS()
    checking existence of account group="root" gid="0" succeeded with true.
    TRACE      [syxxccache.cpp:208]
               CSyAccountCache::getGroupImpl(name="", sid="0", create=false, ISyProgressObserver* )
    inserted account (root, 0, GROUP) into the accountcache.
    TRACE      [syxxsyshlp.cpp:133]
               syslib::logSystemState()
    Process environment
    ===================
    Environment Variables
    =====================
      SSH_AGENT_PID = 3137
      HOSTNAME = localhost
      TERM = xterm
      SHELL = /bin/bash
      DESKTOP_STARTUP_ID =
      HISTSIZE = 1000
      GTK_RC_FILES = /etc/gtk/gtkrc:/root/.gtkrc-1.2-gnome2
      WINDOWID = 35655351
      SAPINST_EXEDIR_CD = .
      QTDIR = /usr/lib/qt-3.3
      USER = root
      JRE_HOME = /usr/java/j2sdk1.4.2_12/jre
      LD_LIBRARY_PATH = /tmp/sapinst_exe.3669.1153729381
      LS_COLORS = no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
      SSH_AUTH_SOCK = /tmp/ssh-WtPWyH3136/agent.3136
      GNOME_KEYRING_SOCKET = /tmp/keyring-MMmk9C/socket
      KDEDIR = /usr
      SESSION_MANAGER = local/localhost:/tmp/.ICE-unix/3109
      PATH = /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/java/j2sdk1.4.2_12/bin:/root/bin
      DESKTOP_SESSION = default
      MAIL = /var/spool/mail/root
      JAVA_BINDIR = /usr/java/j2sdk1.4.2_12/bin
      PWD = /root/backupmnt/temp/SAPWAS640LinuxOracle/32bitInstall/DVD_NW_04_SR1_Installation_Master/IM09_LINUX_32/SAPINST/UNIX/LINUX_32
      INPUTRC = /etc/inputrc
      JAVA_HOME = /usr/java/j2sdk1.4.2_12
      LANG = en_US.UTF-8
      SAPINST_EXE_DIR = /tmp/sapinst_exe.3669.1153729381
      JAVA_VERSION = 1.4.2_12
      GDMSESSION = default
      SSH_ASKPASS = /usr/libexec/openssh/gnome-ssh-askpass
      SHLVL = 2
      HOME = /root
      JDK_HOME = /usr/java/j2sdk1.4.2_12
      GNOME_DESKTOP_SESSION_ID = Default
      LOGNAME = root
      DBUS_SESSION_BUS_ADDRESS = unix:abstract=/tmp/dbus-KeIbVNuZM7
      LESSOPEN = |/usr/bin/lesspipe.sh %s
      DISPLAY = :0.0
      G_BROKEN_FILENAMES = 1
      XAUTHORITY = /root/.Xauthority
      COLORTERM = gnome-terminal
    User: root, Id: 0
    Effective user: root, Id: 0
    Group: root, Id: 0
    Effective group: root, Id: 0
    Umask: 022
    Resource Limits
    ===============
    RLIMIT_CPU: maximum amount of CPU time in seconds current: unlimited maximum: unlimited
    RLIMIT_FSIZE: maximum size of  a  file  in  bytes  that  may  be created  by  a process current: unlimited maximum: unlimited
    RLIMIT_DATA: maximum size of a process's heap  in  bytes current: unlimited maximum: unlimited
    RLIMIT_STACK: maximum size of a process's stack  in  bytes current: 10485760 maximum: unlimited
    RLIMIT_CORE: maximum size of a core file in bytes current: unlimited maximum: unlimited
    RLIMIT_MEMLOCK: Locked-in-memory addess space. current: 32768 maximum: 32768
    RLIMIT_NOFILE: one more than the maximum value that  the  system  may assign  to a newly created descriptor current: 1024 maximum: 1024
    RLIMIT_OFILE: one more than the maximum value that  the  system  may assign  to a newly created descriptor current: 1024 maximum: 1024
    RLIMIT_NPROC: maximum number of child processes per real user ID current: 13184 maximum: 13184
    RLIMIT_RSS: maximum resident set size in bytes current: unlimited maximum: unlimited
    RLIMIT_AS: maximum size of a process's  total  available memory, in bytes current: unlimited maximum: unlimited
    Working directory: /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST
    TRACE      [syuxctask.cpp:1242]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 3705
    TRACE      [syxxsyshlp.cpp:143]
               syslib::logSystemState()
    System information
    ==================
    uname: Linux localhost 2.6.9-11.EL #1 Fri May 20 18:17:57 EDT 2005 i686 i686 i386 GNU/Linux
    RAM size (MB): 813.152
    Swap size (MB): 258.852
    Kernel Parameters:
    ==================
    dev.cdrom.autoclose = 1
    dev.cdrom.autoeject = 0
    dev.cdrom.check_media = 0
    dev.cdrom.debug = 0
    dev.cdrom.info = CD-ROM information, Id: cdrom.c 3.20 2003/12/17
    dev.cdrom.lock = 1
    dev.parport.default.spintime = 500
    dev.parport.default.timeslice = 200
    dev.parport.parport0.autoprobe =
    dev.parport.parport0.autoprobe0 =
    dev.parport.parport0.autoprobe1 =
    dev.parport.parport0.autoprobe2 =
    dev.parport.parport0.autoprobe3 =
    dev.parport.parport0.base-addr = 888     1912
    dev.parport.parport0.devices.active = none
    dev.parport.parport0.devices.lp.timeslice = 200
    dev.parport.parport0.dma = -1
    dev.parport.parport0.irq = -1
    dev.parport.parport0.modes = PCSPP,TRISTATE
    dev.parport.parport0.spintime = 500
    dev.raid.speed_limit_max = 200000
    dev.raid.speed_limit_min = 1000
    dev.rtc.max-user-freq = 64
    dev.scsi.logging_level = 0
    fs.aio-max-nr = 65536
    fs.aio-nr = 0
    fs.binfmt_misc.register =
    fs.binfmt_misc.status = enabled
    fs.dentry-state = 22755     20214     45     0     0     0
    fs.dir-notify-enable = 1
    fs.file-max = 82562
    fs.file-nr = 2480     0     82562
    fs.inode-nr = 17270     1015
    fs.inode-state = 17270     1015     0     0     0     0     0
    fs.lease-break-time = 45
    fs.leases-enable = 1
    fs.mqueue.msg_max = 10
    fs.mqueue.msgsize_max = 8192
    fs.mqueue.queues_max = 256
    fs.overflowgid = 65534
    fs.overflowuid = 65534
    fs.quota.allocated_dquots = 0
    fs.quota.cache_hits = 0
    fs.quota.drops = 0
    fs.quota.free_dquots = 0
    fs.quota.lookups = 0
    fs.quota.reads = 0
    fs.quota.syncs = 20
    fs.quota.writes = 0
    kernel.acct = 4     2     30
    kernel.cad_pid = 1
    kernel.cap-bound = -257
    kernel.core_pattern = core
    kernel.core_uses_pid = 1
    kernel.ctrl-alt-del = 0
    kernel.domainname = (none)
    kernel.exec-shield = 1
    kernel.exec-shield-randomize = 1
    kernel.hostname = localhost
    kernel.hotplug = /sbin/hotplug
    kernel.modprobe = /sbin/modprobe
    kernel.msgmax = 8192
    kernel.msgmnb = 16384
    kernel.msgmni = 16
    kernel.ngroups_max = 65536
    kernel.osrelease = 2.6.9-11.EL
    kernel.ostype = Linux
    kernel.overflowgid = 65534
    kernel.overflowuid = 65534
    kernel.panic = 0
    kernel.panic_on_oops = 1
    kernel.pid_max = 32768
    kernel.print-fatal-signals = 0
    kernel.printk = 6     4     1     7
    kernel.printk_ratelimit = 5
    kernel.printk_ratelimit_burst = 10
    kernel.pty.max = 4096
    kernel.pty.nr = 3
    kernel.random.boot_id = 906671fa-2e46-4253-b860-368e36266a3a
    kernel.random.entropy_avail = 3968
    kernel.random.poolsize = 512
    kernel.random.read_wakeup_threshold = 64
    kernel.random.uuid = 32d988a2-1496-4f14-93ac-ff43f88ff37d
    kernel.random.write_wakeup_threshold = 128
    kernel.real-root-dev = 0
    kernel.sem = 250     32000     32     128
    kernel.shmall = 2097152
    kernel.shmmax = 33554432
    kernel.shmmni = 4096
    kernel.suid_dumpable = 0
    kernel.sysrq = 0
    kernel.tainted = 1
    kernel.threads-max = 26368
    kernel.vdso = 0
    kernel.version = #1 Fri May 20 18:17:57 EDT 2005
    net.core.dev_weight = 64
    net.core.divert_version = 0.46
    net.core.lo_cong = 100
    net.core.message_burst = 10
    net.core.message_cost = 5
    net.core.mod_cong = 290
    net.core.netdev_max_backlog = 300
    net.core.no_cong = 20
    net.core.no_cong_thresh = 10
    net.core.optmem_max = 10240
    net.core.rmem_default = 110592
    net.core.rmem_max = 131071
    net.core.somaxconn = 128
    net.core.wmem_default = 110592
    net.core.wmem_max = 131071
    net.ipv4.conf.all.accept_redirects = 1
    net.ipv4.conf.all.accept_source_route = 0
    net.ipv4.conf.all.arp_announce = 0
    net.ipv4.conf.all.arp_filter = 0
    net.ipv4.conf.all.arp_ignore = 0
    net.ipv4.conf.all.bootp_relay = 0
    net.ipv4.conf.all.disable_policy = 0
    net.ipv4.conf.all.disable_xfrm = 0
    net.ipv4.conf.all.force_igmp_version = 0
    net.ipv4.conf.all.forwarding = 0
    net.ipv4.conf.all.log_martians = 0
    net.ipv4.conf.all.mc_forwarding = 0
    net.ipv4.conf.all.medium_id = 0
    net.ipv4.conf.all.proxy_arp = 0
    net.ipv4.conf.all.rp_filter = 0
    net.ipv4.conf.all.secure_redirects = 1
    net.ipv4.conf.all.send_redirects = 1
    net.ipv4.conf.all.shared_media = 1
    net.ipv4.conf.all.tag = 0
    net.ipv4.conf.default.accept_redirects = 1
    net.ipv4.conf.default.accept_source_route = 0
    net.ipv4.conf.default.arp_announce = 0
    net.ipv4.conf.default.arp_filter = 0
    net.ipv4.conf.default.arp_ignore = 0
    net.ipv4.conf.default.bootp_relay = 0
    net.ipv4.conf.default.disable_policy = 0
    net.ipv4.conf.default.disable_xfrm = 0
    net.ipv4.conf.default.force_igmp_version = 0
    net.ipv4.conf.default.forwarding = 0
    net.ipv4.conf.default.log_martians = 0
    net.ipv4.conf.default.mc_forwarding = 0
    net.ipv4.conf.default.medium_id = 0
    net.ipv4.conf.default.proxy_arp = 0
    net.ipv4.conf.default.rp_filter = 1
    net.ipv4.conf.default.secure_redirects = 1
    net.ipv4.conf.default.send_redirects = 1
    net.ipv4.conf.default.shared_media = 1
    net.ipv4.conf.default.tag = 0
    net.ipv4.conf.eth0.accept_redirects = 1
    net.ipv4.conf.eth0.accept_source_route = 0
    net.ipv4.conf.eth0.arp_announce = 0
    net.ipv4.conf.eth0.arp_filter = 0
    net.ipv4.conf.eth0.arp_ignore = 0
    net.ipv4.conf.eth0.bootp_relay = 0
    net.ipv4.conf.eth0.disable_policy = 0
    net.ipv4.conf.eth0.disable_xfrm = 0
    net.ipv4.conf.eth0.force_igmp_version = 0
    net.ipv4.conf.eth0.forwarding = 0
    net.ipv4.conf.eth0.log_martians = 0
    net.ipv4.conf.eth0.mc_forwarding = 0
    net.ipv4.conf.eth0.medium_id = 0
    net.ipv4.conf.eth0.proxy_arp = 0
    net.ipv4.conf.eth0.rp_filter = 1
    net.ipv4.conf.eth0.secure_redirects = 1
    net.ipv4.conf.eth0.send_redirects = 1
    net.ipv4.conf.eth0.shared_media = 1
    net.ipv4.conf.eth0.tag = 0
    net.ipv4.conf.lo.accept_redirects = 1
    net.ipv4.conf.lo.accept_source_route = 1
    net.ipv4.conf.lo.arp_announce = 0
    net.ipv4.conf.lo.arp_filter = 0
    net.ipv4.conf.lo.arp_ignore = 0
    net.ipv4.conf.lo.bootp_relay = 0
    net.ipv4.conf.lo.disable_policy = 1
    net.ipv4.conf.lo.disable_xfrm = 1
    net.ipv4.conf.lo.force_igmp_version = 0
    net.ipv4.conf.lo.forwarding = 0
    net.ipv4.conf.lo.log_martians = 0
    net.ipv4.conf.lo.mc_forwarding = 0
    net.ipv4.conf.lo.medium_id = 0
    net.ipv4.conf.lo.proxy_arp = 0
    net.ipv4.conf.lo.rp_filter = 0
    net.ipv4.conf.lo.secure_redirects = 1
    net.ipv4.conf.lo.send_redirects = 1
    net.ipv4.conf.lo.shared_media = 1
    net.ipv4.conf.lo.tag = 0
    net.ipv4.icmp_echo_ignore_all = 0
    net.ipv4.icmp_echo_ignore_broadcasts = 0
    net.ipv4.icmp_ignore_bogus_error_responses = 0
    net.ipv4.icmp_ratelimit = 1000
    net.ipv4.icmp_ratemask = 6168
    net.ipv4.igmp_max_memberships = 20
    net.ipv4.igmp_max_msf = 10
    net.ipv4.inet_peer_gc_maxtime = 120
    net.ipv4.inet_peer_gc_mintime = 10
    net.ipv4.inet_peer_maxttl = 600
    net.ipv4.inet_peer_minttl = 120
    net.ipv4.inet_peer_threshold = 65664
    net.ipv4.ip_autoconfig = 0
    net.ipv4.ip_default_ttl = 64
    net.ipv4.ip_dynaddr = 0
    net.ipv4.ip_forward = 0
    net.ipv4.ip_local_port_range = 32768     61000
    net.ipv4.ip_no_pmtu_disc = 0
    net.ipv4.ip_nonlocal_bind = 0
    net.ipv4.ipfrag_high_thresh = 262144
    net.ipv4.ipfrag_low_thresh = 196608
    net.ipv4.ipfrag_secret_interval = 600
    net.ipv4.ipfrag_time = 30
    net.ipv4.neigh.default.anycast_delay = 99
    net.ipv4.neigh.default.app_solicit = 0
    net.ipv4.neigh.default.base_reachable_time = 30
    net.ipv4.neigh.default.delay_first_probe_time = 5
    net.ipv4.neigh.default.gc_interval = 30
    net.ipv4.neigh.default.gc_stale_time = 60
    net.ipv4.neigh.default.gc_thresh1 = 128
    net.ipv4.neigh.default.gc_thresh2 = 512
    net.ipv4.neigh.default.gc_thresh3 = 1024
    net.ipv4.neigh.default.locktime = 99
    net.ipv4.neigh.default.mcast_solicit = 3
    net.ipv4.neigh.default.proxy_delay = 79
    net.ipv4.neigh.default.proxy_qlen = 64
    net.ipv4.neigh.default.retrans_time = 99
    net.ipv4.neigh.default.ucast_solicit = 3
    net.ipv4.neigh.default.unres_qlen = 3
    net.ipv4.neigh.eth0.anycast_delay = 99
    net.ipv4.neigh.eth0.app_solicit = 0
    net.ipv4.neigh.eth0.base_reachable_time = 30
    net.ipv4.neigh.eth0.delay_first_probe_time = 5
    net.ipv4.neigh.eth0.gc_stale_time = 60
    net.ipv4.neigh.eth0.locktime = 99
    net.ipv4.neigh.eth0.mcast_solicit = 3
    net.ipv4.neigh.eth0.proxy_delay = 79
    net.ipv4.neigh.eth0.proxy_qlen = 64
    net.ipv4.neigh.eth0.retrans_time = 99
    net.ipv4.neigh.eth0.ucast_solicit = 3
    net.ipv4.neigh.eth0.unres_qlen = 3
    net.ipv4.neigh.lo.anycast_delay = 99
    net.ipv4.neigh.lo.app_solicit = 0
    net.ipv4.neigh.lo.base_reachable_time = 30
    net.ipv4.neigh.lo.delay_first_probe_time = 5
    net.ipv4.neigh.lo.gc_stale_time = 60
    net.ipv4.neigh.lo.locktime = 99
    net.ipv4.neigh.lo.mcast_solicit = 3
    net.ipv4.neigh.lo.proxy_delay = 79
    net.ipv4.neigh.lo.proxy_qlen = 64
    net.ipv4.neigh.lo.retrans_time = 99
    net.ipv4.neigh.lo.ucast_solicit = 3
    net.ipv4.neigh.lo.unres_qlen = 3
    net.ipv4.route.error_burst = 5000
    net.ipv4.route.error_cost = 1000
    net.ipv4.route.flush =
    net.ipv4.route.gc_elasticity = 8
    net.ipv4.route.gc_interval = 60
    net.ipv4.route.gc_min_interval = 0
    net.ipv4.route.gc_thresh = 2048
    net.ipv4.route.gc_timeout = 300
    net.ipv4.route.max_delay = 10
    net.ipv4.route.max_size = 32768
    net.ipv4.route.min_adv_mss = 256
    net.ipv4.route.min_delay = 2
    net.ipv4.route.min_pmtu = 552
    net.ipv4.route.mtu_expires = 600
    net.ipv4.route.redirect_load = 20
    net.ipv4.route.redirect_number = 9
    net.ipv4.route.redirect_silence = 20480
    net.ipv4.route.secret_interval = 600
    net.ipv4.tcp_abort_on_overflow = 0
    net.ipv4.tcp_adv_win_scale = 2
    net.ipv4.tcp_app_win = 31
    net.ipv4.tcp_bic = 1
    net.ipv4.tcp_bic_beta = 819
    net.ipv4.tcp_bic_fast_convergence = 1
    net.ipv4.tcp_bic_low_window = 14
    net.ipv4.tcp_dsack = 1
    net.ipv4.tcp_ecn = 0
    net.ipv4.tcp_fack = 1
    net.ipv4.tcp_fin_timeout = 60
    net.ipv4.tcp_frto = 0
    net.ipv4.tcp_keepalive_intvl = 75
    net.ipv4.tcp_keepalive_probes = 9
    net.ipv4.tcp_keepalive_time = 7200
    net.ipv4.tcp_low_latency = 0
    net.ipv4.tcp_max_orphans = 65536
    net.ipv4.tcp_max_syn_backlog = 1024
    net.ipv4.tcp_max_tw_buckets = 180000
    net.ipv4.tcp_mem = 196608     262144     393216
    net.ipv4.tcp_moderate_rcvbuf = 1
    net.ipv4.tcp_no_metrics_save = 0
    net.ipv4.tcp_orphan_retries = 0
    net.ipv4.tcp_reordering = 3
    net.ipv4.tcp_retrans_collapse = 1
    net.ipv4.tcp_retries1 = 3
    net.ipv4.tcp_retries2 = 15
    net.ipv4.tcp_rfc1337 = 0
    net.ipv4.tcp_rmem = 4096     87380     174760
    net.ipv4.tcp_sack = 1
    net.ipv4.tcp_stdurg = 0
    net.ipv4.tcp_syn_retries = 5
    net.ipv4.tcp_synack_retries = 5
    net.ipv4.tcp_syncookies = 0
    net.ipv4.tcp_timestamps = 1
    net.ipv4.tcp_tso_win_divisor = 8
    net.ipv4.tcp_tw_recycle = 0
    net.ipv4.tcp_tw_reuse = 0
    net.ipv4.tcp_vegas_alpha = 2
    net.ipv4.tcp_vegas_beta = 6
    net.ipv4.tcp_vegas_cong_avoid = 0
    net.ipv4.tcp_vegas_gamma = 2
    net.ipv4.tcp_westwood = 0
    net.ipv4.tcp_window_scaling = 1
    net.ipv4.tcp_wmem = 4096     16384     131072
    net.ipv6.bindv6only = 0
    net.ipv6.conf.all.accept_ra = 1
    net.ipv6.conf.all.accept_redirects = 1
    net.ipv6.conf.all.autoconf = 1
    net.ipv6.conf.all.dad_transmits = 1
    net.ipv6.conf.all.force_mld_version = 0
    net.ipv6.conf.all.forwarding = 0
    net.ipv6.conf.all.hop_limit = 64
    net.ipv6.conf.all.max_addresses = 16
    net.ipv6.conf.all.max_desync_factor = 600
    net.ipv6.conf.all.mtu = 1280
    net.ipv6.conf.all.regen_max_retry = 5
    net.ipv6.conf.all.router_solicitation_delay = 1
    net.ipv6.conf.all.router_solicitation_interval = 4
    net.ipv6.conf.all.router_solicitations = 3
    net.ipv6.conf.all.temp_prefered_lft = 86400
    net.ipv6.conf.all.temp_valid_lft = 604800
    net.ipv6.conf.all.use_tempaddr = 0
    net.ipv6.conf.default.accept_ra = 1
    net.ipv6.conf.default.accept_redirects = 1
    net.ipv6.conf.default.autoconf = 1
    net.ipv6.conf.default.dad_transmits = 1
    net.ipv6.conf.default.force_mld_version = 0
    net.ipv6.conf.default.forwarding = 0
    net.ipv6.conf.default.hop_limit = 64
    net.ipv6.conf.default.max_addresses = 16
    net.ipv6.conf.default.max_desync_factor = 600
    net.ipv6.conf.default.mtu = 1280
    net.ipv6.conf.default.regen_max_retry = 5
    net.ipv6.conf.default.router_solicitation_delay = 1
    net.ipv6.conf.default.router_solicitation_interval = 4
    net.ipv6.conf.default.router_solicitations = 3
    net.ipv6.conf.default.temp_prefered_lft = 86400
    net.ipv6.conf.default.temp_valid_lft = 604800
    net.ipv6.conf.default.use_tempaddr = 0
    net.ipv6.conf.eth0.accept_ra = 1
    net.ipv6.conf.eth0.accept_redirects = 1
    net.ipv6.conf.eth0.autoconf = 1
    net.ipv6.conf.eth0.dad_transmits = 1
    net.ipv6.conf.eth0.force_mld_version = 0
    net.ipv6.conf.eth0.forwarding = 0
    net.ipv6.conf.eth0.hop_limit = 64
    net.ipv6.conf.eth0.max_addresses = 16
    net.ipv6.conf.eth0.max_desync_factor = 600
    net.ipv6.conf.eth0.mtu = 1500
    net.ipv6.conf.eth0.regen_max_retry = 5
    net.ipv6.conf.eth0.router_solicitation_delay = 1
    net.ipv6.conf.eth0.router_solicitation_interval = 4
    net.ipv6.conf.eth0.router_solicitations = 3
    net.ipv6.conf.eth0.temp_prefered_lft = 86400
    net.ipv6.conf.eth0.temp_valid_lft = 604800
    net.ipv6.conf.eth0.use_tempaddr = 0
    net.ipv6.conf.lo.accept_ra = 1
    net.ipv6.conf.lo.accept_redirects = 1
    net.ipv6.conf.lo.autoconf = 1
    net.ipv6.conf.lo.dad_transmits = 1
    net.ipv6.conf.lo.force_mld_version = 0
    net.ipv6.conf.lo.forwarding = 0
    net.ipv6.conf.lo.hop_limit = 64
    net.ipv6.conf.lo.max_addresses = 16
    net.ipv6.conf.lo.max_desync_factor = 600
    net.ipv6.conf.lo.mtu = 16436
    net.ipv6.conf.lo.regen_max_retry = 5
    net.ipv6.conf.lo.router_solicitation_delay = 1
    net.ipv6.conf.lo.router_solicitation_interval = 4
    net.ipv6.conf.lo.router_solicitations = 3
    net.ipv6.conf.lo.temp_prefered_lft = 86400
    net.ipv6.conf.lo.temp_valid_lft = 604800
    net.ipv6.conf.lo.use_tempaddr = -1
    net.ipv6.icmp.ratelimit = 1000
    net.ipv6.ip6frag_high_thresh = 262144
    net.ipv6.ip6frag_low_thresh = 196608
    net.ipv6.ip6frag_secret_interval = 600
    net.ipv6.ip6frag_time = 60
    net.ipv6.mld_max_msf = 10
    net.ipv6.neigh.default.anycast_delay = 99
    net.ipv6.neigh.default.app_solicit = 0
    net.ipv6.neigh.default.base_reachable_time = 30
    net.ipv6.neigh.default.delay_first_probe_time = 5
    net.ipv6.neigh.default.gc_interval = 30
    net.ipv6.neigh.default.gc_stale_time = 60
    net.ipv6.neigh.default.gc_thresh1 = 128
    net.ipv6.neigh.default.gc_thresh2 = 512
    net.ipv6.neigh.default.gc_thresh3 = 1024
    net.ipv6.neigh.default.locktime = 0
    net.ipv6.neigh.default.mcast_solicit = 3
    net.ipv6.neigh.default.proxy_delay = 79
    net.ipv6.neigh.default.proxy_qlen = 64
    net.ipv6.neigh.default.retrans_time = 1000
    net.ipv6.neigh.default.ucast_solicit = 3
    net.ipv6.neigh.default.unres_qlen = 3
    net.ipv6.neigh.eth0.anycast_delay = 99
    net.ipv6.neigh.eth0.app_solicit = 0
    net.ipv6.neigh.eth0.base_reachable_time = 30
    net.ipv6.neigh.eth0.delay_first_probe_time = 5
    net.ipv6.neigh.eth0.gc_stale_time = 60
    net.ipv6.neigh.eth0.locktime = 0
    net.ipv6.neigh.eth0.mcast_solicit = 3
    net.ipv6.neigh.eth0.proxy_delay = 79
    net.ipv6.neigh.eth0.proxy_qlen = 64
    net.ipv6.neigh.eth0.retrans_time = 1000
    net.ipv6.neigh.eth0.ucast_solicit = 3
    net.ipv6.neigh.eth0.unres_qlen = 3
    net.ipv6.neigh.lo.anycast_delay = 99
    net.ipv6.neigh.lo.app_solicit = 0
    net.ipv6.neigh.lo.base_reachable_time = 30
    net.ipv6.neigh.lo.delay_first_probe_time = 5
    net.ipv6.neigh.lo.gc_stale_time = 60
    net.ipv6.neigh.lo.locktime = 0
    net.ipv6.neigh.lo.mcast_solicit = 3
    net.ipv6.neigh.lo.proxy_delay = 79
    net.ipv6.neigh.lo.proxy_qlen = 64
    net.ipv6.neigh.lo.retrans_time = 1000
    net.ipv6.neigh.lo.ucast_solicit = 3
    net.ipv6.neigh.lo.unres_qlen = 3
    net.ipv6.route.flush =
    net.ipv6.route.gc_elasticity = 0
    net.ipv6.route.gc_interval = 30
    net.ipv6.route.gc_min_interval = 0
    net.ipv6.route.gc_thresh = 1024
    net.ipv6.route.gc_timeout = 60
    net.ipv6.route.max_size = 4096
    net.ipv6.route.min_adv_mss = 1
    net.ipv6.route.mtu_expires = 600
    net.token-ring.rif_timeout = 600000
    net.unix.max_dgram_qlen = 10
    sunrpc.nfs_debug = 0
    sunrpc.nfsd_debug = 0
    sunrpc.nlm_debug = 0
    sunrpc.rpc_debug = 0
    sunrpc.tcp_slot_table_entries = 16
    sunrpc.udp_slot_table_entries = 16
    vm.block_dump = 0
    vm.dirty_background_ratio = 10
    vm.dirty_expire_centisecs = 3000
    vm.dirty_ratio = 40
    vm.dirty_writeback_centisecs = 500
    vm.hugetlb_shm_group = 0
    vm.laptop_mode = 0
    vm.legacy_va_layout = 0
    vm.lower_zone_protection = 0
    vm.max_map_count = 65536
    vm.min_free_kbytes = 918
    vm.nr_hugepages = 0
    vm.nr_pdflush_threads = 2
    vm.overcommit_memory = 0
    vm.overcommit_ratio = 50
    vm.page-cluster = 3
    vm.swappiness = 60
    vm.vfs_cache_pressure = 100
    TRACE     
    Running with control file control.xml version 642 and changelist 703273
    TRACE[E]   [syxxcfsmgt.cpp:269]
               CSyFileSystemMgtImpl::getNode(const CSyPath &product.catalog) const
    Node product.catalog does not exist.
    TRACE      [iaxxccontrolfile.cpp:142]
               CControlFile::getKeydbControlFileName()
    Running with keydb file keydb.xml
    TRACE[E]   [syxxcfsmgt.cpp:269]
               CSyFileSystemMgtImpl::getNode(const CSyPath &product.catalog) const
    Node product.catalog does not exist.
    TRACE      [iaxxccontrolfile.cpp:235]
               CControlFile::getDialogControlFileName()
    Running with dialog control file dialog.xml
    TRACE      [iaxxccontrolfile.cpp:184]
               CControlFile::getResourecFileName()
    Running with resource file /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/helppool.xml
    INFO       2006-07-24 10:23:29 [syxxcfile.cpp:446]
               CSyFileImpl::copy(const CSyPath & q0w9e9r8t7.1.xml, ISyNode::eCopyMode 3, ISyProgressObserver*) const 
    Copying file /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.xml to: q0w9e9r8t7.1.xml.
    INFO       2006-07-24 10:23:29 [syuxcpath.cpp:369]
               CSyPath::createFile()
    Creating file /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/q0w9e9r8t7.1.xml.
    INFO       2006-07-24 10:23:30 [iaxxclib.cpp:83]
               load()
    Working directory changed to /tmp/sapinst_exe.3669.1153729381.
    TRACE      [iaxxclib.cpp:165]
               load()
    Opened iaccdlib.so
    INFO       2006-07-24 10:23:30 [iaxxclib.cpp:108]
               load()
    Working directory changed to /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step Preinstall|ind|ind|ind|ind|ind|0|checkRuntimeSystem
    INFO       2006-07-24 10:23:30 [iaxxclib.cpp:83]
               load()
    Working directory changed to /tmp/sapinst_exe.3669.1153729381.
    TRACE      [iaxxclib.cpp:165]
               load()
    Opened iamodos.so
    INFO       2006-07-24 10:23:30 [iaxxclib.cpp:108]
               load()
    Working directory changed to /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST.
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step checkRuntimeSystem with key Preinstall|ind|ind|ind|ind|ind|0|checkRuntimeSystem has been executed successfully.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step Preinstall|ind|ind|ind|ind|ind|0|SetDefaults
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step SetDefaults with key Preinstall|ind|ind|ind|ind|ind|0|SetDefaults has been executed successfully.
    INFO       2006-07-24 10:23:31 [syxxcfile.cpp:446]
               CSyFileImpl::copy(const CSyPath & /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.1.xml, ISyNode::eCopyMode 3, ISyProgressObserver*) const 
    Copying file /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.xml to: /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.1.xml.
    INFO       2006-07-24 10:23:31 [syuxcpath.cpp:369]
               CSyPath::createFile()
    Creating file /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/keydb.1.xml.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step Preinstall|ind|ind|ind|ind|ind|0|diSummarize
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step diSummarize with key Preinstall|ind|ind|ind|ind|ind|0|diSummarize has been executed successfully.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step Preinstall|ind|ind|ind|ind|ind|0|diProgress
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step diProgress with key Preinstall|ind|ind|ind|ind|ind|0|diProgress has been executed successfully.
    INFO       2006-07-24 10:23:32 [syuxcpath.cpp:369]
               CSyPath::createFile()
    Creating file /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/summary.html.
    PHASE      2006-07-24 10:23:32 [iaxxcwalker.cpp:416]
               CDomWalker::printPhaseInfo()
    Prepare the installation program.
    INFO       2006-07-24 10:23:48 [iaxxcwalker.cpp:59]
               CDomWalker::walk()
    Installation start: Monday, 24 July 2006, 10:23:26; installation directory: /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST; product to be installed: SAP NetWeaver '04 Support Release 1> Java System> Oracle> Central System> Custom Installation - Java System
    TRACE<i>   [iaxxclib.cpp:83]
               load()
    Working directory changed to /tmp/sapinst_exe.3669.1153729381.
    TRACE      [iaxxclib.cpp:165]
               load()
    Opened iamodora.so
    TRACE<i>   [iaxxclib.cpp:108]
               load()
    Working directory changed to /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST.
    TRACE      [iaxxccntrl.cpp:398]
               CController::activateEvaluator()
    The controller registered the module COraInputChecker
    TRACE<i>   [iaxxclib.cpp:83]
               load()
    Working directory changed to /tmp/sapinst_exe.3669.1153729381.
    TRACE      [iaxxclib.cpp:165]
               load()
    Opened iamodada.so
    TRACE<i>   [iaxxclib.cpp:108]
               load()
    Working directory changed to /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST.
    TRACE      [iaxxccntrl.cpp:398]
               CController::activateEvaluator()
    The controller registered the module CIaSdbActor
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|fillContext
    INFO       2006-07-24 10:23:48 [iaxxclib.cpp:83]
               load()
    Working directory changed to /tmp/sapinst_exe.3669.1153729381.
    TRACE      [iaxxclib.cpp:165]
               load()
    Opened iajsmod.so
    INFO       2006-07-24 10:23:48 [iaxxclib.cpp:108]
               load()
    Working directory changed to /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST.
    TRACE      [iaxxejsexp.cpp:208]
               EJS_Installer::writeTraceToLogBook()
    t_J2EE_Dialogs.remove(WHERE 1=1)
    TRACE      [iaxxejsexp.cpp:208]
               EJS_Installer::writeTraceToLogBook()
    t_J2EE_Dialogs.insertRow({
      di:false
      oneHost:true
    }), inserting
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step fillContext with key J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|fillContext has been executed successfully.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|readProductXml
    TRACE      [iaxxejsexp.cpp:208]
               EJS_Installer::writeTraceToLogBook()
    Reading additional shipment information from product.xml...
    TRACE      [iaxxejsexp.cpp:208]
               EJS_Installer::writeTraceToLogBook()
    tProductInfo.updateRow({
      Name:WebAs
      Version:640
    }, WHERE ROWNUM=0), updating
    TRACE      [iaxxejsexp.cpp:208]
               EJS_Installer::writeTraceToLogBook()
    IA_CONTR_DBPLATFORM.updateRow({
      DBPLATFORM:ORA
    }, WHERE ROWNUM=0), updating
    TRACE      [iaxxejsexp.cpp:208]
               EJS_Installer::writeTraceToLogBook()
    Table: tWhat
      Name:What
      Value:INST
      Name:InstanceType
      Value:DI
      Name:DbType
      Value:NEWDB
      Name:DataType
      Value:SAP
      Name:MigType
      Value:STD
      Name:INQMY
      Value:NO
      Name:IsCluster
      Value:NO
      Name:IsClusterA
      Value:NO
      Name:IsClusterB
      Value:NO
      Name:UNICODE
      Value:YES
      Name:Db6Engine
      Value:EE
      Name:IGS
      Value:YES
      Name:CCM4X
      Value:NO
      Name:HETFS
      Value:false
      Name:LCCLIENT
      Value:false
      Name:J2EE630
      Value:false
      Name:DB2Connectivity
      Value:DRDA
      Name:SDM_JDBCDRIVER_DB4
      Value:engine
      Name:LCUSERDATAADMIN
      Value:false
      Name:SeparateSCS
      Value:false
      Name:EEENodeNumber
      Value:EEENode0
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step readProductXml with key J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|readProductXml has been executed successfully.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|setDefaults
    TRACE      [iaxxejsexp.cpp:208]
               EJS_Installer::writeTraceToLogBook()
    t_systems.remove(WHERE 1=1)
    INFO       2006-07-24 10:23:49
               CJSlibModule::writeInfo_impl()
    Looking for SAP system instances installed on this host...
    INFO       2006-07-24 10:23:49
               CJSlibModule::writeInfo_impl()
    No installed instances found!
    TRACE      [syxxcnamrs.cpp:278]
               PSyHostsEntry CSyIPNameResolverImpl::getHostByName(const iastring& hostName) const
    IP name localhost resolves to IP address(es): 127.0.0.1
    TRACE      [syxxcnamrs.cpp:208]
               PSyHostsEntry CSyIPNameResolverImpl::getHostByAddress(const iastring& ipAddress) const
    IP address 127.0.0.1 resolves to IP name(s): localhost
    TRACE      [iaxxbhosts.cpp:674]
               CIaOsHosts::resolveHostName()
    hostname after reverse lookup is: localhost
    TRACE      [iaxxejsexp.cpp:208]
               EJS_Installer::writeTraceToLogBook()
    shells.updateRow({
      shell:/bin/bash
    }, WHERE shell='/bin/bash'), inserting
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step setDefaults with key J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|setDefaults has been executed successfully.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|DNSCheck
    INFO       2006-07-24 10:23:50
               CJSlibModule::writeInfo_impl()
    DNS is configured correctly.
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step DNSCheck with key J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|DNSCheck has been executed successfully.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|MemoryCheck
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step MemoryCheck with key J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|MemoryCheck has been executed successfully.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|virtualHostCheck
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step virtualHostCheck with key J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|virtualHostCheck has been executed successfully.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|askWhat
    INFO       2006-07-24 10:23:51 [iaxxclib.cpp:83]
               load()
    Working directory changed to /tmp/sapinst_exe.3669.1153729381.
    TRACE      [iaxxclib.cpp:165]
               load()
    Opened iamodutl.so
    INFO       2006-07-24 10:23:51 [iaxxclib.cpp:108]
               load()
    Working directory changed to /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST.
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step askWhat with key J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|askWhat has been executed successfully.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|askPrep
    TRACE      [iaxxgenimp.cpp:189]
               showDialog()
    showing dlg d_webas630_prepare_ci_unix
    TRACE      [iaxxgenimp.cpp:205]
               showDialog()
    <dialog sid="d_webas630_prepare_ci_unix">
    <dialog/>
    TRACE      [iaxxgenimp.cpp:845]
               showDialog()
    waiting for an answer from gui
    TRACE      [iaxxdlghnd.cpp:98]
               CDialogHandler::doHandleDoc()
    CDialogHandler: ACTION_NEXT requested
    TRACE      [iaxxejsexp.cpp:208]
               EJS_Installer::writeTraceToLogBook()
    profile directory '/sapmnt/J2E/profile' does not exist. Returning undefined.
    TRACE      [iaxxgenimp.cpp:212]
               showDialog()
    <dialog sid="d_webas630_prepare_ci_unix">
    <dialog/>
    TRACE      [iaxxccntrl.cpp:493]
               CController::stepExecuted()
    The step askPrep with key J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|askPrep has been executed successfully.
    TRACE      [iaxxcdgprc.cpp:635]
               CDialogProcessor::processDialogs()
    Executing dialog step J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|getJavaHome
    TRACE      [iaxxgenimp.cpp:189]
               showDialog()
    showing dlg diCdServerMissingPackageWithCdName
    TRACE      [iaxxgenimp.cpp:205]
               showDialog()
    <dialog sid="diCdServerMissingPackageWithCdName">
    <dialog/>
    TRACE      [iaxxgenimp.cpp:845]
               showDialog()
    waiting for an answer from gui
    TRACE      [iaxxdlghnd.cpp:98]
               CDialogHandler::doHandleDoc()
    CDialogHandler: ACTION_NEXT requested
    TRACE      [iaxxgenimp.cpp:212]
               showDialog()
    <dialog sid="diCdServerMissingPackageWithCdName">
    <dialog/>
    INFO       2006-07-24 10:24:17 [syxxcfile.cpp:446]
               CSyFileImpl::copy(const CSyPath & ., ISyNode::eCopyMode 3, ISyProgressObserver*) const 
    Copying file /root/backupmnt/temp/51030724_2/DVD_NW_04_SR1_SAP_Web_AS_JAVA/J2EE_OSINDEP/JDKVersion.xml to: ..
    INFO       2006-07-24 10:24:17 [syuxcpath.cpp:369]
               CSyPath::createFile()
    Creating file /tmp/sapinst_instdir/NW04SR1/WEBAS_JAVA/CENTRAL/ONE_HOST/JDKVersion.xml.
    TRACE      [syuxctask.cpp:1242]
               CSyTaskImpl::start(bool)
    A child process has been started. Pid = 3706
    ERROR      2006-07-24 10:24:17 [iaxxbprocess.cpp:927]
               CIaOsProcess::getReturnCode_impl()
    FSL-04005  Unable to wait for process with ID 3706. No child processes
    ERROR      2006-07-24 10:24:17 [iaxxbprocess.cpp:948]
               CIaOsProcess::getReturnCode_impl()
    FSL-04006  A system call failed due to unknown reasons: A process could not be waited for. No child processes.
    TRACE      [iaxxejsbas.hpp:270]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown std::ESyException: A process could not be waited for. No child processes
    WARNING    2006-07-24 10:24:17 [iaxxccntrl.cpp:477]
               CController::stepExecuted()
    The step getJavaHome with step key J2EE_EngineEnterprise_OneHost|ind|ind|ind|WebAS|630|0|J2EE_EngineEnterpriseDialogs|ind|ind|ind|WebAS|630|0|getJavaHome was executed with status ERROR.
    TRACE      [iaxxcsihlp.hpp:301]
               main()
    An error occurred during the installation of component SAP NetWeaver '04 Support Release 1> Java System> Oracle> Central System> Custom Installation - Java System. Press the log view button to get extended error information or press OK to terminate the installation. Log files are written to SAP NetWeaver '04 Support Release 1> Java System> Oracle> Central System> Custom Installation - Java System.
    TRACE      [iaxxgenimp.cpp:845]
               showDialog()
    waiting for an answer from gui
    TRACE      [iaxxdlghnd.cpp:180]
               CDialogHandler::doHandleDoc()
    ACTION_OK received
    WARNING    2006-07-24 10:24:41 [iaxxcsihlp.hpp:250]
               main()
    An error occurred during the installation.
    Has anybody an idea whats wrong here?
    thanx

    Thanx Jeff!
    and sorry for replying so late
    like with many other things, reading notes carefully can help a lot
    problem was solved by setting
    LD_ASSUME_KERNEL=2.4.1
    for sapinst as described in sap note 722273

  • Installation problem for oracle 9i on linux

    The following error I have got during installation of Oracle 9i (9.2.0.1.0) downloaded enterprise version for Linux from otn site.
    Red Hat Linux Release 9 (Kernel 2.4.20-8)
    1. Could not copy /home/oracle/OraHome1/Apache/Apache/conf/ssl.key/server.key
    2. Could not Copy
    /home/oracle/Orahome1/ldap/odi/conf/idfsample.map.master
    During linking error given with
    /home/oracle/oraHome1/network/lib/ins_oemagent.mk
    . . .. ... ........ctx/lib/ins_ctx.mk
    ........ .... .......Apache/Apache/ports.ini
    I have ignored all above and proceed...
    at the time database creation I got the following problem
    ORA-27123 : unable to attach to shared memory segment.
    But
    I have entered into /etc/sysctl.conf
    kernel.SHMMAX=1073741824
    Please give me a quick Reply

    Refer to the following web site which has excellent tips and workarounds for most problems you will find installing Oracle on RedHat:
    www.puschitz.com

  • Oracle 8.1.7 on Linux Suse 7.1

    Hi,
    One first my English is not Perfect Please dont look to Errors.
    Ok on the weekend i have Try to Install a 8.1.7 Database on Suse
    Linux 7.1 with Kernel 2.4.9.
    The Oracli Installer is Running after i hav Change the JRE to
    1.1.8 vom Blackdown.org.
    The Binerys are Installed Correctly.
    No i create my init.ora and my Create Scripts.
    I Configure the Listner and Net 8 and Start it its work Corectly.
    After i Start the Servermanger an connect as Internal an make
    startup nomount pfile=/u01/......
    The Server Manager make no Response after i Press STRG+C i
    become the Message :
    end-of-file on communication channel.
    When i Try to connect again to the Servermanger after i Put in
    svrmgrl comes the Message Directly end-of-file on c.......
    When i Change the ORACLE_SID i can Start the Servermanger Again
    after Startup the Server manger dosent Response Again an bring
    the Error.
    I Have make all Changes i Found in the Forum, Kernel Parameters
    SHMMAX , SEMMIN etc.. Changed.
    What can be the Problem.
    THX

    Hallo,
    ich habe dasselbe Problem !
    Konnten Sie es mittlerweile lösen ?
    MfG
    W. Ackva

  • Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto

    h1. Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    Author: Dude
    Version: D
    Last modified: 14-Jan-2012
    You are welcome to add comments, but please do not discuss your installation issues in this thread.  If you have a question about the instructions, please add a simple note to the link of your own thread. The instructions are the result of my own research and development. If you would like to use any of the information for your own blog or website, please include a link to this reference to include future changes.
    Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto
    h2. Purpose
    This document outlines instructions how to install Oracle XE under Ubuntu 11.10.
    Ubuntu or Debian based Linux is not on the list of supported operation systems according to the Oracle documentation at http://download.oracle.com/docs/cd/E17781_01/install.112/e18802/toc.htm. You may want to consider virtualization software like Oracle Virtualbox and install Oracle Enterprise Linux as a free and professional alternative to installing XE under Ubuntu. You can also download pre-build virtual machines that include Oracle XE. You can browse http://otn.oracle.com/community/developer-vm for more information.
    h2. Topics
    h4. 1) Install Linux Ubuntu
    h4. 2) Remote Terminal
    h4. 3) Install Additional Software
    h4. 4) Managing Swap Space
    h4. 5) Modify Kernel Parameters
    h4. 6) Oracle Home Directory
    ...a) Resize the Root Partition
    ...b) Setup External Storage
    h4. 7) ORA-00845: MEMORY_TARGET
    h4. 8) Installing Oracle 11gR2 Express Edition
    h4. 9) Post-Installation
    h4. 10) Tips and Troubleshooting
    ...a) Port 1521 appears to be in use by another application
    ...b) cannot touch `/var/lock/subsys/listener': No such file or directory
    ...c) ORA-00845: MEMORY_TARGET
    ...d) Apex ADMIN password
    ...e) SYS and SYSTEM password
    ...f) Uninstall Oracle 11g XE
    ...g) Reconfigure Oracle 11g XE
    ...h) Gnome Classic desktop
    ...i) Unix vi cursor keys
    ...j) Backup Database
    h4. 11) History
    h4. 12) References
    h2. 1) Install Linux Ubuntu
    The following assumes you have installed Ubuntu 11.10 Desktop Edition for AMD 64-bit, or upgraded from a previous version. Keep in mind that Oracle 11gR2 Express Edition is only available for 64-bit architecture. It is not necessarily a requirement, but I would not bother to install Oracle 11gR2 XE on a system with less than 2 GB of RAM installed. You can download Ubuntu for free at: http://www.ubuntu.com/download/ubuntu and install it using the default settings provided.
    You can apply the latest OS patch-sets by clicking the power button icon in the upper right hand corner of the screen and selecting "Updates available..."
    h2. 2) Remote Terminal
    You will need command line access to perform the installation tasks. Select the top "Dash Home" button of the Unity toolbar and enter the word "terminal", or use CTRL-ALT-t. If you prefer to open a remote terminal session use SSH. Ubuntu does not come with a secure shell login by default. To install it, use the following command:
    sudo apt-get install openssh-serverYou cannot login as root unless you set a root password using the "sudo passwd root" command. However, you can get root user access using the "sudo" command, which requires only to re-enter the password of your personal account. Access to "sudo" is controlled by the /etc/sudoers file.
    The best way to establish a remote command line session as root is to login with your personal account, e.g.: ssh [email protected], and then type "sudo su -" to become root, or use "sudo <command>" to execute individual commands. If your account does not have "sudo" access you can login as root using "su - root", but will need to know the root password.
    h2. 3) Install Additional Software
    Oracle 11g Express Edition requires additional software that is not installed by default:
    sudo apt-get install alien libaio1 unixodbch2. 4) Managing Swap Space
    Oracle demands that the minimum swap space for Oracle Database XE is 2 GB (2095100 KB) or twice the size of RAM, whichever is lesser. Enter the following shell command to verify your swap space:
    cat /proc/meminfo | grep -i swap
    SwapCached:            0 kB
    SwapTotal:       2095100 kB
    SwapFree:        2095100 kBYou can increase available swap space by using a swap file as long as disk space permits. The advantage of a swap file versus a swap partition is flexible space management because you can add or delete swap space on demand as necessary. The following will create and enable an additional 1 GB swap file at system startup, located in the /home directory:
    Login as root:
    sudo su -Enter the following commands:
    dd if=/dev/zero of=/home/swapfile bs=1024 count=1048576
    mkswap /home/swapfile
    swapon /home/swapfile
    swapon -aCreate a backup of the original "fstab" file and add the new swap file:
    cp /etc/fstab /etc/fstab.backup_`date +%N`
    echo '/home/swapfile swap swap defaults 0 0' >> /etc/fstabExit from root and verify the new swap space:
    exit
    swapon -s
    Filename                    Type          Size     Used     Priority
    /dev/sda5                               partition     2095100     0     -1
    /home/swapfile                          file          1048572     0     -2Swap space is not a substitute for installed RAM. Swap space is a safeguard that allows the system to move idle processes to disk before the OOM killer will begin to terminate processes in order to free up enough real memory to keep the system operational. The general rule for sizing the swap space depends on the size of installed RAM. If your system has less then 4 GB of RAM the swap space should usually be at least twice this size. If you have more than 8 GB of RAM installed you may consider to use an equal size as swap space. The more RAM you have installed, the less likely you are going to run into memory starvation, and the less likely you are going to need swap space, unless you have a bad process.
    h2. 5) Modify Kernel Parameters
    Oracle 11gR2 Express Edition requires the following Kernel parameters. Enter the commands exactly as shown:
    Login as root:
    sudo su -Cut & paste the following directly into a command shell (not a text editor):
    cat > /etc/sysctl.d/60-oracle.conf <<-EOF
    # Oracle 11g XE kernel parameters
    fs.file-max=6815744
    net.ipv4.ip_local_port_range=9000 65500
    kernel.sem=250 32000 100 128
    # kernel.shmmax=429496729
    kernel.shmmax=107374183
    EOFLoad and verify the new kernel parameters:
    service procps start
    sudo sysctl -q fs.file-max
    sudo sysctl -q kernel.shmmax
    sudo sysctl -q net.ipv4.ip_local_port_range
    sudo sysctl -q kernel.sem The SHMMAX kernel parameter defines the upper memory limit of a process. It is a safeguard to stop a bad process from using all memory and causing RAM starvation. The Linux default is 32 MB. The official Oracle XE installation documentation suggests a value of 4 GB -1 bytes (429496729). Since Oracle 11g XE has a 1 GB memory limit, a smaller footprint will be a better safeguard for the complete system. Setting the SHMMAX parameter to 107374183 will be sufficient.
    h2. 6) Oracle Home Directory
    At the time of this writing, Enterprise Linux 6 is not supported for Oracle database yet. It is therefore not possible to confirm Oracle ext4 filesystem compatibility, which is default in Ubuntu 11. According to various information, ext4 may cause a performance problem for Oracle 11g database. The following will show you how to add a ext3 partition to your existing setup.
    h3. 6.a) Resize the Root Partition
    Provided you have sufficient free disk space, you should be able to resize the root partition to create an extra ext3 filesystem. Considering the 11 GB user datafile limit of the Express Edition, 18 GB should be more than enough.
    You can use the free Gparted Live CD to shrink your startup volume. Gparted downloads are available at http://sourceforge.net/projects/gparted/files/gparted-live-stable. When burning the CD, pay attention to burn the raw .iso image and not the possibly "mounted" image. If you are using a virtual machine like Oracle Virtualbox, you can mount the .iso image directly. There are going to be a few prompts when the system starts from the CD, but you can press Return to accept the defaults.
    When the Gparted window appears:
    - Select your ext4 root partition, usually /dev/sda1
    - Select the "Resize/Move" button from the toolbar.
    - Enter 18000 into the "Free space following" field and press the Return key.
      Be careful not not change the start of the partition!
    - Click the "Resize/Move" of the dialog and then then the "Apply" toolbar button.
      The process may take several minutes - do not abandon it!
    - Select the new unallocated free space of ~ 18 GB and push the "New" button.
    - Set the file system to "ext3" and label it "oraclexe" and click the "Add" button.
      Be sure to label it oraclexe, otherwise the follow-up instructions will fail.
    - Finally select "Apply from the toolbar to apply the changes.
    - Quit "Gparted", select "Exit" from the desktop and choose "Reboot" to restart the system.
    {code}
    After the system has restarted, open a terminal command shell.
    Login as root:
    {code}
    sudo su -
    {code}
    Backup "fstab" and add the UUID of the partition. The "tr" command remove the quotes:
    {code}
    cp /etc/fstab /etc/fstab_`date +%N`
    uuid=`blkid | grep oraclexe | awk '{print $3}'`
    uuid=`echo $uuid | tr -d '\042'`
    echo $uuid
    echo "$uuid  /u01  ext3  errors=remount-ro 0 1" >> /etc/fstab
    {code}
    The UUID is a unique number and should look similar to:
    {code}
    UUID=d1db753e-b5dd-4a4c-a61e-259c69867b58
    {code}
    Restart the system:
    {code}
    reboot
    {code}
    Verify the success:
    {code}
    df -h /u01
    {code}
    h3. 6.b) Setup External Storage
    If you prefer to setup an external drive to install Oracle XE, beware that it can be a fatal mistake to make an entry in /etc/fstab to automount your external storage device.  An unavailable device in /etc/fstab will prevent a system startup and prompt for appropriate actions at the console.
    The following is an example of how to prepare an external storage device to be used for Oracle 11g, including a script to automatically mount an external drive at system startup without the disadvantages of /etc/fstab. The script will also take into consideration that a device name might shift if you attach additional devices.
    To find out which USB devices are connected:
    {code}
    sudo parted -l
    {code}
    Look for the device that matches your USB storage. For example: /dev/sdb1
    {code}
    Model: USB 2.0 Flash Disk (scsi)
    Disk /dev/sdb: 2064MB
    Sector size (logical/physical): 512B/512B
    Partition Table: gpt
    Number  Start   End     Size    File system  Name     Flags
    1      20.5kB  1929MB  1929MB  hfs+         mystick
    {code}
    Initialize the device using ext3 filesystem - this will erase all data. The "-c" option will check for bad blocks (read-only), "-L" is the volume label:
    {code}
    sudo umount /dev/sdb1
    sudo mkfs.ext3 -c -L oraclexe /dev/sdb1
    {code}
    Install the pmount distribution package:
    {code}
    sudo apt-get install pmount
    {code}
    Login as root:
    {code}
    sudo su -
    {code}
    Cut & paste the following into the command prompt (not a text editor):
    {code}
    cat > /etc/init.d/oracle-mount <<-EOF
    #! /bin/sh
    # /etc/init.d/oracle-mount
    VOL_UUID=alphanumeric
    VOL_LABEL=oraclexe
    VOL_SYMLINK=/u01
    mount=/usr/bin/pmount
    uuid2dev() {
       VOL_DEVICE="\`blkid | grep \$VOL_UUID | awk '{print \$1}'\`"
       VOL_DEVICE="\`echo \$VOL_DEVICE | tr -d ':'\`"
       echo \$VOL_DEVICE
    case "\$1" in
      start)
        echo "Starting script /etc/init.d/oracle-mount"
        uuid2dev
        \$mount \$VOL_DEVICE \$VOL_LABEL
        if [ -d /media/\$VOL_LABEL ]; then
           echo "Mount \$VOL_DEVICE success"
           ln -sf /media/\$VOL_LABEL \$VOL_SYMLINK
        else
           echo "Error mouting \$VOL_DEVICE"
        fi
      stop)
        echo "Stopping script /etc/init.d/oracle-mount"
        uuid2dev
        /bin/umount \$VOL_DEVICE 2>/dev/null
        if [ "\`/usr/bin/pmount | /bin/grep \$VOL_DEVICE\`" ]; then
           echo "Error unmounting \$VOL_DEVICE"
        else
           rm -f \$VOL_SYMLINK
        fi
        echo "Usage: /etc/init.d/oracle-u01 {start|stop}"
        exit 1
    esac
    ### BEGIN INIT INFO
    # Provides:          oracle-mount
    # Required-Start:    \$remote_fs \$syslog
    # Required-Stop:     \$remote_fs \$syslog
    # Default-Start:     2 3 4 5
    # Default-Stop:      0 1 6
    # Short-Description: Start daemon at boot time
    # Description:       Mount hotplug-usb drive and create symlink
    ### END INIT INFO
    EOF
    {code}
    Install the oracle-mount init script:
    {code}
    chmod 755 /etc/init.d/oracle-mount
    update-rc.d oracle-mount defaults 01 99
    {code}
    Get the UUID of the volume "oraclexe" and update the VOL_UUID in the init script accordingly:
    {code}
    uuid=`blkid | grep oraclexe | awk '{print $3}'`
    echo $uuid
    sed -i "s/^VOL_UUID=.*/VOL_$uuid/g" /etc/init.d/oracle-mount
    {code}
    The UUID of your device will be a unique number, but should be similar to:
    {code}
    UUID="3f5e9963-b328-49f3-b3e8-a3561ae34106"
    {code}
    Logout of root and test the init script:
    {code}
    exit
    sudo /etc/init.d/oracle-mount stop
    ls /u01
    sudo /etc/init.d/oracle-mount start
    ls /u01
    {code}
    Your output should look like:
    {code}
    Stopping script /etc/init.d/oracle-mount
    /dev/sdb1
    ls: cannot access /u01: No such file or directory
    Starting script /etc/init.d/oracle-mount
    /dev/sdb1
    Mount /dev/sdb1 success
    lost+found
    {code}
    h2. 7) ORA-00845: MEMORY_TARGET
    Oracle 11gR2 XE under Ubuntu 11.10 will result in "ORA-00845: MEMORY_TARGET not support on this system" either at Oracle database startup or during the initial installation. Ubuntu 11.10 uses a new version of the "systemd" system and session manager and has migrated away from /dev/shm and other common directories in favor of /run.
    There are several ways how to address the problem. You can either enable /dev/shm shared memory, or change the default memory management of Oracle 11g from AMM (Automatic Memory Management) to ASMM (Automatic Shared Memory Management) as it was in used the previous 10g version. Since AMM is one of the new features of 11g, the following will show you how to make to make AMM work.
    Login as root:
    {code}
    sudo su -
    {code}
    Cut & paste the following into the command prompt (not a text editor):
    {code}
    cat > /etc/init.d/oracle-shm <<-EOF
    #! /bin/sh
    # /etc/init.d/oracle-shm
    case "\$1" in
      start)
        echo "Starting script /etc/init.d/oracle-shm"
        # Run only once at system startup
        if [ -e /dev/shm/.oracle-shm ]; then
          echo "/dev/shm is already mounted, nothing to do"
        else
          rm -f /dev/shm
          mkdir /dev/shm
          mount -B /run/shm /dev/shm
          touch /dev/shm/.oracle-shm
        fi
      stop)
        echo "Stopping script /etc/init.d/oracle-shm"
        echo "Nothing to do"
        echo "Usage: /etc/init.d/oracle-shm {start|stop}"
        exit 1
    esac
    ### BEGIN INIT INFO
    # Provides:          oracle-shm
    # Required-Start:    $remote_fs $syslog
    # Required-Stop:     $remote_fs $syslog
    # Default-Start:     2 3 4 5
    # Default-Stop:      0 1 6
    # Short-Description: Bind /run/shm to /dev/shm at system startup.
    # Description:       Fix to allow Oracle 11g use AMM.
    ### END INIT INFO
    EOF
    {code}
    Install the oracle-shm init script:
    {code}
    chmod 755 /etc/init.d/oracle-shm
    update-rc.d oracle-shm defaults 01 99
    {code}
    Restart the system:
    {code}
    reboot
    {code}
    Verify the success:
    {code}
    sudo cat /etc/mtab | grep shm
    {code}
    {code}
    none /run/shm tmpfs rw,nosuid,nodev 0 0
    /run/shm /dev/shm none rw,bind 0 0
    {code}
    The upper limit of shared memory under Linux is set to 50 % of the installed RAM by default. If your system has less than 2 GB of RAM installed, there is still a chance to run into ORA-00845 error if your shared memory is used by other software.
    The verify available shared memory, type the following commands:
    {code}
    sudo df -h /run/shm
    {code}
    h2. 8) Installing Oracle 11gR2 Express Edition
    The final release version of Oracle 11gR2 Express Edition can be downloaded for free at http://otn.oracle.com/database/express-edition/downloads. The software should automatically downloaded into the "Downloads" folder of your home directory.
    Enter the following commands to unpack the installer:
    {code}
    cd ~/Downloads
    unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip
    rm oracle-xe-11.2.0-1.0.x86_64.rpm.zip
    {code}
    The Debian Linux based package management of Ubuntu is not compatible with the Red Hat package manager. The Oracle installer needs to be converted using the following commands:
    {code}
    cd ~/Downloads/Disk1
    sudo alien --to-deb --scripts oracle-xe-11.2.0-1.0.x86_64.rpm
    (This may take a few minutes)
    rm oracle-xe-11.2.0-1.0.x86_64.rpm
    {code}
    The following needs to be set for compatibility:
    {code}
    sudo ln -s /usr/bin/awk /bin/awk
    sudo mkdir /var/lock/subsys
    {code}
    Ubuntu uses different tools to manage services and system startup scripts. The "chkconfig" tool required by the Oracle installer is not available in Ubuntu. The following will create a file to simulate the "chkconfig" tool.
    Login as root:
    {code}
    sudo su -
    {code}
    Copy & paste the following *directly* into the command prompt to create a file:
    {code}
    cat > /sbin/chkconfig <<-EOF
    #!/bin/bash
    # Oracle 11gR2 XE installer chkconfig hack for Debian based Linux (by dude)
    # Only run once.
    echo "Simulating /sbin/chkconfig..."
    if [[ ! \`tail -n1 /etc/init.d/oracle-xe | grep INIT\` ]]; then
    cat >> /etc/init.d/oracle-xe <<-EOM
    ### BEGIN INIT INFO
    # Provides:                  OracleXE
    # Required-Start:        \\\$remote_fs \\\$syslog
    # Required-Stop:        \\\$remote_fs \\\$syslog
    # Default-Start:            2 3 4 5
    # Default-Stop:            0 1 6
    # Short-Description:   Oracle 11g Express Edition
    ### END INIT INFO
    EOM
    fi
    update-rc.d oracle-xe defaults 80 01
    EOF
    {code}
    Exit root:
    {code}
    exit
    {code}
    Set execute privileges:
    {code}
    sudo chmod 755 /sbin/chkconfig
    {code}
    Install Oracle 11gR2 Express Edition entering the following commands:
    {code}
    cd ~/Downloads/Disk1
    sudo dpkg --install ./oracle-xe_11.2.0-2_amd64.deb
    (This may take a couple of minutes)
    {code}
    Run the configuration script to create (clone) the database and follow the screen. Accept the default answers, including "y" to startup the database automatically, or modify as required.
    {code}
    sudo /etc/init.d/oracle-xe configure
    (This can take a few minutes - the installation completed successfully.)
    {code}
    To verify success, the procedure should end showing:
    {code}
    Starting Oracle Net Listener...Done
    Configuring database...Done
    Starting Oracle Database 11g Express Edition instance...Done
    Installation completed successfully.
    {code}
    Set a password for the Oracle account:
    {code}
    sudo passwd oracle
    {code}
    h2. 9) Post-Installation
    In order to use sqlplus and other tools, the Oracle account requires specific environment variables. The following will set these variables automatically at every Oracle login:
    Login as the Oracle user:
    {code}
    su - oracle
    {code}
    Copy the default account skeleton files and add the Oracle env script to .profile:
    {code}
    cp /etc/skel/.bash_logout ./
    cp /etc/skel/.bashrc ./
    cp /etc/skel/.profile ./
    echo "" >>./.profile
    echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >>./.profile
    {code}
    By default, the Oracle Database XE graphical user interface is only available at the local server, but not remotely. The following will enable remote logins:
    Login as the Oracle user:
    {code}
    su - oracle
    {code}
    Login as SYSDBA and execute the following:
    {code}
    sqlplus / as sysdba
    SQL> EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    exit
    {code}
    See http://download.oracle.com/docs/cd/E17781_01/admin.112/e18585/toc.htm for more information.
    h3. a) Unity desktop configurations
    The Oracle XE menu under the previous Gnome Classic desktop shows several useful scripts to backup the database, start and stop the database, etc. Under the Unity based desktop this menu is not available. You can either switch to the Gnome Classic desktop as outlined in chapter 2, or perform the following steps to modify and copy the scripts as outlined below. The start and stop database scripts will also be modified to perform a progress feedback.
    Login as user root:
    {code}
    sudo su -
    {code}
    Convert desktop files:
    {code}
    cd /usr/share/applications
    sed -i 's/Categories.*/Categories=Database;Office;Development;/g' oraclexe*
    sed -i 's/MultipleArgs/X-MultipleArgs/g' oraclexe*
    sed -i 's/MimeType.*/MimeType=application\/x-database/g' oraclexe*
    sed -i 's/.png//g' oraclexe*
    sed -i 's/Terminal=false/Terminal=true/g' oraclexe-startdb.desktop
    sed -i 's/Terminal=false/Terminal=true/g' oraclexe-stopdb.desktop
    {code}
    Exit root:
    {code}
    exit
    {code}
    Login as user Oracle:
    {code}
    su - oracle
    {code}
    Modify database start and stop scripts:
    {code}
    cd /u01/app/oracle/product/11.2.0/xe/config/scripts
    cp startdb.sh start.sh_orig
    cp stopdb.sh stopdb.sh_orig
    sed -i 's/>.*//g' startdb.sh
    sed -i 's/>.*//g' stopdb.sh
    {code}
    You will need SYSDBA privileges and set Oracle environment variables in order to use your regular user account.
    Login to your regular user account:
    {code}
    su - dude
    {code}
    Enter the folowing command:
    {code}
    sudo usermod -a -G dba dude
    {code}
    Then update your profile to automatically set the necessary Oracle environment variables:
    {code}
    echo "" >>./.profile
    echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >>./.profile
    {code}
    Update your Desktop folder to contain useful Oracle XE scripts:
    {code}
    cp /usr/share/applications/oraclexe* ~/Desktop
    chmod 750 ~/Desktop/oraclexe*
    {code}
    To verify success re-login and try "sqlplus":
    {code}
    su - oracle
    sqlplus / as sysdba
    {code}
    h2. 10) Tips and Troubleshooting
    h3. 10. a) Port 1521 appears to be in use by another application
    Error: Port 1521 appears to be in use by another application. Specify a different port.This error happens after a previously unsuccessful configuration attempt using /etc/init.d/oracle-xe configure script. The script was able to start the Listener process, but most likely failed to continue  to clone the database, e.g. ORA-00845. The following should correct the problem:
    Determine the oracle listener process that is already running:
    {code}
    $ ps -ef | grep oracle
    {code}
    Your output should be similar to:
    {code}
    oracle   19789     1  0 19:46 ?        00:00:00 /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr
    {code}
    Then kill the process, using the appropriate process id, for instance:
    {code}
    $ sudo kill -9 19789
    {code}
    h3. 10.b) cannot touch `/var/lock/subsys/listener': No such file or directory
    Starting Oracle Net Listener...touch: cannot touch `/var/lock/subsys/listener': No such file or directoryThis error occurs when you run /etc/init.d/oracle-xe configure, but failed the preinstallation step to create the /var//lock/subsys directory as outlined in chapter 8.
    h3. 10.c) ORA-00845: MEMORY_TARGET
    ORA-00845: MEMORY_TARGET not supported on this system See chapter 7 to enable /dev/shm and verify free space available in /run/shm
    h3. 10.d) Apex ADMIN password
    According to the Oracle documentation, the password for the INTERNAL and ADMIN Oracle Application Express user accounts is initially the same as the SYS and SYSTEM administrative user accounts. Well, I tried several times without success. To reset the Apex Admin password:
    Login as user oracle:
    {code}
    su - oracle
    {code}
    Login as SYSDBA and type the following:
    {code}
    sqlplus / as sysdba
    {code}
    At the SQL prompt, type the following to be prompted to change the password:
    {code}
    SQL> @?/apex/apxxepwd.sql
    exit
    {code}
    When done, open your browser and go to http://127.0.0.1:8080/apex
    Workspace: Internal
    Username: ADMIN
    Password: password you set with apxxepwd.sql
    I will prompt you to reset the password:
    old password: password you set with apxxepwd.sql
    new password: final_password
    You can also login as the Apex Admin using http://127.0.0.1:8080/apex/apex_admin
    h3. 10.e) SYS and SYSTEM password
    Use the following commands to reset the SYS and SYSTEM passwords if necessary:
    Login as the Oracle user:
    {code}
    su - oracle
    {code}
    Login as SYSDBA and type the following at the SQL prompt:
    {code}
    sqlplus / as sysdba
    SQL> alter user sys identified by "password" account unlock;
    SQL> alter user system identified by "password" account unlock;
    SQL> exit
    {code}
    h3. 10.f) Uninstall Oracle 11g XE
    The following will completely uninstall and remove Oracle 11g XE:
    Open a terminal seesion and login as user root:
    {code}
    sudo su -
    {code}
    Enter the following:
    {code}
    /etc/init.d/oracle-xe stop
    dpkg --purge oracle-xe
    rm -r /u01/app
    rm /etc/default/oracle-xe
    update-rc.d -f oracle-xe remove
    update-rc.d -f oracle-mount remove
    update-rc.d -f oracle-shm remove
    {code}
    h3. 10.g) Reconfigure Oracle 11g XE
    Type the following commands in a terminal window:
    {code}
    sudo /etc/init.d/oracle-xe stop
    sudo rm /etc/default/oracle-xe
    sudo /etc/init.d/oracle-xe configure
    {code}
    h3. 10.h) Gnome Classic desktop
    Ubuntu 11 moved from the Gnome Classic desktop to Unity and removed the "Ubuntu Classic" login option. Unity was designed to make more efficient use of space given a limited screen size and touch screens. If you prefer to use the Gnome Classic desktop, enter the following into a terminal window:
    {code}
    sudo apt-get install gnome-panel
    {code}
    To log into the Gnome Classic desktop, select the "Gearwheel" at the login screen and select "Gnome Classic".
    h3. 10.i) Unix vi cursor keys
    The instructions in this tutorial do not require the use of any text editor. However, if you would like use the backspace and cursor keys in the "vi-editor", the following needs to be installed:
    {code}
    sudo apt-get install vim
    {code}
    h3. 10.j) Backup Database
    In order to perform an online database backup using the supplied "Backup Database" script, the database needs to run in Archive-Log mode. This can be setup using the following commands:
    Login as the Oracle user:
    {code}
    su - oracle
    {code}
    Login as SYSDBA and type the following:
    {code}
    sqlplus / as sysdba
    SQL> shutdown immediate
    SQL> startup mount
    SQL> alter database archivelog;
    SQL> alter database open;
    SQL> exit
    {code}
    h2. 11) History
    Version: A, 24-Oct-2011
    - first release
    Version: B, 25-Oct-2011
    - reduced instructions.
    - corrected errors in 6a and 8.
    - new strategy addressing ORA-00845 error.
    - rework of chapter 10.
    Version: C, 30-Nov-2011
    - corrected typo in 6a
    - new procedures in 9a.
    - added progress feedback to database scripts.
    Version D, 14-Jan-2012
    - corrected presentation errors.
    - reorganized instructions.
    h3. 12) References
    http://download.oracle.com/docs/cd/E17781_01/install.112/e18802/toc.htm
    http://askubuntu.com/questions/57297/why-has-var-run-been-migrated-to-run
    http://lwn.net/Articles/436012/
    https://forums.oracle.com/forums/thread.jspa?threadID=2300750&tstart=0
    Kind regards and best of luck!
    Dude.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Excellent Blog. Thank You
    Small clarification on Step **6) Oracle Home Directory, ...a) Resize the Root Partition**
    Ubuntu 11.10 has Gparted available as a Ubuntu software download, DONT use that while trying the above step, instead download the ISO file from http://sourceforge.net/projects/gparted/files/gparted-live-stable/ gparted-live-0.12.0-5.iso (124.6 MB)
    Burn that ISO file on a Blank DVD, reboot the Ubuntu , during startup select Boot from DVD Option if not already selected. this will take to Boot Menu Options of Gparted Live then select the first menu option, and this allows to do further action such as Re-sizing .
    and once you have chosen and executed step a) . do NOT run step b) also that is "Setup External Storage"
    I hope this minor clarification can avoid some confusion
    Regards
    Madhusudhan Rao
    Edited by: MadhusudhanRao on Mar 24, 2012 11:30 PM

  • Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto

    h2. Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
    Version: B
    Author: Dude, 24. May 2011
    The following are step by step instructions how to install Oracle 11gR2 Express Edition (Beta) under Linux Ubuntu 11.04, 64-bit.
    Access to the Internet is required.
    The instructions cover the following additional topics:
    - Converting Red Hat based Oracle XE installer to Ubuntu.
    - Work-around for missing /sbin/chkconfig tool.
    - Install Oracle XE into a different directory or disk volume.
    - Relocate and configure the Oracle user and default login directory.
    - Uninstall, reconfigure and perform first database backup.
    - Notes and web links.
    - Troubleshooting
    h3. A) System Setup and Prerequisites
    h4. A.1. System Access
    You will need terminal command line, root and system console access to perform the setup tasks.
    To open a Terminal at the system console:
    Menu Applications > Accessories > TerminalThe following commands will enable remote ssh login with root access:
    sudo apt-get install openssh-server
    sudo passwd root
    Verify:
    ssh root@xe_server_host_nameh4. A.2. Software Prerequisites
    The following is required in order to install Oracle 11gR2 XE:
    sudo apt-get install alien libaio1 unixodbcThe following is not required, but it will fix backspace and arrow keys in case you prefer using the vi-editor:
    sudo apt-get install vimh4. A.3. System Swap space
    Minimum swap space required is 2 GB. You can increase swap space if necessary using a swap file:
    To analyze current swap space and memory configuration:
    sudo cat /proc/meminfo
    To install a 1 GB swapfile named swapfile in /, for example:
    sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
    (this may take a while)
    sudo mkswap /swapfile
    sudo swapon /swapfile
    sudo cp /etc/fstab /etc/fstab.orig
    sudo echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
    Verify:
    sudo swapon -a
    sudo swapon -sh4. A.4. Kernel Parameters
    Oracle 11g XE requires the following additional kernel parameters:
    sudo nano /etc/sysctl.d/60-oracle.conf
    (Enter the following)
    # Oracle 11g XE kernel parameters
    fs.file-max=6815744
    net.ipv4.ip_local_port_range=9000 65000
    kernel.sem=250 32000 100 128
    kernel.shmmax=536870912
    (Save the file)
    Note: kernel.shmmax = max possible value, e.g. size of physical RAM.
    Verify: sudo cat /etc/sysctl.d/60-oracle.conf
    Load new kernel parameters:
    sudo service procps start
    Verify:
    sudo sysctl -q fs.file-max
    -> fs.file-max = 6815744h4. A.5. Oracle Installation Directory
    The current Oracle Installation Guide uses the same directory like in previous versions: /usr/lib/oracle/xe/app/oracle/product/11.2.0/server. However, the current Beta installation uses Oracle Flexible Architecture (OFA) and installs into /u01/app/oracle/product/11.2.0/xe. Due to size limitations of Oracle XE it may not be necessary to store the installation to a specific directory or separate volume, but it is possible:
    Install Oracle XE to separate disk volume:
    From the system console menu: System > Administration > Disk Utility
    Select "ext3" filesystem for Oracle compatibility and specify a Volume label, e.g. Oracle.
    Notice the device name e.g. /dev/sdb
    Get the drive UUID:
    sudo blkid
    e.g. /dev/sdb: UUID="d19a2d8f-da43-4802-8bdb-0703c855e23a"
    Modify /etc/fstab to automatically mount the volume at system startup:
    sudo cp /etc/fstab /etc/fstab.original
    sudo nano /etc/fstab
    (Add the following, using determined UUID, for exmple)
    UUID=d19a2d8f-da43-4802-8bdb-0703c855e23a /u01 ext3 defaults,errors=remount-ro 0 1
    (Save the file)
    Create the mount-point, mount the new volume and set ownership and privileges:
    sudo mkdir /u01
    sudo mount -a
    sudo chown root:root /u01
    sudo chmod 755 /u01
    Verify:
    df -h
    or restart the systemYou can also install Oracle XE into a specific directory:
    Create a symbolic link to store the installation into an existing directory, for instance:
    sudo mkdir /home/oracle-xe
    sudo ln -s /home/oracle-xe /u01h3. C) Oracle 11g XE Download and Installation
    h4. C.1. Download and convert the Installer from Red Hat to Ubuntu
    Please see section E.3. to download the Oracle 11gR2 XE installer.
    Select the version listed for Linux x64.
    sudo unzip linux.x64_11gR2_OracleXE.zip
    sudo alien --to-deb --scripts oracle-xe-11.2.0-0.5.x86_64.rpm
    (This may take a while)h4. C.2. Create a special chkconfig script
    The Red Hat based installer of Oracle XE 11gR2 beta relies on +/sbin/chkconfig+, which is not used in Ubuntu. The chkconfig package available for the current version of Ubuntu produces errors and my not be safe to use. Below is a simple trick to get around the problem and install Oracle XE successfully:
    Create /sbin/chconfig:
    sudo nano /sbin/chkconfig
    (Cut and paste the following)
    #!/bin/bash
    # Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
    file=/etc/init.d/oracle-xe
    if [[ ! `tail -n1 $file | grep INIT` ]]; then
       echo >> $file
       echo '### BEGIN INIT INFO' >> $file
       echo '# Provides:             OracleXE' >> $file
       echo '# Required-Start:       $remote_fs $syslog' >> $file
       echo '# Required-Stop:        $remote_fs $syslog' >> $file
       echo '# Default-Start:        2 3 4 5' >> $file
       echo '# Default-Stop:         0 1 6' >> $file
       echo '# Short-Description:    Oracle 11g Express Edition' >> $file
       echo '### END INIT INFO' >> $file
    fi
    update-rc.d oracle-xe defaults 80 01
    (Save the file)
    Set appropriate execute privileges:
    chmod 755 /sbin/chkconfig
    Note: You should remove the /sbin/chkconfig file after successful installation of Oracle XE.
    h4. C.3. Install and configure Oracle XE
    sudo dpkg --install ./oracle-xe_11.2.0-1.5_amd64.deb
    /etc/init.d/oracle-xe configure
    (This will take a while)
    Remove the /sbin/chkconfig script, which is no longer needed.
    sudo rm /sbin/chkconfigh4. C.4. Relocate and Configure the Oracle user login
    The Oracle XE installer specifies /u01/app/oracle as the login directory for the Oracle user. Although not really necessary, the following will relocate the Oracle user $HOME to a standard location and create standard /etc/skel login files:
    Exit all Oracle user sessions:
    sudo /etc/init.d/oracle-xe stop
    sudo kill -9 `ps -ef | grep oracle | grep -v grep | awk '{print $2}'`
    sudo userdel oracle
    sudo useradd -s /bin/bash -G dba -g dba -m oracle
    sudo passwd oracle
    Verify:
    sudo id oracle
    -> uid=1001(oracle) gid=1001(dba) groups=1001(dba)h4. C.5. Setup Oracle environment variables
    In order to use sqlplus and other tools, the Oracle account requires certain environment variables. The following will set these variables automatically at every interactive Oracle login:
    sudo echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >> /home/oracle/.bashrch4. C.6. Oracle sudo root access
    It is not essential to allow the Oracle user to use sudo, but it is convenient:
    usermod -G admin oracle
    Verify:
    id oracle
    -> uid=1001(oracle) gid=1001(dba) groups=1001(dba),120(admin)
    sudo su -
    -> Enter Oracle account passwordh4. C.7. Oracle 11g XE Post-installation
    After you install Oracle Database XE, its graphical user interface is only available from the local server, but not remotely.
    The following will correct the problem if necessary:
    Login as user Oracle or use:
    su - oracle
    sqlplus / as sysdba
    At the SQL prompt, enter the following command:
    EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
    exith3. D) Unintstall, Reconfigure and Troubleshooting
    h4. D.1. Uninstall Oracle 11g XE
    The following will completely uninstall and remove Oracle 11g XE:
    Login as user root:
    sudo su -
    /etc/init.d/oracle-xe stop
    dpkg --purge oracle-xe
    rm -r /u01/app
    rm /etc/default/oracle-xe
    update-rc.d -f oracle-xe removeh4. D.2. Reconfigure Oracle 11g XE
    Type the following in a terminal window:
    /etc/init.d/oracle-xe stop
    sudo rm /etc/default/oracle-xe
    /etc/init.d/oracle-xe configureh4. D.3. Enable Archivelog mode and perform a database backup
    Login as user Oracle:
    su - oracle
    sqlplus / as sysdba
    At the SQL prompt, enter the following commands:
    shutdown immediate
    startup mount
    alter database archivelog;
    alter database open;
    exit
    Login to system console of the Oracle user account:
    Select Applications > Oracle Database 11g Express Edition > Backup Databaseh3. E) Notes
    h4. E.1. Oracle 11g XE limitiations overview
    - It will consume, at most, processing resources equivalent to one CPU.
    - Only one installation of Oracle Database XE can be performed on a single computer.
    - The maximum amount of user data in an Oracle Database XE database cannot exceed 11 GB.
    - The maximum amount of RAM that Oracle XE uses cannot exceed 1 GB, even if more is available.
    - HTTPS is not supported natively with the HTTP listener built into Oracle Database XE.
    h4. E.2. Documentation and Links
    Official documentation for Oracle 11gR2 XE can be found at:
    http://www.oracle.com/pls/xe112/homepage
    h4. E.3. Oracle 11g XE downloads
    The Installer is available from the Oracle Technology Network at:
    http://www.oracle.com/technology/products/database/xe
    http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
    h4. E.4 APEX links and archives
    The APEX archives can be found at:
    http://www.oracle.com/technetwork/developer-tools/apex/application-express/all-archives-099381.html
    The APEX download site is:
    http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
    h3. F) Troubleshooting
    ... in progress
    Regards and best of luck!
    Edited by: Dude on May 25, Version B: various corrections. chkconfig package (A.2.) not required.

    even though I am admin user.Admin user is a MS Windows term, that does not apply to Linux or Unix in the same fashion.
    The configuration script tells you "You must be root user to run the configure script. Login as root user and
    then run the configure script."
    This is most likely correct because your account is not root and does not have UID 0. What you can do is to login as root e.g. sudo su -, as the message suggest, or use "sudo /etc/init.d/oracle-xe configure", provided your account is defined in the /etc/sudoers file to perform root/admin actions.
    Btw, do not modify /etc/passwd and /etc/group to give you admin privileges or try to create a another root account under a different name. That's not the way it works and usually leads to nasty problems.

  • Error while Oracle 10g  Installation suse linux

    Hi,
    All i am facing issue while installing Oracle 10g release 2 on open suse.
    All test are getting passed but getting a error reltated to ip address as follows.
    INFO: Checking DetectIfDHCPAssignedIP
    This is a prerequisite condition to test whether the primary IP address of the system is DHCP-assiged or static.
    INFO: Detecting the IP.....:10.31.215.64
    INFO: Checking the network interface display name.... :eth0
    INFO: Checking the network reference name..... :eth0
    INFO: Checking the platform .......46
    INFO: Checking the LINUX vendor .... :SuSE
    INFO: Check complete. The overall result of this check is: Not executed <<<<
    Also while installing getting error as,
    Checking Network Configuration requirements ...
    Check complete. The overall result of this check is: Not executed <<<<
    Recommendation: Oracle supports installations on systems with DHCP-assigned public
    IP addresses. However, the primary network interface on the system should be
    configured with a static IP address in order for the Oracle Software to function
    properly. See the Installation Guide for more details on installing the software
    on systems configured with DHCP.
    Please help me to resolve issue.
    BR,
    Rajesh
    Edited by: Rajesh.Rathod on Dec 20, 2010 12:52 AM

    Hi,
    I tried to follow each step of oracle documentation but network configuration requirement is failing.
    please find following log.
    Checking operating system requirements ...
    Expected result: One of redhat-3,redhat-4,SuSE-9
    Actual Result: SuSE-9
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking operating system package requirements ...
    Checking for make-3.79; found make-3.81-128.14.     Passed
    Checking for binutils-2.14; found binutils-2.19.51-10.26.4.     Passed
    Checking for gcc-3.2; found gcc-4.4-4.2.     Passed
    Checking for libaio-0.3.96; found libaio-0.3.104-144.2.     Passed
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking kernel parameters
    Checking for semmsl=250; found semmsl=1250.     Passed
    Checking for semmns=32000; found semmns=32000.     Passed
    Checking for semopm=100; found semopm=100.     Passed
    Checking for semmni=128; found semmni=256.     Passed
    Checking for shmmax=536870912; found shmmax=3294967296.     Passed
    Checking for shmmni=4096; found shmmni=4096.     Passed
    Checking for shmall=2097152; found shmall=2097152.     Passed
    Checking for file-max=65536; found file-max=131072.     Passed
    Checking for VERSION=2.6.5-7.201; found VERSION=2.6.31.5-0.1-desktop.     Passed
    Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=1024 - 65000.     Passed
    Checking for rmem_default=262144; found rmem_default=4194304.     Passed
    Checking for rmem_max=262144; found rmem_max=4194304.     Passed
    Checking for wmem_default=262144; found wmem_default=262144.     Passed
    Checking for wmem_max=262144; found wmem_max=262144.     Passed
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking Recommended glibc version
    Expected result: ATLEAST=2.3.3-98.28
    Actual Result: 2.10.1-10.4
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking physical memory requirements ...
    Expected result: 922MB
    Actual Result: 5460MB
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking available swap space requirements ...
    Expected result: 5460MB
    Actual Result: 10244MB
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking Network Configuration requirements ...
    Actual Result: :java.lang.NullPointerException:Exception/Error Occurred
    Check complete. The overall result of this check is: Not executed <<<<
    Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
    =======================================================================
    Validating ORACLE_BASE location (if set) ...
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking Oracle Home path for spaces...
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking for proper system clean-up....
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking for Oracle Home incompatibilities ....
    Actual Result: NEW_HOME
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking Network Configuration requirements ...
    Actual Result: :java.lang.NullPointerException:Exception/Error Occurred
    Check complete. The overall result of this check is: Not executed <<<<
    Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
    =======================================================================
    Please suggest how to resolve.

  • How to install 9ias on Linux quick guide

    I have installed the linux version of application server a couple of times now. I have noted all the steps I took to complete the installation. Everything works except for reports. Anyway here are the steps I took to get it working. Hope it helps. Note: This is for RedHat Advanced Server 2.1, I have created a user called oracle9 to own the software. Please feel free to add comments etc.
    1. Install RedHat Linux Advanced Server 2.1 - install all the packages.
    2. Edit files in the following directory to allow connectivity, must be as ROOT user.
    /etc/xinetd.d
    3. Edit the directory permissions for /usr/local and /usr/local/src as ROOT user.
    This is we can install files and utilities in these directories. Also create an oracle directory to
    store the software. I created /usr/local/oracle/orahome1.
    chmod 777 /usr/local
    chmod 777 /usr/local/src
    chmod 777 /usr/local/oracle
    chmod 777 /usr/local/oracle/orahome1
    4. Add /usr/sbin to the PATH environment variable so that most commands are accessible.
    To do this edit the /etc/profile file.
    Add the following line
    PATH="/usr/bin:$PATH:/usr/X11R6/bin:/usr/sbin:/sbin"
    5. Check kernel and glibc versions by running uname. ie
    Kernel check is uname -r
    OR
    use rpm -q kernel
    rpm -q glibc
    The versions shoule be as follows
    kernel = 2.4.9-e.3
    glibc = 2.2.4-26
    6. System Wide Ulimit and Swap File Settings.
    Should be as follows.
    time unlimited
    file unlimited
    data 1048576
    stack 131072
    memory unlimited
    coredump 4194303
    nofiles 2048
    There are several files to enable these settings.
    First we edit the /etc/security/limits.conf file to set the required limits.
    File should look like this.
    # /etc/security/limits.conf
    #Each line describes a limit for a user in the form:
    #<domain> <type> <item> <value>
    #Where:
    #<domain> can be:
    # - an user name
    # - a group name, with @group syntax
    # - the wildcard *, for default entry
    #<type> can have the two values:
    # - "soft" for enforcing the soft limits
    # - "hard" for enforcing hard limits
    #<item> can be one of the following:
    # - core - limits the core file size (KB)
    # - data - max data size (KB)
    # - fsize - maximum filesize (KB)
    # - memlock - max locked-in-memory address space (KB)
    # - nofile - max number of open files
    # - rss - max resident set size (KB)
    # - stack - max stack size (KB)
    # - cpu - max CPU time (MIN)
    # - nproc - max number of processes
    # - as - address space limit
    # - maxlogins - max number of logins for this user
    # - priority - the priority to run user process with
    # - locks - max number of file locks the user can hold
    #<domain> <type> <item> <value>
    #* soft core 0
    #* hard rss 10000
    #@student hard nproc 20
    #@faculty soft nproc 20
    #@faculty hard nproc 50
    #ftp hard nproc 0
    #@student - maxlogins 4
    oracle9 - nofile 65536
    * - nofile 65536
    * - nproc 65536
    * - cpu unlimited
    * - fsize unlimited
    * - data 1048576
    * - stack 131072
    * - memlock unlimited
    * - core 4194303
    # End of file
    We now need to edit the /etc/sysctl.conf file to set the system wide ranges as ROOT user.
    File should look like this.
    # Disables packet forwarding
    net.ipv4.ip_forward = 0
    # Enables source route verification
    net.ipv4.conf.default.rp_filter = 1
    # Disables the magic-sysrq key
    kernel.sysrq = 0
    net.ipv4.ip_local_port_range = 1024 65000
    fs.file-max = 65536
    kernel.sem = 100 32000 100 100
    kernel.shmmax = 2147483648
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    Now we need to edit the /etc/profile file to enable the settings when a user logs in.
    The file contents should be modified as follows.
    # No core files by default
    ulimit -S -c 1000000 > /dev/null 2>&1
    #Set the file handels
    #echo 65536 > /proc/sys/fs/file-max
    ulimit -n 65536 > /dev/null 2>&1
    #Set the socket range
    #echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range
    # Set the number of processes for per user
    ulimit -u 16384 > /dev/null 2>&1
    Kernel Parameters
    Change to following directory /proc/sys/kernel and type following
    echo 250 32000 32 128 > sem
    echo 2147483648 > /proc/sys/kernel/shmmax
    echo 4096 > /proc/sys/kernel/shmmni
    echo 2097152 > /proc/sys/kernel/shmall
    7. Install the ksh package if you have not already installed it on your machine.
    Oracle Corporation recommends installing one of the following ksh packages:
    pdksh-5.2.14-13 or other compatible packages.
    RPM file is available from www.redhat.com
    as root user type
    rpm -i pdksh-5.2.14-16.i386.rpm
    8. On Linux, port number 389 is reserved in the /etc/services file.
    If you want Oracle9iAS to install using the default port number for Oracle Internet Directory,
    delete the entries in the /etc/services file.
    Note:
    You must remove all lines containing the port number 389 from
    the /etc/services file if you want to use that port number.
    Attempting to comment out lines containing 389 does not free the port
    9. Install JDK 1.3.1 for Linux.
    This is available from java.sun.com. Although it is also included with Linux IAS9I R2
    Install the JDK to /usr/local/jdk
    Add the following to the /etc/profile file, and also add to path
    CLASSPATH="/usr/local/jdk/lib"
    LD_LIBRARY_PATH="/usr/local/jdk/jre/lib/i386:/usr/local/jdk/jre/lib/i386/classic:
    /usr/local/jdk/jre/lib/i386/native_threads"
    EXPORT CLASSPATH
    EXPORT LD_LIBRARY_PATH
    10. Add the following groups as ROOT user
    oinstall, dba
    groupadd oinstall
    groupadd dba
    11. Add oracle user to groups oinstall and dba as ROOT user
    usermod -g oinstall -G dba,oracle9 oracle9
    12. Apply a patch for binutils rpm:
    I had to get this from metalink. Not sure where else it is available.
    Run following command to get installed version of binutils rpm.
    prompt> rpm -qa | grep binutils
    binutils-2.11.90.0.8-12
    Please note down the binutils rpm version that is shown as the output of the above command.
    If the operating system is installed from the RedHat 2.1 Advanced Server CDs,
    you will have binutils-2.11.90.0.8-12 version installed.
    You might have newer version of binutils rpm depending on your further configuration
    after default OS install. If the binutils rpm version is different from 2.11.90.0.8-12,
    please download that rpm.
    Upgrade to binutils-2.11.90.0.8-13 version using following command (as root user):
    prompt> rpm -Uvh --force binutils-2.11.90.0.8-13.i386.rpm
    13. Edit Local Hosts file
    Edit so that the host is in the following format
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    192.168.3.69 lon-ias01.closepf.local lon-ias01
    192.168.3.66 lon-ias02.closepf.local lon-ias02
    14. Create Symbolic Link from /sbin/fuser file to /bin/fuser by entering the following command.
    cd /bin
    ln -s /sbin/fuser
    15. Rename Linux Ldap programs
    rename the ldapadd, ldapsearch, ldapmodify etc located in /usr/bin
    mv ldapadd ldapadd.bak
    mv ldapdelete ldapdelete.bak
    mv ldapmodify ldapmodify.bak
    mv ldapmodrdn ldapmodrdn.bak
    mv ldappasswd ldappasswd.bak
    mv ldapsearch ldapsearch.bak
    16. Unset your oracle home environment variable.
    unset ORACLE_HOME
    17. Set your TMP, TMPDIR and TEMP environment variables.
    These are located in /etc/profile
    TMP="/tmp"
    TMPDIR="/tmp"
    TEMP="/tmp"
    export TMP TMPDIR TEMP
    18. Make sure you have the following X11 library XFree86-devel-4.1.0-25.i386.rpm,
    which can be found of disk2 of the RedHat Advanced Linux CD v2.1. This is needed
    by the linking process.
    As ROOT user.
    mount the cdrom.
    cd /mnt/cdrom/RedHat/RPMS
    rpm -Uvh XFree86-devel-4.1.0-25.i386.rpm
    19. Install the application server as per the offficial install instructions. You should only have
    to use mount_point/runInstaller and follow the prompts.
    21. If it installs then run the interoperability patch.
    22. Should be working?!?
    19. To Remove an Install
    WARNING : Please note that by following the processes defined
    below, ALL Oracle products on the system will be cleaned
    up and will not be usable. Please do not follow these steps if you do
    not want to remove any Oracle Products
    1. Deinstall using installer
    2. Stop all running processes from the install.
    3. Delete the oracle directory under /var/opt as root user
    4. Delete the complete oraInventory directory
    5. Delete all directories and files from ORACLE_HOME directory
    6. Cleanup files under /tmp and /var/tmp as root user
    8. Remove emtab in the /etc directory
    9. Remove oracle files in /usr/local/bin
    Hope it works.

    ummm...
    chmod 777 /usr/local
    chmod 777 /usr/local/src
    chmod 777 /usr/local/oracle
    chmod 777 /usr/local/oracle/orahome1
    Why on earth would you do that??? There is NO need for >that, not to mention it being a HUGE security issue. I >have an offical doc on installing and configuring 9iAS >on Linux (includes information on as 2.1 install). I >will post this evening.Your quite correct, this section could probably be trimmed from the guide. At the time it was written it was used on a development box, on a production box this would not be done. Also to get this install working when Oracle first released it we were trying anything and everything to get it working, it took around 3-4 weeks of installing, reinstalling, serveral thounsand tar's and wasted weekends. I am pretty confident the instructions will work on rhas 2.1, it probably needs to be looked at again to trim away steps that aren't needed now.
    Looking forward to seeing your guide :-)

  • Problems and solutions for 9i DB R2 install on Redhat Linux AS 2.1

    Installing 9iDB R2 9.2.0.1.0 on Redhat Linux Advanced Server 2.1 (aka Redhat Enterprise Linux (AS))
    and applying patchset 2 (9.2.0.3.0)
    This is a certified platform but I hit many problems getting the install to work. Here are the problems I hit and how I solved them.
    Note: This is not intended to be a install for dummies but just an account of all my problems and how I overcame them. I spent 10 hours on this certified install (mostly looking for solutions to the problems I was having)
    I had a Intel Pentium 3 with 512 Meg RAM. (test machine)
    1. Install Redhat Linux
    2. Install Sun JDK 1.3.1 (this is not actually required for this install. I installed it as I was planning to install 9iAS after this)
    3. Install binutils-2.11.90.0.8-13 (also not required. I installed it for 9iAS)
    All other components were ok on my Redhat Linux install (i.e. kernel version, glibc)
    4. Create oracle user with dba group
    5. Create oracle home and oracle base directories. Ensure these are owned by oracle with rwx
    6. Set kernel parameters and make sure that they are initialized every startup:
    I managed to locate this script in the Redhat document called
    "Deploying Oracle9iTM on Red Hat Enterprise Linux AS"
    create a file called oracle.sh in /etc and give it execute permissions
    oracle.sh
    #!/bin/bash
    # configures kernel and system parameters for Oracle9i R2
    # File handles
    echo 65536 > /proc/sys/fs/file-max
    ulimit -n 65536
    # Shared memory
    # The default SHMMAX value is too low and likely to cause a failure during
    # database creation. SHMMAX should be equal to half of your system's physical
    # RAM.
    # The default is for 512 MB of RAM. Replace the default value as appropriate
    # for the amount of memory in your system, i.e.,
    # 512 MB : 268435456
    # 1 GB : 536870912
    # 2 GB : 1073741824
    # 4 GB : 2147483648
    echo 268435456 > /proc/sys/kernel/shmmax
    # It is generally safe to leave these next two values as they are
    echo 4096 > /proc/sys/kernel/shmmni
    echo 2097152 > /proc/sys/kernel/shmall
    # Semaphores
    echo 250 32000 100 128 > /proc/sys/kernel/sem
    # Sockets
    echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_range
    # Processes
    ulimit -u 16384
    ----EOF---------
    then...
    # chmod +x /etc/oracle.sh    # make executable
    # . /etc/oracle.sh # apply changes now
    edit /etc/rc.local to ensure this is run on startup
    append to /etc/rc.local
    # configure system for Oracle9i R2
    bash /etc/oracle.sh
    --------EOF--------------------
    7. create a generic oracle environment setup script for all users to run
    create the file /etc/profile.d/oracleenv.sh
    be sure to change the variables to your environment (ORACLE_BASE, ORACLE_HOME and ORACLE_SID)
    oracleenv.sh
    # Configures the user's environment for Oracle9i R2
    ORACLE_BASE=/opt/oracle
    ORACLE_HOME=$ORACLE_BASE/product/9.2.0.1.0
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    ORACLE_SID=orcl
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
    PATH=$ORACLE_HOME/bin:$PATH
    export ORACLE_BASE ORACLE_HOME ORA_NLS33 ORACLE_SID LD_LIBRARY_PATH PATH
    ----EOF---------
    chmod 755 /etc/profile.d/oraclenv.sh
    This file will run when a user logs in.
    8. Install oracle DB
    This took me quite a few attempts.
    The first Install I did I received the error jre was not found. This issue seemed to be relating to the fact I was not installing on a Pentium 4. Oracle was looking for the jre in oracle.swd.jre/bin/i686 (and .../lib/i686) when some of the files were placed in i386 and java was looking in i386. This created a real mess. I had encountered a similar problem on a previous install on a different platform. I found articles of people that tried to just link the directories with symbolic links but this never worked. I tried my own version but also failed.
    The solution that worked for me was to de-install, remove all the oracle directories created by the install (this part I had always done) AND also delete the file /etc/oraInstl.loc. This makes the Installer truly believe this is the first time Oracle has been installed on this box. My jre problem disappeared after that. (I don't know why it just didn't work in the first place...)
    The next error I received was an ORA-03113 when creating the database (in the dbca). (It was actually at this point that I found the document from redhat as mentioned in my set 6 above) I also noticed that when running the install of the database, the default was for Oracle's SGA to use 70% of the available memory on my machine (I have 512M so that's 360M). Oracle instructed me to set shmmax to around 240M. This may be why the database creation failed as I thought the shmmax parameter needed to be larger that SGA. Anyway, I reduce the SGA to 50% and it worked.
    This error may also have been caused by the kernel parameters not being set properly after a reboot so if you implementing stop 6 above. You may never get this problem, hopefully.
    8. Install the universal Installer 2.2.0.18.0 (a prerequisite for installing the patchset 2)
    You will need this to install the patchset 2. You can get it from metalink by searching for the bug number in the patch area. Search for bug/patch number 2878462 in patches. (37Meg for linux intel)
    (Did you know that when oracle refer to a bug number, you should treat this as a patch number? General the bugs are not available for public viewing but oracle create a patch of the same number as a placeholder. So don't search for the bug in the site search or by doc id, go straight to the "patches" area and enter the bug number as a patch number, you'll have more success. - I only found that out today after struggling with metalink for the last 4 years)
    9. Install the patchset 2
    I downloaded patchset 2 (which will bring my DB version to 9.2.0.3.0) (220Meg). There is a special symbolic link command you'll need so make sure you remember to do this.
    i.e.
    $ cd $ORACLE_BASE/oui/bin/link
    $ ln -s libclntsh.so.9.0 libclntsh.so
    10. Migrate your database
    I could not get this to work. The docs says I need at least 150M shared_pool_size and 150M Java_pool_size before running the startup migrate. As I only have 512Meg RAM (and shmmax set to 230M) I did hold much hope that this would work. I started my DB without the migrate option just to see if it would actually open with 300M in my pools. It did, so I shut it down and restarted with the migrate option. After 5 minutes of heavy processing (I still have an empty database) my server appeared to hang. I decided to restart the machine and just re-create my DB with the new patchset already applied. I delete my $ORACLE_BASE/oradata/<sid> directory and remove the entry from /etc/oratab and re-created my DB. This worked fine :)
    I hope this document helps you for your install. Please drop me line if it does help and I'll endevour to write more documents like this one.
    Please drop me a quick line at [email protected] even just to say "thanks".
    I will include a few keywords here to help the searches find this document. (mainly the keywords I searched on and failed to find a doc like this one)
    ORA-03113 ORA-3113 03113 3113 jre was not found jre not found i686 i386 i586 9iDB R2 9.2.0.1.0 9.2.0.3.0 Redhat Advanced Server 2.1 AS Enterprise Linux (AS) RH install error installation errors oui dbca problem issue
    Good luck,
    Tim Daniell.

    The trick that worked for me was on a 2nd attempt. I installed once, let it fail with "jre was not found", de-install through the installer, delete all directories and files under $ORACLE_BASE (including $ORACLE_HOME), and also delete /etc/oraInst.loc.
    I don't know why it fixes itself with this. Oracle say this is an unresolved bug 2726268 that lies in the installer. This is still unresolved by Oracle (as at 02-June-03) therefore it is not a published bug/patch. If this doesn't work, I suggest you open an iTAR and see if Oracle has any more suggestions for you.
    Cheers,
    Tim.

  • Error while Installation database  ... in redhat linux 4.8

    Hi,
    i am trying to install oracle 10g in redhat linux 4.8
    i am getting error at 62%
    Error in invoking target 'ntcontb.o' of makefile   so please can any body tell me what is the issue I downloaded oracle from oracle website itself .
    product prerequisite
    Checking operating system requirements ...
    Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1,asianux-2
    Actual Result: redhat-4
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking operating system package requirements ...
    Checking for make-3.79; found make-1:3.80-7.EL4. Passed
    Checking for binutils-2.14; found binutils-2.15.92.0.2-25. Passed
    Checking for gcc-3.2; found Not found. Failed <<<<
    Checking for libaio-0.3.96; found libaio-0.3.105-2. Passed
    Check complete. The overall result of this check is: Failed <<<<
    Problem: Some packages required for the Oracle Database 10g to
    function properly are missing (see above).
    Recommendation: Install the required packages before continuing with
    the installation.
    =======================================================================
    Checking kernel parameters
    Checking for semmsl=250; found semmsl=250.      Passed
    Checking for semmns=32000; found semmns=32000.  Passed
    Checking for semopm=100; found semopm=100.      Passed
    Checking for semmni=128; found semmni=128.      Passed
    Checking for shmmax=536870912; found shmmChecking operating system
    requirements ...
    Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1,asianux-2
    Actual Result: redhat-4
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking operating system package requirements ...
    Checking for make-3.79; found make-1:3.80-7.EL4.        Passed
    Checking for binutils-2.14; found binutils-2.15.92.0.2-25.      Passed
    Checking for gcc-3.2; found Not found.  Failed <<<<
    Checking for libaio-0.3.96; found libaio-0.3.105-2.     Passed
    Check complete. The overall result of this check is: Failed <<<<
    Problem: Some packages required for the Oracle Database 10g to
    function properly are missing (see above).
    Recommendation: Install the required packages before continuing with
    the installation.
    =======================================================================
    Checking kernel parameters
    Checking for semmsl=250; found semmsl=250.      Passed
    Checking for semmns=32000; found semmns=32000.  Passed
    Checking for semopm=100; found semopm=100.      Passed
    Checking for semmni=128; found semmni=128.      Passed
    Checking for shmmax=536870912; found shmmax=536870912.  Passed
    Checking for shmmni=4096; found shmmni=4096.    Passed
    Checking for shmall=2097152; found shmall=2097152.      Passed
    Checking for file-max=65536; found file-max=202024.     Passed
    Checking for VERSION=2.6.9; found VERSION=2.6.9-89.ELsmp.       Passed
    Checking for ip_local_port_range=1024 - 65000; found
    ip_local_port_range=32768 - 61000.      Failed <<<<
    Checking for rmem_default=262144; found rmem_default=110592.    Failed <<<<
    Checking for rmem_max=262144; found rmem_max=131071.    Failed <<<<
    Checking for wmem_default=262144; found wmem_default=110592.    Failed <<<<
    Checking for wmem_max=262144; found wmem_max=131071.    Failed <<<<
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The kernel parameters do not meet the minimum requirements (see above).
    Recommendation: Perform operating system specific instructions to
    update the kernel parameters.
    =======================================================================
    Checking Recommended glibc version
    Expected result: ATLEAST=2.3.2-95.27
    Actual Result: 2.3.4-2.43
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking physical memory requirements ...
    Expected result: 922MB
    Actual Result: 1988MB
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking available swap space requirements ...
    Expected result: 2982MB
    Actual Result: 1983MB
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The system does not have the required swap space.
    Recommendation: Make more swap space available to perform the install.
    =======================================================================
    Checking Network Configuration requirements ...
    Check complete. The overall result of this check is: Not executed <<<<
    Recommendation: Oracle supports installations on systems with
    DHCP-assigned public IP addresses.  However, the primary network
    interface on the system should be configured with a static IP address
    in order for the Oracle Software to function properly.  See the
    Installation Guide for more details on installing the software on
    systems configured with DHCP.
    =======================================================================
    Validating ORACLE_BASE location (if set) ...
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking Oracle Home path for spaces...
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking for proper system clean-up....
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking for Oracle Home incompatibilities ....
    Actual Result: NEW_HOME
    Check complete. The overall result of this check is: Passed
    =======================================================================ax=536870912.    Passed
    Checking for shmmni=4096; found shmmni=4096.    Passed
    Checking for shmall=2097152; found shmall=2097152.      Passed
    Checking for file-max=65536; found file-max=202024.     Passed
    Checking for VERSION=2.6.9; found VERSION=2.6.9-89.ELsmp.       Passed
    Checking for ip_local_port_range=1024 - 65000; found
    ip_local_port_range=32768 - 61000.      Failed <<<<
    Checking for rmem_default=262144; found rmem_default=110592.    Failed <<<<
    Checking for rmem_max=262144; found rmem_max=131071.    Failed <<<<
    Checking for wmem_default=262144; found wmem_default=110592.    Failed <<<<
    Checking for wmem_max=262144; found wmem_max=131071.    Failed <<<<
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The kernel parameters do not meet the minimum requirements (see above).
    Recommendation: Perform operating system specific instructions to
    update the kernel parameters.
    =======================================================================
    Checking Recommended glibc version
    Expected result: ATLEAST=2.3.2-95.27
    Actual Result: 2.3.4-2.43
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking physical memory requirements ...
    Expected result: 922MB
    Actual Result: 1988MB
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking available swap space requirements ...
    Expected result: 2982MB
    Actual Result: 1983MB
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The system does not have the required swap space.
    Recommendation: Make more swap space available to perform the install.
    =======================================================================
    Checking Network Configuration requirements ...
    Check complete. The overall result of this check is: Not executed <<<<
    Recommendation: Oracle supports installations on systems with
    DHCP-assigned public IP addresses.  However, the primary network
    interface on the system should be configured with a static IP address
    in order for the Oracle Software to function properly.  See the
    Installation Guide for more details on installing the software on
    systems configured with DHCP.
    =======================================================================
    Validating ORACLE_BASE location (if set) ...
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking Oracle Home path for spaces...
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking for proper system clean-up....
    Check complete. The overall result of this check is: Passed
    =======================================================================
    Checking for Oracle Home incompatibilities ....
    Actual Result: NEW_HOME
    Check complete. The overall result of this check is: Passed---chetan
    Edited by: CHETAN YADAV on Oct 6, 2010 3:27 PM
    Edited by: CHETAN YADAV on Oct 6, 2010 3:28 PM

    >
    so please can any body tell me what is the issue I downloaded oracle from oracle website itself .Yes. The issue is your assumption.
    Why do you assume that the o/s is automatically configured with the required s/w components for running Oracle 10g? Should the o/s have a clairvoyant module that "knows" it needs to prep itself when it is installed for supporting Oracle 10g? And not as a Weblogic server? Or mySQL? Or Postgress? Or JBoss? Or Oracle 11g?
    Be glad that Oracle s/w actually tells you exactly what it needs from the o/s that is missing or needs correction. As this is exactly how a robust s/w stack should behave.

Maybe you are looking for