[K12OSN] Re: smbldap-installer reinstall failure (Robert Moskowitz)

Robert Moskowitz rgm at htt-consult.com
Wed Aug 23 18:59:55 UTC 2006


Coming back to a non-resolved install...

Matt Oquist wrote:
>> Date: Wed, 9 Aug 2006 13:54:52 -0400
>> From: "Robert Moskowitz" <rgm at htt-consult.com>
>> Subject: Re: [K12OSN] smbldap-installer reinstall failure (Robert Moskowitz)
>>     
>
>   
>>>> The docs say you can run ./smb-ldap all over and over until you get it 
>>>> right?
>>>>         
>>> Yes, though perhaps we should have something in there about deleting
>>> old LDAP databases first.
>>>       
>> I thought that was a backup of the old databases in there?
>>     
>
> I wasn't speaking of the database backups here, I was speaking of the
> actual databases, [usually] stored in /var/lib/ldap.
>
> You should 'rm -rf /var/lib/ldap/*' before you re-run the
> smbldap-installer. BEWARE! This deletes your current databases! (But
> no the backups.)
>   
And I no longer have any database, it seems.  the install fails.  ldap 
won't start, the /var/lib/ldap directory is empty....

Is it time to just reinstall all of Centos????
>   
>>>> I got through a lot of the script then bot a mesage about:
>>>> /etc/logrotate.d/smbldap-ldif-backups already exists, will overwrite in 
>>>> 10 seconds (CTRL+C to cancel)....
>>>>         
>>> The right thing for you to do is just wait...I guess the message
>>> should say that. :-(
>>>       
>> But I did, and the script ended.  It did not go one to setting 
>> everything up,  it seemed.
>>     
>
> Oh. Maybe it should print something more, I suppose. I expect that it
> really did finish, though, unless you're *sure* it never said anything
> about "/etc/cron.<something>/smbldap-ldif-backup".
>
>   
>>>> Caution:  You have /home exported more than once in /etc/exports/
>>>> make sure this is what you want.
>>>> (I understand what I have to do here, but why did this happen?)
>>>>         
>>> You had the script add a '/home <network>(options)' line for you once
>>> before, and you were adding another export. This doesn't hurt
>>> anything, but it's good for you to be aware of it. Maybe the script
>>> should say "Warning" instead of "Caution"; there's a well-established
>>> convention that "warnings" are workable while "errors" are not.
>>>   
>>>       
>> Since these are duplicates, could not the script NOT add the duplicate?
>>     
>
> 'Cuz you said you wanted it to. I suppose it could ask for
> confirmation if it's a second time; good idea.
>
>   
>>>> /etc/cron.daily/smbldap-ldif-backups already exists, will overwrite in 
>>>> 10 seconds (CTRL+C to cancel)....
>>>> Well this time I did not touch the keyboard and am waiting for HELP!!!
>>>>         
>>> Good plan, but you've probably waited long enough now. :)
>>>       
>> The script ended at this point.  Seemed like prematurely.  That is, I 
>> seem to recall the first time through more going on...
>> Definitely did NOT get asked the smb password.
>>     
>
> Subsequent runs of the script remember your previous answers (if
> you're in the same smbldap-installer directory), but you should be
> prompted for your password every time because I don't store it in the
> answers file.
>
> The password question is long before the ldif-backups questions,
> though.
>
> I'm working on FC5 right now; I'm just about to test everything after
> a 'yum upgrade', so we'll see how it goes. 8-|
>
> --matt
>
> --
> Open Source Software Engineering Consultant
> http://majen.net/
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>




More information about the K12OSN mailing list