OCSSW Processors Not Installing - WSL
Posted: Sat Jun 17, 2023 12:24 pm America/New_York
Hello! I followed the instructions for client-server configuration on Windows: https://seadas.gsfc.nasa.gov/client_server/
I was able to get the OCSSW server running on the Ubuntu distribution (WSL 1). However, when I go to SeaDas and try to click "Install/Update SeaDas Processors", nothing happens (I was previously getting an error that the server was not running but I solved that issue). When I try to then run l2gen, I get a java exception: "execution exception: java.io.IOException: l2gen failed with exit code -1." with the log saying: server ocssw root path: /home/nathra/ocssw/bin
Debugging: par file new path: /mnt/c/Users/16309/seadasClientServerShared/l2gen_par_file4750930658340760266.par
Debugging: new par string:
Debugging: convert successful
Debugging: write successful
Debugging: commandArrayPrefix: /home/nathra/ocssw/bin/ocssw_runner
Debugging: commandArrayPrefix: --ocsswroot
Debugging: commandArrayPrefix: /home/nathra/ocssw
process status: -100
Debugging: command array: /home/nathra/ocssw/bin/ocssw_runner --ocsswroot /home/nathra/ocssw l2gen par=/mnt/c/Users/16309/seadasClientServerShared/l2gen_par_file4750930658340760266.par
java.io.IOException: Cannot run program "/home/nathra/ocssw/bin/ocssw_runner" (in directory "/mnt/c/Users/16309/seadasClientServerShared"): error=2, No such file or directory
I am assuming I am getting this error because I was unable to install the processors.
-------------seadas.properties-----------------
#SNAP configuration 'seadas'
#Sat Jun 17 11:06:18 CDT 2023
seadas.ocssw.port=6400
seadas.ocssw.location=virtualMachine
seadas.ocssw.keepFilesOnServer=false
seadas.ocssw.log.Dir=C\:\\Users\\16309\\seadasClientServerShared\\log
seadas.client.id=16309
seadas.ocssw.processErrorStreamPort=6403
seadas.ocssw.serverAddress=
seadas.ocssw.processInputStreamPort=6402
seadas.ocssw.sharedDir=C\:\\Users\\16309\\seadasClientServerShared
----------------------------------------------------
-------------ocsswserver.config-----------------
ocsswrest.version=1.0
baseUriPortNumber=6400
ocsswroot=${user.home}/ocssw
serverWorkingDirectory=${user.home}/seadasClientServerShared
clientServerSharedDir=true
keepIntermediateFilesOnServer=false
processInputStreamPortNumber=6402
processErrorStreamPortNumber=6403
----------------------------------------------------
Is there a way to manually install the processors or fix the issue within SeaDas? Thank you!
I was able to get the OCSSW server running on the Ubuntu distribution (WSL 1). However, when I go to SeaDas and try to click "Install/Update SeaDas Processors", nothing happens (I was previously getting an error that the server was not running but I solved that issue). When I try to then run l2gen, I get a java exception: "execution exception: java.io.IOException: l2gen failed with exit code -1." with the log saying: server ocssw root path: /home/nathra/ocssw/bin
Debugging: par file new path: /mnt/c/Users/16309/seadasClientServerShared/l2gen_par_file4750930658340760266.par
Debugging: new par string:
Debugging: convert successful
Debugging: write successful
Debugging: commandArrayPrefix: /home/nathra/ocssw/bin/ocssw_runner
Debugging: commandArrayPrefix: --ocsswroot
Debugging: commandArrayPrefix: /home/nathra/ocssw
process status: -100
Debugging: command array: /home/nathra/ocssw/bin/ocssw_runner --ocsswroot /home/nathra/ocssw l2gen par=/mnt/c/Users/16309/seadasClientServerShared/l2gen_par_file4750930658340760266.par
java.io.IOException: Cannot run program "/home/nathra/ocssw/bin/ocssw_runner" (in directory "/mnt/c/Users/16309/seadasClientServerShared"): error=2, No such file or directory
I am assuming I am getting this error because I was unable to install the processors.
-------------seadas.properties-----------------
#SNAP configuration 'seadas'
#Sat Jun 17 11:06:18 CDT 2023
seadas.ocssw.port=6400
seadas.ocssw.location=virtualMachine
seadas.ocssw.keepFilesOnServer=false
seadas.ocssw.log.Dir=C\:\\Users\\16309\\seadasClientServerShared\\log
seadas.client.id=16309
seadas.ocssw.processErrorStreamPort=6403
seadas.ocssw.serverAddress=
seadas.ocssw.processInputStreamPort=6402
seadas.ocssw.sharedDir=C\:\\Users\\16309\\seadasClientServerShared
----------------------------------------------------
-------------ocsswserver.config-----------------
ocsswrest.version=1.0
baseUriPortNumber=6400
ocsswroot=${user.home}/ocssw
serverWorkingDirectory=${user.home}/seadasClientServerShared
clientServerSharedDir=true
keepIntermediateFilesOnServer=false
processInputStreamPortNumber=6402
processErrorStreamPortNumber=6403
----------------------------------------------------
Is there a way to manually install the processors or fix the issue within SeaDas? Thank you!