On Saturday 06 Jun 2009, lists@pavri.net wrote:
Quoting "Dr. Sharukh K. R. Pavri." lists@pavri.net: Ok, i'm back at the machine. Postfix refuses to start with this error.
sharukh@opium:~$ sudo postfix start postfix: fatal: parameter inet_interfaces: no local interface found for 127.0.0.1
sharukh@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@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@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@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