[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problemi di dipendenze con exim



On Tue, Jan 14, 2003 at 03:38:50PM +0100, Stefano Stevie Mioli wrote:
> On Mon, 13 Jan 2003 20:38:58 +0100
> Filippo Giunchedi wrote:
> 
> > On Mon, Jan 13, 2003 at 09:20:40PM +0100, Stefano Stevie Mioli wrote:
> > [snip]
> > > > > Setting up exim (3.36-3) ...
> > > > > hostname: Unknown host
> > > > > hostname --fqdn gave non-zero exit code 256   
> > > > ahi ahi ahi! hostname si arrabbia! controlla /etc/hosts ed eventualmente
> > 									   ^^^^^^^^^^^^^^^^^^^^
> > > Il mio file /etc/host.conf contiene le seguenti due righe:
> > non /etc/host.conf ma /etc/hosts
> 
> Volentieri, ma da me non c'è un file che si chiami precisamente /etc/hosts. 
> C'è hosts.deny e hosts.allow. E' la stessa cosa?
purtroppo NON e' la stessa cosa ma in compenso se ne chiariscono parecchie di
cose! e' quantomeno strano che tu non abbia /etc/hosts ed e' questo il motivo
percui hostname fa i capricci! crea il file /etc/hosts, come questo ad esempio:

127.0.0.1      localhost   #praticamente obbligatorio
tuo_ip         nome_host   #ip e nome dell'host se hai una rete interna (es
                           #192.168.0.1)

nella manpage di hosts ci sono tutti i dettagli.

filippo.
--
Filippo Giunchedi
GNU/PG key id: 1024D/6B79D401
Random signature follows:

Linux IS user friendly, it is just selective who his friends are.

Attachment: pgpfj09uAp7Ha.pgp
Description: PGP signature


Reply to: