Postfix error message

Noticed in logs messages (ESC on boot) that postfix is failing
every time I boot. Only error I find in logs is:

Apr 3 07:05:04 linux-7utx postfix[3788]: fatal: parameter
inet_interfaces: no local interface found for ::1

Can any one tell me what it means and what to look for?

Thanks

Russ
| openSUSE 11.2 (2.6.31.12-18-desktop) x86_64 | KDE 4.4.1 release
227 | Intel Core 2 Dual E7200 | 4 GB RAM | GeForce 8400 GS | 320GB
Disc (2) |

upscope wrote:

> Noticed in logs messages (ESC on boot) that postfix is failing
> every time I boot. Only error I find in logs is:
>
> Apr 3 07:05:04 linux-7utx postfix[3788]: fatal: parameter
> inet_interfaces: no local interface found for ::1
>
> Can any one tell me what it means and what to look for?
>
> Thanks
Additional errors found:

Apr 3 07:14:08 linux-7utx clamd[3387]: Database correctly reloaded
(701207 signatures)
Apr 3 07:15:01 linux-7utx ${multi_instance_name:
postfix}${multi_instance_name?$multi_instance_name}/sendmail[3833]:
fatal: parameter inet_interfaces: no local interface found for ::1
Apr 3 07:24:08 linux-7utx clamd[3387]: SelfCheck: Database status
OK.
Apr 3 07:34:09 linux-7utx clamd[3387]: SelfCheck: Database status
OK.
Apr 3 07:44:09 linux-7utx clamd[3387]: SelfCheck: Database status
OK.
Apr 3 07:54:09 linux-7utx clamd[3387]: SelfCheck: Database status
OK.
Apr 3 08:04:09 linux-7utx clamd[3387]: SelfCheck: Database status
OK.
Apr 3 08:14:09 linux-7utx clamd[3387]: SelfCheck: Database status
OK.
Apr 3 08:15:01 linux-7utx ${multi_instance_name:
postfix}${multi_instance_name?$multi_instance_name}/sendmail[4672]:
fatal: parameter inet_interfaces: no local interface found for ::1
Apr 3 08:24:09 linux-7utx clamd[3387]: SelfCheck: Database status
OK.
Apr 3 08:34:09 linux-7utx clamd[3387]: SelfCheck: Database status
OK.

Russ
| openSUSE 11.2 (2.6.31.12-18-desktop) x86_64 | KDE 4.4.1 release
225 | Intel Core 2 Dual E7200 | 4 GB RAM | GeForce 8400 GS | 320GB
Disc (2) |

> Apr 3 07:05:04 linux-7utx postfix[3788]: fatal: parameter
> inet_interfaces: no local interface found for ::1

::1 is the ipv6 equivalent of localhost. Do you have IPv6 enabled?

vodoo wrote:

>
>> > Apr 3 07:05:04 linux-7utx postfix[3788]: fatal: parameter
>> > inet_interfaces: no local interface found for ::1
>
> ::1 is the ipv6 equivalent of localhost. Do you have IPv6
> enabled?
>
Yes it is enabled, do I need it disabled?


Russ
| openSUSE 11.2 (2.6.31.12-18-desktop) x86_64 | KDE 4.4.1 release
225 | Intel Core 2 Dual E7200 | 4 GB RAM | GeForce 8400 GS | 320GB
Disc (2) |

Do you have these lines in /etc/hosts?

127.0.0.1 localhost
::1 localhost ipv6-localhost ipv6-loopback

And is the lo interface bound to both 127.0.0.1 and ::1?

ken yap wrote:

>
> Do you have these lines in /etc/hosts?
>
> 127.0.0.1 localhost
> ::1 localhost ipv6-localhost ipv6-loopback
>
> And is the lo interface bound to both 127.0.0.1 and ::1?
Hoe do I determine this?
>
Here’s what I have in hosts:
<Code>

hosts This file describes a number of hostname-to-address

mappings for the TCP/IP subsystem. It is mostly

used at boot time, when no name servers are running.

On small systems, this file can be used instead of a

“named” name server.

Syntax:

IP-Address Full-Qualified-Hostname Short-Hostname

127.0.0.1 localhost

special IPv6 addresses

::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 linux-7utx.site linux-7utx

Thanks for your response.


Russ
| openSUSE 11.2 (2.6.31.12-18-desktop) x86_64 | KDE 4.4.1 release
225 | Intel Core 2 Dual E7200 | 4 GB RAM | GeForce 8400 GS | 320GB
Disc (2) |

/sbin/ifconfig lo

ken yap wrote:

>
> upscope;2148110 Wrote:
>>
>> > And is the lo interface bound to both 127.0.0.1 and
>> > ::1?
>> Hoe do I determine this?
>> >
>>
>
>
> /sbin/ifconfig lo
>
Here’s what I get for above command:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:270 errors:0 dropped:0 overruns:0 frame:0
TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:21947 (21.4 Kb) TX bytes:21947 (21.4 Kb)

Is this correct?

Thanks.


Russ
| openSUSE 11.2 (2.6.31.12-18-desktop) x86_64 | KDE 4.4.1 release
225 | Intel Core 2 Dual E7200 | 4 GB RAM | GeForce 8400 GS | 320GB
Disc (2) |

Take a look at

I had the same problem

/etc/postfix/main.cf

comment out
inet_interfaces = all

Then it worked in my system

This post is late but for the sake of the next newbie…

i solved this by setting in /etc/postfix/main.cf

inet_protocols = ipv4
inet_interfaces = all

Thanks MarcoMeswara and swerden those worked for me.

Postfix wasn’t a problem in 11.1 or 11.2. the /etc/postfix/main.cf from 11.2 and 11.4 were the same.

I believe I tracked a root cause of my hosts file problem. My problem started Apr 6, 05:18 am, around the same time as a monthly cron job that updated the /etc/hosts file.

Why it caused a problem in postfix this time out of 100s is still a mystery.

On 2011-04-10 00:06, tararpharazon wrote:

> I believe I tracked a root cause of my hosts file problem. My problem
> started Apr 6, 05:18 am, around the same time as a monthly cron job that
> updated the /etc/hosts file.
>
> Why it caused a problem in postfix this time out of 100s is still a
> mystery.

Old thread, I know, but I had the same problem when I upgraded my system to 12.1. It is caused
by this line in the hosts file:


127.0.0.2 linux-7utx.site linux-7utx

or in my case:

127.0.0.2      Telcontar.valinor Telcontar


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

I just updated to 13.2 and postfix crashed with that error message

I change /etc/postfix/main.cf to :

inet_protocols = ipv4
inet_interfaces = localhost

And postfix starts successfully
*
I chose localhost because I didn’t want that postfix listens to all interfaces*