Sponsored Content
Top Forums UNIX for Advanced & Expert Users Using inetadm to change bind_addr Post 303031774 by hitech on Tuesday 5th of March 2019 03:41:29 PM
Old 03-05-2019
Using inetadm to change bind_addr

In solaris


Code:
inetadm -l pop3
 SCOPE    NAME=VALUE
         name="pop3"
         endpoint_type="stream"
         proto="tcp6"
         isrpc=FALSE
         wait=FALSE
         exec="/usr/sbin/popper -s -R"
         user="root"
default  bind_addr="71.252.137.146"
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=TRUE
default  connection_backlog=10

I can change the bind_addr to any other ip but


When i use inetadm -M bind_addr="" or '' or simply bind_addr= I get the following error


Code:
Cannot accept NULL values for default properties.


Any ideas how I can clear the bind_addr?


Thanks




Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 03-05-2019 at 06:21 PM.. Reason: Added CODE tags.
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

How to change ip ?

hi , Is there anyway to change ip on sco5.04 i tried using netconfig on the prompt but gives me error . how do u manually change ip cant use acoadmin and netconfig .... thx art (2 Replies)
Discussion started by: art_malabanan
2 Replies

2. Post Here to Contact Site Administrators and Moderators

Want to change my Name

Hello, Pls change my login name to Awadhesh instead of awadhesh if possible. it will be more better if it become Awadhesh Pandey. Thanks a lot. Awadhesh (2 Replies)
Discussion started by: Awadhesh
2 Replies

3. Post Here to Contact Site Administrators and Moderators

how to change my name?

hi, how to change my name in the unix forums. ie in the right top corner "welcome, sekar sundaram" i would like to change my name in this welcome field. how to do that? in the edit profile i cant find it.. sekar (6 Replies)
Discussion started by: sekar sundaram
6 Replies

4. Solaris

removing inetadm entries in Solaris 10

Hi there Does anybody know how I can remove an entry from the listing that `inetadm` produces ? ie .. .. .. disabled disabled svc:/network/finger:default disabled disabled svc:/network/login:eklogin disabled disabled svc:/network/login:klogin disabled disabled ... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

5. Solaris

inetadm command

I am little confussed, I have installed a netbackup client on Solaris 10. The client software has made an entry for bpcd in /etc/inetd.conf file My question is can I use the following command in Solaris 10 so that inetd.conf is reread and is it save to do this in a production env. Do I need to... (1 Reply)
Discussion started by: Tirmazi
1 Replies

6. Solaris

difference between inetadm and svcadm

Can anyone tell me the difference between inetadm and svcadm in solaris. As per my knowledge svcadm will use to start/stop services . Any help on this is really helpful (2 Replies)
Discussion started by: rogerben
2 Replies

7. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

8. Shell Programming and Scripting

Change the content of files but not change the date

I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies

9. Shell Programming and Scripting

Change the content of files but not change the date

I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Discussion started by: ust3
7 Replies

10. SCO

How to change raid controller driver ? (hardware change)

Hello I'm trying to virtualize an instance of Sco Unix 5.0.5 in VirtualBox (called VM-A) , but sco I have problems set to launch with the new raid controller . The physical machine has a raid controller adaptec (alad driver) but VirtualBox uses buslogic (blc driver) What ... (3 Replies)
Discussion started by: flako
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 02:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy