You are here
I'm trying to apply the TKLPatch for OpenLDAP, but I keep running into errors and I wanted to see if I'm doing anything obviously wrong with the installation and configuration instructions in case I'm missing something obvious.
I download openldap.tar.gz and install it from within the running appliance (perhaps this is part of the problem, though I didn't find your patch until I'd worked with the turnkey appliance for awhile, so I didn't have the option of combining it with the iso).
Originally, I got the error "/tmp/tklpatch/conf: line 34: ldapadd: command not found" among others. I then installed ldap-utils without the DPkg options. Applying the patch again, I got "ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)". My next step is to google this error, but I wanted to ask the community for help before I sunk anymore time into the issue.
What base are you using?
Adrian doesn't actually specify, but I suspect that this patch is designed for TKL Core based on Ubuntu 10.04/Lucid (ie currently TKL Core v11.0RC). That does not necessarily mean it won't work on the earlier (v2009.10-2) release but it does mean that it might be a problem.
Also when you say that you "install it from within the running appliance" did you do that using TKLPatch or just manually? Again you may be able to successfully run it manually but I would advise using TKLPatch eg:
If you would rather persevere and do it manually, make sure that you copy across the contents of /overlay to the filesystem root on your current appliance (ie /).
Even doing it with TKLPatch you will run into issues if services you are trying to modify are already running. You will definately need to stop apache and ldap too if you have got that far. That is another reason why it is preferable to patch an ISO rather than a running system.
I used tklpatch-apply /
I used
I haven't looked into this, but is it possible to create an iso out of the current VirtualBox hard disk and patch that?
Hi luke, please specify your running system
To which appliance are you installing (or trying to install) the patch? Is it ubuntu lucid beta or 11.RC? Also, it would help if you can post the output of the command to see what's happening. You can simply tklpatch-apply / openldap.tar.gz > applypatch.log and attach that file.
I'm using the PDC appliance
I'm using the PDC appliance with Ubuntu version 8.04. I can't figure out how to attach the output of tklpatch-apply / openldap.tar.gz, so I've included it below.
Old version: I reckon that's your problem
Try it with the new v11.0RC and You'llhave more luck I reckon.
Add new comment