Sponsored Content
Full Discussion: SMF in Solaris 10
Operating Systems Solaris SMF in Solaris 10 Post 302402118 by mpics66 on Tuesday 9th of March 2010 02:08:22 AM
Old 03-09-2010
Hi,

I am not sure of the ps -ef |grep inetd output in solaris 10 after enabling trace, but if the below command shows the "default tcp_trace=TRUE" then it should work.

inetadm -m svc:/network/xxx/tcp tcp_trace=TRUE
inetadm -l svc:/network/xxx/tcp
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Standalone FTPD within SMF

Hello We are trying to run the WU_FTPD demon in standalone mode (-S argument) via an SMF service. Prior to SMF, this was achieved by simply commenting out the FTP line within the inetd.conf file. However, within SMF, I believe we need to carry out the following activities: i) Remove the FTP... (0 Replies)
Discussion started by: CowsUdders
0 Replies

2. Solaris

Boot problem with SMF svcs-Solaris 10 for x86

Hi All, I am newbie in solaris, please guide me. A week before i installed solaris10 on my x86 system, it was working fine i always used "init 5" to shutdown my system as per my collegue advice. But yesterday when i started my system it gave me following message ... (6 Replies)
Discussion started by: imrankhan.in
6 Replies

3. Solaris

smf repository not running

Hi All, I have a Solaris server which runs version 10 After installing the patch , i thought of doing a recongiuration reboot But it failed saying "smf repository not running" what could be the issue. Thanks J (4 Replies)
Discussion started by: jegaraman
4 Replies

4. Solaris

SMF service HELP

I would like to run command whenever system boot up, i.e "/opt/admin/script/closegen -c /opt/share/script/colsehg" How do I integrate above command in to SMF services. -sam (1 Reply)
Discussion started by: sam786
1 Replies

5. Solaris

Chkconfig & SMF

Hi I have been told to migrate linux init scripts to solaris 10. i am reading about the chkconfig & SMF ( I came to know that SMF is used in Sol 10 for service management ). The only thing i could not find out ( Because i dont have root access ) is how the links are created in rcX.d directory? ... (6 Replies)
Discussion started by: zedex
6 Replies

6. Solaris

Can solaris 10 SMF use remote dependencies

I have a customer who wants us to set up their applications to start using the solaris 10 SMF. One of their applications requires that 3 database instances are up and running, but those instances are on 3 separate servers. I can't think of any way that this can be done from what I have read on my... (1 Reply)
Discussion started by: rkruck
1 Replies

7. Solaris

Solaris 10 massive SMF log file

I found that there was a SMF log file: /var/svc/log/milestone-multi-user-server:default.log.0 which occupied around 19G bytes. Please help me how to purge this massive file. Can I just use cat /dev/null > /var/svc/log/milesto..... to this file without any interruption to a non-stop system?... (11 Replies)
Discussion started by: AlexLi
11 Replies

8. Solaris

SMF in Solaris wont write to stderr/stdout ?

Hi, I got a process (c written) that we usually run this way : EmsChkQu >> /EMS/log/EmsChkQu.log 2>&1 When trying to use it as a service I defined it this way : <?xml version='1.0'?> <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> <service_bundle... (6 Replies)
Discussion started by: zionassedo
6 Replies
inetadm(1M)						  System Administration Commands					       inetadm(1M)

NAME
inetadm - observe or configure inetd-controlled services SYNOPSIS
inetadm inetadm -? inetadm -p inetadm -l {FMRI | pattern} inetadm -e {FMRI | pattern} inetadm -d {FMRI | pattern} inetadm -m {FMRI | pattern} ... {name=value} ... inetadm -M {name=value} ... DESCRIPTION
The inetadm utility provides the following capabilities for inetd-managed SMF services: o Provides a list of all such services installed. o Lists the services' properties and values. o Allows enabling and disabling of services. o Allows modification of the services'property values, as well as the default values provided by inetd. See smf(5) for a description of an SMF service. With no arguments, inetadm lists all services under inetd(1M) control, including such attributes as their current run state and whether or not they are enabled. OPTIONS
For options taking one or more FMRI operands (see smf(5) for a description of an FMRI), if the operand specifies a service (instead of a service instance), and that service has only a single instance, inetadm operates on that instance. If a service name is supplied and it contains more than one instances or a pattern is supplied and and it matches more than one instance, a warning message is displayed and that operand is ignored. For those options taking name=value parameters, a description of each of the possible names and the allowed values is found in the inetd(1M) man page. The following options are supported: -? Display a usage message. -p Lists all default inet service property values provided by inetd in the form of name=value pairs. If the value is of boolean type, it is listed as TRUE or FALSE. -l {FMRI | pattern}... List all properties for the specified service instances as name=value pairs. In addition, if the property value is inherited from the default value provided by inetd, the name=value pair is identified by the token (default). Property inheritance occurs when properties do not have a specified service instance default. -e {FMRI | pattern}... Enable the specified service instances. -d {FMRI | pattern}... Disable the specified service instances. -m {FMRI | pattern}...{name=value}... Change the values of the specified properties of the identified service instances. Properties are specified as whitespace-separated name=value pairs. To remove an instance-specific value and accept the default value for a property, simply specify the property without a value, for example, name= . -M {name=value}... Change the values of the specified inetd default properties. Properties are specified as whitespace-separated name=value pairs. EXAMPLES
Example 1: Displaying Properties for a Service The following command displays the properties for the spray service. # inetadm -l network/rpc/spray:default SCOPE NAME=VALUE name="sprayd" endpoint_type="tli" proto="datagram_v" isrpc=TRUE rpc_low_version=1 rpc_high_version=1 wait=TRUE exec="/usr/lib/netsvc/spray/rpc.sprayd" user="root" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE default tcp_trace=FALSE default tcp_wrappers=FALSE Example 2: Displaying Default Properties The following command displays default properties. # inetadm -p NAME=VALUE bind_addr="" bind_fail_max=-1 bind_fail_interval=-1 max_con_rate=-1 max_copies=-1 con_rate_offline=-1 failrate_cnt=40 failrate_interval=60 inherit_env=TRUE tcp_trace=FALSE tcp_wrappers=FALSE Example 3: Changing Property Values for a Service The following command changes rpc_high_version to 3 and tcp_trace to TRUE for the spray service. # inetadm -m network/rpc/spray:default rpc_high_version=3 tcp_trace=TRUE # inetadm -l network/rpc/spray:default SCOPE NAME=VALUE name="sprayd" endpoint_type="tli" proto="datagram_v" isrpc=TRUE rpc_low_version=1 rpc_high_version=3 wait=TRUE exec="/usr/lib/netsvc/spray/rpc.sprayd" user="root" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE tcp_trace=TRUE default tcp_wrappers=FALSE EXIT STATUS
The following exit values are returned: 0 Operation completed successfully. 1 A fatal error occurred. An accompanying error message will provide further information. 2 Invalid arguments were supplied, such as an ambiguous service FMRI or pattern. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
inetd(1M), svccfg(1M), attributes(5), smf(5) SunOS 5.10 17 Dec 2004 inetadm(1M)
All times are GMT -4. The time now is 04:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy