xinetd



  • Hi!
    Ich habe mal eine Frage zu xinetd:
    Ich habe folgenden service erstellt:

    service fortune
    {
        disable     = no
        id      = fortune
        wait        = yes
        type = UNLISTED
        flags = NOLIBWRAP
        socket_type = stream
        port = 1234
        server = /root/fortune/server.py
        user = root
        group = root
    }
    

    Meine Frage/Problem wäre: was is genau der Unterschied zwischen wait=no und wait=yes?
    Funktioniert wait=yes zusammen mit socket_type=stream?
    Bei mir kommt in dieser Kombination folgende Fehlermeldung(syslog):

    [...]
    Nov 27 21:58:13 [xinetd] START: fortune pid=3849 from=<no address>
    Nov 27 21:58:13 [xinetd] EXIT: fortune status=0 pid=3849 duration=0(sec)
    Nov 27 21:58:13 [xinetd] FAIL: fortune address from=<no address>
    Nov 27 21:58:13 [xinetd] START: fortune pid=3850 from=<no address>
    Nov 27 21:58:13 [xinetd] EXIT: fortune status=0 pid=3850 duration=0(sec)
    Nov 27 21:58:13 [xinetd] FAIL: fortune address from=<no address>
    Nov 27 21:58:13 [xinetd] START: fortune pid=3851 from=<no address>
    Nov 27 21:58:13 [xinetd] EXIT: fortune status=0 pid=3851 duration=0(sec)
    Nov 27 21:58:13 [xinetd] FAIL: fortune address from=<no address>
    Nov 27 21:58:13 [xinetd] START: fortune pid=3852 from=<no address>
    Nov 27 21:58:13 [xinetd] EXIT: fortune status=0 pid=3852 duration=0(sec)
    Nov 27 21:58:13 [xinetd] FAIL: fortune address from=<no address>
    Nov 27 21:58:13 [xinetd] START: fortune pid=3853 from=<no address>
    Nov 27 21:58:13 [xinetd] EXIT: fortune status=0 pid=3853 duration=0(sec)
    Nov 27 21:58:13 [xinetd] FAIL: fortune address from=<no address>
    Nov 27 21:58:13 [xinetd] START: fortune pid=3854 from=<no address>
    Nov 27 21:58:13 [xinetd] EXIT: fortune status=0 pid=3854 duration=0(sec)
    Nov 27 21:58:13 [xinetd] FAIL: fortune address from=<no address>
    Nov 27 21:58:13 [xinetd] START: fortune pid=3855 from=<no address>
    Nov 27 21:58:13 [xinetd] EXIT: fortune status=0 pid=3855 duration=0(sec)
    Nov 27 21:58:13 [xinetd] FAIL: fortune address from=<no address>
    Nov 27 21:58:13 [xinetd] START: fortune pid=3856 from=<no address>
    Nov 27 21:58:13 [xinetd] EXIT: fortune status=0 pid=3856 duration=0(sec)
    Nov 27 21:58:13 [xinetd] FAIL: fortune address from=<no address>
    Nov 27 21:58:13 [xinetd] START: fortune pid=3857 from=<no address>
    Nov 27 21:58:13 [xinetd] EXIT: fortune status=0 pid=3857 duration=0(sec)
    Nov 27 21:58:13 [xinetd] FAIL: fortune address from=<no address>
    Nov 27 21:58:13 [xinetd] START: fortune pid=3858 from=<no address>
    Nov 27 21:58:13 [xinetd] EXIT: fortune status=0 pid=3858 duration=0(sec)
    Nov 27 21:58:13 [xinetd] Deactivating service fortune due to excessive incoming connections. Restarting in 10 seconds.
    Nov 27 21:58:13 [xinetd] FAIL: fortune connections per second from=<no address>
    Nov 27 21:58:23 [xinetd] Activating service fortune



  • also nachdem, niemand geantwortet hat und ich annehm, dass du das problem selbst nicht gelöst hast:
    bist du dir sicher, dass du xinetd wirklich verwenden willst? der is mittlerweile sehr überflüssig geworden. wenn du python verwendest, noch mehr. allein die dürftige dokumentation, was das wait bedeutet, sollte schon grund sein, xinetd nicht einzusetzen. is aber nur meine meinung.


Anmelden zum Antworten