AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Unwanted output of prtconf

    Posted Mon September 24, 2007 03:55 AM

    Originally posted by: sck


    Hi,

    While executing the command prtconf on AIX 5.3 i got the following error message.
    Network Information
    Host Name: getopt
    IP Address:
    Sub Netmask: /usr/sbin/mktcpip {-S interface | -h hostname -a address -i interface
    -n nameserver_address -d domain -m subnet_mask
    -g gateway_address] -t cable_type -r ring_speed
    -c subchannel -D destination_address -s}

    -h hostname Hostname of your machine
    -a address IP address of the interface specified by -i
    (must be in dotted decimal notation)
    -i interface Interface to associate with the -a IP address
    -n nameserver_address IP address of nameserver machine
    (must be in dotted decimal notation)
    -d domain Domain name, only use with -n
    -m subnet_mask Subnetwork mask (dotted decimal or 0x notation)
    -g gateway_address Gateway destination address
    (dotted decimal or symbolic name)
    -t cable_type Cable type for ethernet, either 'bnc', 'dix', 'tp'
    or 'N/A'
    -r ring_speed Ring speed for token ring adapter, either 4 or 16
    -s Start the TCP/IP daemon
    -c subchannel Subchannel Address for 370 Channel Adapter
    -D destination_address Destination IP address for 370 Channel Adapter
    -S interface Retrieve information for SMIT display
    -A yes or no Do active dead gateway detection on default route?
    -C cost Cost for default route

    Example
    Gateway:
    Name Server:
    Domain Name:
    Can anybody suggest the solution for this

    Thanks


  • 2.  Re: Unwanted output of prtconf

    Posted Mon September 24, 2007 07:42 AM

    Originally posted by: SystemAdmin


    The text you've quoted resembles the error message you get if you run /usr/sbin/mktcpip with invalid parameters. /usr/sbin/prtconf is a shell script which, among other things, runs mktcpip. This tends to suggest that you have something messed up in your network configuration. What I would do is add the -x flag to the shebang line of prtconf and run it again to see where exactly the failure is happening. It should show you the failing command.

    HTH

    Jim Lane


  • 3.  Re: Unwanted output of prtconf

    Posted Thu May 26, 2016 11:12 AM

    Originally posted by: sa1piper


    I just encountered the same thing and discovered that the reason was because I had an active dhcpcd daemon process. Once I stopped it via 'stopsrc -s dhcpcd', the prtconf output was back to normal. I don't know why dhcpcd was even running in the first place as we use static IPs.