Generating a Subsystem


 
Thread Tools Search this Thread
Operating Systems AIX Generating a Subsystem
# 1  
Old 07-14-2008
Generating a Subsystem

Hello,

I'm trying to generate a subsystem which supports startsrc, stopsrc and refresh

I want to specify special arguments in case of stopsrc and refresh


for example:

startsrc:
/bin/testscript start
stopsrc:
/bin/testscript stop
refresh:
/bin/testscript restart

which should be simple, but I don't find a way to do this

Code:
mkssys -p /bin/testscript -s  test -u root -a start -G group1 -o /dev/null

just works for starting the subsys

if I want to stop it, I need to specify a stop and a force signal, like 15 and 9, but then the subsystem is marked for signal communication and I can't define a refresh command


I don't know how to use message queues, perhaps someone can help me on this


thanks in advance

funksen
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. HP-UX

[HP UNIX B.10.20] NFS Client SubSystem fail

Recently moved a HP Unix B.10.20 system from US to Thailand, and everything is work well in US but after we changed: 1. set_parms ip_address (change the IP to TH range) 2. set_parms addl_netwrk (change the Subnet, Gateway, Domain name, DNS Svr Name, and DNS IP) 3. vi /etc/hosts (to commented... (4 Replies)
Discussion started by: beta911
4 Replies

2. SCO

Stop boot system at "Checking protected password and checking subsystem databases"

Hi, (i'm sorry for my english) I'm a problem on boot sco unix 5.0.5 open server. this stop at "Checking protected password and checking subsystem databases" (See this image ) I'm try this: 1) http://www.digipedia.pl/usenet/thread/50/37093/#post37094 2) SCO: SCO Unix - Server hangs... (9 Replies)
Discussion started by: buji
9 Replies

3. AIX

sftp : have to specify subsystem from client side

I have several ssh servers *running aix 5.3 and they respond to sftp requests just fine, but I have one that requires clients to specify the path to the sftp server using the -s flag which is*/usr/sbin/sftp-server I check the sshd_config across all servers and they are the same. *The other... (1 Reply)
Discussion started by: massdesign
1 Replies

4. UNIX for Dummies Questions & Answers

SFTP subsystem requests

Hi there, what is the meaning of this line: SFTP subsystem requests: 5 Time(s) in: /var/mail/root??? Tks in advance, GB (0 Replies)
Discussion started by: Giordano Bruno
0 Replies

5. UNIX for Advanced & Expert Users

Password Aging with Openssh 5.2 SFTP Subsystem Jail

All, I enabled PAM and aged a password, but when I login it asks me for the current password then says password unchanged after entering the current password. Is this a bug? My security dept is going to want me to enable password aging and I'm stuck! Any help on what the issu is? ... (6 Replies)
Discussion started by: markdjones82
6 Replies

6. Ubuntu

Getting Subsystem ID/Vendor

Hey Guys ... How I can look up Subsystem ID of the WIFI card under Ubuntu... I did try lspci but its outputting only Vendor and Dev no subsys ... I need same data as below ( Windows ) PCI\VEN_168C&DEV_001C&SUBSYS_04281468&REV_01\4&1BF192B7&0&0020 thank you happy new year ! (2 Replies)
Discussion started by: NDxiak
2 Replies

7. AIX

Subsystem Component Failure

Hello All, Does some one have any idea about the subsystem component failure. Errpt command throws below errors for my server :- # errpt IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION B9735AF4 0304222408 P H hdisk5 SUBSYSTEM COMPONENT FAILURE B9735AF4 0304222408 P H... (1 Reply)
Discussion started by: Shrek
1 Replies

8. UNIX for Advanced & Expert Users

subsystem failure

aix 4.3 I get the following error from the errpt log BD797922 0306170008 P H enclosure0 SUBSYSTEM FAILURE I'm not clear on this kind of error. It never happened to me. What do this errors mean, and how do I clear or solve them? Any help is appreciated. (2 Replies)
Discussion started by: andwhat
2 Replies

9. UNIX for Dummies Questions & Answers

NFS client subsystem hang up on boot

Hi, I have a Unix box running HP-UX 10.20 and it suddenly won't boot. Every time it goes down the boot checklist, it hangs on "NFS client subsystem" and just continues to say busy/wait. I have read something about the /etc/auto_master but don't quite understand what has to happen to fix it. ... (4 Replies)
Discussion started by: Asheley Ryan
4 Replies
Login or Register to Ask a Question
SLPGetRefreshInterval(3SLP)			    Service Location Protocol Library Functions 		       SLPGetRefreshInterval(3SLP)

NAME
SLPGetRefreshInterval - return the maximum allowed refresh interval SYNOPSIS
cc [ flag... ] file... -lslp [ library... ]#include <slp.h> int SLPGetRefreshInterval(void) DESCRIPTION
The SLPGetRefreshInterval() function returns the maximum across all DAs of the min-refresh-interval attribute. This value satisfies the advertised refresh interval bounds for all DAs. If this value is used by the SA, it assures that no refresh registration will be rejected. If no DA advertises a min-refresh-interval attribute, a value of 0 is returned. If an error occurs, an SLP error code is returned. ERRORS
This function or its callback may return any SLP error code. See the ERRORS section in slp_api(3SLP). EXAMPLES
Example 1 Using SLPGetRefreshInterval() Use the following example to return the maximum valid refresh interval for SA: int minrefresh minrefresh = SLPGetRefreshInterval(); ENVIRONMENT VARIABLES
SLP_CONF_FILE When set, use this file for configuration. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWslpu | +-----------------------------+-----------------------------+ SEE ALSO
slpd(1M), slp_api(3SLP), slp.conf(4), slpd.reg(4), attributes(5) System Administration Guide: Network Services Kempf, J. and Guttman, E. RFC 2614, An API for Service Location. The Internet Society. June 1999. SunOS 5.11 16 Jan 2003 SLPGetRefreshInterval(3SLP)