← Back to team overview

dhis2-users team mailing list archive

Re: How to Link Tomcat 7 and Postgresql 9.2

 

Knut,

I really don’t know where to put this export statement; because I already tried it on the ~/.bashrc file but it is not work. I tried it on the /etc/environment; it is not working. I am not start Tomcat using bin/startup.sh because I already enable it to run automatically.


Please find the attached view screen of my dhis screen.



Sent from Windows Mail



From: Knut Staring
Sent: ‎Friday‎, ‎September‎ ‎13‎, ‎2013 ‎6‎:‎20‎ ‎AM
To: Gerald Thomas
Cc: dhis2-users@xxxxxxxxxxxxxxxxxxx


Also, where did you put the export statement? Are you starting using Tomcat's  bin/startup.sh ? Is that where you included the statement below?



export DHIS2_HOME=/home/DHIS2_HOME/dhis




On Fri, Sep 13, 2013 at 7:16 AM, Knut Staring <knutst@xxxxxxxxx> wrote:


This file looks good, and seems to be in the place you are pointing to. 



Please also share the content of the About DHIS2 page.






On Fri, Sep 13, 2013 at 7:09 AM, Gerald Thomas <gerald.81@xxxxxxxxxxx> wrote:




Dear Knut,

Yes I am talking about Ubuntu installation. My windows installation is working ok.

Please find the attached file as per request


 

Sent from Windows Mail

 


From: Knut Staring
Sent: ‎Friday‎, ‎September‎ ‎13‎, ‎2013 ‎6‎:‎06‎ ‎AM
To: Gerald Thomas
Cc: dhis2-users@xxxxxxxxxxxxxxxxxxx



 

Hi Gerald, I assume you are talking about and Ubuntu installation even though you send from Windows Mail?



In your /home/DHIS2_HOME/dhis folder, do you have a file called hibernate.properties? Can you share the contents of that file with us?




Inside DHIS2, please go to Help -> About DHIS2 and copy the content here.




Knut

















On Fri, Sep 13, 2013 at 6:44 AM, Gerald Thomas <gerald.81@xxxxxxxxxxx> wrote:




 Dear Support,
I already completed the installation but i can't get access to the
database that i had imported. During my research i have seeing a lot of
procedures to do it but they seem not to be working. Please can you help
me with a reliable solution. If possible can you send a your messenger
ID (Skype or gtalk) so that we can do the process together. Thanks in
advance for your help.

 

Kindly note that I am not having any errors but I can only login to the dhis using the default username/password (admin/district). This simply means the database that I had imported is not seeing the tomcat.

Most of the journals said this is my problem “export DHIS2_HOME='/home/dhis/config”


 

On my configuration DHIS2_HOME directory is found inside the home folder of the root; therefore my “export DHIS2_HOME=/home/DHIS2_HOME/dhis

Please I don’t know if this is were I am getting it all wrong. Please help

Sent from Windows Mail

 

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp






-- 

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org 





-- 

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org 





-- 

Knut Staring

Dept. of Informatics, University of Oslo

+4791880522

http://dhis2.org

Follow ups