Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Service `donutsd' needs non existent service `mta'
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Sun Jan 27, 2013 11:08 pm    Post subject: Service `donutsd' needs non existent service `mta' Reply with quote

Ciao a tutti!

È da un po' che, quando cron deve partire, mi arriva una mail con l'errore in oggetto.
Qualcuno può aiutarmi a risolverlo per cortesia?

Molte grazie!!!

Sacchi
Back to top
View user's profile Send private message
pierino_89
Guru
Guru


Joined: 03 Oct 2009
Posts: 522

PostPosted: Mon Jan 28, 2013 1:46 pm    Post subject: Reply with quote

Non so cosa sia donutsd, però hai installato ssmtp, postfix o un servizio di questo tipo (un MTA insomma)?
_________________
Linux registered user 461710
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Mon Jan 28, 2013 8:44 pm    Post subject: Reply with quote

pierino_89 wrote:
Non so cosa sia donutsd, però hai installato ssmtp, postfix o un servizio di questo tipo (un MTA insomma)?


Yes, ho installato qmail.
Back to top
View user's profile Send private message
pierino_89
Guru
Guru


Joined: 03 Oct 2009
Posts: 522

PostPosted: Thu Jan 31, 2013 12:44 am    Post subject: Reply with quote

Potresti incollare qui il codice del servizio donutsd e del servizio qmail? Uno dei due deve essere scritto sbagliato (o la funzionalità richiesta è sbagliata, o qmail non fornisce la funzionalità mta)
_________________
Linux registered user 461710
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Sat Feb 09, 2013 12:06 am    Post subject: Reply with quote

pierino_89 wrote:
Potresti incollare qui il codice del servizio donutsd e del servizio qmail? Uno dei due deve essere scritto sbagliato (o la funzionalità richiesta è sbagliata, o qmail non fornisce la funzionalità mta)


Ciao,

cos'è il "codice del servizio"?
Molte grazie!
Back to top
View user's profile Send private message
pierino_89
Guru
Guru


Joined: 03 Oct 2009
Posts: 522

PostPosted: Sat Feb 09, 2013 12:38 am    Post subject: Reply with quote

Il contenuto del file /etc/init.d/nomeservizio :D
_________________
Linux registered user 461710
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Sun Feb 10, 2013 11:29 pm    Post subject: Reply with quote

pierino_89 wrote:
Il contenuto del file /etc/init.d/nomeservizio :D


oooops! :D

/etc/init.d/donutsd:
Code:
depend() {
        need mta
}

start() {
        ebegin "Starting the DNSSEC monitoring daemon"
        start-stop-daemon --start --pidfile ${DONUTSD_PIDFILE} --make-pidfile --background --exec ${DONUTSD_CMD} -- -i ${DONUTSD_CONFPATH} ${DONUTSD_OPTS}
        eend $? "failed to start donutsd"
}

stop() {
        ebegin "Stopping donutsd"
        start-stop-daemon --stop --pidfile ${DONUTSD_PIDFILE}
        eend $? "Failed to stop donutsd"


/etc/init.d/svscan:
Code:
depend() {
        use net
        before ntpd ntp-client spamd apache apache2
}

start() {
        ebegin "Starting service scan"
        setsid start-stop-daemon --start --exec /usr/bin/svscan \
                --background --make-pidfile \
                --pidfile /var/run/svscan.pid -- /service
        eend $?
}

stop() {
        ebegin "Stopping service scan"
        start-stop-daemon --stop --exec /usr/bin/svscan \
                --pidfile /var/run/svscan.pid
        eend $?

        ebegin "Stopping service scan services"
        svc -dx /service/* 2>/dev/null
        eend $?

        ebegin "Stopping service scan logging"
        svc -dx /service/*/log 2>/dev/null
        eend $?


Come faccio a sapere quale pacchetto contiene donutsd e chi usa questo pacchetto?
GRAZIE PER L'AIUTO!!!! :)

Sacchi
Back to top
View user's profile Send private message
pierino_89
Guru
Guru


Joined: 03 Oct 2009
Posts: 522

PostPosted: Sun Feb 10, 2013 11:59 pm    Post subject: Reply with quote

Ehm, che c'entra svscan? :D
Comunque leggiti questo articolo e assicurati che /etc/init.d/qmail abbia la linea "provide mta"
http://www.gentoo.org/doc/it/handbook/handbook-x86.xml?part=2&chap=4#doc_chap4

Donutsd l'avevo cercato ed ha a che fare col server dns, comunque puoi usare "equery belongs" per scoprire a quale ebuild appartiene un file.
_________________
Linux registered user 461710
Back to top
View user's profile Send private message
sacchi
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2004
Posts: 92

PostPosted: Mon Feb 11, 2013 8:56 am    Post subject: Reply with quote

pierino_89 wrote:
Ehm, che c'entra svscan? :D


svscan è il demone usato da qmail.

pierino_89 wrote:
Comunque leggiti questo articolo e assicurati che /etc/init.d/qmail abbia la linea "provide mta"
http://www.gentoo.org/doc/it/handbook/handbook-x86.xml?part=2&chap=4#doc_chap4


Aggiunta, grazie!

pierino_89 wrote:
Donutsd l'avevo cercato ed ha a che fare col server dns, comunque puoi usare "equery belongs" per scoprire a quale ebuild appartiene un file.


Code:
# equery belongs donutsd
 * Searching for donutsd ...
net-dns/dnssec-tools-1.14 (/etc/init.d/donutsd)
net-dns/dnssec-tools-1.14 (/etc/conf.d/donutsd)
net-dns/dnssec-tools-1.14 (/usr/bin/donutsd)
# equery depends dnssec-tools
 * These packages depend on dnssec-tools:
app-admin/webmin-1.620 (>=net-dns/dnssec-tools-1.13)


Scoperto l'arcano...!
Ciao e grazie,

Sacchi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum