Cannot get postgresql to start (dinit) 26 March 2025, 03:02:44 I installed postgresql. I changed the postgres user password. I switched to the postgres user and initialized the database cluster. But when I try to enable the service with "dinitctl enable postgresql", I get the following error:dinitctl: connecting to socket: /run/user/1000/dinitctl: No such file or directorydinitctl: perhaps no user instance is running?How can I get postgresql going?Thanks
Re: Cannot get postgresql to start (dinit) Reply #1 – 26 March 2025, 04:12:38 At first glance, you should use "sudo dinitctl enable postgresql" since without sudo, you are controlling the user-instance of dinit (if you use it). 1 Likes
Re: Cannot get postgresql to start (dinit) Reply #2 – Today at 04:10:21 Thank you for your reply. When I include sudo, I get this error:dinitctl: failed to find service description.dinitctl: check service description file exists / service name spelling.
Re: Cannot get postgresql to start (dinit) Reply #3 – Today at 05:32:49 Maybe a dumb question but have you installed the package "postgresql-dinit"?If so check in /etc/dinit.d to see if the name of the service description file is indeed "postgresql"