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.com
Join the online conversation with SunGard’s customers, partners and Industry experts and find an event near you at:
www.sungard.com/ten.
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.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