Technical article 107585

The '/etc/bootpd' daemon fails to start "Can not get my IP address".

OpenServer 5.0.0

Written · Last revised

Problem

On system startup, bootpd(ADMN) fails to start with the error:

Setting bootpd exit 0x01
inetd exit 0x01

If the bootp daemon is started manually from the command line as:

# /etc/bootpd
it reports the error:
Can not get my IP address

Cause

Bootpd(ADMN) fails to start and the error message is printed if a match cannot be made in the software between the system hostname and a corresponding IP address.

Solution

Make sure the name of the system, as returned by the hostname(ADMN) command, or set via the SCOadmin Network Configuration Manager in the TCP/IP protocol configuration, or via the uname(C) command:

# uname -n
matches the name of the system as contained in the '/etc/hosts'
file.  For example:
#
# hostname
testmach.sco.com
# uname -n
testmach
#
(extract from '/etc/hosts')
...
...
146.120.1.17    testmach testmach.sco.com

The problem has also been observed when the system '/etc/hosts' file has been corrupted. It may look visually correct, but to test, move it aside by renaming it, e.g.,

		# mv /etc/hosts /etc/hosts.org

Try to restart bootp from the command line and if the error occurs, create a new '/etc/hosts' file (do not simply copy the original) with a few lines in it and repeat the test. The entire hosts file may need then to be rewritten.

	  the test.

From the Xinuos technical article database, record 107585. Reproduced with permission. The original is at www.sco.com/ta/107585, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.