Hi, I tried to setup DS Admin today: [15/03/30:11:02:44] - [Setup] Info Are you ready to set up your servers? [15/03/30:11:02:57] - [Setup] Info yes [15/03/30:11:02:57] - [Setup] Info Creating directory server . . . [15/03/30:11:03:01] - [Setup] Info Your new DS instance 'pkit' was successfully created. [15/03/30:11:03:01] - [Setup] Info Creating the configuration directory server . . . [15/03/30:11:03:01] - [Setup] Info Beginning Admin Server creation . . . [15/03/30:11:03:01] - [Setup] Info Creating Admin Server files and directories . . . [15/03/30:11:03:01] - [Setup] Info Updating adm.conf . . . [15/03/30:11:03:01] - [Setup] Info Updating admpw . . . [15/03/30:11:03:01] - [Setup] Info Registering admin server with the configuration directory server . . . [15/03/30:11:03:02] - [Setup] Info Updating adm.conf with information from configuration directory server . . . [15/03/30:11:03:02] - [Setup] Info Updating the configuration for the httpd engine . . . Error updating console.conf: /usr/lib/x86_64-linux-gnu/dirsrv/cgi-bin/config: error while loading shared libraries: libsoftokn3.so: cannot open shared object file: No such file or directory [15/03/30:11:03:02] - [Setup] Fatal Failed to create and configure the admin server [15/03/30:11:03:02] - [Setup] Fatal Exiting . . .
Last fix (add-softokn-ldlibpath.diff) solves problem in start-ds-admin, but setup-ds-admin should be solved separately probably. I succeeded (setup-ds-admin) with a change attached. Kindly Regards -- Zito
--- AdminServer.pm~ 2015-03-10 09:02:35.000000000 +0100 +++ AdminServer.pm 2015-03-30 12:24:26.252000000 +0200 @@ -371,6 +371,7 @@ my $savepath = $ENV{SHLIB_PATH} || $ENV{LD_LIBRARY_PATH}; $ENV{LD_LIBRARY_PATH} = ""; libpath_add("/usr/lib/x86_64-linux-gnu"); + libpath_add("/usr/lib/x86_64-linux-gnu/nss"); libpath_add("$savepath"); $ENV{SHLIB_PATH} = $ENV{LD_LIBRARY_PATH}; my $cmd = "/usr/lib/x86_64-linux-gnu/dirsrv/cgi-bin/config op=set configuration.nsSuiteSpotUser=\"$user\"";