On 08/02/2016 01:04 PM, Patrick B wrote:
> Hi guys,
>
> I've installed potgres on a Ubuntu machine.
Postgres version?
Ubuntu version?
How did you install Postgres and from where?
>
> When I start it, it doesn't start...
Show the command you used to start it.
>
> /etc/init.d/postgresql status
>
>
> *●*postgresql.service - PostgreSQL RDBMS
> Loaded: loaded (/lib/systemd/system/postgresql.service; enabled;
> vendor preset: enabled)
> Active: *active (exited)*since Tue 2016-08-02 19:54:06 UTC; 7min ago
> Process: 12963 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
> Main PID: 12963 (code=exited, status=0/SUCCESS)
> Tasks: 0
> Memory: 0B
> CPU: 0
> CGroup: /system.slice/postgresql.service
>
>
> But when looking for the process:
> ps fax/ps aux
>
> ... it doesn't show postgres.
>
> Also, the logs aren't being created. the pg_log folder is empty.
>
>
> It's my first time using Ubuntu....
>
> I've done a pg_basebackup from my master and I'm trying to start this
> slave server.
>
> Do you guys know what should be going on?
>
> Cheers
> Patrick
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com