2016-09-02 18:44 GMT-03:00 Flavio Henrique Araque Gurgel <[email protected]>:

>
>
> Em sex, 2 de set de 2016 23:24, MIGUEL JOSE DE LIMA <
> [email protected]> escreveu:
>
>> Alguém sabe me dizer porque recebo erro no log do server fazendo
>> referência ao TCP_KEEPALIVE:
>> LOG:  getsockopt(TCP_KEEPALIVE) failed: Option not supported by protocol
>>
>> Trabalho com SPARC SOLARIS 10 e Postgresql 9.5.4 (64bits)
>>
>> Parte do log do server:
>> ------------------------------------------------------------
>> ------------------------------------------------------------
>> ----------------------
>>
>> ERROR:  syntax error at end of input at character 184
>> STATEMENT:  SELECT "pon_unidade_supervisao".*, "cor_unidade".*
>>         FROM "pon_unidade_supervisao"
>>         INNER JOIN "corporativo"."cor_unidade" ON "unu_id_unidade" =
>> "uni_id_unidade"
>>         WHERE "unu_id_pessoa" =
>> WARNING:  there is no transaction in progress
>> LOG:  getsockopt(TCP_KEEPALIVE) failed: Option not supported by protocol
>> STATEMENT:  SELECT setting FROM pg_settings WHERE name IN ('autovacuum',
>> 'track_counts')
>> ERROR:  permission denied for relation pon_configuracao
>> STATEMENT:  SELECT count(*) AS rows FROM ONLY ponto.pon_configuracao
>> LOG:  getsockopt(TCP_KEEPALIVE) failed: Option not supported by protocol
>> STATEMENT:  SELECT setting FROM pg_settings WHERE name IN ('autovacuum',
>> 'track_counts')
>> ------------------------------------------------------------
>> ------------------------------------------------------------
>> ------------------------
>>
>> Obs.: O parâmetros de TCP_... no postgresql.conf estão no padrão default!
>>          # - TCP Keepalives -
>>          #tcp_keepalives_idle = 0                # TCP_KEEPIDLE, in
>> seconds;
>>          #tcp_keepalives_interval = 0            # TCP_KEEPINTVL, in
>> seconds;
>>          #tcp_keepalives_count = 0               # TCP_KEEPCNT;
>>
>>
>> Obrigado.
>>
>
> >>Solaris 10 não suporta keepalives.
> >>Por algum motivo, foi setado no seu servidor, verifique scripts de
> inicialização e se está olhando o bom conf.
>

Gurgel obrigado,
mas sinceramente não entendi o q vc quis dizer com "...está olhando o bom
conf" rsrsrs.
O postgresql.conf está com as configurações padrões como citei acima.
Não estou entendendo, tem alguma configuração no S.O do server?
Conforme está no manual (18.3.1), deveria ser zero, como está, para
sistemas que não suportam keepalive.

Grato.
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a