Sponsored Content
Top Forums Programming autostart script for stopped services Post 302555546 by getrue on Thursday 15th of September 2011 04:19:34 AM
Old 09-15-2011
svcadm is not autostart the service when stopped.
 

10 More Discussions You Might Find Interesting

1. HP-UX

rc.log problem about autostart script

On HP-UX, we add some our autostart scripts in the system script under /sbin/rc*.d directory. The output of application is redirected to /dev/null in our script,but once the application has been startup with the OS starting,its ouput is redirected to the /etc/rc.log finally and cause the rc.log... (2 Replies)
Discussion started by: Frank2004
2 Replies

2. UNIX and Linux Applications

Autostart/Autorun Applications

I have developed a CD that runs both Windows and Mac software. I would like it to function as an autorun/autostart; I do not have a problem with the Windows code, but I do for the Mac. I do not feel like investing a couple of hundred $$$ into software, when, I am sure that several lines of UNIX... (2 Replies)
Discussion started by: HornetDr
2 Replies

3. Shell Programming and Scripting

why my script stopped- any reason(urgent please)

Hi Friends, iam running some scripts, which are all off suddenly stopping. Can any one tell me the reason why it happend. Is there any reason to stop the scripts. Thanks Krishna. (1 Reply)
Discussion started by: krishna9
1 Replies

4. AIX

Autostart of LPAR

Hi, I have 2 lpars on my AIX that needs to be started manually after each reboot. Because the servers are storing the NFS and NIS info, other servers won't run correctly until they start up. I found in IBM documentation the steps to make it automatic. My question is, I want to know if... (2 Replies)
Discussion started by: rahzzbietel
2 Replies

5. Debian

Iomega ix2-200 Custom Debian - Autostart script in init.d not Working

!!Hello Everyone!! I Recently purchased a Iomega iX2-200 NAS that runs a custom debian installed by Iomega (Linux Debian 5.0.2 ( 2.6.22.18 armv5tejl)) . I have SSH access. I installed Transmission since the factory installed torrents manager that Iomega uses is terrible. Transmission-daemon... (1 Reply)
Discussion started by: stejimenez
1 Replies

6. UNIX for Advanced & Expert Users

stopped(sigttou) error while executing a script in background

Hi All, I have an issue where in when i execute a script in the background using '&', it exits with stopped(SIGTTOU) signal. There are two servers, where the Compute server is HP-Unix and Data server is Linux. I tried using the "stty - tostop" command to disable the SIGTTOU for background... (1 Reply)
Discussion started by: vmenon
1 Replies

7. Shell Programming and Scripting

shell script getting stopped at the middle.

I have created a shell scrit to run the informatica workflows sequentially.In the script i am executing 7 workflows sequentially after running 4 workflows the scrpt getting stop and it is not continuing next step evn it is updating logs.4th workflow will take more time to finish is that making... (1 Reply)
Discussion started by: katakamvivek
1 Replies

8. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

9. Shell Programming and Scripting

Perl script stopped working

Hi, I have the following segment of a script which is supposed to prompt a user for password and then capture the password entered by the user. The function is called in by another script and used to work without issue, the problem is that recently the script is not waiting for the user to... (3 Replies)
Discussion started by: belalr
3 Replies

10. Shell Programming and Scripting

Korn Shell script in stopped state while running in background

Hi, I want to run a shell script in background . but its going to stopped state $ ksh cat_Duplicate_Records_Removal.ksh & 8975 $ + Stopped (tty output) ksh cat_Duplicate_Records_Removal.ksh & why is this happening? Also could anyone please tell me what is a stopped... (12 Replies)
Discussion started by: TomG
12 Replies
inviso_as_lib(3erl)					     Erlang Module Definition					       inviso_as_lib(3erl)

NAME
inviso_as_lib - The Inviso Autostart Utility Library DESCRIPTION
The purpose of the Inviso autostart utility library is to facilitate the creation and modification of autostart configuration files used by the standard autostart. EXPORTS
setup_autostart(Node, R, Opts, TracerData, CmdFiles, Bindings, Transl, RTtag) -> ok | {error, Reason} Types Node = atom() R = int() Opts -- see inviso:add_nodes/2,3 TracerData -- see inviso:init_tracing/1,2 CmdFiles = [CmdFile] CmdFile = string() Bindings = [{Var,Val}] Var = atom() Val = term() Transl = [{{M1,F1,Arity}, {M2,F2,{Mt,Ft}}}] M1 = F1 = M2 = F2 = Mt = Ft = atom() Arity = int() RTtag = term() Reason = term() Creates an autostart configuration file on Node . The name of the file is automatically deducted from consulting the Runtime_Tools configuration parameters at Node . R is the number of allowed autostarts remaining. Opts is the options which shall be given to the runtime component. See inviso:add_nodes/2,3 . TracerData is used when initiating tracing on this node. See inviso:init_tracing/1,2 . CmdFiles points out files containing instructions understood by the inviso_autostart_server implementation of an autostart initia- tor. Bindings is a list of {Var, Val} tuples, where Var is the name of a variable and Val the actual value of the variable. Transl means that M1:F1/Arity shall be translated into M2:F2 . RTtag is the incarnation tag of the runtime component. See See inviso:add_nodes/2,3 . set_repeat(Node, R) -> ok | {error, Reason} Types Node = atom() R = int() Reason = term() Sets the repeat parameter in the autostart file at Node without changing any of its other contents. The autostart configuration file must exist. R is the number of allowed autostarts remaining. inhibit_autostart(Node) -> ok | {error, Reason} Types Node = atom() Reason = term() Sets the repeat parameter in the autostart file at Node to 0. Equivalent to set_repeat(Node, 0) . Ericsson AB inviso 0.6.2 inviso_as_lib(3erl)
All times are GMT -4. The time now is 02:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy