← Back to team overview

dhis2-devs team mailing list archive

Re: Still having troubles after upgrade

 

I have checked the permissions. Tomcat is run by tomcat6:tomcat6 user. And
tomcat home is /var/lib/tomcat6 which has these permissions:
drwxr-xr-x 24 tomcat6 tomcat6 4.0K 2011-10-10 03:48 .
drwxrwxr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20 ..
-rw-r--r--  1 tomcat6 tomcat6  582 2011-09-07 16:41 accessDenied.vm
-rw-r--r--  1 tomcat6 tomcat6 1.6K 2011-09-07 16:41 cacheManifest.vm
-rw-r--r--  1 tomcat6 tomcat6  357 2011-09-07 16:41 content.vm
drwxr-xr-x  5 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-caseentry
drwxr-xr-x 18 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-commons
drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20
dhis-web-dashboard-integration
drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-dataentry
drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-datamart
drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-importexport
drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-light
drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20
dhis-web-maintenance-dataadmin
drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20
dhis-web-maintenance-datadictionary
drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20
dhis-web-maintenance-dataset
drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20
dhis-web-maintenance-organisationunit
drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20
dhis-web-maintenance-patient
drwxr-xr-x  2 tomcat6 tomcat6 4.0K 2011-09-28 00:20
dhis-web-maintenance-settings
drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20
dhis-web-maintenance-user
drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-mapping
drwxr-xr-x  5 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-portal
drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-reporting
drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20 dhis-web-validationrule
-rw-r--r--  1 tomcat6 tomcat6 1.7K 2011-09-07 16:41 error.html
-rw-r--r--  1 tomcat6 tomcat6 2.6K 2011-09-07 16:41 exception.vm
drwxr-xr-x  2 tomcat6 tomcat6 4.0K 2011-09-28 00:20 icons
drwxr-xr-x  2 tomcat6 tomcat6 4.0K 2011-09-28 00:20 images
-rw-r--r--  1 tomcat6 tomcat6 5.1K 2011-09-07 16:41 macros.vm
-rw-r--r--  1 tomcat6 tomcat6 4.6K 2011-09-07 16:41 main.js
-rw-r--r--  1 tomcat6 tomcat6  11K 2011-09-07 16:41 main.vm
drwxr-xr-x  3 tomcat6 tomcat6 4.0K 2011-09-28 00:20 META-INF
-rw-r--r--  1 tomcat6 tomcat6 3.2K 2011-09-07 16:41 popup.vm
-rw-r--r--  1 tomcat6 tomcat6 5.9K 2011-09-07 16:41 request.js
-rw-r--r--  1 tomcat6 tomcat6  162 2011-09-07 16:41 settings.vm
drwxr-xr-x  4 tomcat6 tomcat6 4.0K 2011-09-28 00:20 WEB-INF

The logs are being sent to /var/log/tomcat6/ which tomcat6 has permission to
read and write.

Check on the screenshot... The normal elements to help build the form are
not there.

Caveman



2011/10/11 Lars Helge Øverland <larshelge@xxxxxxxxx>

> Hi Orvalho,
>
> it seems you are starting DHIS from a location on the file system
> where you don't have write access. Try starting from your home
> directory.
>
> Lars
>
>
> > The logs says  just this:
> > java.io.FileNotFoundException: velocity.log (Permission denied)
> > Caused by: java.io.FileNotFoundException: velocity.log (Permission
> denied)
> >
>

Attachment: dhis2_trouble.png
Description: PNG image


Follow ups

References