← Back to team overview

dhis2-users team mailing list archive

Re: Fwd: DHIS2_HOME in ubuntu

 

Here is your error it looks like

* INFO  2013-10-02 00:13:31,396 Directory /home/dhis/config is not
writeable (DefaultLocationManager.java [pool-2-thread-1])
* INFO  2013-10-02 00:13:33,710 Could not read external configuration from
file system

Are you sure there is a hibernate.properties file in that location and the
directory is writable?

Regards,
Jason





On Tue, Oct 1, 2013 at 11:39 PM, Seid Hussein <seid.hisp@xxxxxxxxx> wrote:

> I'm using the main user which is seid. Do I need to start using the user
> dhis?
>
> ---------- Forwarded message ----------
> From: Seid Hussein <seid.hisp@xxxxxxxxx>
> Date: Wed, Oct 2, 2013 at 12:38 AM
> Subject: Re: [Dhis2-users] DHIS2_HOME in ubuntu
> To: Olav Poppe <olav.poppe@xxxxxx>
>
>
> I'm using the main user which is seid. Do I need to start using the user
> dhis?
>
>
> On Wed, Oct 2, 2013 at 12:32 AM, Olav Poppe <olav.poppe@xxxxxx> wrote:
>
>> Hi,
>> which Ubuntu user are you logged in with when you're starting tomcat?
>>
>> Olav
>>
>> > Den 1. okt. 2013 kl. 23:24 skrev Seid Hussein <seid.hisp@xxxxxxxxx>:
>> >
>> > Hi all,
>> >
>> > After setting setenv.sh and pointing both JAVA_HOME and DHIS2_HOME to
>> their appropriate places, and setting appropriate JAVA_OPTS, but still I
>> cannot still get DHIS to use the postgresql database rather than H2
>> database.
>> >
>> > When I check catalina.out, it says that DHIS2_HOME points to the
>> correct place but in the next line it says Directory /home/dhis/config is
>> not writeable
>> >
>> >
>> > to give you an idea,
>> >
>> > hibernate.properties file is located in /home/dhis/config
>> >
>> > and here's the content of setenv.sh which is located in
>> /usr/share/tomcat7/bin
>> >
>> > export JAVA_HOME='/usr/lib/jvm/java-7-oracle'
>> > export JAVA_OPTS='-Xmx2048m -Xms1024m -XX:MaxPermSize=500m
>> -XX:PermSize=300m'
>> > export DHIS2_HOME='/home/dhis/config'
>> >
>> > does anyone have any idea what i'm doing wrong?
>> >
>> > For reference I've attached catalina.out
>> > <catalina.out>
>> > _______________________________________________
>> > 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
>>
>
>
>
> _______________________________________________
> 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
>
>

Follow ups

References