ubuntu-389-directory-server team mailing list archive
-
ubuntu-389-directory-server team
-
Mailing list archive
-
Message #00055
I've encountered three more issues. misconfigured libs/settings, and a segfault on starting admin server. Here's all the relevant information:
So three issues. First some preamble. I've been having a go of
installing 389 on centos, ubuntu, and fedora. So far centos is the only
one that went off without a hitch :( I'm running all of them in kvm
virtual machines on ubuntu oneiric.
At the bottom of this e-mail is some useful information about my system,
if you need anything else, feel free to ask.
the first issue is a missing dependency on apache2. without the apache2
package, the setup process fails, though I can't remember where. I've
since included it in my install/purge lists every time I try to re-run
the install process.
The second issue is some misconfigured libraries somewhere during
scripting or install. I'm not really sure where the problem is, but
there's a simple workaround, shown below.
the third issue is a segfault when running start-ds-admin . I've tried
a little hacking to further identify the issue, but haven't been able to
identify it. Simply, a segmentation fault occurs. I apologize for not
having more information.
Here's some useful console output I've gathered. As per my usual, if
you need anything more, please feel free to contact me.
Useful output for misconfigured libs:
master@directory:~$ sudo setup-ds-admin
Can't locate Setup.pm in @INC (@INC contains: /usr/lib/dirsrv/perl
/etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12
/usr/local/lib/site_perl .) at /usr/sbin/setup-ds-admin line 24.
BEGIN failed--compilation aborted at /usr/sbin/setup-ds-admin line 24.
master@directory:~$ sudo find / -name Setup.pm
/usr/share/perl/5.12.4/CPANPLUS/Configure/Setup.pm
/usr/lib/x86_64-linux-gnu/dirsrv/perl/Setup.pm
master@directory:~$ sudo PERL5LIB=/usr/lib/x86_64-linux-gnu/dirsrv/perl/
setup-ds-admin
[...]
Useful output for segfault in start-ds-admin
Registering admin server with the configuration directory server . . .
Updating adm.conf with information from configuration directory server . . .
Updating the configuration for the httpd engine . . .
Starting admin server . . .
output: Segmentation fault
output: Server failed to start !!! Please check errors log for problems
Could not start the admin server. Error: 256
Failed to create and configure the admin server
Exiting . . .
Log file is '/tmp/setupjhKoBH.log'
master@directory:~$ sudo start-ds-admin
Segmentation fault
Server failed to start !!! Please check errors log for problems
Useful info about my system:
master@directory:~$ sudo uname -a
Linux directory 3.0.0-14-virtual #23-Ubuntu SMP Mon Nov 21 21:09:11 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux
master@directory:~$ sudo aptitude install 389-admin 389-admin-console
389-console 389-ds-base 389-ds-console apache2
The following NEW packages will be installed:
389-admin 389-admin-console 389-console 389-ds-base 389-ds-console
apache2 apache2-mpm-worker{a} apache2-utils{a} apache2.2-bin{a}
apache2.2-common{a} ca-certificates-java{a} default-jre{a}
default-jre-headless{a}
icedtea-6-jre-cacao{a} icedtea-6-jre-jamvm{a} icedtea-netx{a}
java-common{a} libaccess-bridge-java{a} libaccess-bridge-java-jni{a}
libadminutil0{a} libapache2-mod-nss{a} libapr1{a} libaprutil1{a}
libaprutil1-dbd-sqlite3{a}
libaprutil1-ldap{a} libasound2{a} libasyncns0{a} libavahi-client3{a}
libavahi-common-data{a} libavahi-common3{a} libcap2{a} libcups2{a}
libdirsrv0{a} libflac8{a} libgcrypt11{a} libgif4{a} libgnutls26{a}
libgpg-error0{a}
libicu44{a} libidm-console-framework-java{a} libjpeg62{a} libjson0{a}
liblcms1{a} libldap-2.4-2{a} libmozilla-ldap-perl{a} libmozldap-0d{a}
libnspr4{a} libnss3{a} libnss3-1d{a} libnss3-tools{a} libogg0{a}
libperl5.12{a}
libpulse0{a} libsasl2-2{a} libsasl2-modules{a}
libsasl2-modules-gssapi-mit{a} libsensors4{a} libsndfile1{a}
libsnmp-base{a} libsnmp15{a} libsvrcore0{a} libtasn1-3{a} libvorbis0a{a}
libvorbisenc2{a} libxi6{a} libxrender1{a}
libxtst6{a} openjdk-6-jre{a} openjdk-6-jre-headless{a}
openjdk-6-jre-lib{a} ssl-cert{a} ttf-dejavu-core{a} ttf-dejavu-extra{a}
tzdata-java{a} x11-common{a}
0 packages upgraded, 75 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/61.1 MB of archives. After unpacking 169 MB will be used.
Do you want to continue? [Y/n/?] y
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously deselected package libgpg-error0.
(Reading database ... 16690 files and directories currently installed.)
Unpacking libgpg-error0 (from
.../libgpg-error0_1.10-0.3ubuntu1_amd64.deb) ...
Selecting previously deselected package libgcrypt11.
Unpacking libgcrypt11 (from .../libgcrypt11_1.5.0-1_amd64.deb) ...
Selecting previously deselected package libtasn1-3.
Unpacking libtasn1-3 (from .../libtasn1-3_2.9-4_amd64.deb) ...
Selecting previously deselected package libgnutls26.
Unpacking libgnutls26 (from .../libgnutls26_2.10.5-1ubuntu3_amd64.deb) ...
Selecting previously deselected package libsasl2-2.
Unpacking libsasl2-2 (from
.../libsasl2-2_2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2_amd64.deb) ...
Selecting previously deselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from
.../libldap-2.4-2_2.4.25-1.1ubuntu4.1tja2_amd64.deb) ...
Selecting previously deselected package libxrender1.
Unpacking libxrender1 (from .../libxrender1_1%3a0.9.6-2_amd64.deb) ...
Selecting previously deselected package libicu44.
Unpacking libicu44 (from .../libicu44_4.4.2-2_amd64.deb) ...
Selecting previously deselected package libnspr4.
Unpacking libnspr4 (from .../libnspr4_4.8.7-0ubuntu3_amd64.deb) ...
Selecting previously deselected package libnss3.
Unpacking libnss3 (from .../libnss3_3.12.9+ckbi-1.82-0ubuntu6_amd64.deb) ...
Selecting previously deselected package libadminutil0.
Unpacking libadminutil0 (from
.../libadminutil0_1.1.14-1~ubuntu1_amd64.deb) ...
Selecting previously deselected package libnss3-1d.
Unpacking libnss3-1d (from
.../libnss3-1d_3.12.9+ckbi-1.82-0ubuntu6_amd64.deb) ...
Selecting previously deselected package libsvrcore0.
Unpacking libsvrcore0 (from
.../libsvrcore0_1%3a4.0.4-14~ubuntu1_amd64.deb) ...
Selecting previously deselected package libmozldap-0d.
Unpacking libmozldap-0d (from
.../libmozldap-0d_6.0.6+dfsg-7~ubuntu1_amd64.deb) ...
Selecting previously deselected package libnss3-tools.
Unpacking libnss3-tools (from
.../libnss3-tools_3.12.9+ckbi-1.82-0ubuntu6_amd64.deb) ...
Selecting previously deselected package libmozilla-ldap-perl.
Unpacking libmozilla-ldap-perl (from
.../libmozilla-ldap-perl_1.5.3-1~ubuntu1_amd64.deb) ...
Selecting previously deselected package libapr1.
Unpacking libapr1 (from .../libapr1_1.4.5-1_amd64.deb) ...
Selecting previously deselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.3.12+dfsg-2_amd64.deb) ...
Selecting previously deselected package libaprutil1-dbd-sqlite3.
Unpacking libaprutil1-dbd-sqlite3 (from
.../libaprutil1-dbd-sqlite3_1.3.12+dfsg-2_amd64.deb) ...
Selecting previously deselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from
.../libaprutil1-ldap_1.3.12+dfsg-2_amd64.deb) ...
Selecting previously deselected package libcap2.
Unpacking libcap2 (from .../libcap2_1%3a2.21-2_amd64.deb) ...
Selecting previously deselected package apache2.2-bin.
Unpacking apache2.2-bin (from
.../apache2.2-bin_2.2.20-1ubuntu1.1_amd64.deb) ...
Selecting previously deselected package apache2-utils.
Unpacking apache2-utils (from
.../apache2-utils_2.2.20-1ubuntu1.1_amd64.deb) ...
Selecting previously deselected package apache2.2-common.
Unpacking apache2.2-common (from
.../apache2.2-common_2.2.20-1ubuntu1.1_amd64.deb) ...
Selecting previously deselected package libapache2-mod-nss.
Unpacking libapache2-mod-nss (from
.../libapache2-mod-nss_1.0.8-2~ubuntu2_amd64.deb) ...
Selecting previously deselected package libsnmp-base.
Unpacking libsnmp-base (from
.../libsnmp-base_5.4.3~dfsg-2.2ubuntu1_all.deb) ...
Selecting previously deselected package libperl5.12.
Unpacking libperl5.12 (from .../libperl5.12_5.12.4-4_amd64.deb) ...
Selecting previously deselected package libsensors4.
Unpacking libsensors4 (from
.../libsensors4_1%3a3.3.0-4ubuntu1_amd64.deb) ...
Selecting previously deselected package libsnmp15.
Unpacking libsnmp15 (from .../libsnmp15_5.4.3~dfsg-2.2ubuntu1_amd64.deb) ...
Selecting previously deselected package libdirsrv0.
Unpacking libdirsrv0 (from .../libdirsrv0_1.2.9.9-1~ubuntu4_amd64.deb) ...
Selecting previously deselected package libsasl2-modules.
Unpacking libsasl2-modules (from
.../libsasl2-modules_2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2_amd64.deb) ...
Selecting previously deselected package libsasl2-modules-gssapi-mit.
Unpacking libsasl2-modules-gssapi-mit (from
.../libsasl2-modules-gssapi-mit_2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2_amd64.deb)
...
Selecting previously deselected package 389-ds-base.
Unpacking 389-ds-base (from .../389-ds-base_1.2.9.9-1~ubuntu4_amd64.deb) ...
Selecting previously deselected package 389-admin.
Unpacking 389-admin (from .../389-admin_1.1.23-1~ubuntu5_amd64.deb) ...
Selecting previously deselected package libasound2.
Unpacking libasound2 (from .../libasound2_1.0.24.1-0ubuntu10_amd64.deb) ...
Selecting previously deselected package libasyncns0.
Unpacking libasyncns0 (from .../libasyncns0_0.8-4_amd64.deb) ...
Selecting previously deselected package libavahi-common-data.
Unpacking libavahi-common-data (from
.../libavahi-common-data_0.6.30-4ubuntu1_amd64.deb) ...
Selecting previously deselected package libavahi-common3.
Unpacking libavahi-common3 (from
.../libavahi-common3_0.6.30-4ubuntu1_amd64.deb) ...
Selecting previously deselected package libavahi-client3.
Unpacking libavahi-client3 (from
.../libavahi-client3_0.6.30-4ubuntu1_amd64.deb) ...
Selecting previously deselected package libcups2.
Unpacking libcups2 (from .../libcups2_1.5.0-8ubuntu6_amd64.deb) ...
Selecting previously deselected package libogg0.
Unpacking libogg0 (from .../libogg0_1.2.2~dfsg-1ubuntu1_amd64.deb) ...
Selecting previously deselected package libflac8.
Unpacking libflac8 (from .../libflac8_1.2.1-4ubuntu1_amd64.deb) ...
Selecting previously deselected package liblcms1.
Unpacking liblcms1 (from .../liblcms1_1.19.dfsg-1ubuntu2_amd64.deb) ...
Selecting previously deselected package libjson0.
Unpacking libjson0 (from .../libjson0_0.9-1ubuntu1_amd64.deb) ...
Selecting previously deselected package libvorbis0a.
Unpacking libvorbis0a (from .../libvorbis0a_1.3.2-1ubuntu2_amd64.deb) ...
Selecting previously deselected package libvorbisenc2.
Unpacking libvorbisenc2 (from
.../libvorbisenc2_1.3.2-1ubuntu2_amd64.deb) ...
Selecting previously deselected package libsndfile1.
Unpacking libsndfile1 (from .../libsndfile1_1.0.24-1ubuntu2_amd64.deb) ...
Selecting previously deselected package libpulse0.
Unpacking libpulse0 (from .../libpulse0_1%3a1.0-0ubuntu3.1_amd64.deb) ...
Selecting previously deselected package libxi6.
Unpacking libxi6 (from .../libxi6_2%3a1.4.3-3ubuntu1_amd64.deb) ...
Selecting previously deselected package ttf-dejavu-core.
Unpacking ttf-dejavu-core (from
.../ttf-dejavu-core_2.33-1ubuntu1_amd64.deb) ...
Selecting previously deselected package openjdk-6-jre-lib.
Unpacking openjdk-6-jre-lib (from
.../openjdk-6-jre-lib_6b23~pre11-0ubuntu1.11.10_all.deb) ...
Selecting previously deselected package java-common.
Unpacking java-common (from .../java-common_0.42ubuntu2_all.deb) ...
Selecting previously deselected package default-jre-headless.
Unpacking default-jre-headless (from
.../default-jre-headless_1%3a1.6-42ubuntu2_amd64.deb) ...
Selecting previously deselected package ca-certificates-java.
Unpacking ca-certificates-java (from
.../ca-certificates-java_20110912ubuntu3_all.deb) ...
Selecting previously deselected package tzdata-java.
Unpacking tzdata-java (from
.../tzdata-java_2011n-0ubuntu0.11.10_amd64.deb) ...
Selecting previously deselected package libjpeg62.
Unpacking libjpeg62 (from .../libjpeg62_6b1-1ubuntu2_amd64.deb) ...
Selecting previously deselected package openjdk-6-jre-headless.
Unpacking openjdk-6-jre-headless (from
.../openjdk-6-jre-headless_6b23~pre11-0ubuntu1.11.10_amd64.deb) ...
Selecting previously deselected package libgif4.
Unpacking libgif4 (from .../libgif4_4.1.6-9_amd64.deb) ...
Selecting previously deselected package x11-common.
Unpacking x11-common (from .../x11-common_1%3a7.6+7ubuntu7_amd64.deb) ...
Selecting previously deselected package libxtst6.
Unpacking libxtst6 (from .../libxtst6_2%3a1.2.0-3_amd64.deb) ...
Selecting previously deselected package default-jre.
Unpacking default-jre (from .../default-jre_1%3a1.6-42ubuntu2_amd64.deb) ...
Selecting previously deselected package libaccess-bridge-java.
Unpacking libaccess-bridge-java (from
.../libaccess-bridge-java_1.26.2-6_all.deb) ...
Selecting previously deselected package libaccess-bridge-java-jni.
Unpacking libaccess-bridge-java-jni (from
.../libaccess-bridge-java-jni_1.26.2-6_amd64.deb) ...
Selecting previously deselected package openjdk-6-jre.
Unpacking openjdk-6-jre (from
.../openjdk-6-jre_6b23~pre11-0ubuntu1.11.10_amd64.deb) ...
Selecting previously deselected package libidm-console-framework-java.
Unpacking libidm-console-framework-java (from
.../libidm-console-framework-java_1.1.7-1~ubuntu1_all.deb) ...
Selecting previously deselected package 389-admin-console.
Unpacking 389-admin-console (from
.../389-admin-console_1.1.8-1~ubuntu2_all.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from
.../apache2-mpm-worker_2.2.20-1ubuntu1.1_amd64.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.2.20-1ubuntu1.1_amd64.deb) ...
Selecting previously deselected package ssl-cert.
Unpacking ssl-cert (from .../ssl-cert_1.0.28_all.deb) ...
Selecting previously deselected package ttf-dejavu-extra.
Unpacking ttf-dejavu-extra (from
.../ttf-dejavu-extra_2.33-1ubuntu1_amd64.deb) ...
Selecting previously deselected package 389-console.
Unpacking 389-console (from .../389-console_1.1.7-1~ubuntu1_all.deb) ...
Selecting previously deselected package 389-ds-console.
Unpacking 389-ds-console (from
.../389-ds-console_1.2.6-1~ubuntu3_all.deb) ...
Selecting previously deselected package icedtea-6-jre-cacao.
Unpacking icedtea-6-jre-cacao (from
.../icedtea-6-jre-cacao_6b23~pre11-0ubuntu1.11.10_amd64.deb) ...
Selecting previously deselected package icedtea-6-jre-jamvm.
Unpacking icedtea-6-jre-jamvm (from
.../icedtea-6-jre-jamvm_6b23~pre11-0ubuntu1.11.10_amd64.deb) ...
Selecting previously deselected package icedtea-netx.
Unpacking icedtea-netx (from
.../icedtea-netx_1.1.3-1ubuntu1.1_amd64.deb) ...
Processing triggers for ureadahead ...
Setting up libgpg-error0 (1.10-0.3ubuntu1) ...
Setting up libgcrypt11 (1.5.0-1) ...
Setting up libtasn1-3 (2.9-4) ...
Setting up libgnutls26 (2.10.5-1ubuntu3) ...
Setting up libsasl2-2 (2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2) ...
Setting up libldap-2.4-2 (2.4.25-1.1ubuntu4.1tja2) ...
Setting up libxrender1 (1:0.9.6-2) ...
Setting up libicu44 (4.4.2-2) ...
Setting up libnspr4 (4.8.7-0ubuntu3) ...
Setting up libnss3 (3.12.9+ckbi-1.82-0ubuntu6) ...
Setting up libadminutil0 (1.1.14-1~ubuntu1) ...
Setting up libnss3-1d (3.12.9+ckbi-1.82-0ubuntu6) ...
Setting up libsvrcore0 (1:4.0.4-14~ubuntu1) ...
Setting up libmozldap-0d (6.0.6+dfsg-7~ubuntu1) ...
Setting up libnss3-tools (3.12.9+ckbi-1.82-0ubuntu6) ...
Setting up libmozilla-ldap-perl (1.5.3-1~ubuntu1) ...
Setting up libapr1 (1.4.5-1) ...
Setting up libaprutil1 (1.3.12+dfsg-2) ...
Setting up libaprutil1-dbd-sqlite3 (1.3.12+dfsg-2) ...
Setting up libaprutil1-ldap (1.3.12+dfsg-2) ...
Setting up libcap2 (1:2.21-2) ...
Setting up apache2.2-bin (2.2.20-1ubuntu1.1) ...
Setting up apache2-utils (2.2.20-1ubuntu1.1) ...
Setting up apache2.2-common (2.2.20-1ubuntu1.1) ...
Setting up libapache2-mod-nss (1.0.8-2~ubuntu2) ...
Setting up libsnmp-base (5.4.3~dfsg-2.2ubuntu1) ...
Setting up libperl5.12 (5.12.4-4) ...
Setting up libsensors4 (1:3.3.0-4ubuntu1) ...
Setting up libsnmp15 (5.4.3~dfsg-2.2ubuntu1) ...
Setting up libdirsrv0 (1.2.9.9-1~ubuntu4) ...
Setting up libsasl2-modules (2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2) ...
Setting up libsasl2-modules-gssapi-mit
(2.1.24~rc1.dfsg1+cvs2011-05-23-4ubuntu2) ...
Setting up 389-ds-base (1.2.9.9-1~ubuntu4) ...
Setting up 389-admin (1.1.23-1~ubuntu5) ...
Setting up libasound2 (1.0.24.1-0ubuntu10) ...
Setting up libasyncns0 (0.8-4) ...
Setting up libavahi-common-data (0.6.30-4ubuntu1) ...
Setting up libavahi-common3 (0.6.30-4ubuntu1) ...
Setting up libavahi-client3 (0.6.30-4ubuntu1) ...
Setting up libcups2 (1.5.0-8ubuntu6) ...
Setting up libogg0 (1.2.2~dfsg-1ubuntu1) ...
Setting up libflac8 (1.2.1-4ubuntu1) ...
Setting up liblcms1 (1.19.dfsg-1ubuntu2) ...
Setting up libjson0 (0.9-1ubuntu1) ...
Setting up libvorbis0a (1.3.2-1ubuntu2) ...
Setting up libvorbisenc2 (1.3.2-1ubuntu2) ...
Setting up libsndfile1 (1.0.24-1ubuntu2) ...
Setting up libpulse0 (1:1.0-0ubuntu3.1) ...
Setting up libxi6 (2:1.4.3-3ubuntu1) ...
Setting up ttf-dejavu-core (2.33-1ubuntu1) ...
Setting up java-common (0.42ubuntu2) ...
Setting up tzdata-java (2011n-0ubuntu0.11.10) ...
Setting up libjpeg62 (6b1-1ubuntu2) ...
Setting up libgif4 (4.1.6-9) ...
Setting up x11-common (1:7.6+7ubuntu7) ...
Setting up libxtst6 (2:1.2.0-3) ...
Setting up apache2-mpm-worker (2.2.20-1ubuntu1.1) ...
* Starting web server
apache2
[ OK ]
Setting up apache2 (2.2.20-1ubuntu1.1) ...
Setting up ssl-cert (1.0.28) ...
Setting up ttf-dejavu-extra (2.33-1ubuntu1) ...
Setting up 389-ds-console (1.2.6-1~ubuntu3) ...
Setting up openjdk-6-jre-headless (6b23~pre11-0ubuntu1.11.10) ...
Setting up openjdk-6-jre-lib (6b23~pre11-0ubuntu1.11.10) ...
Setting up libaccess-bridge-java (1.26.2-6) ...
Setting up libaccess-bridge-java-jni (1.26.2-6) ...
Setting up openjdk-6-jre (6b23~pre11-0ubuntu1.11.10) ...
Setting up libidm-console-framework-java (1.1.7-1~ubuntu1) ...
Setting up 389-admin-console (1.1.8-1~ubuntu2) ...
Setting up 389-console (1.1.7-1~ubuntu1) ...
Setting up icedtea-6-jre-cacao (6b23~pre11-0ubuntu1.11.10) ...
Setting up icedtea-6-jre-jamvm (6b23~pre11-0ubuntu1.11.10) ...
Setting up icedtea-netx (1.1.3-1ubuntu1.1) ...
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/javaws to
provide /usr/bin/javaws (javaws) in auto mode.
Setting up default-jre-headless (1:1.6-42ubuntu2) ...
Setting up ca-certificates-java (20110912ubuntu3) ...
Setting up default-jre (1:1.6-42ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Follow ups