Hi David:
Adding on to what Bob said, just a guess. I assume that you have checked that the directory shown exists (/erddap). I also assume you are running tomcat as a user tomcat? If so, you have to make certain that the tomcat user has write access to the directory /erddap. Also, depending on your OS, and if you have SELinux running, you may need to do a little bit more on permissions to allow the writes, you can look at the SELinux settings with "ls -alZ". SELinux can block writes across different parts of the system.
HTH,
-Roy
> On Sep 25, 2020, at 11:37 AM, 'Bob Simons' via ERDDAP <
erd...@googlegroups.com> wrote:
>
> If there are problems with ERDDAP starting up (e.g., it won't even return a web page), then the error messages are usually in the Tomcat/catalina log files.
> If ERDDAP is running (showing web pages), then the error messages almost always in the /bigParentDirectory/logs/log.txt file.
>
> As I said in a separate email:
> My ERDDAP is getting a huge number of requests from your ERDDAP.
> It is clear (because your ERDDAP shows 0 datasets) that there is a configuration error causing this.
> So I blacklisted your IP address temporarily.
> Please temporarily change your datasets.xml so that it only has 1 or 2 active EDDGridFromErddap or EDDTableFromErddap datasets until the problem is resolved (set active="false").
> Let me know when you've done that and I'll unblacklist you.
>
> After that is done, to resolve the problem with loading these EDDGridFromErddap or EDDTableFromErddap datasets:
> go to your ERDDAP's
https://yourDomain/erddap/status.html (which flushes all pending messages to the log.txt file)
> then look in the log.txt file to see the error message related to loading one of the datasets.
>
> If you need help understanding the error message, please send me (or this group) a complete error message (including stack trace) and the relevant diagnostic information right above it, from the log.txt file.
>
> Or, you can use the DasDds tool to diagnose almost all dataset configuration problems faster and easier because everything is in one place and the attempts take much less time.
>
https://coastwatch.pfeg.noaa.gov/erddap/download/setupDatasetsXml.html#DasDds
>
> I hope that helps.
>
> On Friday, September 25, 2020 at 11:21:08 AM UTC-7 David Hiltz - NOAA Federal wrote:
> Hello --
> I'm trying to get an initial setup of ERRDAP working with the default datasets.xml file.
>
> ERRDAP: 2.02
> OS: CentOS 7.8
> Tomcat: 8.5.49
>
> The status page shows:
>
>
>
> Here is errdap part of the catalina.out file:
>
> ////**** ERD Low Level Startup
> localTime=2020-09-25T14:05:24-04:00
> erddapVersion=2.02
> Java 1.8.0_262 (64 bit, Oracle Corporation) on Linux (3.10.0-1127.10.1.el7.x86_64).
> MemoryInUse= 15 MB (highWaterMark= 15 MB) (Xmx ~= 910 MB)
> logLevel=info: verbose=true reallyVerbose=false
> ERROR in File2.deleteIfOld: dir=/erddap/dataset/_FileVisitor/ isn't a directory.
> bigParentDirectory=/erddap/
> contextDirectory=/opt/tomcat/webapps/erddap/
> java.awt.HeadlessException
> at gov.noaa.pfel.coastwatch.sgt.SgtUtil.isBufferedImageAccelerated(SgtUtil.java:368)
> at gov.noaa.pfel.erddap.util.EDStatic.<clinit>(EDStatic.java:1574)
> at gov.noaa.pfel.erddap.Erddap.<init>(Erddap.java:214)
>
>
> Any ideas or things I can check would be appreciated. thanks, David Hiltz
>
>
> --
> You received this message because you are subscribed to the Google Groups "ERDDAP" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
erddap+un...@googlegroups.com.
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/erddap/793a1e09-1830-46ff-b4e0-9738bc6b4f26n%40googlegroups.com.
**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone:
(831)-420-3666
Fax:
(831) 420-3980
e-mail:
Roy.Men...@noaa.gov www:
https://www.pfeg.noaa.gov/
"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.