forked from mmistakes/minimal-mistakes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update 2023-03-06-thredds-data-server.md
- Loading branch information
1 parent
459e67d
commit d8e8884
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,20 @@ [email protected] | |
- Apache web server: `/etc/apache2` | ||
- Java install: `/usr/lib/jvm/java-1.11.0-openjdk-amd64` | ||
|
||
## Troubleshooting | ||
If the Thredds server is down, the first thing to try is restarting the Tomcat web server. First, switch to root user with `su -`. | ||
``` | ||
./ /opt/tomcat/bin/shutdown.sh | ||
./ /opt/tomcat/bin/startup.sh | ||
``` | ||
If that doesn't work, then try restarting the Apache web server, and then restart the Tomcat server again. | ||
``` | ||
sudo service apache2 restart | ||
``` | ||
Also keep in mind that if you have not implemented any log file rotation, the server can easily fill disk space. You may need to clear log files and free up disk space. | ||
|
||
If things are still down, your best bet it to start looking through logs at `/opt/tomcat/bin/log`, check out the FAQs at the Thredds tutorial site, and potentially contact Thredds support. | ||
|
||
## Adding new data | ||
|
||
To add any new dataset, you will need ssh access to the Azure Thredds VM instance. Contact [Penny How](https://github.com/PennyHow) for obtaining an ssh key. Any user with the ssh key can access the server through the open port 22. This allows access from home, from Greenland, etc. Please treat these ssh keys carefully, and only share via secure methods (internal geus email addresses, over Slack, etc). The current key is `aws-dec2022.pem` and should occasionally be rotated by creating a new key on the Azure portal. | ||
|
@@ -194,4 +208,4 @@ It will be wise to keep the software updated over time, in particular the THREDD | |
|
||
If there is a new major version for TDS, this should be adopted. Check the TDS tutorial and upgrade to the recommended Tomcat and Java versions when appropriate. | ||
|
||
Thanks for reading, and enjoy your THREDDS journey! | ||
Thanks for reading, and enjoy your THREDDS journey! |