Autore Topic: Avahi-daemond non supporta chkconfig  (Letto 8744 volte)

Offline markitos

  • Newbie
  • *
  • Post: 3
    • Mostra profilo
    • E-mail
Avahi-daemond non supporta chkconfig
« il: 15 Febbraio 2012, 15:03:51 »
Ciao a tutti sono nuovo sul forum.. il mio nome è Marco,

Sto configurando un iTunes server con protocollo DAAP.

infatti come sw sto usando mt-daapd che necessita avahi-daemon..
il sistema usato è clearOS 5.2

Il problema risiede nel fatto che se non si riesce ad inserire nei programmi d'avvio con chkconfig, client di itunes non è in grado di vedere il media-server..

ecco alcuni print:
Codice: [Seleziona]
[root@master sdd1]# service mt-daapd start
Starting DAAP server:                                      [  OK  ]

Codice: [Seleziona]
[root@master ~]# /sbin/chkconfig --add avahi-daemon
Il servizio avahi-daemon non supporta chkconfig

[root@master ~]# service avahi-daemon status
Too many arguments


alcuni errori direttamente da terminale sul server..

Codice: [Seleziona]
Invalid legacy unicast query packet.
Invalid legacy unicast query packet.
Invalid legacy unicast query packet.

Received response from host 192.168.1.129 with invalid source port 58544 on interface 'eth0.0'
Received response from host 192.168.1.129 with invalid source port 58544 on interface 'eth0.0'
Received response from host 192.168.1.129 with invalid source port 58544 on interface 'eth0.0'
Received response from host 192.168.1.129 with invalid source port 58544 on interface 'eth0.0'
Received response from host 192.168.1.129 with invalid source port 58544 on interface 'eth0.0'
Received response from host 192.168.1.129 with invalid source port 58544 on interface 'eth0.0'
Received response from host 192.168.1.129 with invalid source port 58544 on interface 'eth0.0'
Received response from host 192.168.1.129 with invalid source port 58544 on interface 'eth0.0'

Codice: [Seleziona]

[root@master ~]# ps -edaf | grep avahi
avahi     3372     1  0 Jan12 ?        00:00:02 avahi-daemon: running [master.local]
avahi     3373  3372  0 Jan12 ?        00:00:00 avahi-daemon: chroot helper
root     23409 21958  0 09:47 pts/0    00:00:00 grep avahi
root     30032     1  0 Feb13 ?        00:00:00 avahi-dnsconfd

[root@master ~]# ps -edaf | grep mt-
mt-daapd 18030     1  0 Jan12 ?        00:00:03 /usr/sbin/mt-daapd
root     23411 21958  0 09:49 pts/0    00:00:00 grep mt-

[root@master ~]# service mt-daap status
mt-daap: servizio sconosciuto

[root@master ~]# service mt-daapd status
mt-daapd (pid  18030) in esecuzione...

[root@master ~]# /sbin/chkconfig --add avahi-daemon
Il servizio avahi-daemon non supporta chkconfig

[root@master ~]# service avahi-daemon status
Too many arguments

[root@master ~]# service avahi-daemon start
Too many arguments

[root@master ~]# rpm -e --test avahi
errore: Dipendenze fallite:
libavahi-client.so.3(installato)  necessita di gnome-vfs2-2.16.2-8.el5.i386
libavahi-client.so.3(installato)  necessita di mt-daapd-0.2.4.2-7.el5.i386
libavahi-common.so.3(installato)  necessita di avahi-glib-0.6.16-10.el5_6.i386
libavahi-common.so.3(installato)  necessita di gnome-vfs2-2.16.2-8.el5.i386
libavahi-common.so.3(installato)  necessita di mt-daapd-0.2.4.2-7.el5.i386
avahi = 0.6.16(installato)  necessita di avahi-glib-0.6.16-10.el5_6.i3


[root@master ~]# rpm -qi avahi
Name        : avahi                        Relocations: (not relocatable)
Version     : 0.6.16                            Vendor: CentOS
Release     : 10.el5_6                      Build Date: gio 14 apr 2011 00:57:13 CEST
Install Date: mar 15 nov 2011 22:00:54 CET      Build Host: builder10.centos.org
Group       : System Environment/Base       Source RPM: avahi-0.6.16-10.el5_6.src.rpm
Size        : 723150                           License: LGPL
Signature   : DSA/SHA1, gio 14 apr 2011 15:41:34 CEST, Key ID a8a447dce8562897
URL         : http://avahi.org
Summary     : Local network service discovery
Description :
Avahi is a system which facilitates service discovery on
a local network -- this means that you can plug your laptop or
computer into a network and instantly be able to view other people who
you can chat with, find printers to print to or find files being
shared. This kind of technology is already found in MacOS X (branded
'Rendezvous', 'Bonjour' and sometimes 'ZeroConf') and is very
convenient.


[root@master avahi]# avahi-daemon
Found user 'avahi' (UID 70) and group 'avahi' (GID 70).
Successfully dropped root privileges.
avahi-daemon 0.6.16 starting up.
WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
Successfully called chroot().
Successfully dropped remaining capabilities.
No service found in /etc/avahi/services.
New relevant interface eth0.IPv6 for mDNS.
Joining mDNS multicast group on interface eth0.IPv6 with address fe80::202:55ff:fe56:d168.
New relevant interface eth0.IPv4 for mDNS.
Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.132.
Network interface enumeration completed.
Registering new address record for fe80::202:55ff:fe56:d168 on eth0.
Registering new address record for 192.168.1.132 on eth0.
Registering HINFO record with values 'I686'/'LINUX'.
Server startup complete. Host name is master.local. Local service cookie is 2575766930.


