Technical article 107657

The /etc/services file loses tcpmux, pop3 or other entries when running NIS.

OpenServer 5.0.0OpenServer 5.0.2

Written · Last revised

Problem

The SCO OpenServer 5 or Internet FastStart system is mysteriously losing entries from the /etc/services file which causes these services to become unavailable.

Cause

If an NIS master system is configured to automatically propagate the /etc/services file over NIS and if the /etc/services file on the master system does not contain entries for tcpmux, pop3 and other services that are needed by the NIS slave systems, then the slave /etc/services files will be overwritten and seem to lose entries for tcpmux, pop3 and possibly other services.

This occurs especially when the NIS master runs SCO Open Desktop 3.0 and the NIS slaves run SCO OpenServer 5.0.x, since the SCO OpenServer 5.0.x /etc/services files have tcpmux and pop3 entries by default, whereas SCO Open Desktop 3.0 does not have these entries by default. Also, the NIS file /etc/yp/YP_MAP_X_LATE, which lists files to be propagated by the master to slaves, contains an entry for the /etc/services file by default.

Solution

There are two possible solutions:

1. If you need to propagate /etc/services, edit this file on the NIS master system and add the entries for tcpmux, pop3, and any others needed by slaves.

2. If you do not need to propagate /etc/services, remove all entries in the file /etc/yp/YP_MAP_X_LATE that refer to the /etc/services file (for example "services.byname").

From the Xinuos technical article database, record 107657. Reproduced with permission. The original is at www.sco.com/ta/107657, 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.