create a directory called .OpenMRS in /usr/share/tomcat6, run sudo chown -R tomcat6:root /usr/share/tomcat6/.OpenMRS (if on Linux) run-time properties will be created into and referenced from this folder.
On Tue, Feb 21, 2012 at 4:15 PM, Ali Habib <[email protected]>wrote: > My guess is that it needs to create the properties file to store the > parameters that you will set up during the install. Leading on from what > Ben mentioned, it most likely doesn't have permissions to create the > directory and/or put the file in it and so the installer doesn't start > > Ali > > > On Tue, Feb 21, 2012 at 5:54 PM, Ben koech <[email protected]> wrote: > >> Did you create a directory .OpenMRS? and changed its ownership? >> >> >> On Tue, Feb 21, 2012 at 1:08 PM, 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<[email protected]?body=SIGNOFF%20openmrs-implement-l>from >>> OpenMRS Implementers' mailing list >> >> >> >> >> -- >> Benard Koech >> Systems Implementer. >> USAID AMPATH. >> HCT/PHCT Informatics. >> +254 722 747 774 >> >> ------------------------------ >> Click here to >> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from >> OpenMRS Implementers' mailing list >> > > > > -- > Ali Habib > Director, Informatics > Interactive Research and Development > Ph: +92-21-34327697 > [email protected] > > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-implement-l>from > OpenMRS Implementers' mailing list > -- Benard Koech Systems Implementer. USAID AMPATH. HCT/PHCT Informatics. +254 722 747 774 _________________________________________ 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]