Riuscite ad aiutarmi per favore??


Grazie 1000

Marco

Offline smeserver

  • Hero Member
  • *****
  • Post: 1313
    • Mostra profilo
Re: Avahi-daemond non supporta chkconfig
« Risposta #1 il: 15 Febbraio 2012, 15:09:07 »
si.. devi andare sul forum di supporto di ClearOS e verificare che chkconfig sia utilizzato (non mi stupirei se non lo fosse, come in SME server)

Offline markitos

  • Newbie
  • *
  • Post: 3
    • Mostra profilo
    • E-mail
Re: Avahi-daemond non supporta chkconfig
« Risposta #2 il: 15 Febbraio 2012, 16:14:47 »
Ciao,
intanto grazie per la risposta..

cosa intendi per verificare "che sia utilizzato"?

Grazie
Marco

Offline smeserver

  • Hero Member
  • *****
  • Post: 1313
    • Mostra profilo
Re: Avahi-daemond non supporta chkconfig
« Risposta #3 il: 15 Febbraio 2012, 16:18:43 »
che, ad esempio, in SME server (derivata da centos), chkconfig non viene utilizzato/non è supportato. quindi potrebbe essere che la stessa cosa sia per Clearos

Offline markitos

  • Newbie
  • *
  • Post: 3
    • Mostra profilo
    • E-mail
Re: Avahi-daemond non supporta chkconfig
« Risposta #4 il: 15 Febbraio 2012, 16:29:38 »
che, ad esempio, in SME server (derivata da centos), chkconfig non viene utilizzato/non è supportato. quindi potrebbe essere che la stessa cosa sia per Clearos


Ma altri programmi lo utilizzano:

Codice: [Seleziona]
[root@master sdd1]# chkconfig --list
acpid          0:off 1:off 2:on 3:on 4:on 5:on 6:off
avahi-dnsconfd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
clamd          0:off 1:off 2:off 3:off 4:off 5:off 6:off
cpuspeed        0:off 1:on 2:on 3:on 4:on 5:on 6:off
crond          0:off 1:off 2:on 3:on 4:on 5:on 6:off
cups            0:off 1:off 2:off 3:off 4:off 5:off 6:off
dnsmasq        0:off 1:off 2:on 3:on 4:on 5:on 6:off
firewall        0:off 1:off 2:on 3:on 4:on 5:on 6:off
freshclam      0:off 1:off 2:off 3:off 4:off 5:off 6:off
haldaemon      0:off 1:off 2:off 3:on 4:on 5:on 6:off
hplip          0:off 1:off 2:on 3:on 4:on 5:on 6:off
iscsi          0:off 1:off 2:off 3:off 4:off 5:off 6:off
iscsid          0:off 1:off 2:on 3:on 4:on 5:on 6:off
kudzu          0:off 1:off 2:off 3:on 4:on 5:on 6:off
ldap            0:off 1:off 2:off 3:on 4:on 5:on 6:off
ldapsync        0:off 1:off 2:off 3:on 4:on 5:on 6:off
lvm2-monitor    0:off 1:on 2:on 3:on 4:on 5:on 6:off
mcstrans        0:off 1:off 2:off 3:off 4:off 5:off 6:off
mdmonitor      0:off 1:off 2:off 3:off 4:off 5:off 6:off
mdmpd          0:off 1:off 2:off 3:off 4:off 5:off 6:off
messagebus      0:off 1:off 2:off 3:on 4:on 5:on 6:off
mt-daapd        0:off 1:off 2:off 3:off 4:off 5:off 6:off
multipathd      0:off 1:off 2:off 3:off 4:off 5:off 6:off
mysqld          0:off 1:off 2:off 3:off 4:off 5:off 6:off
netconsole      0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs          0:off 1:off 2:off 3:on 4:on 5:on 6:off
netplugd        0:off 1:off 2:off 3:off 4:off 5:off 6:off
network        0:off 1:off 2:on 3:on 4:on 5:on 6:off
nscd            0:off 1:off 2:off 3:off 4:off 5:off 6:off
ntpd            0:off 1:off 2:off 3:on 4:on 5:on 6:off
openvpn        0:off 1:off 2:off 3:on 4:on 5:on 6:off
proftpd        0:off 1:off 2:off 3:on 4:on 5:on 6:off
rawdevices      0:off 1:off 2:off 3:on 4:on 5:on 6:off
rdisc          0:off 1:off 2:off 3:off 4:off 5:off 6:off
restorecond    0:off 1:off 2:on 3:on 4:on 5:on 6:off
saslauthd      0:off 1:off 2:off 3:on 4:on 5:on 6:off
snort          0:off 1:off 2:off 3:on 4:on 5:on 6:off
snortsam        0:off 1:off 2:off 3:on 4:on 5:on 6:off
sshd            0:off 1:off 2:on 3:on 4:on 5:on 6:off
suvad          0:off 1:off 2:on 3:on 4:on 5:on 6:off
syslog          0:off 1:off 2:on 3:on 4:on 5:on 6:off
syswatch        0:off 1:off 2:on 3:on 4:on 5:on 6:off
vncserver      0:off 1:off 2:off 3:off 4:off 5:off 6:off
webconfig      0:off 1:off 2:on 3:on 4:on 5:on 6:off
winbind        0:off 1:off 2:off 3:on 4:on 5:on 6:off

Offline LonelyWolf

  • Moderator
  • Hero Member
  • *****
  • Post: 1396
    • Mostra profilo
    • Traversate dei laghi
Re: Avahi-daemond non supporta chkconfig
« Risposta #5 il: 16 Febbraio 2012, 12:23:18 »