![]() It's working fine since then, as you can see the output below: ~]$ sudo systemctl status rvice ![]() I simply deleted the file using sudo as I thought may be rvice file is not being created by relevant program due to the presence of this file. Then I tried to start postgresql-9.6.service as follows: ~]$ sudo systemctl start postgresql-9.6.serviceįailed to start postgresql-9.6.service: Unit postgresql-9.6.service not found.Īnd, as you can see the output, again it failed. So, may be due to the presence of this file, I was not able to start rvice. There was already a file present /usr/lib/systemd/system/postgresql-9.6.service Unit rvice could not be found.įinally, I figured this one out. I'm not even getting the status of the service: ~]$ sudo systemctl status rvice Then, while trying to start rvice, I got the following error: ~]$ sudo systemctl start rviceįailed to start rvice: Unit rvice not found. Successfully, I returned to the my regular user using exit command. Pg_ctl -D /var/lib/postgres/data -l logfile start You can now start the database server using: auth-local and -auth-host, the next time you run initdb. You can change this by editing pg_hba.conf or using the option -A, or WARNING: enabling "trust" authentication for local connections Performing post-bootstrap initialization. Selecting dynamic shared memory implementation. The default text search configuration will be set to "english".įixing permissions on existing directory /var/lib/postgres/data. ![]() The database cluster will be initialized with locale "en_US.UTF-8". This user must also own the server process. ![]() The files belonging to this database system will be owned by user "postgres". I'm trying to set up PostgreSQL as instructed here.Īfter performing ~]$ initdb -locale $LANG -E UTF8 -D '/var/lib/postgres/data' ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |