Problem:
According to the documentation, a fileshare server can be run as a background task using the following command line:
fs >server-1.log 2>&1 &
However after running this command, the following is displayed on the command line:
[1] Stopped fs >server-1.log 2>&1
and an rts32 process is left running while can only be terminated with a kill -9
Resolution:
Problem here seems to be that the fileshare password file needs to be available when starting the server as a background task. This is normally configured in the fs.cfg file, however this file does not seem to get automatically picked-up when starting the server as a background task.
The following command lines will correctly start the server in background mode:
1. fs < fs.cfg >server-1.log 2>&1 &
2. fs -s SERVER -pf password_file >server-1.log 2>&1 &
N.B. solution 1 assumes that the password file is specified in fs.cfg using -pf.
#ServerExpress
#RMCOBOL
#AcuCobol
#netexpress
#COBOL