Auto start listener & DB in Linux

Hello, I have installed oracle 10g on Red Hat 2.1 Ent. Ed. I have also modified the /etc/oratab file for auto starting the service. The service start auto but i have two problems, 1) The listener does not start automatically 2) When trying to connect from SQL*PLUS, it says Shared Memory Realm does not exists. The Database has to be started manually connecting sys as sysdba. How can i configure the two things to start automatically? Any idea? Thanks.

Follow steps at the end of this article:
http://www.oraclebase.com/articles/9i/Oracle9iInstallationOnRedHat21.php
Script will start DB automaticaly during boot and also stops database during OS shutdown.

Similar Messages

  • Auto start Oracle instance in linux

    Can I configure oracle to auto start an oracle instance in linux environment ?

    Here are the steps to enable the oracle service start automatically during the system boot
    Login as root in Linux box to execute the following steps
    1. the flag set to Y in /etc/oratab file with the respective instance
    2. Copy the oracle script in /etc/init.d folder
    3. change the permission < chmod 755 <script filename>
    4. add the service <chkconfig --add <script filename>
    5 Put the service auto on <chkconfig <script filename> on >
    6. To verify the oracle service startup automatic < service <script filename> stop > < service <script filename> start >
    Regards
    N Jandial

  • Auto-start OC4J process after Linux reboot

    Oracle 11gR2, OC4J 10g (10.1.3.5.0), RHEL5 64 bit
    Hi All,
    I am trying to figure out how to get my oc4j process start at boot time. I already have a dbora script setup. I tried adding the following line to my dbora/dbstart script but it did not do anything:
    #!/bin/sh
    # chkconfig: 345 99 10
    description: Oracle auto start-stop script.
    ORACLE_OC4J_HOME=/u02/oc4j
    JAVA_HOME=/usr/java/jdk1.6.0_21/
    su - $ORACLE_OWNER -c "$ORACLE_OC4J_HOME/bin/oc4j -start"
    I read somewhere that I may need to put the entire path like:
    /usr/bin/java -jar /path/to/oc4j.jar &
    Just not sure where and how to put that path in the file.
    Thanks for your help all.
    JrOraDBA

    Hi,
    To run oc4j in the background, on Linux
    Execute the following command:
    nohup ./oc4j -start &
    to run oc4j in the background. The 'nohup' command ignores the hangup signal (closing the terminal window) and enables oc4j to continue running in the background.
    In rare cases, oc4j will not shutdown cleanly with the standard command:
    ./oc4j -shutdown -port 23791 -oc4jadmin <admin_pwd>
    In those cases, try the following command:
    java -jar admin_client.jar deployer:oc4j:localhost oc4jadmin <admin_pwd> -shutdown
    to stop the oc4j service.
    Thanks,
    Sharmela

  • Auto Start/Shutdown db on Linux (RHEL-4)

    Hello,
    I have posted a thread in Database General forum :
    Auto Start/Shutdown db on RHEL 4
    and there one suggestation i got that i have to raise my problem here itself only.
    Kindly look into the issue and help me.
    Thanks & Regards
    Girish Sharma

    I see you start this service at sequence "99". This is good, but there are other 99-level startup scripts as well. These are processed in alphabetical order. Do this:
    $ ls /etc/rd5d.d/S99*
    So, "dbora" will run even before rc.local and that may not be a good thing.
    Also, checking:
    $ ls /etc/rc5.d/K* | head -n15
    will show you the order in which services are shut down, again in alphabetical order.
    These steps may help:
    # /sbin/chkconfig dbora off
    # /sbin/service dbora stop
    # cd /etc/init.d/
    # /sbin/chkconfig --del dbora
    # mv dbora xxx-dbora
    # vi xxx-dbora
    # /sbin/chkconfig --add xxx-dbora
    # /sbin/chkconfig xxx-dbora on
    # /sbin/service xxx-dbora start
    What we are doing is:
    1) Remove existing dbora service
    2) Rename the service to something that shows last in an ls(1) command
    3) Edit the xxx-dbora script to change the chkconfig info from "99 10" to "99 01"
    4) Installed the service.
    Now, the start-up is done as the very last action and shutdown as the very first.
    Does this make any difference?

  • How we can control auto start/stop of db/listener on Unix/linux?

    How we can control auto start/stop of db/listener on Unix/linux?

    http://download-uk.oracle.com/docs/html/B10812_01/chapter2.htm#BABGDGHF

  • Auto Start/Stop Oracle Database Lintener DBConslone on Linux

    Dear all
    I have install oracle 10.2.0 on redhat 4.7 every time i have to start manualy.
    it try with following scrip / process but database not starting automatically.
    Please any one can provide steps for auto start and stop oracel services on RedHat 4.7
    Once the instance is created, edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
    TSH1:/u01/app/oracle/product/10.2.0:Y
    Next, create a file called "/etc/init.d/dbora" as the root user, containing the following.
    #!/bin/bash
    #chkconfig: 345 95 10
    #description: init script to start/stop oracle database 10g, TNS listener, EMS and isqlplus
    case $1 in
         start)
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
         stop)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         restart)
    su - oracle -c 'emctl stop dbconsole'
         su - oracle -c 'isqlplusctl stop'
    su - oracle -c 'dbshut'
    su - oracle -c 'lsnrctl stop'
         su - oracle -c 'lsnrctl start'
         su - oracle -c 'dbstart'
    su - ora10g -c 'isqlplusctl start'
         su - oracle -c 'emctl start dbconsole'
    esac
    create service on linux
    Actions >> System Settings >> Server Settings >> Services Then
    Actions >> Add Service Then
    Service Name = dbora Then Press Ok
    chmod a+x /etc/init.d/dbora
    Check is it running this service properly
    service dbora stop
    service dbora start
    showing error
    :bad interperter : no such file or directory
    Please forward me process/steps for auto start/stop oracel services

    :bad interperter : no such file or directorymeans that it could not find the interpreter which should be used to interpret the script.
    most probably this is caused by the shebang (#!/bin/bash)
    the default location of bash on RHEL (OEL/CentOS) is /bin/bash, which means that the shebang looks correct.
    can you make the shebang:
    #!/bin/bash -xso shelltracing is put on and execute script again?
    this will make clear if it is the shebang in your script, or in another script.

  • Auto start oracle in linux - error

    1. edited the "/etc/oratab" file setting flag to 'Y'.
    soni:/home/oracle/oracle/product/10.2.0/db_1:Y
    2 connect wih root user
    - created empty file (/etc/init.d/dbora)
    copied from (http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php)
    #!/bin/sh
    # chkconfig: 345 99 10
    # description: Oracle auto start-stop script.
    # Change the value of ORACLE_HOME to specify the correct Oracle home
    # directory for your installation.
    ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
    # Change the value of ORACLE to the login name of the
    # oracle owner at your site.
    4.
    chmod 750 /etc/init.d/dbora
    5.
    chkconfig --add dbora
    When I try this root user i get error
    # /etc/init.d/dbora start
    /etc/profile: line 51: syntax error near unexpected token `then'
    /etc/profile: line 51: `if[ \$USER= "oracle" ]; then'
    -bash: c: No such file or directory
    I restarted the database, but DB didnt start automatically...
    Edited by: The_Rock on Jun 10, 2010 9:47 PM

    The_Rock wrote:
    # /etc/init.d/dbora start
    /etc/profile: line 51: syntax error near unexpected token `then'
    /etc/profile: line 51: `if[ \$USER= "oracle" ]; then'
    -bash: c: No such file or directoryThe /etc/profile line 51 seems to be incorrect. No space between the "+if+" and the bracket condition.
    E.g.
    /home/billy> if[ \$USER = "oracle" ]; then echo true;else echo false;fi
    bash: syntax error near unexpected token `then'
    /home/billy> if [ \$USER = "oracle" ]; then echo true;else echo false;fi
    falseWhy do you use a leading slash for the +$USER+ variable? It changes it from a variable to a literal.
    /home/billy> echo $USER
    billy
    /home/billy> echo \$USER
    $USERLiteral "+$USER+" will never equal literal "+oracle+".

  • Auto start/shut on oracle 9i in linux

    Hi all,
    I just finished the installation of oracle 9iR2 on RHEL4.
    Can u give me some information to configure auto start/shut option on RHEL4

    See the Oracle9i Installation Guide
    Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, and Sun Solaris relevant section

  • DB and listner  auto start with linux problem

    Dear all :
    i can't set DB auto start with linux
    my db version 10g linux 5
    I followed these steps :
    edit the "/etc/oratab" file setting the restart flag for each instance to 'Y'.
    TSH1:/u01/app/oracle/oracle/product/10.2.0/db_1:Y
    create a file called "/etc/init.d/dbora" as the root user, containing the following.
    #!/bin/sh
    # chkconfig: 345 99 10
    # description: Oracle auto start-stop script.
    # Set ORA_HOME to be equivalent to the $ORACLE_HOME
    # from which you wish to execute dbstart and dbshut;
    # Set ORA_OWNER to the user id of the owner of the
    # Oracle database in ORA_HOME.
    ORA_HOME=/u01/app/oracle/oracle/product/10.2.0/db_1
    ORA_OWNER=oracle
    if [ ! -f $ORA_HOME/bin/dbstart ]
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    'start')
    # Start the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start"
    su - $ORA_OWNER -c $ORA_HOME/bin/dbstart
    'stop')
    # Stop the Oracle databases:
    # The following command assumes that the oracle login
    # will not prompt the user for any values
    su - $ORA_OWNER -c $ORA_HOME/bin/dbshut
    su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl stop"
    esac
    chmod 750 /etc/init.d/dbora
    chkconfig --level 345 dbora on
    # ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/K01dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/K01dbora
    # ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora

    Follow this part of Oracle Doc,
    Automating Shutdown and Startup
    http://download.oracle.com/docs/cd/B19306_01/server.102/b15658/strt_stp.htm#sthref249
    Also run your script manually see if it will run sucessfully.
    /etc/init.d/dbora start
    /etc/init.d/dbora stop

  • Auto start emctl dbconsole on server reboots...

    Hi All,
    I am using Linux 5.3 Os and 10g (10.2.0.4) version of database.
    I configured listener,db service and emctl service in auto start mode, means if my server gets rebooted then all these service should be up and running automatically.
    this script is working fine but the issue is with "emctl" status.
    after server reboots if I check emctl console through the url of "https://localhost:1158/em, then it is working .
    but If I check manually this service through "emctl status dbconsole" it display as "not running", if I am going to start through "emctl start dbconsole" it display is already running.
    now my question is: if this console is already up and running on machine reboots then why it disaply as "not running" when I check manually.
    can any one suggest me?
    Thanks,
    Jigisha...

    Hi,
    Have a look at the following threads.
    Autostart of Services
    Re: Autostart of Services
    Auto Start Oracle Services didn't work
    Re: Auto Start Oracle Services didn't work
    Regards,
    Hussein

  • Error in Setting Auto Start for Oracle DB on Sun Solaris 10

    Hi Gurus,
    I am trying to set my DB to auto start when server reboots. Fllowing is my setting and the error. The issue is that the DB starts but LISTENER is not running...
    Please please help me...
    This is what I used for setting the auto start.
    Thanks,
    Jayant
    SETTING:
    =======
    #!/sbin/sh
    #Match ORACLE_HOME with whatever is in ~oracle/.profile!!!
    ORACLE_HOME=<whatever is Orcale home is>
    case $1 in
    start)
    su - oracle -c $ORACLE_HOME/bin/dbstart
    su - oracle -c "$ORACLE_HOME/bin/lsnrctl start"
    exit 0
    stop)
    su - oracle -c "$ORACLE_HOME/bin/lsnrctl stop"
    su - oracle -c $ORACLE_HOME/bin/dbshut
    esac
    You're not done yet! You now have to dl
    ln -s ../init.d/oracle /etc/rc3.d/S95oracle
    ln -s ../init.d/oracle /etc/rc0.d/K15oracle
    chmod 0755 /etc/init.d/oracle
    ERROR:
    ======
    LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 02-DEC-2006 10:09:24
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
    TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
    TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
    Solaris Error: 2: No such file or directory
    root@zngds1gk #

    Bingo.... I got it.
    Thanks for your hint about the ./.profile. I was setting env variables in .cshrc file and my default shell for "oracle" user was sh.
    Then I changed the default shell for oracle user to csh and viola..... it works.
    root@zngds1gk # su - oracle
    $ id
    uid=100(oracle) gid=101(dba)
    $ setenv
    HOME=/space/oracle
    PATH=/space/oracle/app/oracle/product/10.2.0/Db_2/bin:/usr/bin:
    LOGNAME=oracle
    HZ=100
    TERM=xterm
    SHELL=/bin/sh
    $ exit
    root@zngds1gk # usermod -u 100 -s /bin/csh oracle
    root@zngds1gk # su - oracle
    zngds1gk%
    zngds1gk% setenv
    HOME=/space/oracle
    PATH=/space/oracle/app/oracle/product/10.2.0/Db_2/bin:/usr/bin:
    LOGNAME=oracle
    HZ=100
    TERM=xterm
    SHELL=/bin/csh
    zngds1gk% cat .cshrc
    umask 022
    setenv ORACLE_BASE /space/oracle/app/oracle
    setenv ORACLE_SID adm
    setenv DISPLAY 47.102.212.108:0.0
    setenv ORACLE_HOME /space/oracle/app/oracle/product/10.2.0/Db_2
    setenv PATH /space/oracle/app/oracle/product/10.2.0/Db_2/bin:$PATH
    And now it works...
    Thanks.
    ~Jayant

  • Skype/Pulse audio problem only if auto started

    Hi,
    I've an Arch/XFCE laptop including pulse audio and Skype (configured to use the pulse audio).
    Skype has been configured  (using XFCE startup menu) to auto start during boot ( we boot daily), and, till about 2 weeks ago, worked fine.
    Ever since, Skype starts but isn't functional (while trying to connect to the test service I can't hear anything, not even the dialing), and, after a few minutes, starts with a constant loud noise (which stops, once I quit Skype).
    Interesting, since the problem  has begun, once I do either of the following, Skype returns, and remains, to be fully functional without any noise:
    1. Quit the auto-started Skype, and immediately relaunch it.
    2. Cancel to Skype auto start, and manually start Skype after XFCE becomes visible.
    Looking at log files (below), I've seen some pulse audio related errors which I couldn't solve and may be related.
    I do a full system update (almost) daily.
    I'd be happy to return to the former state (functional auto-started Skype). Please advise
    Thanks
    ----------partial end of  journal------------------
    Jun 08 08:51:08 Ira-Lenovo lightdm[246]: ** (process:272): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
    Jun 08 08:51:08 Ira-Lenovo lightdm[272]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Starting user-620.slice.
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Created slice user-620.slice.
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Starting User Manager for UID 620...
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Starting Session c1 of user lightdm.
    Jun 08 08:51:08 Ira-Lenovo systemd-logind[234]: New session c1 of user lightdm.
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Started Session c1 of user lightdm.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: pam_unix(systemd-user:session): session opened for user lightdm by (uid=0)
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Starting Paths.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Reached target Paths.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Starting Timers.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Reached target Timers.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Starting Sockets.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Reached target Sockets.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Starting Basic System.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Reached target Basic System.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Starting Default.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Reached target Default.
    Jun 08 08:51:08 Ira-Lenovo systemd[275]: Startup finished in 78ms.
    Jun 08 08:51:08 Ira-Lenovo systemd[1]: Started User Manager for UID 620.
    Jun 08 08:51:10 Ira-Lenovo org.a11y.Bus[284]: Activating service name='org.a11y.atspi.Registry'
    Jun 08 08:51:10 Ira-Lenovo org.a11y.Bus[284]: Successfully activated service 'org.a11y.atspi.Registry'
    Jun 08 08:51:10 Ira-Lenovo org.a11y.atspi.Registry[290]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
    Jun 08 08:51:10 Ira-Lenovo org.a11y.atspi.Registry[290]: ** (at-spi2-registryd:293): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
    Jun 08 08:51:10 Ira-Lenovo org.a11y.atspi.Registry[290]: ** (at-spi2-registryd:293): WARNING **: Unable to register client with session manager
    Jun 08 08:51:15 Ira-Lenovo lightdm[246]: ** (process:297): WARNING **: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
    Jun 08 08:51:15 Ira-Lenovo lightdm[272]: pam_unix(lightdm-greeter:session): session closed for user lightdm
    Jun 08 08:51:15 Ira-Lenovo lightdm[297]: pam_unix(lightdm:session): session opened for user ira by (uid=0)
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Starting user-1000.slice.
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Created slice user-1000.slice.
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Starting User Manager for UID 1000...
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: pam_unix(systemd-user:session): session opened for user ira by (uid=0)
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Starting Session c2 of user ira.
    Jun 08 08:51:15 Ira-Lenovo systemd-logind[234]: New session c2 of user ira.
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Started Session c2 of user ira.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Starting Paths.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Reached target Paths.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Starting Timers.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Reached target Timers.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Starting Sockets.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Reached target Sockets.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Starting Basic System.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Reached target Basic System.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Starting Default.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Reached target Default.
    Jun 08 08:51:15 Ira-Lenovo systemd[302]: Startup finished in 36ms.
    Jun 08 08:51:15 Ira-Lenovo systemd[1]: Started User Manager for UID 1000.
    Jun 08 08:51:18 Ira-Lenovo dbus[235]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service'
    Jun 08 08:51:18 Ira-Lenovo systemd[1]: Starting RealtimeKit Scheduling Policy Service...
    Jun 08 08:51:18 Ira-Lenovo dbus[235]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
    Jun 08 08:51:18 Ira-Lenovo systemd[1]: Started RealtimeKit Scheduling Policy Service.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Successfully called chroot.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Successfully dropped privileges.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Successfully limited resources.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Running.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Watchdog thread running.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Canary thread running.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Successfully made thread 328 of process 328 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
    Jun 08 08:51:18 Ira-Lenovo rtkit-daemon[329]: Supervising 1 threads of 1 processes of 1 users.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Supervising 1 threads of 1 processes of 1 users.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Successfully made thread 332 of process 328 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Supervising 2 threads of 1 processes of 1 users.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Supervising 2 threads of 1 processes of 1 users.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Successfully made thread 333 of process 328 (/usr/bin/pulseaudio) owned by '1000' RT at priority 5.
    Jun 08 08:51:19 Ira-Lenovo rtkit-daemon[329]: Supervising 3 threads of 1 processes of 1 users.
    Jun 08 08:51:19 Ira-Lenovo pulseaudio[328]: [pulseaudio] module-gconf.c: Unable to read or parse data from client.
    Jun 08 08:51:19 Ira-Lenovo pulseaudio[328]: [pulseaudio] module.c: Failed to load module "module-gconf" (argument: ""): initialization failed.
    Jun 08 08:51:19 Ira-Lenovo pulseaudio[328]: [pulseaudio] main.c: Module load failed.
    Jun 08 08:51:19 Ira-Lenovo pulseaudio[328]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
    Jun 08 08:51:21 Ira-Lenovo org.freedesktop.thumbnails.Thumbnailer1[311]: (tumblerd:351): tumbler-WARNING **: Failed to load plugin "tumbler-odf-thumbnailer.so": libgsf-1.so.114: cannot open shared object file: No such file or directory
    Jun 08 08:51:21 Ira-Lenovo org.freedesktop.thumbnails.Thumbnailer1[311]: (tumblerd:351): tumbler-WARNING **: Failed to load plugin "tumbler-poppler-thumbnailer.so": libpoppler-glib.so.8: cannot open shared object file: No such file or directory
    Jun 08 08:51:21 Ira-Lenovo org.freedesktop.thumbnails.Thumbnailer1[311]: (tumblerd:351): tumbler-WARNING **: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.1: cannot open shared object file: No such file or directory
    Jun 08 08:51:21 Ira-Lenovo org.freedesktop.thumbnails.Thumbnailer1[311]: (tumblerd:351): tumbler-WARNING **: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
    Jun 08 08:51:22 Ira-Lenovo kernel: fuse init (API version 7.22)
    Jun 08 08:51:22 Ira-Lenovo systemd[1]: Mounting FUSE Control File System...
    Jun 08 08:51:22 Ira-Lenovo systemd[1]: Mounted FUSE Control File System.
    Jun 08 08:51:22 Ira-Lenovo rtkit-daemon[329]: Successfully made thread 392 of process 392 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
    Jun 08 08:51:22 Ira-Lenovo rtkit-daemon[329]: Supervising 4 threads of 2 processes of 1 users.
    Jun 08 08:51:22 Ira-Lenovo pulseaudio[392]: Daemon already running.
    Jun 08 08:51:23 Ira-Lenovo dbus[235]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service'
    Jun 08 08:51:23 Ira-Lenovo systemd[1]: Starting Disk Manager...
    Jun 08 08:51:24 Ira-Lenovo udisksd[401]: udisks daemon version 2.1.3 starting
    Jun 08 08:51:24 Ira-Lenovo dbus[235]: [system] Successfully activated service 'org.freedesktop.UDisks2'
    Jun 08 08:51:24 Ira-Lenovo systemd[1]: Started Disk Manager.
    Jun 08 08:51:24 Ira-Lenovo udisksd[401]: Acquired the name org.freedesktop.UDisks2 on the system message bus
    Jun 08 08:51:25 Ira-Lenovo dbus[235]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service'
    Jun 08 08:51:25 Ira-Lenovo systemd[1]: Starting Daemon for power management...
    Jun 08 08:51:26 Ira-Lenovo dbus[235]: [system] Successfully activated service 'org.freedesktop.UPower'
    Jun 08 08:51:26 Ira-Lenovo systemd[1]: Started Daemon for power management.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): carrier now ON (device state 20)
    Jun 08 08:51:26 Ira-Lenovo kernel: r8169 0000:06:00.0 enp6s0: link up
    Jun 08 08:51:26 Ira-Lenovo kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp6s0: link becomes ready
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Auto-activating connection 'Wired connection 1'.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) starting connection 'Wired connection 1'
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> NetworkManager state is now CONNECTING
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 1 of 5 (Device Prepare) scheduled...
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 1 of 5 (Device Prepare) started...
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 2 of 5 (Device Configure) scheduled...
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 1 of 5 (Device Prepare) complete.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 2 of 5 (Device Configure) starting...
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 2 of 5 (Device Configure) successful.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 3 of 5 (IP Configure Start) scheduled.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 2 of 5 (Device Configure) complete.
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 3 of 5 (IP Configure Start) started...
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: config -> ip-config (reason 'none') [50 70 0]
    Jun 08 08:51:26 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Beginning DHCPv4 transaction (timeout in 45 seconds)
    Jun 08 08:51:26 Ira-Lenovo upowerd[427]: (upowerd:427): UPower-Linux-WARNING **: Setting /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:0e/PNP0C0A:00/power_supply/BAT1 state empty as unknown and very low
    Jun 08 08:51:26 Ira-Lenovo upowerd[427]: (upowerd:427): UPower-Linux-WARNING **: Setting /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:0e/PNP0C0A:00/power_supply/BAT1 state empty as unknown and very low
    Jun 08 08:51:27 Ira-Lenovo NetworkManager[233]: <info> dhcpcd started with pid 440
    Jun 08 08:51:27 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Beginning IP6 addrconf.
    Jun 08 08:51:27 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 3 of 5 (IP Configure Start) complete.
    Jun 08 08:51:27 Ira-Lenovo dbus[235]: [system] Activating via systemd: service name='org.freedesktop.ModemManager1' unit='dbus-org.freedesktop.ModemManager1.service'
    Jun 08 08:51:27 Ira-Lenovo dbus[235]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.ModemManager1.service': Unit dbus-org.freedesktop.ModemManager1.service failed to load: No such file or directory.
    Jun 08 08:51:28 Ira-Lenovo dhcpcd[440]: version 6.3.2 starting
    Jun 08 08:51:28 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): DHCPv4 state changed nbi -> preinit
    Jun 08 08:51:28 Ira-Lenovo dhcpcd[440]: DUID 00:01:00:01:1a:27:1d:43:1c:75:08:53:82:9a
    Jun 08 08:51:28 Ira-Lenovo dhcpcd[440]: enp6s0: IAID 08:53:82:9a
    Jun 08 08:51:28 Ira-Lenovo dhcpcd[440]: enp6s0: soliciting an IPv6 router
    Jun 08 08:51:28 Ira-Lenovo dhcpcd[440]: enp6s0: rebinding lease of 192.168.1.13
    Jun 08 08:51:34 Ira-Lenovo dhcpcd[440]: enp6s0: leased 192.168.1.13 for 3600 seconds
    Jun 08 08:51:34 Ira-Lenovo dhcpcd[440]: enp6s0: adding route to 192.168.1.0/24
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): DHCPv4 state changed preinit -> bound
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> address 192.168.1.13
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> prefix 24 (255.255.255.0)
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> gateway 192.168.1.1
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> nameserver '192.117.235.235'
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> nameserver '62.219.186.7'
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
    Jun 08 08:51:34 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 5 of 5 (IPv4 Commit) started...
    Jun 08 08:51:35 Ira-Lenovo dhcpcd[440]: enp6s0: removing route to 192.168.1.0/24
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 5 of 5 (IPv4 Commit) complete.
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): device state change: secondaries -> activated (reason 'none') [90 100 0]
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> NetworkManager state is now CONNECTED_GLOBAL
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> Policy set 'Wired connection 1' (enp6s0) as default for IPv4 routing and DNS.
    Jun 08 08:51:35 Ira-Lenovo NetworkManager[233]: <info> Writing DNS information to /usr/bin/resolvconf
    Jun 08 08:51:36 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) successful, device activated.
    Jun 08 08:51:36 Ira-Lenovo dbus[235]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Jun 08 08:51:36 Ira-Lenovo systemd[1]: Starting Network Manager Script Dispatcher Service...
    Jun 08 08:51:36 Ira-Lenovo dbus[235]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Jun 08 08:51:36 Ira-Lenovo systemd[1]: Started Network Manager Script Dispatcher Service.
    Jun 08 08:51:41 Ira-Lenovo dhcpcd[440]: enp6s0: no IPv6 Routers available
    Jun 08 08:51:48 Ira-Lenovo NetworkManager[233]: <info> (enp6s0): IP6 addrconf timed out or failed.
    Jun 08 08:51:48 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
    Jun 08 08:51:48 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 4 of 5 (IPv6 Configure Timeout) started...
    Jun 08 08:51:48 Ira-Lenovo NetworkManager[233]: <info> Activation (enp6s0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
    Jun 08 08:51:59 Ira-Lenovo su[587]: (to root) ira on pts/0
    Jun 08 08:51:59 Ira-Lenovo su[587]: pam_unix(su:session): session opened for user root by ira(uid=1000)

    See https://bbs.archlinux.org/viewtopic.php?id=182030
    Here's the change you recently applied: https://projects.archlinux.org/svntogit … 882c43178c.

  • Problem with auto start-stop script

    Hi to All,
    Logged as root. I have create in /etc/rc.d/init.d this file and saved as dbora (Oracle Linux 5.4):
    +#!/bin/sh+
    +# chkconfig: 345 99 10+
    +# description: Oracle auto start-stop script.+
    +#+
    +# Set ORA_HOME to be equivalent to the $ORACLE_HOME+
    +# from which you wish to execute dbstart and dbshut;+
    +#+
    +# Set ORA_OWNER to the user id of the owner of the+
    +# Oracle database in ORA_HOME.+
    ORA_HOME=/u01/app/oracle/product/10.2.0/db_1
    ORA_OWNER=oracle
    +if [ ! -f $ORA_HOME/bin/dbstart ]+
    then
    echo "Oracle startup: cannot start"
    exit
    fi
    case "$1" in
    +'start')+
    +# Start the Oracle databases:+
    +# The following command assumes that the oracle login+
    +# will not prompt the user for any values+
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart $ORA_HOME"
    touch /var/lock/subsys/dbora
    +;;+
    +'stop')+
    +# Stop the Oracle databases:+
    +# The following command assumes that the oracle login+
    +# will not prompt the user for any values+
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut $ORA_HOME"
    rm -f /var/lock/subsys/dbora
    +;;+
    esac
    After creation I have execute:
    *#chmod 750 /etc/rc.d/init.d/dbora*
    *#chkconfig --add /etc/rc.d/init.d/dbora*
    The last command return this message:
    +"service dbora does not support chkconfig"+.
    Can You help me? Have You an idea ?
    Thank You and best regards
    Gaetano

    sb92075 wrote:
    Oracle RDBMS needs to be started by process running at OS level as owner of Oracle software; typically OS user "oracle" & not as ROOT!Ok,
    But I have founded this script at [http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php].
    The article report:
    Article
    When using RAC or ASM under Oracle 10g Release 2 or above, the Oracle Clusterware automatically starts and stops the Oracle database instances, so the following procedures are not necessary. For all other cases, you can use the methods described below.I must suppose, that the author has written an incorrect article?
    Best Regards
    Gaetano

  • Oracle 11g XE won't auto start

    Installed XE (11g) on a XP machine. When system is restarted listener service starts but DB service doesn't. It is set to auto start. If I manually start the DB service it starts without issue and we can use the system.
    I've even set the service to try to restart in case of a failure (to see if that made a difference.....nope).
    Any ideas?

    Hi,
    What's set to registry?
    HKEY_LOCAL_MACHINE -> SOFTWARE -> ORACLE -> [HOME0] -> ORA_[SID]_AUTOSTART
    Regards,

  • Auto start for all services under solaris 10 ?

    Hi,
    Can I set the oracle auto start ? include listener, sqlplus...etc.
    Thanks.

    Hi,
    Yes I am using oracle as id.
    here is the output:
    solaris10% pwd
    /export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/bin
    solaris10% sh -x ./dbstart
    + :
    LOGMSG=logger -puser.alert -s
    + trap exit 1 2 3
    SAVE_LLP=/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/lib:/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/network/lib
    ORACLE_HOME_LISTNER=
    + [ ! ]
    ./dbstart: test: argument expected
    solaris10%
    By the way, here is my environment variables setting:
    solaris10% env
    HOME=/export/home/oracle
    PATH=/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/bin:/usr/bin:LOGNAME=oracle
    HZ=
    TERM=xterm
    SHELL=/bin/csh
    MAIL=/var/mail/oracle
    LANG=C
    LC_CTYPE=C
    LC_ALL=C
    TZ=Hongkong
    PWD=/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/bin
    USER=oracle
    DISPLAY=solaris10:0.0
    ORACLE_BASE=/export/home/oracle/u01/app/oracle
    ORACLE_SID=orclnew
    TMP=/export/home/oracle/tmp
    TMPDIR=/export/home/oracle/tmp
    ORACLE_HOME=/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3
    LD_LIBRARY_PATH=/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/lib:/export/home/oracle/u01/app/oracle/oracle/product/10.2.0/db_3/network/lib
    ORATAB=/var/opt/oracle/oratab
    solaris10%
    Thanks.

Maybe you are looking for

  • My online number is always "busy" even when its no...

    I have troubleshooted and posted on here and changed privacy settings and upgraded to the latest Skype version and have been in a continuous online feedback loop w/ Skype desperately looking for answers.  MAD!  My 3 month online number does NOT work,

  • How can i get back my contacts when they have been deleted?

    I tried putting music on my iPhone 5 for the first time and after doing it I realized all my contacts, messages, and photos were replaced with my moms contacts, messages, and photos that she had backed up on to the same computer. How can I retrieve a

  • Switch between (windows 7 and OS X) partitions?

    Hi everybody. I have OS X mountain lion installed on my 13 inch Macbook Pro (late 2012). I just made a partition and installed windows 7 on it because I want to game some on my machine. But now that I wanna go back to OS X I don't know how to? P.S. I

  • Moving through the Special Characters Pane

    I have created a keyboard shortcut on my Mac to quickly display the special characters pane. I was wondering if there was a way to jump to the pane directly from the keyboard without having to click on the pane? Thanks. Nibber #1 Ohio

  • When I start MacBook OSX I get a message

    I am stuck....Everytime I start my MacBook OS X 10.4.6 I get the message Panic(cpu O caller 0X003AB787) unable to find driver for this platform "ACPI" I have tried to to start with the install disc but get back to the same message.... Thanks for your