[DOWNLOADER] java.io.FileNotFoundException: gms-cli-frontend.log (Permission denied)
Something seems to be wrong with the file permissions.
Here is what I did:
gfz-fe@geoms:/opt/gms-modules$ bash gms-cli-frontend -h
loading gms-cli-frontend.properties found at /opt/gms-modules/gms-cli-frontend.properties
usage: gms-cli-frontend [-a <arg>] [-d <arg>] [-h] [-i <arg>]
-a,--attach <arg> attaches this cli frontend as a monitor to a
running process, arg: jobid, e.g. 265384
-d,--download <arg> submits a downloadjob to the gms-controller, args:
comma separated list of db sceneids (or a path to a
file containing the list), e.g. 12345,98765,... (or
/path/to/scenes.csv)
-h,--help prints this help message
-i,--info <arg> retrieves job information and prints it to stdout,
arg: jobid, e.g. 265384
gfz-fe@geoms:/opt/gms-modules$ bash gms-cli-frontend -d 31781517
loading gms-cli-frontend.properties found at /opt/gms-modules/gms-cli-frontend.properties
will create a download job for the following scenes: [31781517]
Could not open [gms-cli-frontend.log]. Defaulting to System.err
Reported exception:
java.io.FileNotFoundException: gms-cli-frontend.log (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:101)
at org.slf4j.simple.SimpleLoggerConfiguration.computeOutputChoice(SimpleLoggerConfiguration.java:176)
at org.slf4j.simple.SimpleLoggerConfiguration.init(SimpleLoggerConfiguration.java:87)
at org.slf4j.simple.SimpleLogger.init(SimpleLogger.java:174)
at org.slf4j.simple.SimpleLogger.lazyInit(SimpleLogger.java:167)
at org.slf4j.simple.SimpleLoggerFactory.<init>(SimpleLoggerFactory.java:45)
at org.slf4j.simple.SimpleServiceProvider.initialize(SimpleServiceProvider.java:43)
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:153)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:141)
at org.slf4j.LoggerFactory.getProvider(LoggerFactory.java:413)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:405)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:354)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:380)
at de.root1.simon.Simon.<clinit>(Simon.java:56)
at de.potsdam.gfz.gms.cli.CliFrontend.getController(CliFrontend.java:283)
at de.potsdam.gfz.gms.cli.CliFrontend.submitDownloadJob(CliFrontend.java:211)
at de.potsdam.gfz.gms.cli.CliFrontend.main(CliFrontend.java:102)
********** DownloadMonitoring **********
[newProcessStarted] id(26186343) numScenes(1) numScheduledDownloads(1) numDirectProcessing(0)
[reportBatchMessage] SENTINEL_2A will be assigned to downloader [SciHub] current download queue size: 0
[downloadUpdateBatchProgress] id(26186343) numScenesToDownload(1) numScenesInDownloadQueue(1) numScenesSuccessfullyDownloaded(0) numScenesFailedToDownload(0) numScenesWillRetryDownload(0)
The download does not start..
The download does also not start in the WebUI:
28.07.2017 13:31:34 [newProcessStarted] id(26186341) numScenes(1), numScheduledDownloads(1), numDirectProcessing(0)
28.07.2017 13:31:42 [reportBatchMessage] SENTINEL_2A will be assigned to downloader [SciHub] current download queue size: 0
28.07.2017 13:31:42 [downloadMessage] [31781517] downloading attempt SENTINEL_2A::addc0e7f-428a-49bc-a3cb-8e7be3b801ca (download queue size: 0)
28.07.2017 13:40:16 [downloadMessage] [31781517] establishConnection
28.07.2017 13:40:31 [downloadMessage] [31781517] Error while downloading 31781517(addc0e7f-428a-49bc-a3cb-8e7be3b801ca) - scheduling for retry (retry queue size: 0)
28.07.2017 13:40:32 [downloadMessage] [31781517] retrying [0] attempt of SENTINEL_2A::addc0e7f-428a-49bc-a3cb-8e7be3b801ca (retry queue size: 0)