Or move to /home/seid On 2 Oct 2013 13:28, "Olav Poppe" <olav.po...@me.com> wrote:
> Not an export on this, but I would guess that if you are running tomcat as > user "seid", the "Directory /home/dhis/config" might not be writable as > it belongs to the "dhis" user. So you could either try to start tomcat with > user "dhis" instead, or make sure that the /home/dhis/config is writable by > the "seid" user. And, like Jason says, make sure the hibernate.properties > files is in the right folder. > > Olav > > > > 2. okt. 2013 kl. 05:35 skrev Jason Pickering <jason.p.picker...@gmail.com > >: > > 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.h...@gmail.com> 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.h...@gmail.com> >> Date: Wed, Oct 2, 2013 at 12:38 AM >> Subject: Re: [Dhis2-users] DHIS2_HOME in ubuntu >> To: Olav Poppe <olav.po...@me.com> >> >> >> 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.po...@me.com> 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.h...@gmail.com>: >>> > >>> > 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@lists.launchpad.net >>> > Unsubscribe : https://launchpad.net/~dhis2-users >>> > More help : https://help.launchpad.net/ListHelp >>> >> >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-users >> Post to : dhis2-users@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~dhis2-users >> More help : https://help.launchpad.net/ListHelp >> >> > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp