---
name: "lfc-dli"
section: "8"
platform: "linux"
package: "lfc-dli"
version: "1.10.0-2+b3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/lfc-dli"
---

# lfc-dli(8)

start the LFC Data Location Interface server

## NAME

lfc-dli - start the LFC Data Location Interface server

## SYNOPSIS

**lfc-dli** \[ **-l** *log\_file* \]

## DESCRIPTION

The **lfc-dli** command starts the LFC Data Location Interface server. This command is usually executed at system startup time (**/etc/rc.local**). This will create a pool of threads, look for requests and pass them to the LFC. When a request has been completed, the thread becomes idle until it is allocated to another request.

All error messages and statistical information are kept in a log.

The Data Location Interface server listen port number can be defined on client hosts and on the server itself in either of the following ways:

setting an environment variable DLI\_PORT

setenv DLI\_PORT 8085

an entry in **/etc/shift.conf** like:

DLI	PORT	8085

If none of these methods is used, the default port number is taken from the definition of DLI\_PORT in dli\_server.h.

In the log each entry has a timestamp. For each user request there is one message giving information about the requestor (hostname) and one message DLI98 giving the request itself. The completion code of the request is also logged.

## OPTIONS

- **-l** *log\_file*

  Specifies a different path for the LFC Data Location Interface server log file. The special value **syslog** will send the log messages to the system logger syslogd.

## FILES

- **/var/log/lfc-dli/log**

  ## EXAMPLES

- Here is a small log:

  ```
  05/18 16:27:21  1942 dli: started
  05/18 22:10:33  1942,0 listReplicas: request from lxb2016.cern.ch
  05/18 22:10:33  1942,0 listReplicas: DLI98 - listReplicas lfn:/grid/dteam/foo888
  05/18 22:10:34  1942,0 listReplicas: returns 0
  05/18 22:12:10  1942,0 listReplicas: request from lxb2016.cern.ch
  05/18 22:12:10  1942,0 listReplicas: DLI98 - listReplicas guid:41b20a76-2287-4f81-9750-7e2eb4d199c8
  05/18 22:12:11  1942,0 listReplicas: returns 0
  ```

## SEE ALSO

**[Clogit(3)](/Clogit/3.md)**, **lfc-server(8)**
