Hi,
We keep failing to install admin-server by setup-ds-admin script. Installation of dirsrv instance goes well. We use 1-2-11 version of 389 DS on Solaris. Before running the setup script, I removed the previous installation with remove-ds-admin.pl script. Also, some conf files from admin-serv directory I deleted manually. Now, in addition to the failure to create admin-server, console.conf, httpd.conf and nss.conf have not been created. Even the reboot of the machine did not help.
Is it possible that the manual removal of the files caused the problem? If not does anybody know what could be the problem?
For your reference, I have copied what I think that may be relevant log info from a setup log.
Any help will be appreciated. Thank you.
[13/04/23:11:32:15] - [Setup] Info This program will set up the 389 Directory and Administration Servers.
It is recommended that you have "root" privilege to set up the software. Tips for using this program: - Press "Enter" to choose the default and go to the next screen - Type "Control-B" then "Enter" to go back to the previous screen - Type "Control-C" to cancel the setup program
[13/04/23:11:32:15] - [Setup] Info Would you like to continue with set up? [13/04/23:11:32:16] - [Setup] Info yes [13/04/23:11:32:16] - [Setup] Info Your system has been scanned for potential problems, missing patches, etc. The following output is a report of the items found that need to be addressed before running this software in a production environment.
389 Directory Server system tuning analysis version 23-FEBRUARY-2012.
NOTICE : System is sparc-sun4v-solaris5.10_s10s_u10wos_17b (2 processors).
NOTICE : Solaris version 5.10, as reported by showrev -a, is unrecognized.
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
[13/04/23:11:33:39] - [Setup] Info Are you ready to set up your servers? [13/04/23:11:33:41] - [Setup] Info yes [13/04/23:11:33:41] - [Setup] Info Creating directory server . . . [13/04/23:11:33:43] - [Setup] Info Your new DS instance 'asp-kir' was successfully created. [13/04/23:11:33:43] - [Setup] Info Creating the configuration directory server . . . [13/04/23:11:33:45] - [Setup] Info Beginning Admin Server creation . . . [13/04/23:11:33:45] - [Setup] Info Creating Admin Server files and directories . . . [13/04/23:11:33:45] - [Setup] Info Updating adm.conf . . . [13/04/23:11:33:45] - [Setup] Info Updating admpw . . . [13/04/23:11:33:45] - [Setup] Info Registering admin server with the configuration directory server . . . [13/04/23:11:33:46] - [Setup] Info Updating adm.conf with information from configuration directory server . . . [13/04/23:11:33:46] - [Setup] Info Updating the configuration for the httpd engine . . . Error updating console.conf: Content-type: text/html
NMC_Status: 1 NMC_ErrType: NMC_ErrInfo: Cannot open file for reading [13/04/23:11:33:46] - [Setup] Fatal Failed to create and configure the admin server [13/04/23:11:33:46] - [Setup] Fatal Exiting . . . Log file is '/tmp/setup89Dxs7.log'
Thanks, Jovan Vukotic
Jovan Vukotić * Senior Software Engineer * Ambit Treasury Management * SunGard * Banking * Bulevar Milutina Milankovića 136b, Belgrade, Serbia * tel: +381.11.6555-66-1 * jovan.vukotic@sungard.commailto:jovan.vukotic@sungard.com [Description: Description: Description: Description: Description: coc-signature-03-2012]http://www.capitalize-on-change.com/?email=70150000000Y1Et
Join the online conversation with SunGard's customers, partners and Industry experts and find an event near you at: www.sungard.com/tenhttp://www.capitalize-on-change.com/?email=70150000000Y1Et.
Jovan.VUKOTIC@sungard.com wrote:
Hi,
We keep failing to install admin-server by setup-ds-admin script. Installation of dirsrv instance goes well.
We use 1-2-11 version of 389 DS on Solaris. Before running the setup script, I removed the previous installation with
remove-ds-admin.pl script. Also, some conf files from admin-serv directory I deleted manually.
Now, in addition to the failure to create admin-server, console.conf, httpd.conf and nss.conf have not been created.
Even the reboot of the machine did not help.
If you run "yum update 389-admin", are the files recovered? These conf files are part of the 389-admin package. $ rpm -ql 389-admin | egrep '.conf' /etc/dirsrv/admin-serv/admserv.conf /etc/dirsrv/admin-serv/console.conf /etc/dirsrv/admin-serv/httpd.conf /etc/dirsrv/admin-serv/nss.conf
Thanks Noriko,
but it did not help. I do not have yum on Solaris, nor I could find the packages downloaded by pkgutil. I have even downloaded 389-admin again, but the installation failed.
From: 389-users-bounces@lists.fedoraproject.org [mailto:389-users-bounces@lists.fedoraproject.org] On Behalf Of Noriko Hosoi Sent: Tuesday, April 23, 2013 7:19 PM To: 389-users@lists.fedoraproject.org Subject: Re: [389-users] failure of setup-ds-admin
Jovan.VUKOTIC@sungard.commailto:Jovan.VUKOTIC@sungard.com wrote: Hi,
We keep failing to install admin-server by setup-ds-admin script. Installation of dirsrv instance goes well. We use 1-2-11 version of 389 DS on Solaris. Before running the setup script, I removed the previous installation with remove-ds-admin.pl script. Also, some conf files from admin-serv directory I deleted manually. Now, in addition to the failure to create admin-server, console.conf, httpd.conf and nss.conf have not been created. Even the reboot of the machine did not help. If you run "yum update 389-admin", are the files recovered? These conf files are part of the 389-admin package. $ rpm -ql 389-admin | egrep '.conf' /etc/dirsrv/admin-serv/admserv.conf /etc/dirsrv/admin-serv/console.conf /etc/dirsrv/admin-serv/httpd.conf /etc/dirsrv/admin-serv/nss.conf
Resolved. To summarize, for anyone who could find himself in troubles due to missing admin-server configuration files: Never delete admin-serv/{admserv.conf, console.conf, httpd.conf and nss.conf} manually. Without them 389-admin package cannot even be removed. To resolve my problem, I had to create dummy files with these names, remove 389-admin package(pkgutil –y –r CSW389-admin) and install it again to have setup-ds-admin.pl pass successfully.
Thanks,
Jovan Vukotić • Senior Software Engineer • Ambit Treasury Management • SunGard • Banking • Bulevar Milutina Milankovića 136b, Belgrade, Serbia • tel: +381.11.6555-66-1 • jovan.vukotic@sungard.commailto:jovan.vukotic@sungard.com [Description: Description: Description: Description: Description: coc-signature-03-2012]http://www.capitalize-on-change.com/?email=70150000000Y1Et
Join the online conversation with SunGard’s customers, partners and Industry experts and find an event near you at: www.sungard.com/tenhttp://www.capitalize-on-change.com/?email=70150000000Y1Et.
From: 389-users-bounces@lists.fedoraproject.org [mailto:389-users-bounces@lists.fedoraproject.org] On Behalf Of Noriko Hosoi Sent: Tuesday, April 23, 2013 7:19 PM To: 389-users@lists.fedoraproject.org Subject: Re: [389-users] failure of setup-ds-admin
Jovan.VUKOTIC@sungard.commailto:Jovan.VUKOTIC@sungard.com wrote: Hi,
We keep failing to install admin-server by setup-ds-admin script. Installation of dirsrv instance goes well. We use 1-2-11 version of 389 DS on Solaris. Before running the setup script, I removed the previous installation with remove-ds-admin.pl script. Also, some conf files from admin-serv directory I deleted manually. Now, in addition to the failure to create admin-server, console.conf, httpd.conf and nss.conf have not been created. Even the reboot of the machine did not help. If you run "yum update 389-admin", are the files recovered? These conf files are part of the 389-admin package. $ rpm -ql 389-admin | egrep '.conf' /etc/dirsrv/admin-serv/admserv.conf /etc/dirsrv/admin-serv/console.conf /etc/dirsrv/admin-serv/httpd.conf /etc/dirsrv/admin-serv/nss.conf
389-users@lists.fedoraproject.org