← Back to team overview

dhis2-users team mailing list archive

Re: Fwd: Error when starting tomcat

 

Dear Collins,
Can you please use sudo ./startup.sh
Please share your output

On Jul 28, 2016 08:36, "Knut Staring" <knutst@xxxxxxxxx> wrote:

> Hi Collins,
>
> Please use this mailing list: "dhis2-users@xxxxxxxxxxxxxxxxxxx"
>
> It seems as though something has happened to the user you are using to run
> Tomcat. Make sure this Linux user has sufficient permissions.
>
> Knut
>
> ---------- Forwarded message ----------
> From: Collins McAdoyo <collins.adoyo@xxxxxxxxx>
> Date: Thu, Jul 28, 2016 at 2:55 PM
> Subject: Error when starting tomcat
> To: Knut Staring <knutst@xxxxxxxxx>
>
>
> Hi Team,
>
> Hi Team, my dhis instance was running well but since today it has
> started giving me errors as follows. Kindly any suggestions on how to
> fix this?
>
> cxx@x:/tomcat-dhis/bin$ ./startup.sh
> Using CATALINA_BASE:   /tomcat-dhis
> Using CATALINA_HOME:   /usr/share/tomcat7
> Using CATALINA_TMPDIR: /tomcat-dhis/temp
> Using JRE_HOME:        /usr/lib/jvm/java-8-oracle/
> Using CLASSPATH:
> /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-
> juli.jar
> touch: cannot touch ‘/tomcat-dhis/logs/catalina.out’: Permission denied
> /usr/share/tomcat7/bin/catalina.sh: 385:
> /usr/share/tomcat7/bin/catalina.sh: cannot create /tomcat-
> dhis/logs/catalina.out: Permission denied
> --
> This message was sent from Launchpad by
> Collins McAdoyo (https://launchpad.net/~mcadoyo)
> using the "Contact this team's admins" link on the DHIS 2 Users team page
> (https://launchpad.net/~dhis2-users).
> For more information see
> https://help.launchpad.net/YourAccount/ContactingPeople
>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522
> Skype: knutstar
> http://dhis2.org
>
> _______________________________________________
> 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