LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2018, 05:36 PM   #1
ultra99
Member
 
Registered: Aug 2004
Distribution: openSUSE Tumbleweed
Posts: 112

Rep: Reputation: 15
starting postgresql


This is what I did:
Code:
systemctl status postgresql
● postgresql.service - PostgreSQL database server
   Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vendor preset: disa>
   Active: failed (Result: exit-code) since Sat 2018-12-29 13:32:02 EST; 3h 59min ago

Dec 29 13:32:02 linux-s6kv systemd[1]: Starting PostgreSQL database server...
Dec 29 13:32:02 linux-s6kv postgresql-script[1646]: postgres: could not access the server co>
Dec 29 13:32:02 linux-s6kv postgresql-script[1646]: pg_ctl: could not start server
Dec 29 13:32:02 linux-s6kv postgresql-script[1646]: Examine the log output.
Dec 29 13:32:02 linux-s6kv systemd[1]: postgresql.service: Control process exited, code=exit>
Dec 29 13:32:02 linux-s6kv systemd[1]: postgresql.service: Failed with result 'exit-code'.
Dec 29 13:32:02 linux-s6kv systemd[1]: Failed to start PostgreSQL database server.
Code:
systemctl enable postgresql
Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service → /usr/lib/sys
temd/system/postgresql.service.
Code:
systemctl start postgresql
Job for postgresql.service failed because the control process exited with error code.
See "systemctl status postgresql.service" and "journalctl -xe" for details.
Any ideas?
 
Old 12-29-2018, 06:47 PM   #2
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: A few
Posts: 4,136

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Quote:
Originally Posted by ultra99 View Post
This is what I did:
Code:
systemctl status postgresql
● postgresql.service - PostgreSQL database server
   Loaded: loaded (/usr/lib/systemd/system/postgresql.service; disabled; vendor preset: disa>
   Active: failed (Result: exit-code) since Sat 2018-12-29 13:32:02 EST; 3h 59min ago

Dec 29 13:32:02 linux-s6kv systemd[1]: Starting PostgreSQL database server...
Dec 29 13:32:02 linux-s6kv postgresql-script[1646]: postgres: could not access the server co>
It fails because it canít access some server. Try displaying the full lines; I think the option for that is -l. Also use journalctl to display the full postgresql log.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Difference Between PostgreSQL And MySQL And How To Migrate From MySQL To PostgreSQL LXer Syndicated Linux News 0 05-27-2017 09:26 PM
LXer: The PostgreSQL Global Development Group's PostgreSQL LXer Syndicated Linux News 0 03-31-2016 08:35 PM
When Centos 6.3 starting,All services starting OK and starting Atd: OK .And stop scr. DeSouffle Linux - General 4 08-29-2013 01:46 AM
[SOLVED] Starting File System .. Starting File System .. Starting File System .. Starting File rmknox Linux - Newbie 3 08-16-2010 12:30 AM
postgresql -odbc & postgresql-jdbc installation kjsubbu Linux - Software 0 06-19-2003 03:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration