How to install and initialize PostgreSQL in Plesk?

Refers to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:52:30 UTC

Modified:

2017-02-23 02:14:40 UTC

2

Was this article helpful?


Have more questions?

Submit a request

How to install and initialize PostgreSQL in Plesk?

Question

How to install and initialize PostgreSQL support in Plesk?

Resolution

In order to install PostgreSQL support, open Plesk > Tools & Settings > Updates and Upgrades > Add and Remove Product Components > PostgreSQL server support .

Start PostgreSQL service in Plesk > Tools & Settings > Services Management

To initialize PosgreSQL go to Plesk > Tools & Settings > Database Servers > PosgreSQL > enter Plesk admin password.

If PostgreSQL can not be started from Services Management with error:

Error: Unable to make action: Unable to manage service by pg_manage: Error: Unable to start PostgreSQL.
1
('--start', 'postgresql')
  1. Run command:

    # service postgresql initdb
    
  2. Start PostgreSQL manually:

    # /etc/init.d/postgresql start
    
  3. Go to Tools & Settings > Database Servers > PosgreSQL > enter Plesk admin password.

Have more questions? Submit a request

1 Comments

  • 0
    Avatar
    Bulat Tsydenov

    @Vivo, PostgreSQL is installed from the repositories enabled on the server. You can enable any other repository which provides the required version of PostgreSQL and install it the same way.

Please sign in to leave a comment.