ArcGIS Server Banner

Forcing a search of the local services file on Unix systems

Forcing a search of the local services file on Unix systems

Release 9.3 E-mail This TopicPrintable VersionGive Us feedback

About forcing a search of the local services file

NOTE: Applies to geodatabases created with an ArcGIS Server Enterprise license only

Some UNIX systems direct applications to search the Network Information Service (NIS) file rather than the local services file. If you want to have the operating system search the local services file instead, you must force it to do so.

How to force UNIX to search the local services file

Force a search of local services on HP-UX

  1. Copy the nsswitch.conf file from the /usr/newconfig/etc directory to the /etc directory.
  2. Edit the file and change the line services: nis files to services: files nis.
  3. # /etc/nsswitch.conf:
    #This file uses NIS (YP) in conjunction with
    # files.
    # "hosts:" and "services:" in this file are used
    # only if the /etc/netconfig file has a "-" for
    # nametoaddr_libs of "inet" transports.
    # the following two lines obviate the "+" entry
    # in /etc/passwd and /etc/group.
    passwd: files nis
    group: files nis
    # consult /etc "files" only if nis is down.
    hosts: files nis dns
    networks: nis [NOTFOUND=return] files
    protocols: nis [NOTFOUND=return] files
    rpc: nis [NOTFOUND=return] files
    ethers: nis [NOTFOUND=return] files
    netmasks: nis [NOTFOUND=return] files
    bootparams: nis [NOTFOUND=return] files
    publickey: nis [NOTFOUND=return] files
    netgroup: nis
    automount: files nis
    aliases: files nis
    # for efficient getservbyname() avoid nis
    services: files nis
    sendmailvars: files

Force a search of the local services on IBM AIX

  1. In the /etc directory, create the file netsvc.conf.
  2. Add the line
  3. services=local.nis

See Also

  • Starting an ArcSDE service