Page 1 of 1
Can't Connect Database on CentOS 8
Posted: Wed Oct 14, 2020 9:10 pm
by Khiladi
Hi Timur,
I am done with all the steps for installation also postgres is working and database has been created but Its throwing this error while running afcmd db_check
Thu 15 Oct 01:31.20: WARNING Config file does not exist: /root/.cgru/config.json
Project was build without SQL library.
AFERROR: afanasy.cmd.Check: Database connect failed: (null)
Database connection is NOT WORKING !
Regard
Re: Can't Connect Database on CentOS 8
Posted: Thu Oct 15, 2020 8:16 am
by timurhai
Ops...
Code: Select all
Project was build without SQL library.
It seems that i missed something building the project on CentOS 8 ((
You can re-build project manually.
Or wait, i will update the latest 3.1.0 release.
Re: Can't Connect Database on CentOS 8
Posted: Thu Oct 15, 2020 8:32 am
by timurhai
Re: Can't Connect Database on CentOS 8
Posted: Fri Oct 16, 2020 12:53 pm
by Khiladi
Hey Timur Thanks man,
But right now I am getting another error while db_check command I am getting this error.
[khiladi@localhost cgru]$ afcmd db_check
afcmd: /usr/pgsql-12/lib/libpq.so.5: no version information available (required by afcmd)
Fri 16 Oct 05:52.43: WARNING Config file does not exist: /opt/cgru/config.json
WARNING: SERVER ADDRESS IS NOT CONFIGURED, USING 127.0.0.1
Database connection is working.
[khliadi@localhost cgru]$
Regards
Re: Can't Connect Database on CentOS 8
Posted: Fri Oct 16, 2020 12:55 pm
by timurhai
I do not see any error...
Re: Can't Connect Database on CentOS 8
Posted: Fri Oct 16, 2020 1:05 pm
by Khiladi
So this is just a warning
Code: Select all
afcmd: /usr/pgsql-12/lib/libpq.so.5: no version information available (required by afcmd)
Regards
Re: Can't Connect Database on CentOS 8
Posted: Fri Oct 16, 2020 1:08 pm
by timurhai
I never saw such message.
You can try to ask on PostgreSQL forums.
Re: Can't Connect Database on CentOS 8
Posted: Sat Oct 17, 2020 4:49 pm
by Khiladi
Understood,
You may check Windows Build too as it is giving that same error
Code: Select all
WARNING: SERVER ADDRESS IS NOT CONFIGURED, USING 127.0.0.1
Project was build without SQL library.
AFERROR: afanasy.cmd.Check: Database connect failed: (null)
Database connection is NOT WORKING !
Regards
Re: Can't Connect Database on CentOS 8
Posted: Sun Oct 18, 2020 1:25 pm
by timurhai
I never have to set up sql server on windows.
Generally, windows is not a server os.
You are going to use render manager server with a postgresql server on windows?
I never met such requests.