• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved [PPP-48341] Unable to create PostgreSQL service

simoncsc

New Pleskian
Hi,

I installed PostgreSQL sever on my latest version plesk with Centos 7, but couldn't start the service, here is the captured screen.
postpresql_failed1.JPG
I click on the localhost(PostgreSQL), then enter the username and password, after clicking OK, the screen is displayed as below:
postpresql_500.JPG
then I followed the instructions to type these two command via SSH "systemctl status postgresql.service" &
"journalctl -xe" , below is the output:
postpresql_failed3.JPG

postpresql_failed4.JPG
Any body can help me to fix this problem?

Best regards,

Simon
 

Attachments

  • postpresql_failed2.JPG
    postpresql_failed2.JPG
    66.1 KB · Views: 2
  • postpresql_failed2.JPG
    postpresql_failed2.JPG
    66.1 KB · Views: 1
@simoncsc,

Seems like the PostgreSQL instance is not initialized (as it reports empty data directory error). Seems like we don't initialize it anymore after installation, which is reported as bug with ID PPP-48341.

It should work if you run postgresql-setup initdb manually in console and only then then add the database server to Plesk.
 
Thank you for your reply, I run the command your provided, but fail, below is the error message and initdb log.
postpresql_error4.JPG

postpresql_error5.JPG
does it means I need to create a user "postgres" to run the command?
 
Hi

I have fixed the problem, solution: remove postpresql > delete folder /var/lib/pgsql > re-install postpresql > run postgresql-setup initdb
 
Back
Top