Comments (15)
Hi Javier, Hi Mehdi,
Yes indeed, NPL will provide GFZ an account on the NPL server and Alex should give you the instructions on how to transfer the data automatically from the rugged PC to the server (I have some notes on how to do it but these are incomplete). For the water sites I still need to check how I can manage the RBINS server (sorry it has been on my to-do list for so long now!!). I will make sure the RBINS server will be able to welcome data from the water sites in February! Once I have tested it I will make you an account Javier and let you know about how to implement it!!
from hypernets_tools.
Hi all !
@saberioon : yes, you well understood about the configuration file. For the password step and automatic mode at boot time, you can try this :
sudo ./install/08_setup_server_communication.sh
When it asks about ssh passphrase and file location, let it empty (just press enter)
from hypernets_tools.
I guess there is a trailing space in your config file after the IP address ?
from hypernets_tools.
@corizzi
first I manually remove space after the IP and it successfully synced.
after your fix, I have tested it again and it successfully synced 👍🏼
Feb 03 11:53:48 gfz-pc1 hello_server.sh[5516]: Sleep 30 sec Feb 03 11:54:19 gfz-pc1 hello_server.sh[5516]: Sync files : [email protected]:~/config_hypernets.ini.gfz Feb 03 11:54:19 gfz-pc1 hello_server.sh[5516]: <-> config_hypernets.ini Feb 03 11:54:20 gfz-pc1 hello_server.sh[5516]: Files are synchronized. Feb 03 11:54:23 gfz-pc1 systemd[1]: hypernets-hello.service: Succeeded.
from hypernets_tools.
I also wonder about this. I remember from last week meeting that NPL or RBINS have to give us an account on the server. Is this related to that @clemgoyens @shunt16?
from hypernets_tools.
Still, I cannot push readings automatically to the server even after I set it up!
this is output of sudo ./install/08_setup_server_communication.sh
-- Journal begins at Wed 2020-10-07 14:12:00 CEST. -- Feb 02 15:15:04 gfz-pc1 hello_server.sh[933]: /home/gfz/Downloads/hypernets_tools/comm_server/hello_server.sh: line 32: LOGS/hypernets-sequence.log: Permission denied Feb 02 15:15:04 gfz-pc1 systemd[1]: hypernets-hello.service: Main process exited, code=exited, status=1/FAILURE Feb 02 15:15:04 gfz-pc1 systemd[1]: hypernets-hello.service: Failed with result 'exit-code'. Feb 02 15:56:42 gfz-pc1 systemd[1]: Started Hypernets Sync Config Server and Send Data. Feb 02 15:56:42 gfz-pc1 hello_server.sh[1446]: Sleep 30 sec Feb 02 15:57:12 gfz-pc1 hello_server.sh[1454]: /home/gfz/Downloads/hypernets_tools/comm_server/hello_server.sh: line 35: LOGS/hypernets-sequence.log: Permission denied Feb 02 15:57:12 gfz-pc1 systemd[1]: hypernets-hello.service: Main process exited, code=exited, status=1/FAILURE Feb 02 15:57:12 gfz-pc1 systemd[1]: hypernets-hello.service: Failed with result 'exit-code'. Feb 02 16:01:10 gfz-pc1 systemd[1]: Started Hypernets Sync Config Server and Send Data. Feb 02 16:01:10 gfz-pc1 hello_server.sh[1558]: Sleep 30 sec Feb 02 16:01:40 gfz-pc1 hello_server.sh[1566]: /home/gfz/Downloads/hypernets_tools/comm_server/hello_server.sh: line 35: LOGS/hypernets-sequence.log: Permission denied Feb 02 16:01:40 gfz-pc1 systemd[1]: hypernets-hello.service: Main process exited, code=exited, status=1/FAILURE Feb 02 16:01:40 gfz-pc1 systemd[1]: hypernets-hello.service: Failed with result 'exit-code'.
Any advise?
from hypernets_tools.
Hello @saberioon ,
Can you test the following please :
cd hypernets_tools/
rm -rf LOGS/
sudo ./install/08_setup_server_communication.sh
from hypernets_tools.
sudo ./install/08_setup_server_communication.sh
I have this outputs:
-- Journal begins at Wed 2020-10-07 14:12:00 CEST. -- Feb 03 09:47:26 gfz-pc1 systemd[1]: Started Hypernets Sync Config Server and Send Data. Feb 03 09:47:26 gfz-pc1 hello_server.sh[2708]: Sleep 30 sec Feb 03 09:47:57 gfz-pc1 hello_server.sh[2708]: Sync files : [email protected] :~/config_hypernets.ini.gfz Feb 03 09:47:57 gfz-pc1 hello_server.sh[2708]: <-> config_hypernets.ini Feb 03 09:47:57 gfz-pc1 hello_server.sh[2708]: Sync from remote to local Feb 03 09:47:57 gfz-pc1 hello_server.sh[2724]: ssh: Could not resolve hostname 139.143.5.63 : Name or service not known Feb 03 09:47:57 gfz-pc1 hello_server.sh[2723]: rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] Feb 03 09:47:57 gfz-pc1 hello_server.sh[2723]: rsync error: unexplained error (code 255) at io.c(228) [Receiver=v3.2.3] Feb 03 09:47:57 gfz-pc1 systemd[1]: hypernets-hello.service: Main process exited, code=exited, status=255/EXCEPTION Feb 03 09:47:57 gfz-pc1 systemd[1]: hypernets-hello.service: Failed with result 'exit-code'.
from hypernets_tools.
should be fixed now, thanks for the feedback
from hypernets_tools.
Hi @corizzi ,
Somehow the communication between system and server interrupted and I cannot make the connection again!
this is the message in hello.log :
-- Boot 8880823bd45646b4883b740dc100b1f5 -- Feb 24 17:39:07 gfz-pc1 systemd[1]: Started Hypernets Sync Config Server and Send Data. Feb 24 17:39:07 gfz-pc1 hello_server.sh[742]: Sleep 30 sec Feb 24 17:39:39 gfz-pc1 systemd[1]: hypernets-hello.service: Main process exited, code=exited, status=255/EXCEPTION Feb 24 17:39:39 gfz-pc1 systemd[1]: hypernets-hello.service: Failed with result 'exit-code'.
Any advice?
from hypernets_tools.
status of systemctl for hello service is show failing system:
● hypernets-hello.service - Hypernets Sync Config Server and Send Data Loaded: loaded (/etc/systemd/system/hypernets-hello.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2021-03-01 16:06:32 CET; 1min 43s ago Process: 1034 ExecStart=/home/gfz/Downloads/hypernets_tools/comm_server/hello_server.sh (code=exited, status=255/EXCEPTION) Main PID: 1034 (code=exited, status=255/EXCEPTION) Mär 01 16:06:02 gfz-pc1 systemd[1]: Started Hypernets Sync Config Server and Send Data. Mär 01 16:06:02 gfz-pc1 hello_server.sh[1034]: Sleep 30 sec Mär 01 16:06:32 gfz-pc1 systemd[1]: hypernets-hello.service: Main process exited, code=exited, status=255/EXCEPTION Mär 01 16:06:32 gfz-pc1 systemd[1]: hypernets-hello.service: Failed with result 'exit-code'.
from hypernets_tools.
Hi Mehdi,
I had the same error at Blankaart. I thought it was an issue with my account but apparently not.
Can you check if you can sync
from hypernets_tools.
Hi Mehdi,
I had the same error at Blankaart. I thought it was an issue with my account but apparently not.
Can you check if you can sync
@clemgoyens
Nope, It is not syncing!
from hypernets_tools.
Oops sorry Mehdi, I didn't realise my message left. I was looking for the command I used to sync (and which worked while I had the same error as yours). Ok maybe @corizzi can help with it...
Also can you connect from the rugged PC to the NPL server using your password and simple ssh command (ssh [account_name]@[npl server])?
from hypernets_tools.
Oops sorry Mehdi, I didn't realise my message left. I was looking for the command I used to sync (and which worked while I had the same error as yours). Ok maybe @corizzi can help with it...
Also can you connect from the rugged PC to the NPL server using your password and simple ssh command (ssh [account_name]@[npl server])?
Yes, I can connect , it seems authorized keys is active, but still is not syncing !!
from hypernets_tools.
Related Issues (20)
- Naming the webcams files with prefix HOT 3
- Reorganising the structure of /DATA HOT 1
- error:ytcp:650:tcp(111):Connection refused HOT 6
- VEIT branch stop rsync with RBINS server with new commit HOT 3
- How to access the webcams remotely HOT 2
- "voila installation_on_site.ipynb --no-browser" not working with the beta branch
- call_radiometer.py script not available in beta branch HOT 2
- beta branch: relay script without output for option -g HOT 1
- Negative absolute zenith angles HOT 1
- Add way to know when rsync is complete HOT 4
- error "3 is not a valid EntranceType" while taking picture with the GUI HOT 1
- Wrong sequence folder name HOT 1
- python 10.3.1 HOT 1
- Unable to connect to server (ytcp:489)
- UTC time / Local time
- Terminate a sequnce in middle of acquisition ?
- Crash on repeated opening of capture graphs HOT 2
- Waiting for yoctopus message !
- 00_install_yoctohub.sh not picking Yocto firmare version HOT 1
- Why does the instrument port have to be a link?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hypernets_tools.