krb5kdc cannot dissociate from tty - Kerberos

This is a discussion on krb5kdc cannot dissociate from tty - Kerberos ; Hello, After a system crash the kdc won't start again, and in the logs it reports this: Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): setting up network... Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): skipping unrecognized local address family 17 Mar 23 10:58:27 desenvolvimento ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: krb5kdc cannot dissociate from tty

  1. krb5kdc cannot dissociate from tty

    Hello,

    After a system crash the kdc won't start again, and in the logs it reports
    this:

    Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): setting up network...
    Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): skipping unrecognized
    local address family 17
    Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): listening on fd 6: udp
    192.168.130.200.88
    Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): listening on fd 7: udp
    192.168.130.200.750
    krb5kdc: No such device - Cannot bind server socket to port 88 address
    fe80::217:31ff:fead:c27e%253
    Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): set up 2 sockets
    krb5kdc: No such device - while detaching from tty

    I'm also having similar problems while starting kadmind, which I managed to
    work around by starting it with the -nofork option and then manually sending
    it to background.

    What may cause a service not to be able to detach from the tty?
    Thanks,
    --
    Diego Alencar Alves de Lima
    Prodesan - Departamento de Informática
    www.prodesan.com.br

    --
    Esta mensagem foi verificada pelo sistema de antivírus e
    acredita-se estar livre de perigo.



    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  2. Re: krb5kdc cannot dissociate from tty

    --===============0523190566==



    Is /dev/tty missing or bogus in some way?

    John


    > Hello,
    >
    > After a system crash the kdc won't start again, and in the logs it reports
    > this:
    >
    > Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): setting up network...
    > Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): skipping unrecognized
    > local address family 17
    > Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): listening on fd 6: udp
    > 192.168.130.200.88
    > Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): listening on fd 7: udp
    > 192.168.130.200.750
    > krb5kdc: No such device - Cannot bind server socket to port 88 address
    > fe80::217:31ff:fead:c27e%253
    > Mar 23 10:58:27 desenvolvimento krb5kdc[29552](info): set up 2 sockets
    > krb5kdc: No such device - while detaching from tty
    >
    > I'm also having similar problems while starting kadmind, which I managed to
    > work around by starting it with the -nofork option and then manually sending
    > it to background.
    >
    > What may cause a service not to be able to detach from the tty?
    > Thanks,
    > --
    > Diego Alencar Alves de Lima
    > Prodesan - Departamento de Informática
    > www.prodesan.com.br


    --===============0523190566==
    Content-Type: text/plain; charset="us-ascii"
    MIME-Version: 1.0
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline

    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos

    --===============0523190566==--


  3. Re: krb5kdc cannot dissociate from tty

    On Friday 23 March 2007 11:13:47 John Hascall wrote:
    > Is /dev/tty missing or bogus in some way?


    It seems to be working normally, that is, not missing and echoes normally:

    root@desenvolvimento:/dev# echo "test" > tty;echo $?
    test
    0

    Should I try to recreate the tty?

    --
    Diego Alencar Alves de Lima
    Prodesan - Departamento de Informática
    www.prodesan.com.br

    --
    Esta mensagem foi verificada pelo sistema de antivírus e
    acredita-se estar livre de perigo.



    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  4. Re: krb5kdc cannot dissociate from tty


    > On Friday 23 March 2007 11:13:47 John Hascall wrote:
    > > Is /dev/tty missing or bogus in some way?

    > It seems to be working normally, that is, not missing and echoes normally:
    > root@desenvolvimento:/dev# echo "test" > tty;echo $?
    > test
    > 0
    > Should I try to recreate the tty?


    No, that seems fine. What about /dev/null -- it is also
    used in this process - does it seem correct? Is it a device
    and not a regular file? And so on.

    John
    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  5. Re: krb5kdc cannot dissociate from tty

    On Friday 23 March 2007 15:28:01 John Hascall wrote:
    > No, that seems fine. What about /dev/null -- it is also
    > used in this process - does it seem correct? Is it a device
    > and not a regular file? And so on.


    Thanks a lot for the tip, John. /dev/null was indeed a file. Recreating it
    using mknod did the trick.

    --
    Diego Alencar Alves de Lima
    Prodesan - Departamento de Informática
    www.prodesan.com.br

    --
    Esta mensagem foi verificada pelo sistema de antivírus e
    acredita-se estar livre de perigo.



    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


+ Reply to Thread