/etc/init.d/appserv script

I want to setup the /etc/init.d/appserv file for Sun One App Serv 7 on a RedHat box. I guess the install will set this up automatically for Solaris, but nothing was created during my RedHat installation.
Can someone please point me to a download of the Solaris /etc/init.d/appserv script. I saw a reference to it with a code snippet in a readme file note about the Solaris installation. If I could get my hands on the complete Solaris /etc/init.d/appserv file I could make it work on RedHat.
Thanks.

I can see the imqbrokerd process when I do a 'ps -ef' on my
RH Linux system.
# /bin/ps -ef | grep broker
root 22571 1 0 12:28 pts/0 00:00:00 /bin/sh bin/imqbrokerd -bgnd -au
I tried manually stopping the broker through the
/etc/init.d/imq script and it seems to work for me.
# env DEBUG=1 /etc/init.d/imq stop
Stopping imqbrokerd ... done
How are you using /etc/init.d/imq ?

Similar Messages

  • /etc/init.d/imq script fix for RedHat Linux?

    I'm using Message Queue 3.0.1 SP2 (Build 4-a) Platform Edition and trying to get it set up to run on a RedHat machine.
    I am finding that ps (procps version 2.0.7) is not compatible with the script installed as /etc/init.d/imq.
    Specifically, that script's findproc function looks like this:
    # find the named process(es)
    findproc() {
      pid=`/bin/ps -ef |
      /bin/grep -w $1 |
      /bin/grep -v grep |
      /bin/awk '{print $2}'`
      echo $pid
    }and the script later calls
    findproc $EXECUTABLEThe problem is that imqbrokerd (the value of EXECUTABLE) is a script, and so does not show up in the process list. I have struggled to glean the proper PID from ps another way, but so far have not been successful.
    Does anyone have an example of a findproc fixed for RedHat's procps?

    I can see the imqbrokerd process when I do a 'ps -ef' on my
    RH Linux system.
    # /bin/ps -ef | grep broker
    root 22571 1 0 12:28 pts/0 00:00:00 /bin/sh bin/imqbrokerd -bgnd -au
    I tried manually stopping the broker through the
    /etc/init.d/imq script and it seems to work for me.
    # env DEBUG=1 /etc/init.d/imq stop
    Stopping imqbrokerd ... done
    How are you using /etc/init.d/imq ?

  • Starting Oracle XE on linux by /etc/init.d/oracle-xe start

    Hello,
    I installed Oracle Database 10g Express Edition on a Linux Ubuntu 7.04 (feisty)
    following official installation instructions found here
    http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#BABCEAHD
    but I noticed a weird behavior.
    The installation process was ok.
    The configuration process (/etc/init.d/oracle-xe configure) was also ok.
    I set everything on default except for the “starting on boot” option I choose NO, because the instructions let me understand that I can start the service manually by the command:
    $ /etc/init.d/oracle-xe start
    The configuration process at the end also started the service well, so I could test my new oracle installation on my web browser following the url http://127.0.0.1:8080/apex
    Everything went fine... but...
    On the next boot I wanted to start my oracle so I typed
    sudo /etc/init.d/oracle-xe start
    but nothing happened and the server didn't go up.
    Looking into to script /etc/init.d/oracle-xe
    we can find this switch
    case "$1" in
    start)
         if test -f "$CONFIGURATION"
         then
              if test "$ORACLE_DBENABLED" != "true"
              then
                   exit 0
              fi
         else
         echo "Oracle Database 10g Express Edition is not configured. You must run
    '/etc/init.d/oracle-xe configure' as the root user to configure the database."
              exit 0
         fi
         start
    this means that if you chose NO (N) for the “starting on boot” option on the configuration process (NB this choice put false in the env variable ORACLE_DBENABLED) you can't start the dbms by this script.
    I try comment the few lines
         then
              #if test "$ORACLE_DBENABLED" != "true"
              #then
              #     exit 0
              #fi
         else
    and this time the server starts well.
    So I deduced that something was wrong with the script and the official installation instructions.

    Yes... Thank you.
    But I saw the problem could to be simple avoided using the options
    enable/disable for the script /etc/init.d/oracle-xe,
    If you choose not to start oracle at boot time, you can start it
    manually by the sequence
    /etc/init.d/oracle-xe enable
    /etc/init.d/oracle-xe start
    then when you want to stop it
    /etc/init.d/oracle-xe stop
    /etc/init.d/oracle-xe disable
    by this last command we don't make oracle restart
    at the next system boot.
    I think it would be a good thing to update the reference
    documentation at
    http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#BABCEAHD
    to explain this situation better.

  • Solaris 10 command-line argument to /etc/init.d/apache

    Does anyone know how to control the command-line argument sent to /etc/init.d/apache that ships with Solaris 10 11/06?
    # svcs *\apache\*
    shows Solaris is running Apache 1.3 as a legacy service with the FMRI lrc:/etc/rc3_d/S50apache.
    According to Sun documenation ("How to Modify a Command-Line Argument for an inetd Controlled Service" <http://docs.sun.com/app/docs/doc/817-1985/6mhm8o5ss?a=view>), one should be able to make desired changes using the inetadm command. The problem is,
    # inetadm
    doesn't show anything at all related to apache or httpd. I thought about changing the inittab file, but Sun's comments in the file pretty much say "hands off."
    I'm trying to have Apache SSL enabled at boot time (i.e. argument startssl instead of start). As a temporary hack, I've edited apachectl so that the "start" argument is processed like "startssl."
    Thanks!

    tmilbank wrote:
    Does anyone know how to control the command-line argument sent to /etc/init.d/apache that ships with Solaris 10 11/06?
    # svcs *\apache\*
    shows Solaris is running Apache 1.3 as a legacy service with the FMRI lrc:/etc/rc3_d/S50apache.
    According to Sun documenation ("How to Modify a Command-Line Argument for an inetd Controlled Service" /etc/rc3 services have nothing to do with inetd.
    The script is running from the above file (/etc/rc3.d/S50apache).
    That's normally apache 1.x. If you do 'svcs -a', you'll see disabled services as well, which will include the apache 2.x server.
    <http://docs.sun.com/app/docs/doc/817-1985/6mhm8o5ss?a=view>), one should be able to make desired changes using the inetadm command. The problem is,
    Neither version of apache runs from inetd. Are you interested in apache 1.x or apache 2.x?
    Darren

  • Installing ASM on linux : /etc/init.d/oracleasm createdisk VOL1 [failed]

    Hi all,
    Oracle unbreakable linux
    oracle 10.2.0.1
    I got this error while mark ing the disks for use by ASMLib
    /etc/init.d/oracleasm createdisk VOL1 [failed]
    I already performed the steps mentioned below
    uname -rm
    Ex:
    # uname -rm
    2.6.9-22.ELsmp i686
    The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
    Use this information to find the correct ASMLib packages on OTN:
    1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
    2. Select the link for your version of Linux.
    3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
    4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
    Next, install the packages by executing the following command as root:
    rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
    oracleasmlib-asmlib_version.cpu_type.rpm \
    oracleasm-support-asmlib_version.cpu_type.rpm
    Ex:
    # rpm -Uvh \
    > oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
    > oracleasmlib-2.0.1-1.i386.rpm \
    > oracleasm-support-2.0.1-1.i386.rpm
    Preparing... ########################################### [100%]
    1:oracleasm-support ########################################### [ 33%]
    2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
    3:oracleasmlib ########################################### [100%]
    Configuring ASMLib
    Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
    # /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface []: oracle
    Default group to own the driver interface []: dba
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: [  OK  ]
    Creating /dev/oracleasm mount point: [  OK  ]
    Loading module "oracleasm": [  OK  ]
    Mounting ASMlib driver filesystem: [  OK  ]
    Scanning system for ASM disks: [  OK  ]
    but when i tried this
    /etc/init.d/oracleasm createdisk VOL1 /dev/sda2
    Marking disk "/dev/sda2" as an ASM disk: [  Failed]
    i got this error
    Please give me the solution,
    Thanks

    I have found this on /var/log/oracleasm
    Creating /dev/oracleasm mount point: /dev/oracleasm
    Loading module "oracleasm": oracleasm
    Mounting ASMlib driver filesystem: /dev/oracleasm
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    Unable to open device "/dev/sda2": Device or resource busy
    Unable to open device "/dev/sda1": Device or resource busy
    Unable to open device "/dev/sda": Device or resource busy
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    Unable to open device "/dev/sda2": Device or resource busy
    Unable to open device "/dev/sda1": Device or resource busy
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    Unable to open device "/dev/sda2": Device or resource busy
    Unable to open device "/dev/sda2": Device or resource busy
    Unable to open device "/dev/sda2": Device or resource busy
    Creating /dev/oracleasm mount point: /dev/oracleasm
    Loading module "oracleasm": oracleasm
    Mounting ASMlib driver filesystem: /dev/oracleasm
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    Unable to open device "/dev/sda2": Device or resource busy
    Unable to open device "/dev/sda1": Device or resource busy
    Unable to open device "/dev/sda": Device or resource busy
    Unable to open device "/dev/sda1": Device or resource busy
    Unable to open device "/dev/sda2": Device or resource busy
    Unable to open device "/dev/sda2": Device or resource busy
    Unable to query file "/dev/sda2p1": No such file or directory
    Unable to open device "/dev/sda1": Device or resource busy
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    Unable to open device "/dev/sda2": Device or resource busy
    Unable to open device "/dev/sda1": Device or resource busy
    Unable to open device "/dev/sda": Device or resource busy
    Unable to query file "/dev/sdap1": No such file or directory
    Disk "VOL1" does not exist or is not instantiated
    Unable to query file "/dev/sdap1": No such file or directory
    Unable to query file "/dev/sda2p1": No such file or directory
    Unable to query file "/dev/sdap1": No such file or directory
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
    Unable to query file "/dev/sda2p2": No such file or directory
    Unable to query file "/dev/sda2p2": No such file or directory
    Unable to query file "/dev/sda2p3": No such file or directory
    Unable to query file "/dev/sda2p4": No such file or directory
    Unable to query file "/dev/sda2p2": No such file or directory
    Unable to query file "/dev/sda2p3": No such file or directory
    Unable to query file "/dev/sda2p4": No such file or directory
    Unable to open device "/dev/sda3": Device or resource busy

  • /etc/init.d/nodemgr: line 96: syntax error near unexpected token `is'

    I am trying to modify the unix script to auto start nodemanager on Oracle Linux server,however i am getting below error when ever i tried to start service nodemgr restart
    here is script:
    ============
    #!/bin/sh
    # nodemgr Oracle Weblogic NodeManager service
    # chkconfig: 345 85 15
    # description: Oracle Weblogic NodeManager service
    # The script needs to be saved as /etc/init.d/nodemgr and then issue chkconfig .add nodemgr as root
    ### BEGIN INIT INFO
    # Provides: nodemgr
    # Required-Start: $network $local_fs
    # Required-Stop:
    # Should-Start:
    # Should-Stop:
    # Default-Start: 3 4 5
    # Default-Stop: 0 1 2 6
    # Short-Description: Oracle Weblogic NodeManager service.
    # Description: Starts and stops Oracle Weblogic NodeManager.
    ### END INIT INFO
    . /etc/rc.d/init.d/functions
    export WLS_HOME=/u01/Oracle/Middleware/wlserver_10.3
    export MW_HOME=/u01/Oracle/Middleware
    export JAVA_HOME=/u01/Oracle/Middleware/jdk160_24
    export IDM_HOME=/u01/Oracle/Middleware/Oracle_IDM1
    export OAM_HOME=/u01/Oracle/Middleware/Oracle_IDM2
    export ORACLE_INSTANCE=/u01/Oracle/Middleware/Oracle_IDM1
    export IAM_HOME=/u01/Oracle/Middleware/Oracle_IDM2
    export DOMAIN_HOME=/u01/Oracle/Middleware/user_projects/domains
    DAEMON_USER="oracle"
    PROCESS_STRING="^.*/u01/Oracle/Middleware/.*weblogic.NodeManager.*"
    source $MW_HOME/wlserver_10.3/server/bin/setWLSEnv.sh > /dev/null
    export NodeManagerHome="$WLS_HOME/common/nodemanager"
    NodeManagerLockFile="$NodeManagerHome/nodemanager.log.lck"
    PROGRAM="$MW_HOME/wlserver_10.3/server/bin/startNodeManager.sh"
    SERVICE_NAME=`/bin/basename $0`
    LOCKFILE="/var/lock/subsys/$SERVICE_NAME"
    RETVAL=0
    start() {
    OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
    if [ ! -z "$OLDPID" ]; then
    echo "$SERVICE_NAME is already running (pid $OLDPID) !"
    exit
    fi
    echo -n $"Starting $SERVICE_NAME: "
    /bin/su $DAEMON_USER -c "$PROGRAM &"
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && touch $LOCKFILE
    stop() {
    echo -n $"Stopping $SERVICE_NAME: "
    OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
    if [ "$OLDPID" != "" ]; then
    /bin/kill -TERM $OLDPID
    else
    /bin/echo "$SERVICE_NAME is stopped"
    fi
    echo
    /bin/rm -f $NodeManagerLockFile
    [ $RETVAL -eq 0 ] && rm -f $LOCKFILE
    restart() {
    stop
    sleep 10
    start
    case "$1. in
    start)
    start
    stop)
    stop
    restart|force-reload|reload)
    restart
    condrestart|try-restart)
    [ -f $LOCKFILE ] && restart
    status)
    OLDPID=`/usr/bin/pgrep -f $PROCESS_STRING`
    if [ "$OLDPID" != "" ]; then
    /bin/echo "$SERVICE_NAME is running (pid: $OLDPID)!"
    else
    /bin/echo "$SERVICE_NAME is stopped"
    fi
    RETVAL=$?
    echo $"Usage: $0 start"
    exit 1
    esac
    exit $RETVAL
    =================
    here is error message
    [root@oam init.d]# service nodemgr restart
    /etc/init.d/nodemgr: line 96: syntax error near unexpected token `is'
    /etc/init.d/nodemgr: line 96: `/bin/echo "$SERVICE_NAME is running ("pid: $OLDPID")"'

    It is necessary to post code between code tags, otherwise it screws up. See the FAQ.
    What sticks out right away is your wrong case statement case *"$1.* which should read *case "$1"*. You are also missing ;; to terminate your default case statement. You should also put $RETVAL between quotes and remove the /bin paths.

  • I am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found

    i am trying to install oracle 11g xe on ubuntu aws instance when i execute sudo /etc/init.d/oracle-xe configure command iam getting this error: sudo: /etc/init.d/oracle-xe : command not found.

    "command not found" means ... there is no such thing.
    Has the .rpm been installed?
    http://docs.oracle.com/cd/E17781_01/install.112/e18802/toc.htm#XEINL122

  • "File does not exist: /etc/apache2/htdocs/ABC/script" why?

    Hey all,
    on Linux error.log I go:
    "File does not exist: /etc/apache2/htdocs/ABC/script" when I try to use the browser connecting to system. Why?
    Any help is fine.
    Thanks a lot in advance and best regards
    Michael

    get it myself
    ip adress in wgate config has to be changed to default

  • Installing Oracle - /etc/init.d/oracle-xe configure command missing?

    I've AMD64 system with Ubuntu 11.04 installed. It's been rough ride for me to install oracle-xe-universal. I've already spent more than 2 days on this. Still unsuccessful.
    1) First I downloaded the packages libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb
    2) Then I ran
    sudo apt-get install bc (ran fine)
    sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb (ran fine)
    sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb (gave me dependency error for libc6 (>= 2.3.2), I modified the control file to remove dependency and rebuilt the package) (now worked fine)
    Oracle xe is now installed. Then I tried to start the DB it started but it's HTTP client never started. So I decided to uninstall the oracle-xe=universal. None of the sudo apt-get remove oracle-xe-universal command's didn't worked for me. So i went for manual uninstallation directions as per oracle link.
    I ran the following command-
    Manually uninstalling Oracle 10g
    sudo rm -rf /usr/lib/oracle /etc/oratab /etc/init.d/oracle-xe /etc/sysconfig/oracle-xe /usr/share/doc/oracle_xe /usr/share/doc/oracle_xe_client
    Then I again ran the following command to install oracle-xe
    sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.0_i386.deb
    See below what I got as the output-
    rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb
    dpkg: warning: overriding problem because --force enabled:
    package architecture (i386) does not match system (amd64)
    (Reading database ... 184865 files and directories currently installed.)
    Preparing to replace oracle-xe-universal:i386 10.2.0.1-1.1 (using oracle-xe-universal_10.2.0.1-1.1_i386.deb) ...
    Unpacking replacement oracle-xe-universal:i386 ...
    Setting up oracle-xe-universal:i386 (10.2.0.1-1.1) ...
    Executing Post-install steps...
    Processing triggers for ureadahead ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf.index...
    Processing triggers for desktop-file-utils ...
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
    Processing triggers for man-db ...
    Processing triggers for python-support ...
    rocky@ubuntu:~/git/mygit/edas2/libaio$
    Now if I try to run the following command, it says command not found-
    rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo /etc/init.d/oracle-xe configure
    sudo: /etc/init.d/oracle-xe: command not found
    rocky@ubuntu:~/git/mygit/edas2/libaio$
    Even in applications menu I don't see the if oracle has been installed.
    So i conclude first time installation was ok but somehow http client didn't worked.
    After manual uninstallation, second installation didn't even loaded/installed the oracle-xe in init.d directory.
    Please help here.

    user1680826 wrote:
    I've AMD64 system with Ubuntu 11.04 installed. It's been rough ride for me to install oracle-xe-universal. I've already spent more than 2 days on this. Still unsuccessful.Not surprising, given that Ubuntu is not a supported OS for Oracle products.
    Any reason you are not using a supported OS?
    And any reason you are running two threads on the same problem? /etc/init.d/oracle-xe is missing?
    >
    1) First I downloaded the packages libaio_0.3.104-1_i386.deb and oracle-xe-universal_10.2.0.1-1.1_i386.deb
    2) Then I ran
    sudo apt-get install bc (ran fine)
    sudo dpkg -i --force-architecture libaio_0.3.104-1_i386.deb (ran fine)
    sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb (gave me dependency error for libc6 (>= 2.3.2), I modified the control file to remove dependency and rebuilt the package) (now worked fine)
    Oracle xe is now installed. Then I tried to start the DB it started but it's HTTP client never started. So I decided to uninstall the oracle-xe=universal. None of the sudo apt-get remove oracle-xe-universal command's didn't worked for me. So i went for manual uninstallation directions as per oracle link.
    I ran the following command-
    Manually uninstalling Oracle 10g
    sudo rm -rf /usr/lib/oracle /etc/oratab /etc/init.d/oracle-xe /etc/sysconfig/oracle-xe /usr/share/doc/oracle_xe /usr/share/doc/oracle_xe_client
    Then I again ran the following command to install oracle-xe
    sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.0_i386.deb
    See below what I got as the output-
    rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo dpkg -i --force-architecture oracle-xe-universal_10.2.0.1-1.1_i386.deb
    dpkg: warning: overriding problem because --force enabled:
    package architecture (i386) does not match system (amd64)
    (Reading database ... 184865 files and directories currently installed.)
    Preparing to replace oracle-xe-universal:i386 10.2.0.1-1.1 (using oracle-xe-universal_10.2.0.1-1.1_i386.deb) ...
    Unpacking replacement oracle-xe-universal:i386 ...
    Setting up oracle-xe-universal:i386 (10.2.0.1-1.1) ...
    Executing Post-install steps...
    Processing triggers for ureadahead ...
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf.index...
    Processing triggers for desktop-file-utils ...
    Processing triggers for python-gmenu ...
    Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
    Processing triggers for man-db ...
    Processing triggers for python-support ...
    rocky@ubuntu:~/git/mygit/edas2/libaio$
    Now if I try to run the following command, it says command not found-
    rocky@ubuntu:~/git/mygit/edas2/libaio$ sudo /etc/init.d/oracle-xe configure
    sudo: /etc/init.d/oracle-xe: command not found
    rocky@ubuntu:~/git/mygit/edas2/libaio$
    Even in applications menu I don't see the if oracle has been installed.
    So i conclude first time installation was ok but somehow http client didn't worked.
    After manual uninstallation, second installation didn't even loaded/installed the oracle-xe in init.d directory.
    Please help here.Edited by: EdStevens on Jul 24, 2011 4:56 PM

  • /etc/init.d/oracle-xe not found

    Hi,
    I installed oracle-xe-universal 10g on debian 4 after that manually deistalled
    see:
    http://www.oracle.com/technology/software/products/database/xe/files/install.102/b25144/toc.htm#CIHDDHJD
    then I installed xe again.
    My second installation was ok. But I didn't find /etc/init.d/oracle-xe for configuration (First installation worked fine, init.d/oracle-xe existed). 2nd installation didn't display oracle-xe icons in applications menu at Gnome too.
    If I try reinstall this in Gnome /etc/init.d/oracle-xe will be contained in package installer/includes files - but not relly.
    Could you help me please.
    Message was edited by:
    Perseus

    Yes dpkg has a purge flag.
    dpkg --purge packagename will remove the entire package + support/config files for it.
    Use carefully.
    MaShaun

  • Bash: /etc/init.d/oracle-xe: Permission denied

    arjun@ubuntu:~$ sudo su
    root@ubuntu:/home/arjun# /etc/init.d/oracle-xe configure
    bash: /etc/init.d/oracle-xe: Permission denied
    root@ubuntu:/home/arjun#

    Hi,
    arjun@ubuntu:~$ sudo /etc/init.d/oracle-xe configureRegards,
    Jari

  • $ sudo /etc/init.d/oracle-xe configure

    Hello,
    I installed XE 64bit on Ubuntu 10.10 after I used alien. When I do
    $ sudo /etc/init.d/oracle-xe configure
    I get,
    Configuring database...grep: /u01/app/oracle/product/11.2.0/xe/config/log/*.log: No such file or directory
    grep: /u01/app/oracle/product/11.2.0/xe/config/log/*.log: No such file or directory
    Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
    Thanks,
    Eric J.

    I get this error on fedora 14. Turns out the problem was that SELinux was blocking lsnrctl. Following the instructions from /var/log/messages fixed the specific problem (though it showed up again for sqlplus and was fixed in the same way). Presumably, disabling SELinux would fix the problem too.
    Rodney

  • /etc/init.d/oracle-xe status gives /bin/su: /bin/bash: Permission denied

    Hi all,
    This is my first attempt at Oracle so I tried XE on a linux machine (RedHat Enterprise).
    Install and configuration went fine, however trying http://localhost:8080/apex gives me a connection refused message. So i tried '/etc/init.d/oracle-xe status' to check the status. However i got the following message : '/bin/su: /bin/bash: Permission denied'.
    I installed as root. What gives? What did i do wrong?

    Fixed that issue. I had to set the permission to enter the directory also and to execute these two files. I have the following problem now though. See below:
    [root@localhost root]# /etc/init.d/oracle-xe status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-AUG-2006 19:57:42
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    Linux Error: 111: Connection refused

  • Init.cssd not found in /etc/init.cssd

    Hi all.
    I have installed 10g r 2 on my box [ linux ES 4 kernel 2.6.5... ].
    Installation was successfull.
    I want to configure ASM on this box. but I am not able to see any cssd deamon running.
    and even init.cssd file is not in /etc/init.cssd.
    Can you please suggest .. me ..
    Ragards,
    JS

    I want to use utl_file package and write a text file. I want that text file to be stored in my local machine. The init.ora parameter in the Oracle database server points to the Server path.Also Some 50 oraclients are installed for that DB server and each of us want to have our own local machine path for the text file to be created.Is there a way of doing this?

  • /etc/init.d/vboxdrv setup issue

    Hi,
    I installed virtualBox 4 using Yum.
    When I try to start a Virtual Machine it throws error and asks me to run "/etc/init.d/vboxdrv setup".
    When I run the command, it throws following error:
    ================================
    [root@slc01huu modules]# /etc/init.d/vboxdrv setup
    Stopping VirtualBox kernel modules [  OK  ]
    Uninstalling old VirtualBox DKMS kernel modules [  OK  ]
    Trying to register the VirtualBox kernel modules using DKMS
    Error! Your kernel headers for kernel 2.6.18-238.0.0.0.1.el5xen cannot be found at
    /lib/modules/2.6.18-238.0.0.0.1.el5xen/build or /lib/modules/2.6.18-238.0.0.0.1.el5xen/source.
    [FAILED]
    (Failed, trying without DKMS)
    Recompiling VirtualBox kernel modules [FAILED]
    (Look at /var/log/vbox-install.log to find out what went wrong
    ====================================
    Any idea?

    Error! Your kernel headers for kernel 2.6.18-238.0.0.0.1.el5xen cannot be found atI don't think that using the XEN kernel in Virtualbox is a good idea. You might rather try the original RHEL or Oracle UEK kernel. In order to install the Guest additions you need to install "kernel-devel/kernle-uek-devel" and "kernel-uek-headers/kernel-headers" packages depending on your kernel type.

Maybe you are looking for

  • Transforming signed XML document with namespace invalidates signature

    I am running into a problem signing an XML document. Well, signing the document isn't the problem, as I can sign it and then verify the signature with the public key successfully. The problem comes when I transform the document to a string. It all ap

  • Why can't I watch a video?

    I try to watch a video on iPad and it won't work.

  • Cisco 1242AP and wireless distribution system

    Cisco AIR AG1242AP-E-K9 does the Cisco 1242 access point support WDS as in 'Wireless Distribution System'? (not wireless domain service). I'm trying to configure my 1242 as a wireless bridge to connect to an O2wireless box router but without success.

  • Download List output displayed

    Hi Friends, I want to donwload the list output displayed from the Report program with the exisitng formatting structure (displayed). 1)From SAP menu we can click on System –> List –> Save –> Local file to download the file locally. 2) I want to obtai

  • CiscoWorks 3.2- Hostname is missing the reports generated by HUM

    Hi, We have CIscoworks 3.2 with service pack 1 installed . the hostname is missing in the reports generated by HUM module. can anybody please let me know how to correct this.. any help would be appreciated... Regards, Channa