Sponsored Content
Full Discussion: auto-startup a process
Top Forums UNIX for Dummies Questions & Answers auto-startup a process Post 32188 by Perderabo on Wednesday 20th of November 2002 08:56:03 AM
Old 11-20-2002
To give an example of how this is supposed to work, in /etc/init.d, we have a script called nfs.server. It is hard-linked to /etc/rc2.d/K60nfs.server and to /etc/rc3.d/S15nfs.server.

The S15 entry starts it up, while the K60 entry shuts it down. I could use any of these to manually start or stop it, but it kinda standard to use "/etc/init.d/nfs.server start", rather than one of the others.

So it sounds like you are missing a S link.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

auto startup of a program

how do i make a program run at system startup? is there a hirarchy i have to consider? is there any equivalent to an NT "Service" in unix? how do you set it up? thanx Ron (2 Replies)
Discussion started by: exoron
2 Replies

2. HP-UX

hpux startup process, AUTO file?

hi, one of the process of hpux startup is this ISL where it consults the AUTO file. is this AUTO file resident in disk? thanks (5 Replies)
Discussion started by: yls177
5 Replies

3. UNIX for Dummies Questions & Answers

Startup Process for FreeBSD?

Hello, I am a redhat linux user and I want to try out freebsd 4.7. My question is how does freebsd startup? I can not seem to find any run levels like in linux. All I see are rc.conf and rc scripts, I just want to know how does things get started. Also if I install Apache, where would i... (2 Replies)
Discussion started by: xNYx
2 Replies

4. UNIX for Dummies Questions & Answers

how do i auto start application upon startup?

sorry, i'm a newbie to unix... but how do i or rather where do i write scripts that auto start my application e.g. Informix? in Windows it would be services but in UNIX where can i auto start my informix program? To run informix i just type "oninit". And do i have to login to any user before... (2 Replies)
Discussion started by: doofie
2 Replies

5. Solaris

stop a process to start at system startup

Hi all! I'm running Solaris 10 and have a question about how i can stop a certain program to start at system startup,for example, as it is now sendmail is starting but i don't need sendmail,on the other hand so would i be very glad to get cups up and running at startup, anyone who can explain where... (3 Replies)
Discussion started by: larsgk
3 Replies

6. HP-UX

Auto-Port Aggregation startup fails on boot

I have a machine running HP-UX 11.23 (PARISC) and APA startup fails on boot. This is found in /etc/rc.log: Configure Auto-Port Aggregation(LAN Monitor) interfaces Output from "/sbin/rc2.d/S343hplm start": ---------------------------- get_start_dlpi_version: failed, errno is 22 ERROR: ... (1 Reply)
Discussion started by: kknigga
1 Replies

7. AIX

service/process management -autostart at startup

Hi, I want to modify some of the services/processes (related to the oracle database) to start automatically at the startup of the server. which commands may help me? which commands do I need to use? my server configuration is, in brief: hardware:IBM P550 / OS : AIX 5300 thanks,... (1 Reply)
Discussion started by: talipk
1 Replies

8. Linux

file location for GNOME auto startup apps

I know how to add an apps to auto-start in GUI, but I'd like to know how to do it mannualy. So where is the file saved to by GUI ? (1 Reply)
Discussion started by: honglus
1 Replies

9. Shell Programming and Scripting

How to Auto Generate pg_hba.conf file at Startup

Hi there, I'll start by letting you you know my current shell programming and scripting is very week (and thats a euphemistic description). I'm really just wanting someone to make a suggestion to get me rolling in the right direction though absolutely any help is of course welcome. Set Up -... (0 Replies)
Discussion started by: lukusc
0 Replies

10. AIX

Auto startup and shutdown in AIX

Hi All, I would like to schedule auto IPL (shutdown and start-up) by using a shell script. Can you please give me some idea? want to test on my lab box first. shell script should bring AIX LPAR down and then need to start/activate the LPAR after 30 min any idea is highly... (3 Replies)
Discussion started by: System Admin 77
3 Replies
OCF_HEARTBEAT_NFSSER(7) 					OCF resource agents					   OCF_HEARTBEAT_NFSSER(7)

NAME
ocf_heartbeat_nfsserver - Manages an NFS server SYNOPSIS
nfsserver [start | stop | monitor | meta-data | validate-all] DESCRIPTION
Nfsserver helps one to manage the Linux nfs server as a failover-able resource in Linux-HA. It depends on Linux specific NFS implementation details, so is considered not portable to other platforms yet. SUPPORTED PARAMETERS
nfs_init_script The default init script shipped with the Linux distro. The nfsserver resource agent offloads the start/stop/monitor work to the init script because the procedure to start/stop/monitor nfsserver varies on different Linux distro. (optional, string, default /etc/init.d/nfsserver) nfs_notify_cmd The tool to send out NSM reboot notification. Failover of nfsserver can be considered as rebooting to different machines. The nfsserver resource agent use this command to notify all clients about the happening of failover. (optional, string, default /sbin/sm-notify) nfs_shared_infodir The nfsserver resource agent will save nfs related information in this specific directory. And this directory must be able to fail-over before nfsserver itself. (required, string, no default) nfs_ip The floating IP address used to access the nfs service (required, string, no default) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 40. stop Stops the resource. Suggested minimum timeout: 20s. monitor Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 10. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 30. EXAMPLE
The following is an example configuration for a nfsserver resource using the crm(8) shell: primitive p_nfsserver ocf:heartbeat:nfsserver params nfs_shared_infodir=string nfs_ip=string op monitor depth="0" timeout="20s" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/nfsserver_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_NFSSER(7)
All times are GMT -4. The time now is 08:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy