Odoo Help

0

0
2 Answers
0
Femi Alla
3/23/17, 4:50 AM

Since the path to the config file is no longer the same, starting or restarting the PostgreSQL server would not work.

root@myserver:~# service postgresql restart

 * Restarting PostgreSQL 9.1 database server

 * The PostgreSQL server failed to start. Please check the log output.

                                                                         [fail]

So, I also tried to navigated into the folder which contains the config files and restarted postgresql from the command line:

root@myserver:~# cd /etc/postgresql/9.1/main root@kuiperserver2:/etc/postgresql/9.1/main# service postgresql restart

 * Restarting PostgreSQL 9.1 database server

* The PostgreSQL server failed to start. Please check the log output:

2017-03-23 08:41:31 UTC FATAL: could not create lock file "/var/run/postgresql/.s.PGSQL.5432.lock": No such file or directory

                                                                                              [fail]

I would appreciate any more useful suggestions.

Very many thanks.

0
Avatar

Hilar AK

--Hilar AK--
7429
| 6 5 11
Switzerland
--Hilar AK--
  Blog:-
        https://hilarlive.wordpress.com/
  StackOverflow:
        http://stackoverflow.com/users/7561347/burmese-pythis

Quora:
    

            https://www.quora.com/profile/Hilar-Ak-1

Experienced Odoo developer, Functional Consultant.



Hilar AK
3/22/17, 11:25 PM

HI, please try:

sudo service postgresql restart
Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now