Quoting "Dr. Sharukh K. R. Pavri." <[email protected]>:
> On Fri, 05 Jun 2009, Raj Mathur wrote:
>
>> On Friday 05 Jun 2009, Dr. Sharukh K. R. Pavri. wrote:
>> > Hi,
>> >
>> > I'm using Debian 5 w/ mutt, postfix, fetchmail, procmail. I have
>> > discontinued my mtnl triband and taken a reliance broadband
>> > netconnect connection.
>> >
>> > I've configured the stuff in the usual way but fetchmail is acting
>> > up. These are the error messages.
>> > -----------------
>> > fetchmail: connection to localhost:smtp [::1/25] failed: Network is
>> > unreachable.
>>
>> Your lo interface is not up for some reason. Try a
>> /etc/init.d/networking restart (or the equivalent in your distribution).
>> ifconfig, ping 127.0.0.1 and route -n are your friends for determining
>> whether the interface and the local route is up or not.
>
> /etc/init.d/networking restart just says networking restarted.
>
> I get errors of network unreachable.
>
> I'm not at that machine right now so I'l give you the output of the other
> stuff tomorrow.
Ok, i'm back at the machine. Postfix refuses to start with this error.
------------------------------
shar...@opium:~$ sudo postfix start
postfix: fatal: parameter inet_interfaces: no local interface found
for 127.0.0.1
-------------------------------
shar...@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.)
-------------------------------
shar...@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
--------------------------------
shar...@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
shar...@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)
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)
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:16 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)
--------------------------
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 ?
thanks,
--
http://mm.glug-bom.org/mailman/listinfo/linuxers