Hallo!
Martijn Brinkers <[email protected]> schrieb am 10.12.17 um 15:53:55 Uhr:
> >>> # java -version
> >>> java version "1.8.0_152"
> >>> Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
> >>> Java HotSpot(TM) Server VM (build 25.152-b16, mixed mode)
> >>>
> >>> # rpm -ihv djigzo-3.3.1-0.SUSE.noarch.rpm
> >>> warning: djigzo-3.3.1-0.SUSE.noarch.rpm: Header V4 DSA/SHA1 Signature,
> >>> key ID 0c345bcc: NOKEY
> >>> Preparing... #################################
> >>> [100%]
> >>> Updating / installing...
> >>> 1:djigzo-3.3.1-0 #################################
> >>> [100%]
> >>> groupadd: Gruppe »djigzo« existiert bereits.
> >>> Fehler: Hauptklasse org.apache.tools.ant.launch.Launcher konnte nicht
> >>> gefunden oder geladen werden
> >>> /etc/sudoers.d/x2goserver: Falsche Zugriffsrechte, sollten Modus 0440
> >>> sein
> >>
> >> There was an error running ant.
> >>
> >> What if the output of the following command:
> >>
> >> ant
> >
> > # ant --execdebug
> > exec "/usr/lib/jvm/java/bin/java" -classpath
> > "/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar:/usr/lib/jvm/java/lib/tools.jar"
> > -Dant.home="/usr/share/ant" -Dant.library.dir="/usr/share/ant/lib"
> > org.apache.tools.ant.launch.Launcher -cp ""
> > Buildfile: build.xml does not exist!
> > Build failed
> >
> > No matter what version of java I use ant does start.
> >
> > # /usr/sbin/update-alternatives --config java
> > There are 4 choices for the alternative java (providing /usr/bin/java).
> >
> > Selection Path Priority Status
> > ------------------------------------------------------------
> > 0 /usr/lib/jvm/jre-1.8.0-openjdk/bin/java 18040 auto mode
> > 1 /usr/java/latest/bin/java 1 manual
> > mode
> > 2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java 1500 manual
> > mode
> > 3 /usr/lib/jvm/jre-1.7.0-openjdk/bin/java 17147 manual
> > mode
> > * 4 /usr/lib/jvm/jre-1.8.0-openjdk/bin/java 18040 manual
> > mode
>
> The installation script runs ant with sudo under the user djigzo.
>
> What is the output of
>
> sudo -u djigzo ant
My bad, I meant "No matter what version of java I use ant does not start" above.
^^^
Installed djigzo again and got no error like
Fehler: Hauptklasse org.apache.tools.ant.launch.Launcher konnte nicht gefunden
oder geladen werden
sudo -u djigzo ant
as normal user is asking for a password.
as root:
# sudo -u djigzo ant
Buildfile: build.xml does not exist!
Build failed
# grep djigzo /etc/shadow
djigzo:!:17504:0:99999:7:::
# netstat -pantu |grep 8080
tcp 0 0 :::8080 :::* LISTEN
4307/java
Don't know what's wrong.
Kind regards
Andreas
_______________________________________________
Users mailing list
[email protected]
https://lists.djigzo.com/lists/listinfo/users