[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kroupware
Subject:    Re: Installing Kolab in a container
From:       Dashamir Hoxha <dashohoxha () gmail ! com>
Date:       2019-06-24 17:07:06
Message-ID: CAMucfLxa8RAGUDk6q=fe0OZ9V_mgVxyZJTLPZrwGME3FRjejTA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Mon, Jun 24, 2019 at 5:21 PM Dashamir Hoxha <dashohoxha@gmail.com> wrote:

> On Mon, Jun 24, 2019 at 4:42 PM Dashamir Hoxha <dashohoxha@gmail.com>
> wrote:
> 
> > On Mon, Jun 24, 2019 at 4:17 PM Eric B Munson <emunson@mgebm.net> wrote:
> > 
> > > Have you verified that the LDAP server is up and running in the
> > > container?  The process you
> > > are looking for is /usr/sbin/ns-slapd
> > > 
> > 
> > You are right, there is no process ns-slapd running. But I don't know
> > why, and how to start it. I tried `systemctl start dirsrv-admin` (which was
> > not running), but this did not help, the same problem and the same error
> > (while the status of dirsrv-admin is active/running).
> > 
> 
> I just tried `restart-dirsrv` and this solved the problem. Afterwards I
> could login.
> I think this may be a problem of setup scripts that do not create a
> service for starting dirsrv properly. I may be able to create such a
> service myself (unless somebody has any suggestion on how to do it
> properly).
> 

I found an easy solution here:
https://directory.fedoraproject.org/docs/389ds/howto/howto-systemd.html
The solution is simply: `systemctl enable dirsrv.target`
The setup script probably has missed this, or something has gone wrong.
Thanks for pointing me to the right direction.
If somebody is familiar with the development process of kolab, please
submit a bug or a patch about this.

Dashamir


> 
> Reference:
> https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/8.2/html/Conf \
> iguration_and_Command-Line_Tool_Reference/Shell_Scripts.html#Shell_Scripts-restart_slapd_Restart_the_DS
>  )
> 
> Dashamir
> 


[Attachment #5 (text/html)]

<div dir="ltr"><div dir="ltr">On Mon, Jun 24, 2019 at 5:21 PM Dashamir Hoxha &lt;<a \
href="mailto:dashohoxha@gmail.com">dashohoxha@gmail.com</a>&gt; wrote:<br></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div \
dir="ltr">On Mon, Jun 24, 2019 at 4:42 PM Dashamir Hoxha &lt;<a \
href="mailto:dashohoxha@gmail.com" target="_blank">dashohoxha@gmail.com</a>&gt; \
wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Mon, Jun 24, 2019 \
at 4:17 PM Eric B Munson &lt;<a href="mailto:emunson@mgebm.net" \
target="_blank">emunson@mgebm.net</a>&gt; wrote:<br></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Have you verified that \
the LDAP server is up and running in the <br> container?   The process you<br>
are looking for is /usr/sbin/ns-slapd<br></blockquote><div><br></div><div>You are \
right, there is no process ns-slapd running. But I don&#39;t know why, and how to \
start it. I tried `systemctl start dirsrv-admin` (which was not running), but this \
did not help, the same problem and the same error (while the status of dirsrv-admin \
is active/running).</div></div></div></blockquote><div><br></div><div>I just tried \
`restart-dirsrv` and this solved the problem. Afterwards I could login.</div><div>I \
think this may be a problem of setup scripts that do not create a service for \
starting dirsrv properly. I may be able to create such a service myself (unless \
somebody has any suggestion on how to do it \
properly).</div></div></div></blockquote><div><br></div><div>I found an easy solution \
here:  <a href="https://directory.fedoraproject.org/docs/389ds/howto/howto-systemd.htm \
l">https://directory.fedoraproject.org/docs/389ds/howto/howto-systemd.html</a></div><div>The \
solution is simply: `systemctl enable dirsrv.target`</div><div>The setup script \
probably has missed this, or something has gone wrong.</div><div>Thanks for pointing \
me to the right direction.</div><div>If somebody is familiar with the development \
process of kolab, please submit a bug or a patch about \
this.</div><div><br></div><div>Dashamir</div><div>  </div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div \
class="gmail_quote"><div><br></div><div>Reference:  <a \
href="https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/8.2/html/ \
Configuration_and_Command-Line_Tool_Reference/Shell_Scripts.html#Shell_Scripts-restart_slapd_Restart_the_DS" \
target="_blank">https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server \
/8.2/html/Configuration_and_Command-Line_Tool_Reference/Shell_Scripts.html#Shell_Scripts-restart_slapd_Restart_the_DS</a>)</div><div> \
</div><div>Dashamir</div></div></div> </blockquote></div></div>



_______________________________________________
users mailing list
users@lists.kolab.org
https://lists.kolab.org/mailman/listinfo/users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic