Start programs automatic at boot-time

Hi All
I need to start some software when solaris boots. Right now its ntpd. However I have no clue how to do this with Solaris 10. I assume there is a tool to do this, something like
rc-update add ntpd default (the GenToo way)
Thanks a lot
LuCa

You can either create a startup script and place it within the /etc/rc.<runlevel> directory beginning with a capital S and accepting the argument 'start'.
Or you can create a Solaris 10 service. You'd need to modify an existing manifest that would name the service, point to the right startup script (method) and establish the startup dependencies that describe when it should launch.
The first method is fast and quick, but not very fine grained. You can only launch in certain time periods. Creating a service involves a little more effort to get started, but gives monitoring/restart features along with explicit dependencies between services.
Darren

Similar Messages

  • How to start OC4J at Linux boot time

    Hello,
    I am using Linux AS 3.0 and i have installed OC4J ( 9.0.4) ok, and OC4J also work fine.But each time i want to start OC4J , i must execute command java -jar oc4j.jar at console.
    Now, I want to start OC4J automatic at System startup ( ie: Linux boot time ).How can i do?
    Thanks.

    Just put your OC4J start/stop commands in a rc script.
    Scripts in the directories
    /etc/rc.d/rc2.d
    /etc/rc.d/rc3.d
    /etc/rc.d/rc5.d
    will be called by the operating system with the command line option start.
    The number in the directory names represent the desired run level of the machine.
    Scripts in the directory
    /etc/rc.d/rc0.d
    will be called during shutdown with the command line option stop.

  • Start program automatically at Windows startup

    Have a couple of programs that currently require manual start-up after Windows 2012 r2 Essential reboot.  Would like to find out how to have the programs start automatically as part of the boot up process.

    Hi IstMe,
    Based on your description, I understand that you want to start some programs automatically when the server restart. If anything I misunderstand, please don't hesitate to let me know.
    Please open Task Scheduler and create a task. Then click Triggers tab and configure
    Begin the task: At startup. Then also click Actions tab, configure
    Action: Start a program and add that programs which you want to start when server start.
    Task Scheduler Overview
    In addition, you can also consider
    computer startup scripts. Use a computer startup script to run programs with unattended parameters. Regarding to detailed script, you can post requirement in the
    Script Forum. I believe we will get a better assistance there.
    If any update, please feel free to let me know.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to start ASM instance at boot time - RHEL 2.1

    Oracle 10.1.0.3
    RHEL 2.1
    I'm not able to get the ASM instance (not RAC) to start at boot time. It seems that the ocssd daemon does not finish starting until after all rc* scripts, including rc.local, have finished executing.
    Patch 3458327 includes a new dbstart with header notes that are in conflict. The notes says that dbstart can't be used to start ASM until AFTER all rc* is finished.  Then it continues and states that ASM instance startup should be put in rc.local.
    As soon as I get logged on, a ps -ef|grep ocssd shows the daemon running. I can then manually start the ASM instance.  There must be a way to get the ASM instance "auto" started at boot time.
    Ideas?

    The cheapest and administratively easiest way for me was to start Oracle instances (ASM and data) by "at" command :-) from rc scripts. Something like:
    ....echo "oracle start" | at now+2min....
    Additionally the deferred startup has some additional advantages in my environment, so I am not motivated to look for better solution.
    Best regards,
    Pavel

  • Starting BI Publisher at boot time

    Hi all,
    Is it possible to start BIP on boot in linux system or I have to start oc4j every time I restart my system?
    Thank You

    Hi,
    try my scripts in http://linux-dba.gutzmann.com. They work at my
    site.
    Regards
    Thomas
    Hoang Truong (guest) wrote:
    : Hi,
    : I tried to start up oracle databse at boot time on RedHat 5.2
    by
    : having the file dbora in /etc/rc.d/init.d and I also make some
    : soft links to dbora such as:
    : ln -s /etc/rc.d/init/dbora /etc/rc.d/rc.0/K10dbora
    : ln -s /etc/rc.d/init/dbora /etc/rc.d/rc.3/S99dbora
    : ln -s /etc/rc.d/init/dbora /etc/rc.d/rc.5/S99dbora
    : At linux run level 5, it took so long to start oracle. After
    : idle for a while, it prompted error message such as:
    : "bash: Resource temporary unavailable".
    : Finally oracle started.
    : Does anyone know how to solve this problem? Please help!!!
    : Thanks
    : Hoang.
    : (Note: I have pentium 200 MZH 96 M RAM, 6.4 G harddrive) :
    null

  • Can I disable 10g Express Edition from starting at Windows XP boot time?

    I am a student who installed 10g Express Edition on my laptop for my classes.
    That is really working out great. Wonderful product.
    However, I only use it a couple of times a week.
    Is there a way that I can disable the automatic start up of 10g XE when I boot up my
    Windows XP system? So that I am in a position to go to 'Start Database' when I want
    to use the product and start it up manually? That would be great.
    My laptop is maxed out at 2GB of RAM and I am trying to hold off buying a new
    pc for a while.
    Thanks for any help!

    Thanks for all the help!
    I used the Windows GUI for Component Services.
    I found OracleServiceXE there set to Automatic.
    I changed it to Manual.
    Restarted my system.
    Checked the running Processes - didn't find any Oracle named ones.
    Did a Start Database. It started right up.
    Then I checked my Processes and found an oracle.exe running.
    So that all looks great.
    I did find a couple of other services that I didn't change.
    Those are:
    OracleJobSchedulerXE (it was set to Disabled)
    OracleMTSRecoveryService (it was set to Manual)
    OracleXEClrAgent (it was set to Manual)
    OracleXETNSListener (it was set to Automatic)
    That was the way those were set before I made my change.
    And they are still set that way.
    Let me know if I need to do anything with them.
    Thanks!

  • How can I repeat the same program automatically with a time-plan?

    Hello Everyone,
    I have a question here.
    I want to start the same program more time, but I would like to define the number of repetitions and time delay between each repetition with a dialog windows.How can I do that? 
    e.g. I want to repeated the same program for 4 times, first time this program will be started by press "Start", second time it will be started in 10 seconds after the first start, the third time it will be started in 16 seconds after the first start and last time ist in 30 seconds after the first start.
    With which node can I do that?
    Regart,
    Johnny

    Hi,
    try something like this.
    Mike
    Attachments:
    Unbenannt 5_LV80.vi ‏12 KB

  • Ufw not loading automatically at boot time

    Hi,
    I discovered issuing a "sudo ufw enable" or doing a "su (then) ufw enable" activates ufw for the very session it's invoqued but does not make ufw run automatically at next boot as it should do (Firewall is active and enabled on system startup)
    I know Linux is secure enough at the point of render a software firewall almost useless (I'm even behind a router with it's own firewalling) but I'm intrigued about what can be happening here. Sorry if this if this question is dumb but I'm a Ubuntu converted and needs to learn LOT about Linux and specially Arch internals to catch you up guys.

    Add ufw to your daemons list in /etc/rc.conf (at the last line).
    In my rc.conf I put ufw just before crond.

  • Start programs at boot

    I haven't yet been able to figure out how to start a program from boot on any distro. I like to run a keyboard daemon called hotkeys (not hotkey), but currently I have to type hotkeys -t msnetpro everytime I want to use it. Any way to make it start and configure the keyboard automatically? 
    Thanks

    ezzetabi wrote:
    @FUBAR
    You obviously have no idea at all how to start a service in windows, it is not as putting an icon the start menu at all. A service is a program who start before the users log in and stops only when the computer turn off or it is stopped manually...
    In windows only special coded programs can started this way otherwise you need something like http://www.codeproject.com/system/xyntservice.asp as wrapper.
    In linux since all programs are the same, this problem does not exist at all
    I know the difference between a service (daemon), controlled with "services.msc" on Windows, and a simple program run at boot time that can be configured in many different places.
    I was just too lazy to type the whole thing.

  • SMF - start at boot time, but don't restart - possible?

    I'm setting up a software package that has a number of background processes.
    I've got SMF manifests created and imported for all of them, and they're working great for starting the processes at boot time, and doing the automatic restarts when one fails.
    Here's my problem. It turns out that the users of this software want to be able to use the software's integrated process control methods to stop some of their processes. With the current configuration, they use the software's method to stop one of it's processes, and SMF promptly restarts it.
    Is there a way to set up SMF managed software so that SMF starts it at boot time, but then doesn't care if stops later?
    Richard

    I'm not sure how it would be SMF "managed" in such a case. Obviously you want the management to be elsewhere.
    You could use the "legacy" startup scripts in /etc/rcX.d. That will start a process and forget about it, just like pre-Solaris 10. You don't use manifests or have any other benefits of SMF.
    If you do want SMF, I guess the question is how you want it to act..
    When the users stop the processes, do you want SMF to say enabled or disabled? SMF does not track enabled processes by periodic polling, it does it by tracking contracts. This means that starting a process outside of SMF does not allow SMF to track it.
    Darren

  • Auto starting Oracle at boot time

    I have installed Oracle 11gr2 on Oracle Enterprise Linux successfully. Now i want to make oracle available automatically at boot time. I mean whenever server is up Oracle starts automatically.

    It is not happening. I have to run dbstart script to make oracle available.
    In ubuntu, we create /etc/init.d/oracledb script file, and with the use of following commands, oracle starts at boot time
    chmod a+x /etc/init.d/oracledb
    update-rc.d oracledb defaults 99
    What i need is, its parallel for OEL.

  • Auditing a process started at boot time

    Hi All,
    I am having a problem with auditd. I am starting a process of my own at boottime that I would like to audit. I think the problem lies in that my process is not getting an auditID. If I run the process from a terminal after the system is started it audits correctly, only when started at boot will it not audit.
    I have the process's audit class defined in the audit_control file as such (md is my audit class):
    dir:/var/audit
    flags:md,lo,ad,-fw,-fm,-fd,-nt,no
    minfree:50
    naflags:md
    I thought placing it under naflags would allow it to audit without attributes, but this does not work. The audit event and audit class are also properly in place.
    Any help with getting a process to audit when started at boot would be greatly appreciated.
    Victor

    Hi,
    Processes, are not able to start at boot-time as the "processes" is a OS based concept. The closest method you can do is replace the bootloader of Windows with your bootloader then load the Windows through your bootloader, and before loading the OS your
    Bootloader can perform any calculations or start files up as soon as Windows loads. This is the only way to start processes closest to Boot time. 
    In windows vista+ OS this technique would not work because Windows Vista+ has Session separation which by design separates processes into sessions and if you were to start it as soon as the OS starts the process would crash the entire OS as the process would
    not be able to fit in any session as it started before "Winlogon.exe"
    process. Therefore it is not really possible. 

  • Safari used to start up automatically on initial boot...

    I have to choose safari in the dock to show web window - I used to have it set so safari would start up automatically on boot up and window would appear - I can't remember what setting I made for it not to show the window automatically now and I want to put it back - can you help?

    Open the Accounts pane of System Preferences, find Safari in the list of login items for your account, and uncheck the Hide box.
    (33919)

  • Process start at boot time..

    Hi All,
    I am developing a client application which needs to be start up at boot time and there is one more requirement that no body 
    should be able to delete this to provide it security.
    Please reply .
    Thanks

    Hi,
    Processes, are not able to start at boot-time as the "processes" is a OS based concept. The closest method you can do is replace the bootloader of Windows with your bootloader then load the Windows through your bootloader, and before loading the OS your
    Bootloader can perform any calculations or start files up as soon as Windows loads. This is the only way to start processes closest to Boot time. 
    In windows vista+ OS this technique would not work because Windows Vista+ has Session separation which by design separates processes into sessions and if you were to start it as soon as the OS starts the process would crash the entire OS as the process would
    not be able to fit in any session as it started before "Winlogon.exe"
    process. Therefore it is not really possible. 

  • Machine boot time, rcscripts and jws

    Is there any way that I can specify that the jws application manager be started at the machine boot time/ restart time?
    If anyone has any ideas , please looking forward for that.
    Thanks,
    Rama

    Is there any way that I can specify that the jws
    application manager be started at the machine boot
    time/ restart time?It is just a simple program (javaws[.exe]).
    Just put it wherever one puts programs for startup on your os (Startup folder under Win32, script in one of the rc.d dirs under Unix)
    Regards,
    Marc

Maybe you are looking for

  • JDBC Call returns no results, SQL*Plus returns 1 record, Please help!

    Any help would be greatly appreciated. Running 9.2.0.5.0, and using latest 9.2 JDBC 1.4_g drivers in thin mode. Execute the following query from SQL*Plus and it returns one row, from JDBC using a PreparedStatement, I get no results. Here's the query,

  • HT1655 My computer is not recognizing my 4th generation Ipod shuffle

    My computer is not recognizing my new 4th generation IPOD Shuffle

  • My mac is incredibly slow all of a sudden!

    I went to a friend's house and tried to use his internet. It said there was a problem with the IP address so I just closed my mac and forgot about it. When I got home the whole thing is ridiculously slow. Websites take a minute a page to load so it's

  • Sender AS2 Configuration...

    Hi All, I am doing configuration on AS2 (AS2 -> File).. We are getting the EDI Messages. Thru Sender AS2 CC, how to pick the messages into XI... Please help me out ... Thanks in advance.. Regards, Vasu

  • My dock connector no longer supplies an audio out

    My dock connector no longer supplies audio out when connecting it to a docking station. I am able to charge my I-pod just fine. The I-pod works on the docking stations but no sound comes out. I spoke with I-pod support and they suggested posting a qu