To set up the Lawson network services in the inetd.conf file
- In the /etc/inetd.conf (Internet daemon) file on all machines in the network, specify the following information for each service.
- Service Name
-
tcpjsLAWENVNAMEortcpexecjobLAWENVNAMEwhere LAWENVNAME is the value of $LAWENVNAME.
- Socket Type
-
stream - Protocol
-
tcp - Wait/Nowait
-
nowait - User
-
root - Server Program
-
$GENDIR/bin/tcpjsdor$GENDIR/bin/tcpexecjobdFor $GENDIR, specify the actual path, not "$GENDIR".
- Server Program Arguments
-
ServerProgram -e EnvironmentName -- -t LAWENVNAMEvaluewhere
LAWENVNAMEis the corresponding value from the Server Program field, EnvironmentName is the name of the Lawson Environment you are defining services for, and LAWENVNAMEvalue is the value of the $LAWENVNAME environment variable.Example:
/lawenv/univ/bin/tcpjsd –e 90env -- -t 90envNote: A double dash (--) must follow the Environment name.
- Force the Lawson system to recognize the changes to inetd.conf (for example, do a stoplaw and then a startlaw.
Sample inetd.conf file (Note: Each pair of lines below represents one continuous line in an actual inetd.conf file.
tcpjs90env stream tcp nowait root /lawenv/univ/bin/tcpjsd /lawenv/univ/bin/tcpjsd -e 90env -- -t 90env tcpexecjob90env stream tcp nowait root /lawenv/univ/bin/tcpexecjobd /lawenv/univ/bin/tcpexecjobd -e 90env -- -t 90env