Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgsql.go:275: WARN Postgresql Message too short. 53 (length=1). Wait for more. #46

Closed
herveleclerc opened this issue Jun 25, 2014 · 2 comments

Comments

@herveleclerc
Copy link

I have postgresql running and a packetbeat agent.
packetbeat -e -c /etc/packetbeat/packetbeat.conf -d "pgsql"
give me this output : pgsql.go:275: WARN Postgresql Message too short. 53 (length=1). Wait for more.
Do i have to do something posgresql configuration ?

netstat -lnp : +1: Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name

tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1253/sshd       
tcp        0      0 0.0.0.0:5432            0.0.0.0:*               LISTEN      18983/postgres  

tcp        0      0 10.2.0.6:16001          0.0.0.0:*               LISTEN      903/python      

tcp6       0      0 :::22                   :::*                    LISTEN      1253/sshd       

tcp6       0      0 :::5432                 :::*                    LISTEN      18983/postgres  

udp        0      0 0.0.0.0:68              0.0.0.0:*                           801/dhclient3
@herveleclerc
Copy link
Author

I've find why: my postgresql use ssl communication. you should not use ssl=true in postgresql.conf to make it work.
you can close this issue

@sammcj
Copy link

sammcj commented Jul 2, 2014

wow, the fix should never be to disable SSL! hope that wasn't in production...

tsg pushed a commit that referenced this issue Dec 2, 2015
Contains:
 * getting started guide
 * migration from LSF guide
 * configuration file options reference
 * CLI options reference

Squashed from commits by Ruflin, Monica Sarbu and myself. See #46.
tsg added a commit that referenced this issue Dec 2, 2015
Replace TODOs with links to libbeat
ruflin pushed a commit to ruflin/beats that referenced this issue Dec 2, 2015
tsg pushed a commit to tsg/beats that referenced this issue Jan 6, 2016
tsg added a commit to tsg/beats that referenced this issue Jan 20, 2016
paylm pushed a commit to paylm/beats that referenced this issue Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants