Обсуждение: could not create IPv6 socket !

Поиск
Список
Период
Сортировка

could not create IPv6 socket !

От
Bui Phu Ngot
Дата:
Dear all,
 
I am a newbie to postgresql. After installing Postgresql 8.0.3, I run postmaster and get an error (log). Please help me ! Thanks in advance.
 
Bui Phu Ngot
 
 

/usr/local/pgsql/bin/postmaster -i -D /usr/local/pgsql/data

LOG: could not create IPv6 socket: Address family not supported by protocol

LOG: database system was shut down at 2005-09-24 17:10:30 ICT

LOG: checkpoint record is at 0/A32B5C

LOG: redo record is at 0/A32B5C; undo record is at 0/0; shutdown TRUE

LOG: next transaction ID: 544; next OID: 17230

LOG: database system is ready

 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Re: could not create IPv6 socket !

От
Aldor
Дата:
Hi,

i also get this error message but only at one of my database servers.
I'm not sure, but I have experienced some other IPv6 issues on the same
server. I think somebody turned on the IPv6 protocole on the server and
didn't declare in postgres the IPv6 address. Check if this is also true
in your case.

Regards,

Aldor

Bui Phu Ngot wrote:
> Dear all,
>
> I am a newbie to postgresql. After installing Postgresql 8.0.3, I run
> postmaster and get an error (log). Please help me ! Thanks in advance.
>
> Bui Phu Ngot
>
>
>
> /usr/local/pgsql/bin/postmaster -i -D /usr/local/pgsql/data
>
> LOG: could not create IPv6 socket: Address family not supported by protocol
>
> LOG: database system was shut down at 2005-09-24 17:10:30 ICT
>
> LOG: checkpoint record is at 0/A32B5C
>
> LOG: redo record is at 0/A32B5C; undo record is at 0/0; shutdown TRUE
>
> LOG: next transaction ID: 544; next OID: 17230
>
> LOG: database system is ready
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>

Re: could not create IPv6 socket !

От
Tom Lane
Дата:
Aldor <an@mediaroot.de> writes:
>> LOG: could not create IPv6 socket: Address family not supported by protocol

> i also get this error message but only at one of my database servers.
> I'm not sure, but I have experienced some other IPv6 issues on the same
> server. I think somebody turned on the IPv6 protocole on the server and
> didn't declare in postgres the IPv6 address.

Actually, what this suggests is that your kernel doesn't support IPv6
but userland libraries (getaddrinfo() in particular) think it does.
It's pretty harmless and you could just ignore it, unless of course
you actually need to use IPv6 ...

            regards, tom lane