Thread: postgres 9.3

postgres 9.3

From
Ramesh T
Date:
I changed archive_command in postgresql.conf and restarted it.postgres 3 installed on linux.connected from putty.
after restarted it
getting message like


-bash-4.1$ service postgres-9.3 start
postgres-9.3: unrecognized service

but files available at server side..
any help..?

Re: postgres 9.3

From
Adrian Klaver
Date:
On 07/31/2015 09:39 AM, Ramesh T wrote:
> I changed archive_command in postgresql.conf and restarted it.postgres 3
> installed on linux.connected from putty.

There is no Postgres 3, but given your comments below I going to go on
the assumption you are talking about 9.3.

What Linux distribution and version?

How did you stop Postgres?

> after restarted it
> getting message like
>
>
> -bash-4.1$ service postgres-9.3 start
> postgres-9.3: unrecognized service

Well I would start with what is saying, it cannot find the init file for
postgres-9.3. Exactly what that should be depends on the answer to my
first question. In the meantime look in /etc/init.d/ and see if there
are any postgres* scripts.

>
> but files available at server side..
> any help..?
>


--
Adrian Klaver
adrian.klaver@aklaver.com


Re: postgres 9.3

From
John R Pierce
Date:
On 7/31/2015 9:39 AM, Ramesh T wrote:
> -bash-4.1$ service postgres-9.3 start
> postgres-9.3: unrecognized service

on redhat/centos type systems, the service name is postgresql-9.3

note that the service command is meant to be run by the root user, a $
prompt in bash generally indicates you're not running as root.



--
john r pierce, recycling bits in santa cruz



Re: postgres 9.3

From
Andreas Joseph Krogh
Date:
På fredag 31. juli 2015 kl. 18:39:24, skrev Ramesh T <rameshparnanditech@gmail.com>:
I changed archive_command in postgresql.conf and restarted it.postgres 3 installed on linux.connected from putty.
after restarted it
getting message like
 
 
-bash-4.1$ service postgres-9.3 start
postgres-9.3: unrecognized service
 
but files available at server side..
any help..?
 
 
The version goes last:
service postgresql start 9.3
 
--
Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
 
Attachment

Re: postgres 9.3

From
John R Pierce
Date:
On 8/1/2015 3:08 AM, Andreas Joseph Krogh wrote:
The version goes last:
service postgresql start 9.3

thats very OS/distribution specific.

-- 
john r pierce, recycling bits in santa cruz