su4620
(홍수 허)
January 9, 2023, 8:15am
1
I am trying to add data directly from amazon s3.
I found guideline from Adding Data | Stardog Documentation Latest .
so, I created password file (services.sdpass) in STARDOG_HOME.
my STARDOG_HOME is "/var/opt/stardog".
vi /var/opt/stardog/services.sdpass
s3:*:*:*:myAccessKey:mySecretKey
and I executed sparql query .
the response is like this:
Service password file does not contain an entry for the the S3 URL: s3://bucketname/path/myfile.gz
Where am I wrong?
I want to add data from s3 directly..
plz help me.
Joe_Fagan
(Joe Fagan)
January 11, 2023, 5:15pm
2
There should be 5 fields not 6.
hostname:port:database:username:password
Please remove a *:
Also you may also need to restart the server to pickup the services.sdpass file.
su4620
(홍수 허)
January 12, 2023, 2:12am
3
It is not work..
I checked the guide on this page.
There are 6 fields here, which one is correct?
Can you show a complete example without secretKey?
Joe_Fagan
(Joe Fagan)
January 12, 2023, 7:43am
4
You’re correct - the s3 entry has 6 fields in .sdpass
Please confirm - did you restart the Stardog server?
su4620
(홍수 허)
January 12, 2023, 8:26am
5
yes. I did restart,,now..it's solved..Thanks