Auto start script

Hi guys
Im using SAP Netweaver 7 Trial. Is ther a way to auto start SAP , a script that can be called may be , without using the sapmmc?
Thnks

Hello Marvin,
These is no need of script. If you can see SAP service in services list you can set it to start automatic. Provide the user that authenticates it to come up thats it.
It will come up whenever you restart Windows server.
Thanks & Regards
Vivek

Similar Messages

  • Error in the Auto Start Script

    Hi all,
    I am implementing the procedure in Note ID 281912.1. to configure a RHEL 5.2 x86 Box for Oracle 11g R2 DB Auto Start.
    I got an error as shown below.
    Thanks in advance.
    [root@srv100] head /etc/init.d/dbora
    #!/bin/bash
    # oracle Start/Stop the Databases...
    # chkconfig: 2345 99 10
    # processname: oracle
    # config: /etc/oratab
    # pidfile: /var/run/oracle.pid
    [root@srv100] cat /etc/init.d/dbora
    #!/bin/bash
    # oracle Start/Stop the Databases...
    # chkconfig: 2345 99 10
    # processname: oracle
    # config: /etc/oratab
    # pidfile: /var/run/oracle.pid
    # Source function library.
    . /etc/init.d/functions
    RETVAL=0
    ORA_OWNER="oracle"
    ORA_HOME="/u01/app/oracle/product/11.2.0/db_1"
    prog="oracle"
    start() {
    echo -n $"Starting $prog: "
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbstart"
    su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl start"
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dbora
    return $RETVAL
    stop() {
    echo -n $"Stopping $prog: "
    su - $ORA_OWNER -c "$ORA_HOME/bin/dbshut"
    su - $ORA_OWNER -c "$ORA_HOME/bin/lsnrctl stop"
    RETVAL=$?
    echo
    [ $RETVAL -eq 0 ] && rm -r /var/lock/subsys/dbora
    return $RETVAL
    restart() {
    stop
    start
    case "$1" in
    start)
    start
    stop)
    stop
    restart)
    restart
    echo $"Usage: $0 {start|stop|restart}"
    exit 1
    esac
    exit $?
    #"FOLLOWING IS THE ERROR I GOT"
    [root@srv100] chkconfig --add dbora
    service dbora does not support chkconfig

    The issue was resolved by adding the following to the script:
    # description: Start/Stop the Databases..It seems for the config command to succeed, the script should comply with specific strucutre.
    Script provided in Oracle Note 281912.1 doesn't comply with the required structure and needed that little change.

  • [SOLVED] How do I start scripts at boot up?

    I've been looking around for awhile and can't find a way to auto-start scripts I've written in the console (the only ways I've found are for older systems using /etc/rc.local, but my system doesn't have this file.  The only things I've found for systemd are about starting daemons.  I'm not running a desktop environment on this system nor do I plan to (I'm using this machine as a server), so I can't put the scripts in a directory that auto-starts them like I can in KDE (and even then, I think that's only auto-starting them after login; I need these scripts to run without need of logging in).  And since my scripts aren't services I can't use "systemctl enable" to make them start at bootup.
    Does anyone know how to start scripts when the system boots?
    Last edited by Zukaro (2013-01-10 23:02:22)

    https://wiki.archlinux.org/index.php/Sy … process.3F

  • 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

  • Auto start-stop script

    Hi to All,
    I have create as root in /etc/init.d the file dbora:
    +#!/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 I have execute:
    *#chmod 750 /etc/init.d/dbora*
    *# ln -s /etc/init.d/dbora /etc/rc.d/rc0.d/K01dbora*
    *# ln -s /etc/init.d/dbora /etc/rc.d/rc3.d/S99dbora*
    *# ln -s /etc/init.d/dbora /etc/rc.d/rc4.d/S99dbora*
    *# ln -s /etc/init.d/dbora /etc/rc.d/rc5.d/S99dbora*
    At last
    *#chkconfig --add /etc/init.d/dbora*
    This message is returned
    dbora service don't support chkconfig.+
    Have You an idea ?
    Thank You and best regards
    Gaetano

    Solved !
    I have inserted a space before chkconfig and description in the script:
    Incorrect Code:
    #!/bin/sh
    # chkconfig: 345 99 10
    # description: Oracle auto start-stop script.
    This is the correct code
    #!/bin/sh
    #chkconfig: 345 99 10
    #description: Oracle auto start-stop script.Bye
    Gaetano

  • How to stop the auto-start of log reader agent (replication) right after my database is restored?

    I have the scenario where the SQL server is restored (after migration).
    This database has transactional replication set-up on one of the databases. When I do a manual delete and restore of the database, I see that the replication starts right after the publisher and subscriber are restored.
    Replication agents should not start and run before the integrity checks are completed. How to stop the replication from auto starting right after the migration?
    Thanks in advance - Jebah

    Thanks Pradyothana, I have disabled the logreader, distribution agents through sp_update_job in Tsql script. I have also verified that there are no pending transactions to be replicated to the subscriber, I see that the job is still being executed. Is there
    any other way to disable the jobs?
    Steps I followed
    Started with a Working publication and subscription
    Disabled the jobs (log reader and distribution agents)
    Backed up publisher, subscriber, distribution and msdb
    Deleted the publication, subscription, publisher and subscriber
    Restored the publisher, subscriber, distribution and msdb
    Enabled the jobs and executed sp_replrestart
    Observations/Issues
    Replication does not work
    Replication monitor does not show any error
    Jobs are shows as enabled but not started in job monitor
    Not able to start/stop the log reader and synchronization manually.
    I am not sure if I have missed something while restoring the db.
    Thanks in advance

  • 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.

  • 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/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.

  • How to auto start services like apache in a zone when i boot it

    Current i have a zone that has a web service configure and it runs fine with "/etc/init.d/apache start"
    but i would like to auto start it like a service when the zone boots.
    correct me if i am correct but i think it should be in a start up script.
    please advise me on how to achieve the above
    thanks
    r@ymond

    I suggest taking a closer look at http://docs.sun.com/app/docs/doc/817-1985/6mhm8o5n0?a=view which explains the whole booting process in detail.
    Apart from that you may also want to check the "ln" manualpage (ln(1)) which explains how to make symlinks on Solaris. After that it should be relatively easy; you basicly create a (sym)link in the right directory and then you're homefree.

  • Auto-Start Items

    Before I delete the 2 entries form the auto start, can I prevent Adobe Acrobat & Adobe Reader and Acrobat Manager from starting at system startup??
    A only installed Adobe Reader. I don't know why Acrobat is in there.
    James

    don't know about 1) but 2) ie easy to fix. when you are saving the script from the script editor uncheck the box "Startup Screen".

  • 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 Tidal Agent services

    Hi all,
         Do you guys have an idea on how to auto-start the service of tidal agent in linux? Thanks!

    Thanks guys for the inputs.
    It is now working, this is what I did:
    I created "mystartup.sh" at etc/rc.d/init.d with this script inside:
    #!/bin/bash
    /opt/TIDAL/Agent/bin/tagent TIDALAGENT1 start
    #author: Lodz
    #chkconfig: 345 25 75
    #description: tidal agent auto startup
    then i added the shell script on boot using this commands:
    # chkconfig --add mystartup.sh
    # chkconfig mystratup.sh on

  • 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?

  • Auto-start of VM Guest Machines when OVM host starts.

    Greeting Experts,
    I need to ask workaround for auto-start of guest virtual machines whenever OVM host starts.
    Please advice.
    Thanks & Regards,
    Sharjeel Mojib

    There is no supported way of doing this in OVMM. If you'd really wanted to take that route, there is, of course a way to achieve this.
    First, you will have to get a hold on the ID of your guest, that you want to start. You'll get that from OVMM
    You could then use the rc.local script to have Xen  start your guest at startup by adding this to the end of rc.local
    /usr/sbin/xm create [Path to Repository]/Guest_ID/vm.cfg
    This should start up your guest, assuming that the storage repository is available at this point, which it should. OVMM will pick up the guest's state when it queries the ovs-agent on that host.
    Again, this is totally unsupported!

Maybe you are looking for