Re: [Fedora-directory-devel] Help with silent installs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrew,

What happens if you remove "prefix" and set the path for the server instance to ServerRoot? That's what we are doing for our acceptance test (installing server instances apart from the binaries)...

[General]
SuiteSpotUserID = abartlet
FullMachineName=   localhost
ServerRoot=/home/abartlet/samba/samba4/svn/source/st/ldap
ConfigDirectoryLdapURL=   ldap://127.0.0.1:3389/o=NetscapeRoot
ConfigDirectoryAdminID=   administrator
AdminDomain=   localdomain
ConfigDirectoryAdminPwd=   penguin

--noriko

Andrew Bartlett wrote:
On Tue, 2007-01-30 at 09:27 +1100, Andrew Bartlett wrote:
On Mon, 2007-01-29 at 15:23 -0700, David Boreham wrote:
Andrew, I think you may have a stale previous install on the machine.
The fact that the installer wants to talk to a configuration DS is
a clue -- it won't do that in a bare-metal first server install.
That might also explain the permission stuff.
I'm certain I do.  And I expect to keep such stale installs, because
this must be a reproducible, contained, self test environment.
How do I convince Fedora DS that it's universe is to be found only
inside a certain prefix?
(I would really like something like the way we run OpenLDAP and Samba4
itself, where we run some commands to prep the prefix, then run the main
binary with a 'config file here' option.  It then only every looks where
that config file points).

I've moved up to FDS 1.1 on richm's advise, and am now stuck with the
behaviour of the 'prefix' command in the inf file:

See my attached file, which I thought would install the configuration
and data into the prefix, using the binaries in ServerRoot.

It seems to me that prefix is being appended unconditionally, and that
it still doesn't want to just put the configuration outside the
ServerRoot.

[abartlet@amy source]$
perl /media/usbdisk/fedora-ds/prefix/lib/fedora-ds/ds_newinst.pl /home/abartlet/samba/samba4/svn/source/st/ldap/fedorads.inf
CGI /media/usbdisk/fedora-ds/prefix/lib/fedora-ds/ds_newinst failed with
1: here is the output:
Content-type: text/plain

error:could not create server samba4 - Could not
write /home/abartlet/samba/samba4/svn/source/st/ldap/media/usbdisk/fedora-ds/prefix/share/fedora-ds/script-templates/template-ldif2db.pl to /home/abartlet/samba/samba4/svn/source/st/ldap/media/usbdisk/fedora-ds/prefix/lib/fedora-ds/slapd-samba4/ldif2db.pl (No such file or director).
NMC_Status: 1
Error: could not
run /media/usbdisk/fedora-ds/prefix/lib/fedora-ds/ds_newinst: 1
Error: Could not create new directory server instance


------------------------------------------------------------------------

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux