On 10-12-17 14:09, ratatouille via Users wrote:
> Hello!
> 
> Martijn Brinkers <mart...@ciphermail.com> schrieb am 10.12.17 um 11:18:32 Uhr:
> 
>>> This is an openSUSE 13.2 with
>>>
>>> # 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

Kind regards,

Martijn Brinkers


-- 
CipherMail email encryption

Email encryption with support for S/MIME, OpenPGP, PDF encryption and
secure webmail pull.

https://www.ciphermail.com

Twitter: http://twitter.com/CipherMail

_______________________________________________
Users mailing list
Users@lists.djigzo.com
https://lists.djigzo.com/lists/listinfo/users

Reply via email to