Thread: How to Install Postgres 8.3 in Solaris 10 as a service

How to Install Postgres 8.3 in Solaris 10 as a service

From
"Anirban Pal"
Date:
Dear all members,
 
I have been working on postgres (windows), for last 8 months. Recently, a client requrement requires me to install postgres in solaris 10. What I did is this. Untar the deliverables from postgresql.org website, for correct version. Open a command window and write necessary commands to run it. If I want to close postgres, I have to close previously opened window and then do the comand writing task again. And If somebody wants to close or restart the postgres server, he/she have to come physically to the server(in some case remote is not possible). Is it possible to run postgres as a service, in Solaris 10 (64 bit) also, like windows. Waiting for positive reply.
 
Regards
Anirban Pal
 

Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the origin al intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for los s or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no bin ding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.

Re: How to Install Postgres 8.3 in Solaris 10 as a service

From
Merlin Moncure
Date:
On Wed, May 27, 2009 at 5:00 AM, Anirban Pal <anirban.pal@newgen.co.in> wrote:
> Dear all members,
>
> I have been working on postgres (windows), for last 8 months. Recently, a
> client requrement requires me to install postgres in solaris 10. What I did
> is this. Untar the deliverables from postgresql.org website, for correct
> version. Open a command window and write necessary commands to run it. If I
> want to close postgres, I have to close previously opened window and then do
> the comand writing task again. And If somebody wants to close or restart the
> postgres server, he/she have to come physically to the server(in some case
> remote is not possible). Is it possible to run postgres as a service, in
> Solaris 10 (64 bit) also, like windows. Waiting for positive reply.

On solaris (like most unixen), services are controlled with init scripts.

read the following article for a general overview:
http://www.securityfocus.com/infocus/1359

merlin

Re: How to Install Postgres 8.3 in Solaris 10 as a service

From
Emanuel Calvo Franco
Date:
2009/5/27 Anirban Pal <anirban.pal@newgen.co.in>:
> Dear all members,
>
> I have been working on postgres (windows), for last 8 months. Recently, a
> client requrement requires me to install postgres in solaris 10. What I did
> is this. Untar the deliverables from postgresql.org website, for correct
> version. Open a command window and write necessary commands to run it. If I
> want to close postgres, I have to close previously opened window and then do
> the comand writing task again. And If somebody wants to close or restart the
> postgres server, he/she have to come physically to the server(in some case
> remote is not possible). Is it possible to run postgres as a service, in
> Solaris 10 (64 bit) also, like windows. Waiting for positive reply.
>
> Regards
> Anirban Pal
>
>
> Disclaimer :- This e-mail and any attachment may contain confidential,
> proprietary or legally privileged information. If you are not the origin al
> intended recipient and have erroneously received this message, you are
> prohibited from using, copying, altering or disclosing the content of this
> message. Please delete it immediately and notify the sender. Newgen Software
> Technologies Ltd (NSTL) accepts no responsibilities for los s or damage
> arising from the use of the information transmitted by this email including
> damages from virus and further acknowledges that no bin ding nature of the
> message shall be implied or assumed unless the sender does so expressly with
> due authority of NSTL.
>

Remember that in Solaris you have SMF to initialize Postgresql with more
'intelligence'.

Is a perfect document that describes the complete installation of Pgsql on
this platform:

http://dlc.sun.com/pdf/819-5578/819-5578.pdf


--
      Emanuel Calvo Franco
        Sumate al ARPUG !
        ( www.arpug.com.ar)
    ArPUG / AOSUG Member

Re: How to Install Postgres 8.3 in Solaris 10 as a service

From
Emanuel Calvo Franco
Date:
2009/5/27 Emanuel Calvo Franco <postgres.arg@gmail.com>:
> 2009/5/27 Anirban Pal <anirban.pal@newgen.co.in>:
>> Dear all members,
>>
>> I have been working on postgres (windows), for last 8 months. Recently, a
>> client requrement requires me to install postgres in solaris 10. What I did
>> is this. Untar the deliverables from postgresql.org website, for correct
>> version. Open a command window and write necessary commands to run it. If I
>> want to close postgres, I have to close previously opened window and then do
>> the comand writing task again. And If somebody wants to close or restart the
>> postgres server, he/she have to come physically to the server(in some case
>> remote is not possible). Is it possible to run postgres as a service, in
>> Solaris 10 (64 bit) also, like windows. Waiting for positive reply.
>>
>> Regards
>> Anirban Pal
>>
>>
>> Disclaimer :- This e-mail and any attachment may contain confidential,
>> proprietary or legally privileged information. If you are not the origin al
>> intended recipient and have erroneously received this message, you are
>> prohibited from using, copying, altering or disclosing the content of this
>> message. Please delete it immediately and notify the sender. Newgen Software
>> Technologies Ltd (NSTL) accepts no responsibilities for los s or damage
>> arising from the use of the information transmitted by this email including
>> damages from virus and further acknowledges that no bin ding nature of the
>> message shall be implied or assumed unless the sender does so expressly with
>> due authority of NSTL.
>>
>
> Remember that in Solaris you have SMF to initialize Postgresql with more
> 'intelligence'.
>
> Is a perfect document that describes the complete installation of Pgsql on
> this platform:
>
> http://dlc.sun.com/pdf/819-5578/819-5578.pdf
>

Sorry, here is the correct link:
http://www.sun.com/software/solaris/howto_guides.jsp



--
      Emanuel Calvo Franco
        Sumate al ARPUG !
        ( www.arpug.com.ar)
    ArPUG / AOSUG Member

Re: How to Install Postgres 8.3 in Solaris 10 as a service

From
"Anirban Pal"
Date:
@Merlin,
@Emanuel

Thank you for your reply. It will surely solve my problem.



> Dear all members,
>
> I have been working on postgres (windows), for last 8 months. Recently, a
> client requrement requires me to install postgres in solaris 10. What I
> did
> is this. Untar the deliverables from postgresql.org website, for correct
> version. Open a command window and write necessary commands to run it. If
> I
> want to close postgres, I have to close previously opened window and then
> do
> the comand writing task again. And If somebody wants to close or restart
> the
> postgres server, he/she have to come physically to the server(in some case
> remote is not possible). Is it possible to run postgres as a service, in
> Solaris 10 (64 bit) also, like windows. Waiting for positive reply.

On solaris (like most unixen), services are controlled with init scripts.

read the following article for a general overview:
http://www.securityfocus.com/infocus/1359

merlin

Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information.
Ifyou are not the original intended recipient and have erroneously received this message, you are prohibited from
using,copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender.
NewgenSoftware Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage arising from the use of the
informationtransmitted by this email including damages from virus and further acknowledges that no binding nature of
themessage shall be implied or assumed unless the sender does so expressly with due authority of NSTL.