You are not logged in.

#1 2007-06-16 08:53:54

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

/etc/protocols - what is that

Hey Guys.

Suddenly I cannot start a couple of my services - and in /var/log/errors i get this error:
Jun 17 10:44:57 quark xinetd[6130]: Error parsing attribute protocol - DISABLING SERVICE [file=/etc/xinetd.d/cups-lpd] [line=4]
Jun 17 10:44:57 quark xinetd[6130]: Protocol tcp not in /etc/protocols [file=/etc/xinetd.d/servers] [line=6]
Jun 17 10:44:57 quark xinetd[6130]: Error parsing attribute protocol - DISABLING SERVICE [file=/etc/xinetd.d/servers] [line=6]
Jun 17 10:44:57 quark xinetd[6130]: Protocol tcp not in /etc/protocols [file=/etc/xinetd.d/services] [line=6]
Jun 17 10:44:57 quark xinetd[6130]: Error parsing attribute protocol - DISABLING SERVICE [file=/etc/xinetd.d/services] [line=6]
Jun 17 10:44:57 quark xinetd[6130]: Protocol tcp not in /etc/protocols [file=/etc/xinetd.d/vmware-authd] [line=8]
Jun 17 10:44:57 quark xinetd[6130]: Error parsing attribute protocol - DISABLING SERVICE [file=/etc/xinetd.d/vmware-authd] [line=8]


What can I do with that???

Last edited by peque (2007-06-16 08:54:04)


Just getting better .... All the time

Offline

#2 2007-06-16 12:24:13

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: /etc/protocols - what is that

Hi peque,
/etc/protocols belongs to filesystem package; you can try to reinstall it.

Offline

#3 2007-06-17 14:50:06

stka
Member
Registered: 2007-06-04
Posts: 8

Re: /etc/protocols - what is that

I have got the same Problem

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

Xinetd is starting but there are no Services. The /etc/protocols is ok.

Offline

#4 2007-06-17 16:12:36

stka
Member
Registered: 2007-06-04
Posts: 8

Re: /etc/protocols - what is that

I solved my problem. The problem was the nsswitch.conf. I use LDAP and I used the nsswitch.ldap from the client package. I change the nsswitch.conf as followed and everything worked:

#ident $Id: nsswitch.ldap,v 2.4 2003/10/02 02:36:25 lukeh Exp $
#
# 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

Offline

Board footer

Powered by FluxBB