Willa,

The issue is caused by the permission on the /usr/share/tomcat
directory where Tomcat will put the .OpenMRS directory.

The /usr/share/tomcat is owned by root:root but tomcat6 process (the
tomcat application server and the one who will create the .OpenMRS
directory) is owned by adm:tomcat6 (or tomcat6:tomcat6, i can't
remember this). This is why the tomcat6 process will not be able to
write /usr/share/tomcat6 :)

To fix them, you just need to create the folder and set the correct
owner and the installation will works just fine :)

On Tue, Feb 21, 2012 at 5:08 AM, Mhawila <[email protected]> wrote:
> Dear all,
> I have a scenario which puzzles me. I have noticed that every time I do a
> clean installation of OS ( I use ubuntu) and then proceed with installing
> tomcat, loading existing openmrs database into mysql server and finally
> deploying war file in tomcat webapps directory I do not get what I can call
> the expected behavior. The strange thing is that, the first time I try to
> access openmrs from the browser I get an error displayed below.
>
> Error!
> A runtime properties file is needed for OpenMRS to start up consistently.
> OpenMRS is unable to create this file:
> /usr/share/tomcat6/.OpenMRS/openmrs-runtime.properties
> Because of this error: No such file or directory
>
> You must correct this before continuing.
>
> My understanding tells me that, since openmrs runtime properties file does
> not exist in my system, then the openmrs installer should kick in, however
> that is not the case with me all the time. I need someone to explain why I
> this happens.
>
> By the way I always fix this issue by creating runtime properties file
> manually.
>
> Thanks.
>
> --
> Mhawila A.
>
> ________________________________
> Click here to unsubscribe from OpenMRS Implementers' mailing list



-- 
Thanks,

Nyoman Ribeka

_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to