binding on 127.0.0.1 not working after upgrade to 7.3

Mikhail T. mi+thun at aldan.algebra.com
Tue Apr 6 01:55:52 UTC 2010


Hello!

I just rebuilt my system from 7.2-stable to 7.3. The first thing to fail
upon restart was the PostgreSQL-server. But there are other failures --
for example, webmin is unreachable at its usual https://localhost:10000/

ktrace-ing postgres reveals:

     19875 postgres CALL  bind(0x3,0x8015190f0,0x10)
     19875 postgres STRU  struct sockaddr { AF_INET, 127.0.0.1:5432 }
     19875 postgres RET   bind -1 errno 49 Can't assign requested address
     19875 postgres CALL  socket(PF_LOCAL,SOCK_DGRAM,0)
     19875 postgres RET   socket 4


I rebuilt postgress server anew, just in case, but it is still
failing... Changing the listen_addresses from 'localhost' to
'my.lan.ip.add' allows the server to start-up, but now I need to change
the configuration of the local applications...

Similarly, 'ssh localhost' no longer works, although `ssh my.lan.ip.add'
works...

The only unusual thing about my system is that I build with
`NO_INET6=yes'. But it all worked with the kernel from a month ago...
The ::1-definition in /etc/hosts is now commented-out, but that didn't
help any...

Please, advise. Thanks!

    -mi



More information about the freebsd-stable mailing list