Sponsored Content
Full Discussion: Solaris log question
Operating Systems Solaris Solaris log question Post 302749523 by GP81 on Friday 28th of December 2012 01:14:34 PM
Old 12-28-2012
It's better to use "-m" rather than "-M. With low letter you can change value for specific service.
Code:
# inetadm | grep telnet

Now you know what is FMRI of telnet service.
Code:
# inetadm -m <telnet FMRI>  tcp_trace=true

You can also edit syslog.conf file to configure where and with what level daemon log will be stored.
This User Gave Thanks to GP81 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 2.6 question

How do I define a default gateway on a Solaris 2.6 Server. (2 Replies)
Discussion started by: jskillet
2 Replies

2. Solaris

solaris package question

I'm trying to install GNU C compiler. I have the binary downloaded, and add it using a pkgadd -d command. Is there anything else I need to do? Thanks. (7 Replies)
Discussion started by: ECBROWN
7 Replies

3. Solaris

Solaris Network question

I have a machine that has developed a strange network problem. Anytime it sends an FTP file somewherwe, no problem. When it is the target machine, extremely slow. I checked the /var/adm/messages file and found a few of these: SUNW,hme0 : No response from Ethernet network : Link down -- cable... (2 Replies)
Discussion started by: hshapiro
2 Replies

4. UNIX for Advanced & Expert Users

Solaris browser question

The security office is complaining that my system (Solaris 8) that the "security.password_lifetime" is not configured in the /.netscape/preferences.js file. I have found the file but don't know how to configure it to get the browser to request a password after 15 minutes of inactivity. Help... (1 Reply)
Discussion started by: rtoba
1 Replies

5. UNIX for Dummies Questions & Answers

Basic Solaris Question

In solaris, if i try to make a new file Touch /blah/blah/cookie/file.txt and /cookie doesnt exist will solaris be a good os and create the path for file.txt? Or will i need to do a test loop for directory existance in my script? (3 Replies)
Discussion started by: Demon002
3 Replies

6. Solaris

A Solaris Question

hi.. I have a question because there are files on Solaris and will not let me change the root user is the owner. excuse is that I come from a Linux environment and I like to learn Solaris thank (5 Replies)
Discussion started by: cejodrake
5 Replies

7. Solaris

Solaris 9 upgrade question.

I have an old sun v890 server running solaris 9. Apparently we need to be running solaris 10. I don't know much about the server history, there isn't any documentation. I hesitant to rebuild from scratch and loose user configuration settings etc... How difficult is it to upgrade to solaris... (10 Replies)
Discussion started by: Kjons76
10 Replies

8. UNIX for Dummies Questions & Answers

RAID on Solaris Question

Hello folks; I'm trying to install Solaris 10 x86 on SUN X4150 box with 6 disks in it, the question is how can i create a Virtual disk like RAID 0 before i install Solaris. When i boot up i don't see any option to go and create my raid before the installation begin. Thanks in advance for any... (2 Replies)
Discussion started by: Katkota
2 Replies

9. Solaris

Question with Solaris Crash Analysis Tool with Solaris 9

Hello all. I am new hear and would like to ask a question regarding to the Solaris Crash Analysis Tool. We are analyzing the results of "thread summary" but not quite sure what the asterisk represents. Following are the items that asterisk were attached. 50* threads sleeping on a semaphore (49... (1 Reply)
Discussion started by: YuW
1 Replies

10. Solaris

Enabling Solaris Audit log: Solaris 9

Dear All, I have one of my Servers, running Solaris 9. I wanna enable the Audit log enabling, the way I did in Solaris 10 Servers. After running, the bsmconv script, giving the reboots, modifying all the audit files in /etc/security, the audit is enabled, but the audit file which shall be... (3 Replies)
Discussion started by: sumeet1806
3 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 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy