Sorry...you said. I can't recall 100% but the 777might be causing the issue.

On Thu, Apr 25, 2019, 10:19 AM Vera Green <vera.green...@gmail.com> wrote:

> Who's the owner of the data folder? I think it has to be tomcat...chown
> tomcat:tomcat data.
>
> On Thu, Apr 25, 2019, 10:03 AM Russ Hore <r...@russ-hore.co.uk> wrote:
>
>> I have just done a clean installation of Ubuntu 19.04, installed Tomcat
>> 9, installed OpenJDK 11 and installed GS 2.15
>>
>> I have a folder called /data to which I point GeoServer by editing web.xml
>>
>>    <context-param>
>>        <param-name>GEOSERVER_DATA_DIR</param-name>
>>        <param-value>/data/</param-value>
>>     </context-param>
>>
>> Now when I start GeoServer I get an error in /var/log/syslog saying /data
>> is not writeable !
>>
>> Apr 25 15:14:05 hostname tomcat9[13480]: 25 Apr 15:14:05 ERROR
>> [storage.DefaultStorageFinder] - Found Servlet context parameter
>> GEOSERVER_DATA_DIR set to /data/ , which is not writeable
>>
>> Tomcat is running as user ‘tomcat’. The /data folder is owned by tomcat
>> with permissions 777 (I know that is not the best but I am trying to get
>> things working)
>>
>> I have tried setting the data folder in her setclasspath.sh
>>
>> CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/data"
>>
>> But I get the same error.
>>
>> Has anybody else seen this?
>>
>> Russ
>> _______________________________________________
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to