[Pkg-fedora-ds-maintainers] Bug#870032: 389-admin: Package installation fails after dirsrv-admin.service fails to start

Jeremy McNaughton jeremy at deptadapt.org
Sat Jul 29 04:56:03 UTC 2017


Package: 389-admin
Version: 1.1.43-1+b1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I attempted to install 389-ds which installs 389-admin as a dependency.
During the installation dirsrv-admin.service fails to start with the
result that the following packages fail to install:

iF  389-admin                         1.1.43-1+b1
iU  389-ds                            1.3.5.17-2
iU  389-ds-console                    1.2.16-1
iU  389-dsgw                          1.1.11-2+b3

The configuration files listed below with permission errors are the ones
that would be installed by the package, I can send those if they would
be useful.

dirsrv-admin.service fails to start because the directory
/var/log/dirsrv/admin-serv does not exist. If I create this directory
with the same ownership and permissions it would have in jessie
(389-admin 1.1.35-2) I am still unable to start the service, but I do
get messages in /var/log/dirsrv/admin-serv/error.

I've included the transcript of installing the package, systemctl status
output, journalctl output, the above mentioned admin-serv/error and the
transcript of me creating that directory and attempting to start the
service below what reportbug has prepared.

The end result is that the software does not start, and the system has
packages that dpkg cannot finish configuring.

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages 389-admin depends on:
ii  389-ds-base            1.3.5.17-2
ii  apache2                2.4.25-3+deb9u2
ii  debconf [debconf-2.0]  1.5.61
ii  init-system-helpers    1.48
ii  libadminutil0          1.1.23-1
ii  libapache2-mod-nss     1.0.14-1+b1
ii  libc6                  2.24-11+deb9u1
ii  libcgi-pm-perl         4.35-1
ii  libds-admin-serv0      1.1.43-1+b1
ii  libldap-2.4-2          2.4.44+dfsg-5
ii  libmozilla-ldap-perl   1.5.3-2+b3
ii  libnspr4               2:4.12-6
ii  libnss3                2:3.26.2-1.1
ii  libnss3-tools          2:3.26.2-1.1

389-admin recommends no packages.

389-admin suggests no packages.

-- Configuration Files:
/etc/dirsrv/admin-serv/admserv.conf [Errno 13] Permission denied:
'/etc/dirsrv/admin-serv/admserv.conf'
/etc/dirsrv/admin-serv/console.conf [Errno 13] Permission denied:
'/etc/dirsrv/admin-serv/console.conf'
/etc/dirsrv/admin-serv/httpd.conf [Errno 13] Permission denied:
'/etc/dirsrv/admin-serv/httpd.conf'
/etc/dirsrv/admin-serv/nss.conf [Errno 13] Permission denied:
'/etc/dirsrv/admin-serv/nss.conf'

-- no debconf information

--- Transcript from apt-get
root at ldap01:~# apt-get install 389-ds
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  389-admin 389-admin-console 389-ds-base 389-ds-base-libs 389-ds-console
  389-ds-console-doc 389-dsgw acl apache2 apache2-bin apache2-data
apache2-utils
  ldap-utils libadminutil-data libadminutil0 libapache2-mod-nss libapr1
libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libcgi-fast-perl libcgi-pm-perl
  libds-admin-serv0 libencode-locale-perl libfcgi-perl libhtml-parser-perl
  libhtml-tagset-perl libhttp-date-perl libhttp-message-perl libio-html-perl
  liblua5.2-0 liblwp-mediatypes-perl libmozilla-ldap-perl libnetaddr-ip-perl
  libnss3-tools libpci3 libperl4-corelibs-perl libperl5.24 libpython-stdlib
  libpython2.7-minimal libpython2.7-stdlib libsasl2-modules-gssapi-mit
libsnmp-base
  libsnmp30 libsocket-getaddrinfo-perl libsocket6-perl libsvrcore0
libtimedate-perl
  liburi-perl perl perl-modules-5.24 python python-minimal python2.7
  python2.7-minimal rename ssl-cert
Suggested packages:
  www-browser apache2-doc apache2-suexec-pristine | apache2-suexec-custom
  libdata-dump-perl snmp-mibs-downloader dnsutils libwww-perl perl-doc
  libterm-readline-gnu-perl | libterm-readline-perl-perl make python-doc
python-tk
  python2.7-doc binutils binfmt-support openssl-blacklist
The following NEW packages will be installed:
  389-admin 389-admin-console 389-ds 389-ds-base 389-ds-base-libs
