stka Hallo, ich habe das Problem, das der xinetd zwar gestarte werden kann, aber die Dienste die aktiv sind werden nicht gestart, weil angeblich die Datei /etc/protocols das tcp Protokoll nicht enthält. Hier mal die Fehlermeldungen: ---- Jun 17 16:37:10 stefan xinetd[8136]: Reading included configuration file: /etc/xinetd.d/cups-lpd [file=/etc/xinetd.conf] [line=14] Jun 17 16:37:10 stefan xinetd[8136]: Protocol tcp not in /etc/protocols [file=/etc/xinetd.d/cups-lpd] [line=4] Jun 17 16:37:10 stefan xinetd[8136]: Error parsing attribute protocol - DISABLING SERVICE [file=/etc/xinetd.d/cups-lpd] [line=4] Jun 17 16:37:10 stefan xinetd[8136]: Reading included configuration file: /etc/xinetd.d/servers [file=/etc/xinetd.d/servers] [line=11] Jun 17 16:37:10 stefan xinetd[8136]: Protocol tcp not in /etc/protocols [file=/etc/xinetd.d/servers] [line=6] Jun 17 16:37:10 stefan xinetd[8136]: Error parsing attribute protocol - DISABLING SERVICE [file=/etc/xinetd.d/servers] [line=6] Jun 17 16:37:10 stefan xinetd[8136]: Reading included configuration file: /etc/xinetd.d/services [file=/etc/xinetd.d/services] [line=10] Jun 17 16:37:10 stefan xinetd[8136]: Protocol tcp not in /etc/protocols [file=/etc/xinetd.d/services] [line=6] Jun 17 16:37:10 stefan xinetd[8136]: Error parsing attribute protocol - DISABLING SERVICE [file=/etc/xinetd.d/services] [line=6] Jun 17 16:37:10 stefan xinetd[8136]: Reading included configuration file: /etc/xinetd.d/vmware-authd [file=/etc/xinetd.d/vmware-authd] [line=10] Jun 17 16:37:10 stefan xinetd[8136]: Protocol tcp not in /etc/protocols [file=/etc/xinetd.d/vmware-authd] [line=8] Jun 17 16:37:10 stefan xinetd[8136]: Error parsing attribute protocol - DISABLING SERVICE [file=/etc/xinetd.d/vmware-authd] [line=8] Jun 17 16:37:10 stefan xinetd[8136]: removing printer Jun 17 16:37:10 stefan xinetd[8136]: removing servers Jun 17 16:37:10 stefan xinetd[8136]: removing services Jun 17 16:37:10 stefan xinetd[8136]: removing vmware-authd Jun 17 16:37:10 stefan xinetd[8136]: xinetd Version 2.3.14 started with libwrap options compiled in. Jun 17 16:37:10 stefan xinetd[8136]: Started working: 0 available services ---- Die Datei /etc/protocols ist in Ordnung. Ich habe auch schon mal "ALL:ALL" in die /etc/hosts.allow aus lauter Verzweifelung geschrieben, hat aber nichts geändert.
GerBra Nochwas, was mir außerhalb des #irc noch eingefallen ist: Starte doch mal xinetd als root per Hand im Debug-Mode, evtl kann man da mehr sehen warum er tcp als Protokoll nicht findet. xinetd -d -f /etc/xinetd.conf
stka So Problem gelöst, es lag an der nsswitch.conf. Wenn man den LDAP-client einrichtet wird eine Datei /etc/nsswitch.ldap eingespielt. Diese habe ich so übernommen, leider sind da wohl einige Fehler drin. Den ersten hatte ich schon gefunden, bei der Installation. Hier jetzt mal die nsswitch.conf wie sie jetzt bei mir läuft und alle Dienste funktionieren: ---- # # An example file that could be copied over to /etc/nsswitch.conf; it # uses LDAP conjunction with files. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. # the following two lines obviate the "+" entry in /etc/passwd and /etc/group. passwd: files ldap group: files ldap # consult DNS first, we will need it to resolve the LDAP host. (If we # can't resolve it, we're in infinite recursion, because libldap calls # gethostbyname(). Careful!) hosts: files dns ldap # LDAP is nominally authoritative for the following maps. services: files networks: files protocols: files rpc: files ethers: files # no support for netmasks, bootparams, publickey yet. netmasks: files bootparams: files publickey: files automount: files # I'm pretty sure nsswitch.conf is consulted directly by sendmail, # here, so we can't do much here. Instead, use bbense's LDAP # rules ofr sendmail. aliases: files sendmailvars: files # Note: there is no support for netgroups on Solaris (yet) netgroup: ldap [NOTFOUND=return] files ----