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
-
tcpjsLAWENVNAME
ortcpexecjobLAWENVNAME
where LAWENVNAME is the value of $LAWENVNAME.
- Socket Type
-
stream
- Protocol
-
tcp
- Wait/Nowait
-
nowait
- User
-
root
- Server Program
-
$GENDIR/bin/tcpjsd
or$GENDIR/bin/tcpexecjobd
For $GENDIR, specify the actual path, not "$GENDIR".
- Server Program Arguments
-
ServerProgram -e EnvironmentName -- -t LAWENVNAMEvalue
where
LAWENVNAME
is 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 90env
Note: 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