Yenthe666 / InstallScript

Odoo install script
MIT License
1.24k stars 1.56k forks source link

postgresql.service is active (exited) #263

Closed gikwereresteven closed 4 years ago

gikwereresteven commented 4 years ago

how I Can solve the problem of Postgresql active (exited) many days without solution of it. I install odoo13 using scripts odoo is active(running), i can't accessing my database i don't know what happen because it was working well on ubuntu 20.04 and where i hosted after two weeks postgresql active(exited).

pg_lsclusters: 12 main 5432 online postgres /var/lib/postgresql/12/main /var/log/postgresql/postgresql-12-main.log // is online Please help me. Thanks regards

Screenshot from 2020-10-15 14-46-03

Yenthe666 commented 4 years ago

@gikwereresteven what happens if you restart PSQL?

gikwereresteven commented 4 years ago

thanks your scripts was good for me very easy to install it was running well sure. so when i restart still have active (exited) rigtht now i can't access my database. I try to stop, start, restard even enable nothing changed Sir

Yenthe666 commented 4 years ago

Have you tried restarting your server? What's in the logfiles of postgreSQL?

gikwereresteven commented 4 years ago

How can restart my server odoo is running well problem is posgress only

gikwereresteven commented 4 years ago

12 main 5432 online postgres /var/lib/postgresql/12/main /var/log/postgresql/postgresql-12-main.log

gikwereresteven commented 4 years ago

when I run like that i see is running well

Screenshot from 2020-10-15 16-23-56

Yenthe666 commented 4 years ago

reboot your VM.

gikwereresteven commented 4 years ago

no change

gikwereresteven commented 4 years ago

On my browser the error I have:

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Yenthe666 commented 4 years ago

Show the output from the Odoo & PostgreSQL logs.

gikwereresteven commented 4 years ago

I installed as it is no change i did let me check

gikwereresteven commented 4 years ago

Screenshot from 2020-10-15 17-15-21

Yenthe666 commented 4 years ago

I really need better info, I cannot help you this way. Please paste the correct parts which indicates ERROR's or failures. Not some random little part in the logs..

gikwereresteven commented 4 years ago

thanks, sir I am a new user of odoo the problem is this for sure postgresql is active(exited) is not running but odoo is active running so i installed odoo using your process of your scripts so i don't know how to shows you that file you may asked to me, everything is ok but postgress is only problem i have i was running well last time but the cause of make it going down i don't know Kind regards

Yenthe666 commented 4 years ago

Well, dig logs & outputs. There have to be errors. Since you're not providing any further details and seem to have an extremely low level of knowledge about systems there is not much I can do though. I suggest you to do research and self-study about all components.

gikwereresteven commented 4 years ago

ok thanks for your help let try to find that log