[ILUG-BOM] Fetchmail not connecting to localhost

Raj Mathur raju at linux-delhi.org
Sat Jun 6 19:05:59 IST 2009


On Saturday 06 Jun 2009, lists at pavri.net wrote:
> Quoting "Dr. Sharukh K. R. Pavri." <lists at pavri.net>:
> Ok, i'm back at the machine. Postfix refuses to start with this
> error.
>
> ------------------------------
> sharukh at opium:~$ sudo postfix start
> postfix: fatal: parameter inet_interfaces: no local interface found
> for 127.0.0.1
>
> -------------------------------
> sharukh at opium:~$ /sbin/route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref   
> Use Iface 220.224.141.129 0.0.0.0         255.255.255.255 UH    0    
>  0        0 ppp0 0.0.0.0         0.0.0.0         0.0.0.0         U   
>  0      0        0 ppp0
>
> (I'm online with reliance netconnect thru ppp0 -- otherwise the above
> command shows nothing.)
> -------------------------------
>
> sharukh at opium:~$ ping 127.0.0.1
> PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
> ^C
> --- 127.0.0.1 ping statistics ---
> 90 packets transmitted, 0 received, 100% packet loss, time 89030ms
>
> --------------------------------
>
> sharukh at opium:~$ /sbin/ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:13:20:24:d3:9c
>            UP BROADCAST MULTICAST  MTU:1500  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> ppp0      Link encap:Point-to-Point Protocol
>            inet addr:115.240.27.149  P-t-P:220.224.141.129
> Mask:255.255.255.255
>            UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
>            RX packets:1587 errors:15 dropped:0 overruns:0 frame:0
>            TX packets:1640 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:3
>            RX bytes:1378831 (1.3 MiB)  TX bytes:361480 (353.0 KiB)
>
> ---------------------------------
>
> If I do sudo /sbin/ifconfig lo up
>
> lo comes up with
>
> sharukh at opium:~$ /sbin/ifconfig
> lo        Link encap:Local Loopback
>            inet addr:127.0.0.1  Mask:255.0.0.0
>            inet6 addr: ::1/128 Scope:Host
>            UP LOOPBACK RUNNING  MTU:16436  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:0
>            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> After I bring up lo, postfix starts up normally. As an aside, while
> installing, debian had barfed on setting up the network. I had to go
> into expert install and skip that step as it complained of not
> finding a network interface.
>
> What now ? Why is lo not coming up automatically ?

Do you have a line like the following in /etc/network/interfaces?

iface lo inet loopback

Regards,

-- Raju
-- 
Raj Mathur                raju at kandalaya.org      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves



More information about the Linuxers mailing list