Bug#921953: apacheds: Apacheds fails to start after clean installation

Johan Grip ogun at ogun.org
Sun Feb 10 14:44:58 GMT 2019


Package: apacheds
Version: 2.0.0~M24-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?

Fresh installation of buster using default options, then tried to install
apacheds.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

apt-get install apacheds

   * What was the outcome of this action?

Feb 10 14:35:14 testdap2 systemd[1]: Started Apache Directory Server.
Feb 10 14:35:17 testdap2 sh[46942]: [2019-35-10T14:35:17.017+0000] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the service.
Feb 10 14:35:17 testdap2 sh[46942]: org.apache.directory.api.ldap.model.exception.LdapOperationException: /usr/share/apacheds/instances/default/conf/ou=config.ldif (Permission denied)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.core.partition.ldif.LdifPartition.addEntry(LdifPartition.java:790)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.core.partition.ldif.LdifPartition.add(LdifPartition.java:263)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.config.ConfigPartitionInitializer.initConfigPartition(ConfigPartitionInitializer.java:181)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.ApacheDsService.initConfigPartition(ApacheDsService.java:335)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:187)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:153)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.UberjarMain.start(UberjarMain.java:151)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:77)
Feb 10 14:35:17 testdap2 sh[46942]: Caused by: java.io.FileNotFoundException: /usr/share/apacheds/instances/default/conf/ou=config.ldif (Permission denied)
Feb 10 14:35:17 testdap2 sh[46942]:         at java.base/java.io.FileOutputStream.open0(Native Method)
Feb 10 14:35:17 testdap2 sh[46942]:         at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
Feb 10 14:35:17 testdap2 sh[46942]:         at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237)
Feb 10 14:35:17 testdap2 sh[46942]:         at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:187)
Feb 10 14:35:17 testdap2 sh[46942]:         at java.base/java.io.FileWriter.<init>(FileWriter.java:96)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.core.partition.ldif.LdifPartition.addEntry(LdifPartition.java:784)
Feb 10 14:35:17 testdap2 sh[46942]:         ... 7 more
Feb 10 14:35:17 testdap2 systemd-journald[10273]: Forwarding to syslog missed 7 messages.
Feb 10 14:35:17 testdap2 sh[46942]: [2019-35-10T14:35:17.017+0000] ERROR [org.apache.directory.server.UberjarMain] - Failed to start the service.
Feb 10 14:35:17 testdap2 sh[46942]: java.lang.NullPointerException
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.ApacheDsService.stop(ApacheDsService.java:635)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.UberjarMain.stop(UberjarMain.java:219)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.UberjarMain.start(UberjarMain.java:158)
Feb 10 14:35:17 testdap2 sh[46942]:         at org.apache.directory.server.UberjarMain.main(UberjarMain.java:77)
Feb 10 14:35:17 testdap2 systemd[1]: apacheds.service: Main process exited, code=exited, status=1/FAILURE
Feb 10 14:35:17 testdap2 systemd[1]: apacheds.service: Failed with result 'exit-code'.

   * What outcome did you expect instead?

A running apacheds instance.
I also looked for a README.Debian in the /usr/share/doc/apacheds folder for any
other instructions, but no such file.

Regards,
  Johan


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.18-10-pve (SMP w/24 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apacheds depends on:
ii  adduser                                           3.118
ii  default-jre-headless [java7-runtime-headless]     2:1.11-71
ii  libapacheds-java                                  2.0.0~M24-2
ii  openjdk-11-jre-headless [java7-runtime-headless]  11.0.2+9-3

apacheds recommends no packages.

apacheds suggests no packages.

-- Configuration Files:
/etc/apacheds/config.ldif [Errno 13] Permission denied: '/etc/apacheds/config.ldif'
/etc/apacheds/log4j.properties [Errno 13] Permission denied: '/etc/apacheds/log4j.properties'

-- no debconf information



More information about the pkg-java-maintainers mailing list