389-ds-console
  389-ds-console-doc 389-dsgw acl apache2 apache2-bin apache2-data
apache2-utils
  ldap-utils libadminutil-data libadminutil0 libapache2-mod-nss libapr1
libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libcgi-fast-perl libcgi-pm-perl
  libds-admin-serv0 libencode-locale-perl libfcgi-perl libhtml-parser-perl
  libhtml-tagset-perl libhttp-date-perl libhttp-message-perl libio-html-perl
  liblua5.2-0 liblwp-mediatypes-perl libmozilla-ldap-perl libnetaddr-ip-perl
  libnss3-tools libpci3 libperl4-corelibs-perl libperl5.24 libpython-stdlib
  libpython2.7-minimal libpython2.7-stdlib libsasl2-modules-gssapi-mit
libsnmp-base
  libsnmp30 libsocket-getaddrinfo-perl libsocket6-perl libsvrcore0
libtimedate-perl
  liburi-perl perl perl-modules-5.24 python python-minimal python2.7
  python2.7-minimal rename ssl-cert
0 upgraded, 58 newly installed, 0 to remove and 0 not upgraded.
Need to get 23.5 MB of archives.
After this operation, 95.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian stretch/main amd64 perl-modules-5.24
all 5.24.1-3+deb9u1 [2,723 kB]
Get:2 http://security.debian.org stretch/updates/main amd64 apache2-bin
amd64 2.4.25-3+deb9u2 [1,180 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 libperl5.24 amd64
5.24.1-3+deb9u1 [3,524 kB]
Get:4 http://security.debian.org stretch/updates/main amd64
apache2-utils amd64 2.4.25-3+deb9u2 [217 kB]
Get:5 http://security.debian.org stretch/updates/main amd64 apache2-data
all 2.4.25-3+deb9u2 [162 kB]
Get:6 http://security.debian.org stretch/updates/main amd64 apache2
amd64 2.4.25-3+deb9u2 [235 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 perl amd64
5.24.1-3+deb9u1 [219 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64
libpython2.7-minimal amd64 2.7.13-2 [389 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 python2.7-minimal
amd64 2.7.13-2 [1,383 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 python-minimal
amd64 2.7.13-2 [40.5 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64
libpython2.7-stdlib amd64 2.7.13-2 [1,895 kB]
Get:12 http://deb.debian.org/debian stretch/main amd64 python2.7 amd64
2.7.13-2 [285 kB]
Get:13 http://deb.debian.org/debian stretch/main amd64 libpython-stdlib
amd64 2.7.13-2 [20.0 kB]
Get:14 http://deb.debian.org/debian stretch/main amd64 python amd64
2.7.13-2 [154 kB]
Get:15 http://deb.debian.org/debian stretch/main amd64 libsvrcore0 amd64
1:4.1.2+dfsg1-3 [16.5 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 389-ds-base-libs
amd64 1.3.5.17-2 [409 kB]
Get:17 http://deb.debian.org/debian stretch/main amd64 acl amd64
2.2.52-3+b1 [59.5 kB]
Get:18 http://deb.debian.org/debian stretch/main amd64 ldap-utils amd64
2.4.44+dfsg-5 [191 kB]
Get:19 http://deb.debian.org/debian stretch/main amd64
libmozilla-ldap-perl amd64 1.5.3-2+b3 [152 kB]
Get:20 http://deb.debian.org/debian stretch/main amd64
libnetaddr-ip-perl amd64 4.079+dfsg-1+b1 [103 kB]
Get:21 http://deb.debian.org/debian stretch/main amd64
libperl4-corelibs-perl all 0.003-2 [38.0 kB]
Get:22 http://deb.debian.org/debian stretch/main amd64
libsasl2-modules-gssapi-mit amd64 2.1.27~101-g0780600+dfsg-3 [90.5 kB]
Get:23 http://deb.debian.org/debian stretch/main amd64
libsocket-getaddrinfo-perl all 0.22-3 [39.3 kB]
Get:24 http://deb.debian.org/debian stretch/main amd64 libpci3 amd64
1:3.5.2-1 [56.5 kB]
Get:25 http://deb.debian.org/debian stretch/main amd64 libsnmp-base all
5.7.3+dfsg-1.7 [1,595 kB]
Get:26 http://deb.debian.org/debian stretch/main amd64 libsnmp30 amd64
5.7.3+dfsg-1.7 [2,333 kB]
Get:27 http://deb.debian.org/debian stretch/main amd64 389-ds-base amd64
1.3.5.17-2 [1,499 kB]
Get:28 http://deb.debian.org/debian stretch/main amd64 libapr1 amd64
1.5.2-5 [96.6 kB]
Get:29 http://deb.debian.org/debian stretch/main amd64 libaprutil1 amd64
1.5.4-3 [85.8 kB]
Get:30 http://deb.debian.org/debian stretch/main amd64
libaprutil1-dbd-sqlite3 amd64 1.5.4-3 [19.3 kB]
Get:31 http://deb.debian.org/debian stretch/main amd64 libaprutil1-ldap
amd64 1.5.4-3 [17.4 kB]
Get:32 http://deb.debian.org/debian stretch/main amd64 liblua5.2-0 amd64
5.2.4-1.1+b2 [110 kB]
Get:33 http://deb.debian.org/debian stretch/main amd64 libnss3-tools
amd64 2:3.26.2-1.1 [857 kB]
Get:34 http://deb.debian.org/debian stretch/main amd64
libapache2-mod-nss amd64 1.0.14-1+b1 [95.3 kB]
Get:35 http://deb.debian.org/debian stretch/main amd64
libhtml-tagset-perl all 3.20-3 [12.7 kB]
Get:36 http://deb.debian.org/debian stretch/main amd64 liburi-perl all
1.71-1 [88.6 kB]
Get:37 http://deb.debian.org/debian stretch/main amd64
libhtml-parser-perl amd64 3.72-3 [104 kB]
Get:38 http://deb.debian.org/debian stretch/main amd64 libcgi-pm-perl
all 4.35-1 [222 kB]
Get:39 http://deb.debian.org/debian stretch/main amd64 libadminutil-data
amd64 1.1.23-1 [4,064 B]
Get:40 http://deb.debian.org/debian stretch/main amd64 libadminutil0
amd64 1.1.23-1 [54.7 kB]
Get:41 http://deb.debian.org/debian stretch/main amd64 libds-admin-serv0
amd64 1.1.43-1+b1 [49.4 kB]
Get:42 http://deb.debian.org/debian stretch/main amd64 389-admin amd64
1.1.43-1+b1 [266 kB]
Get:43 http://deb.debian.org/debian stretch/main amd64 389-admin-console
all 1.1.12-1 [217 kB]
Get:44 http://deb.debian.org/debian stretch/main amd64 389-ds-console
all 1.2.16-1 [1,358 kB]
Get:45 http://deb.debian.org/debian stretch/main amd64 389-dsgw amd64
1.1.11-2+b3 [460 kB]
Get:46 http://deb.debian.org/debian stretch/main amd64 389-ds all
1.3.5.17-2 [16.2 kB]
Get:47 http://deb.debian.org/debian stretch/main amd64 libfcgi-perl
amd64 0.78-2 [38.2 kB]
Get:48 http://deb.debian.org/debian stretch/main amd64 libcgi-fast-perl
all 1:2.12-1 [11.2 kB]
Get:49 http://deb.debian.org/debian stretch/main amd64
libencode-locale-perl all 1.05-1 [13.7 kB]
Get:50 http://deb.debian.org/debian stretch/main amd64 libtimedate-perl
all 2.3000-2 [42.2 kB]
Get:51 http://deb.debian.org/debian stretch/main amd64 libhttp-date-perl
all 6.02-1 [10.7 kB]
Get:52 http://deb.debian.org/debian stretch/main amd64 libio-html-perl
all 1.001-1 [17.6 kB]
Get:53 http://deb.debian.org/debian stretch/main amd64
liblwp-mediatypes-perl all 6.02-1 [22.1 kB]
Get:54 http://deb.debian.org/debian stretch/main amd64
libhttp-message-perl all 6.11-1 [75.9 kB]
Get:55 http://deb.debian.org/debian stretch/main amd64 libsocket6-perl
amd64 0.27-1+b1 [28.1 kB]
Get:56 http://deb.debian.org/debian stretch/main amd64 rename all 0.20-4
[12.5 kB]
Get:57 http://deb.debian.org/debian stretch/main amd64 ssl-cert all
1.0.39 [20.8 kB]
Get:58 http://deb.debian.org/debian stretch/main amd64
389-ds-console-doc all 1.2.16-1 [35.9 kB]
Fetched 23.5 MB in 2s (8,854 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package perl-modules-5.24.
(Reading database ... 33193 files and directories currently installed.)
Preparing to unpack .../0-perl-modules-5.24_5.24.1-3+deb9u1_all.deb ...
Unpacking perl-modules-5.24 (5.24.1-3+deb9u1) ...
Selecting previously unselected package libperl5.24:amd64.
Preparing to unpack .../1-libperl5.24_5.24.1-3+deb9u1_amd64.deb ...
Unpacking libperl5.24:amd64 (5.24.1-3+deb9u1) ...
Selecting previously unselected package perl.
Preparing to unpack .../2-perl_5.24.1-3+deb9u1_amd64.deb ...
Unpacking perl (5.24.1-3+deb9u1) ...
Selecting previously unselected package libpython2.7-minimal:amd64.
Preparing to unpack .../3-libpython2.7-minimal_2.7.13-2_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.13-2) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../4-python2.7-minimal_2.7.13-2_amd64.deb ...
Unpacking python2.7-minimal (2.7.13-2) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../5-python-minimal_2.7.13-2_amd64.deb ...
Unpacking python-minimal (2.7.13-2) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../6-libpython2.7-stdlib_2.7.13-2_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.13-2) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../7-python2.7_2.7.13-2_amd64.deb ...
Unpacking python2.7 (2.7.13-2) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../8-libpython-stdlib_2.7.13-2_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.13-2) ...
Setting up libpython2.7-minimal:amd64 (2.7.13-2) ...
Setting up python2.7-minimal (2.7.13-2) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.13-2) ...
Selecting previously unselected package python.
(Reading database ... 35755 files and directories currently installed.)
Preparing to unpack .../00-python_2.7.13-2_amd64.deb ...
Unpacking python (2.7.13-2) ...
Selecting previously unselected package libsvrcore0:amd64.
Preparing to unpack .../01-libsvrcore0_1%3a4.1.2+dfsg1-3_amd64.deb ...
Unpacking libsvrcore0:amd64 (1:4.1.2+dfsg1-3) ...
Selecting previously unselected package 389-ds-base-libs.
Preparing to unpack .../02-389-ds-base-libs_1.3.5.17-2_amd64.deb ...
Unpacking 389-ds-base-libs (1.3.5.17-2) ...
Selecting previously unselected package acl.
Preparing to unpack .../03-acl_2.2.52-3+b1_amd64.deb ...
Unpacking acl (2.2.52-3+b1) ...
Selecting previously unselected package ldap-utils.
Preparing to unpack .../04-ldap-utils_2.4.44+dfsg-5_amd64.deb ...
Unpacking ldap-utils (2.4.44+dfsg-5) ...
Selecting previously unselected package libmozilla-ldap-perl.
Preparing to unpack .../05-libmozilla-ldap-perl_1.5.3-2+b3_amd64.deb ...
Unpacking libmozilla-ldap-perl (1.5.3-2+b3) ...
Selecting previously unselected package libnetaddr-ip-perl.
Preparing to unpack .../06-libnetaddr-ip-perl_4.079+dfsg-1+b1_amd64.deb ...
Unpacking libnetaddr-ip-perl (4.079+dfsg-1+b1) ...
Selecting previously unselected package libperl4-corelibs-perl.
Preparing to unpack .../07-libperl4-corelibs-perl_0.003-2_all.deb ...
Unpacking libperl4-corelibs-perl (0.003-2) ...
Selecting previously unselected package libsasl2-modules-gssapi-mit:amd64.
Preparing to unpack
.../08-libsasl2-modules-gssapi-mit_2.1.27~101-g0780600+dfsg-3_amd64.deb ...
Unpacking libsasl2-modules-gssapi-mit:amd64 (2.1.27~101-g0780600+dfsg-3) ...
Selecting previously unselected package libsocket-getaddrinfo-perl.
Preparing to unpack .../09-libsocket-getaddrinfo-perl_0.22-3_all.deb ...
Unpacking libsocket-getaddrinfo-perl (0.22-3) ...
Selecting previously unselected package libpci3:amd64.
Preparing to unpack .../10-libpci3_1%3a3.5.2-1_amd64.deb ...
Unpacking libpci3:amd64 (1:3.5.2-1) ...
Selecting previously unselected package libsnmp-base.
Preparing to unpack .../11-libsnmp-base_5.7.3+dfsg-1.7_all.deb ...
Unpacking libsnmp-base (5.7.3+dfsg-1.7) ...
Selecting previously unselected package libsnmp30:amd64.
Preparing to unpack .../12-libsnmp30_5.7.3+dfsg-1.7_amd64.deb ...
Unpacking libsnmp30:amd64 (5.7.3+dfsg-1.7) ...
Selecting previously unselected package 389-ds-base.
Preparing to unpack .../13-389-ds-base_1.3.5.17-2_amd64.deb ...
Unpacking 389-ds-base (1.3.5.17-2) ...
Selecting previously unselected package libapr1:amd64.
Preparing to unpack .../14-libapr1_1.5.2-5_amd64.deb ...
Unpacking libapr1:amd64 (1.5.2-5) ...
Selecting previously unselected package libaprutil1:amd64.
Preparing to unpack .../15-libaprutil1_1.5.4-3_amd64.deb ...
Unpacking libaprutil1:amd64 (1.5.4-3) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3:amd64.
Preparing to unpack .../16-libaprutil1-dbd-sqlite3_1.5.4-3_amd64.deb ...
Unpacking libaprutil1-dbd-sqlite3:amd64 (1.5.4-3) ...
Selecting previously unselected package libaprutil1-ldap:amd64.
Preparing to unpack .../17-libaprutil1-ldap_1.5.4-3_amd64.deb ...
Unpacking libaprutil1-ldap:amd64 (1.5.4-3) ...
Selecting previously unselected package liblua5.2-0:amd64.
Preparing to unpack .../18-liblua5.2-0_5.2.4-1.1+b2_amd64.deb ...
Unpacking liblua5.2-0:amd64 (5.2.4-1.1+b2) ...
Selecting previously unselected package apache2-bin.
Preparing to unpack .../19-apache2-bin_2.4.25-3+deb9u2_amd64.deb ...
Unpacking apache2-bin (2.4.25-3+deb9u2) ...
Selecting previously unselected package apache2-utils.
Preparing to unpack .../20-apache2-utils_2.4.25-3+deb9u2_amd64.deb ...
Unpacking apache2-utils (2.4.25-3+deb9u2) ...
Selecting previously unselected package apache2-data.
Preparing to unpack .../21-apache2-data_2.4.25-3+deb9u2_all.deb ...
Unpacking apache2-data (2.4.25-3+deb9u2) ...
Selecting previously unselected package apache2.
Preparing to unpack .../22-apache2_2.4.25-3+deb9u2_amd64.deb ...
Unpacking apache2 (2.4.25-3+deb9u2) ...
Selecting previously unselected package libnss3-tools.
Preparing to unpack .../23-libnss3-tools_2%3a3.26.2-1.1_amd64.deb ...
Unpacking libnss3-tools (2:3.26.2-1.1) ...
Selecting previously unselected package libapache2-mod-nss.
Preparing to unpack .../24-libapache2-mod-nss_1.0.14-1+b1_amd64.deb ...
Unpacking libapache2-mod-nss (1.0.14-1+b1) ...
Selecting previously unselected package libhtml-tagset-perl.
Preparing to unpack .../25-libhtml-tagset-perl_3.20-3_all.deb ...
Unpacking libhtml-tagset-perl (3.20-3) ...
Selecting previously unselected package liburi-perl.
Preparing to unpack .../26-liburi-perl_1.71-1_all.deb ...
Unpacking liburi-perl (1.71-1) ...
Selecting previously unselected package libhtml-parser-perl.
Preparing to unpack .../27-libhtml-parser-perl_3.72-3_amd64.deb ...
Unpacking libhtml-parser-perl (3.72-3) ...
Selecting previously unselected package libcgi-pm-perl.
Preparing to unpack .../28-libcgi-pm-perl_4.35-1_all.deb ...
Unpacking libcgi-pm-perl (4.35-1) ...
Selecting previously unselected package libadminutil-data.
Preparing to unpack .../29-libadminutil-data_1.1.23-1_amd64.deb ...
Unpacking libadminutil-data (1.1.23-1) ...
Selecting previously unselected package libadminutil0:amd64.
Preparing to unpack .../30-libadminutil0_1.1.23-1_amd64.deb ...
Unpacking libadminutil0:amd64 (1.1.23-1) ...
Selecting previously unselected package libds-admin-serv0:amd64.
Preparing to unpack .../31-libds-admin-serv0_1.1.43-1+b1_amd64.deb ...
Unpacking libds-admin-serv0:amd64 (1.1.43-1+b1) ...
Selecting previously unselected package 389-admin.
Preparing to unpack .../32-389-admin_1.1.43-1+b1_amd64.deb ...
Unpacking 389-admin (1.1.43-1+b1) ...
Selecting previously unselected package 389-admin-console.
Preparing to unpack .../33-389-admin-console_1.1.12-1_all.deb ...
Unpacking 389-admin-console (1.1.12-1) ...
Selecting previously unselected package 389-ds-console.
Preparing to unpack .../34-389-ds-console_1.2.16-1_all.deb ...
Unpacking 389-ds-console (1.2.16-1) ...
Selecting previously unselected package 389-dsgw.
Preparing to unpack .../35-389-dsgw_1.1.11-2+b3_amd64.deb ...
Unpacking 389-dsgw (1.1.11-2+b3) ...
Selecting previously unselected package 389-ds.
Preparing to unpack .../36-389-ds_1.3.5.17-2_all.deb ...
Unpacking 389-ds (1.3.5.17-2) ...
Selecting previously unselected package libfcgi-perl.
Preparing to unpack .../37-libfcgi-perl_0.78-2_amd64.deb ...
Unpacking libfcgi-perl (0.78-2) ...
Selecting previously unselected package libcgi-fast-perl.
Preparing to unpack .../38-libcgi-fast-perl_1%3a2.12-1_all.deb ...
Unpacking libcgi-fast-perl (1:2.12-1) ...
Selecting previously unselected package libencode-locale-perl.
Preparing to unpack .../39-libencode-locale-perl_1.05-1_all.deb ...
Unpacking libencode-locale-perl (1.05-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../40-libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package libhttp-date-perl.
Preparing to unpack .../41-libhttp-date-perl_6.02-1_all.deb ...
Unpacking libhttp-date-perl (6.02-1) ...
Selecting previously unselected package libio-html-perl.
Preparing to unpack .../42-libio-html-perl_1.001-1_all.deb ...
Unpacking libio-html-perl (1.001-1) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Preparing to unpack .../43-liblwp-mediatypes-perl_6.02-1_all.deb ...
Unpacking liblwp-mediatypes-perl (6.02-1) ...
Selecting previously unselected package libhttp-message-perl.
Preparing to unpack .../44-libhttp-message-perl_6.11-1_all.deb ...
Unpacking libhttp-message-perl (6.11-1) ...
Selecting previously unselected package libsocket6-perl.
Preparing to unpack .../45-libsocket6-perl_0.27-1+b1_amd64.deb ...
Unpacking libsocket6-perl (0.27-1+b1) ...
Selecting previously unselected package rename.
Preparing to unpack .../46-rename_0.20-4_all.deb ...
Unpacking rename (0.20-4) ...
Selecting previously unselected package ssl-cert.
Preparing to unpack .../47-ssl-cert_1.0.39_all.deb ...
Unpacking ssl-cert (1.0.39) ...
Selecting previously unselected package 389-ds-console-doc.
Preparing to unpack .../48-389-ds-console-doc_1.2.16-1_all.deb ...
Unpacking 389-ds-console-doc (1.2.16-1) ...
Setting up libapr1:amd64 (1.5.2-5) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u1) ...
Setting up libperl5.24:amd64 (5.24.1-3+deb9u1) ...
Processing triggers for mime-support (3.60) ...
Setting up libsvrcore0:amd64 (1:4.1.2+dfsg1-3) ...
Setting up apache2-data (2.4.25-3+deb9u2) ...
Setting up ssl-cert (1.0.39) ...
Setting up perl (5.24.1-3+deb9u1) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename
(rename) in auto mode
Setting up ldap-utils (2.4.44+dfsg-5) ...
Setting up libnetaddr-ip-perl (4.079+dfsg-1+b1) ...
Setting up libmozilla-ldap-perl (1.5.3-2+b3) ...
Setting up liblwp-mediatypes-perl (6.02-1) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Setting up libsocket6-perl (0.27-1+b1) ...
Setting up 389-ds-base-libs (1.3.5.17-2) ...
Setting up libnss3-tools (2:3.26.2-1.1) ...
Setting up liburi-perl (1.71-1) ...
Setting up libaprutil1:amd64 (1.5.4-3) ...
Processing triggers for systemd (232-25+deb9u1) ...
Setting up 389-admin-console (1.1.12-1) ...
Setting up liblua5.2-0:amd64 (5.2.4-1.1+b2) ...
Setting up libsasl2-modules-gssapi-mit:amd64
(2.1.27~101-g0780600+dfsg-3) ...
Setting up libadminutil-data (1.1.23-1) ...
Setting up libpci3:amd64 (1:3.5.2-1) ...
Setting up acl (2.2.52-3+b1) ...
Setting up libfcgi-perl (0.78-2) ...
Setting up 389-ds-console-doc (1.2.16-1) ...
Setting up libpython2.7-stdlib:amd64 (2.7.13-2) ...
Setting up libaprutil1-ldap:amd64 (1.5.4-3) ...
Setting up libsnmp-base (5.7.3+dfsg-1.7) ...
Setting up libhtml-tagset-perl (3.20-3) ...
Setting up libsnmp30:amd64 (5.7.3+dfsg-1.7) ...
Setting up libsocket-getaddrinfo-perl (0.22-3) ...
Setting up libperl4-corelibs-perl (0.003-2) ...
Setting up libencode-locale-perl (1.05-1) ...
Setting up libaprutil1-dbd-sqlite3:amd64 (1.5.4-3) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up rename (0.20-4) ...
update-alternatives: using /usr/bin/file-rename to provide
/usr/bin/rename (rename) in auto mode
Setting up apache2-utils (2.4.25-3+deb9u2) ...
Setting up libio-html-perl (1.001-1) ...
Setting up apache2-bin (2.4.25-3+deb9u2) ...
Setting up python2.7 (2.7.13-2) ...
Setting up libpython-stdlib:amd64 (2.7.13-2) ...
Setting up libadminutil0:amd64 (1.1.23-1) ...
Setting up libhtml-parser-perl (3.72-3) ...
Setting up libcgi-pm-perl (4.35-1) ...
Setting up python (2.7.13-2) ...
Setting up 389-ds-base (1.3.5.17-2) ...
dirsrv-snmp.service is a disabled or a static unit, not starting it.
dirsrv.target is a disabled or a static unit, not starting it.
Setting up libhttp-date-perl (6.02-1) ...
Setting up libapache2-mod-nss (1.0.14-1+b1) ...
libapache2-mod-nss certificate database generated.
Setting up apache2 (2.4.25-3+deb9u2) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module authn_core.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling module reqtimeout.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
Created symlink
/etc/systemd/system/multi-user.target.wants/apache2.service →
/lib/systemd/system/apache2.service.
Created symlink
/etc/systemd/system/multi-user.target.wants/apache-htcacheclean.service
→ /lib/systemd/system/apache-htcacheclean.service.
Setting up libds-admin-serv0:amd64 (1.1.43-1+b1) ...
Setting up libcgi-fast-perl (1:2.12-1) ...
Setting up libhttp-message-perl (6.11-1) ...
Setting up 389-admin (1.1.43-1+b1) ...
Job for dirsrv-admin.service failed because the control process exited
with error code.
See "systemctl status dirsrv-admin.service" and "journalctl -xe" for
details.
invoke-rc.d: initscript dirsrv-admin, action "start" failed.
● dirsrv-admin.service - 389 Administration Server.
   Loaded: loaded (/lib/systemd/system/dirsrv-admin.service; disabled;
vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2017-07-29 00:01:48 EDT;
15ms ago
  Process: 11496 ExecStart=/usr/sbin/apache2 -k start -f
/etc/dirsrv/admin-serv/httpd.conf (code=exited, status=1/FAILURE)

Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: Starting 389
Administration Serv…...
Jul 29 00:01:48 ldap01.deptadapt.org apache2[11496]: AH00558: apache2:
Could not …age
Jul 29 00:01:48 ldap01.deptadapt.org apache2[11496]: (2)No such file or
directory…log
Jul 29 00:01:48 ldap01.deptadapt.org apache2[11496]: AH00014:
Configuration check…led
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Control pr…s=1
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: Failed to start 389
Administrati…r..
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Unit enter…te.
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Failed wit…e'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package 389-admin (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of 389-dsgw:
 389-dsgw depends on 389-admin; however:
  Package 389-admin is not configured yet.

dpkg: error processing package 389-dsgw (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of 389-ds-console:
 389-ds-console depends on 389-admin; however:
  Package 389-admin is not configured yet.

dpkg: error processing package 389-ds-console (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of 389-ds:
 389-ds depends on 389-admin; however:
  Package 389-admin is not configured yet.
 389-ds depends on 389-ds-console; however:
  Package 389-ds-console is not configured yet.
 389-ds depends on 389-dsgw; however:
  Package 389-dsgw is not configured yet.

dpkg: error processing package 389-ds (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for systemd (232-25+deb9u1) ...
Errors were encountered while processing:
 389-admin
 389-dsgw
 389-ds-console
 389-ds
E: Sub-process /usr/bin/dpkg returned an error code (1)


--- systemctl status dirsrv-admin.service
● dirsrv-admin.service - 389 Administration Server.
   Loaded: loaded (/lib/systemd/system/dirsrv-admin.service; disabled;
vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2017-07-29 00:01:48 EDT;
6min ago

Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: Starting 389
Administration Server....
Jul 29 00:01:48 ldap01.deptadapt.org apache2[11496]: AH00558: apache2:
Could not reliably determine the server's fully qualified domain name,
using ldap01.deptadapt.org. Set the 'ServerName' directive globally to
suppress this message
Jul 29 00:01:48 ldap01.deptadapt.org apache2[11496]: (2)No such file or
directory: AH02291: Cannot access directory
'/var/log/dirsrv/admin-serv/' for main error log
Jul 29 00:01:48 ldap01.deptadapt.org apache2[11496]: AH00014:
Configuration check failed
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Control process exited, code=exited status=1
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: Failed to start 389
Administration Server..
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Unit entered failed state.
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Failed with result 'exit-code'.

--- journalctl -u dirsrv-admin.service
-- Logs begin at Thu 2017-07-06 00:24:13 EDT, end at Sat 2017-07-29
00:01:48 EDT. --
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Failed to set invocation ID on control group
/system.slice/dirsrv-admin.service, ignoring: Operation not permitted
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: Starting 389
Administration Server....
Jul 29 00:01:48 ldap01.deptadapt.org apache2[11496]: AH00558: apache2:
Could not reliably determine the server's fully qualified domain name,
using ldap01.deptadapt.org. Set the 'ServerName' directive globally to
suppress this message
Jul 29 00:01:48 ldap01.deptadapt.org apache2[11496]: (2)No such file or
directory: AH02291: Cannot access directory
'/var/log/dirsrv/admin-serv/' for main error log
Jul 29 00:01:48 ldap01.deptadapt.org apache2[11496]: AH00014:
Configuration check failed
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Control process exited, code=exited status=1
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: Failed to start 389
Administration Server..
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Unit entered failed state.
Jul 29 00:01:48 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Failed with result 'exit-code'.

--- Creating missing log directory and attempting to start
dirsrv-admin.service
root at ldap01:/var/log/dirsrv# mkdir admin-serv
root at ldap01:/var/log/dirsrv# chown dirsrv:dirsrv admin-serv
root at ldap01:/var/log/dirsrv# chmod 700 admin-serv/
root at ldap01:/var/log/dirsrv# systemctl reset-failed dirsrv-admin
root at ldap01:/var/log/dirsrv# systemctl start dirsrv-admin
Job for dirsrv-admin.service failed because the control process exited
with error code.
See "systemctl status dirsrv-admin.service" and "journalctl -xe" for
details.
root at ldap01:/var/log/dirsrv# systemctl status dirsrv-admin
● dirsrv-admin.service - 389 Administration Server.
   Loaded: loaded (/lib/systemd/system/dirsrv-admin.service; disabled;
vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2017-07-29 00:12:57 EDT;
19s ago
  Process: 11546 ExecStart=/usr/sbin/apache2 -k start -f
/etc/dirsrv/admin-serv/httpd.conf (code=exited, status=1/FAILURE)

Jul 29 00:12:56 ldap01.deptadapt.org systemd[1]: Starting 389
Administration Server....
Jul 29 00:12:56 ldap01.deptadapt.org apache2[11546]: AH00558: apache2:
Could not reliably determine the server's fully qualified domain name,
using ldap01.deptadapt.org. Set the 'ServerName' directive globally t
o suppress this message
Jul 29 00:12:57 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Control process exited, code=exited status=1
Jul 29 00:12:57 ldap01.deptadapt.org systemd[1]: Failed to start 389
Administration Server..
Jul 29 00:12:57 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Unit entered failed state.
Jul 29 00:12:57 ldap01.deptadapt.org systemd[1]: dirsrv-admin.service:
Failed with result 'exit-code'.
root at ldap01:/var/log/dirsrv# ls
admin-serv
root at ldap01:/var/log/dirsrv# cd admin-serv/
root at ldap01:/var/log/dirsrv/admin-serv# ls
access  error
root at ldap01:/var/log/dirsrv/admin-serv# cat access


--- /var/log/dirsrv/admin-serv/error after the directory is created
root at ldap01:/var/log/dirsrv/admin-serv# cat error
[Sat Jul 29 00:12:57.000848 2017] [:warn] [pid 11546:tid
140269280199872] NSSSessionCacheTimeout is deprecated. Ignoring.
[Sat Jul 29 00:12:57.001080 2017] [:crit] [pid 11546:tid
140269280199872] do_admserv_post_config(): unable to create AdmldapInfo
AH00016: Configuration Failed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fedora-ds-maintainers/attachments/20170729/72241f23/attachment-0001.sig>


More information about the Pkg-fedora-ds-maintainers mailing list