afserver Core Dump
Posted: Thu Jan 10, 2019 7:42 am
Hi!
First of all, nice work!
I've installed your package and it worked just fine for first 2 days, but then suddently out of nowhere, db stopped working and I was unable to connect via web to :51000.
I've check db_connection and no luck:
Any ideas how to debug this? why would database suddenly stopped ?
logs do not help much as well:
First of all, nice work!
I've installed your package and it worked just fine for first 2 days, but then suddently out of nowhere, db stopped working and I was unable to connect via web to :51000.
I've check db_connection and no luck:
Code: Select all
: afcmd db_check
AFERROR: afanasy.cmd.Check: Database connect failed: could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
could not create socket: Address family not supported by protocol
Database connection is NOT WORKING !
logs do not help much as well:
Code: Select all
: cat /var/tmp/afanasy/afserver.tmserver.log
Compilation date = 'Oct 15 2018 12:49:25'
CGRU version = '2.3.0'
Afanasy build version = '2.3.0'
Afanasy build revision = 'd38556004cc99eaf91020592704443be43efa3e2'
Python version = '3.6.6'
GCC version = '8.1.1'
RLIMIT_NOFILE: Files descriptors limit: 10240
RLIMIT_NPROC: Processes (threads) limit: 95735
Config file does not exist:
/tmp/.cgru/config.json
Database connection "AFDB_update" is not working.
Wed 09 Jan 23:10.08: INFO Reading store file: "/var/tmp/afanasy/server.json"
AFERROR: AFDB_upTables: Database connect failed: could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
could not create socket: Address family not supported by protocol