pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Task manager fails to terminate postmaster process.
3+ messages / 2 participants
[nested] [flat]

* Task manager fails to terminate postmaster process.
@ 2005-02-18 19:25 Geoffrey Ducharme <geoffrey.ducharme@gmail.com>
  2005-02-18 19:42 ` Re: Task manager fails to terminate postmaster process. Joshua D. Drake <jd@commandprompt.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Geoffrey Ducharme @ 2005-02-18 19:25 UTC (permalink / raw)
  To: pgsql-admin

Hi everyone, I'm new to PostgreSQL administration. I hope the people
here will have some ideas to help me out.

My current situation is that I am moving my database across machines
without access to network. It would be possible, but more difficult to
install a network.

I understand that the recommanded way to make a back up is to shut
down the postmaster and related process, then copy the files. This
worked fine on the donor machine. (Windows XP SP2 postgresql 8.0.1)

I grabbed the file to send them to the receiving machine (Win 2000) On
this one, however, I had a problem. The Task Manager does not allow me
to shut off the postmaster process. Specificaly the error message
says:"Unable to terminate process, the requested operation could not
be completed. Access is denied".

My impression is that such an error message wold only happen on system
critical process.

So, what is the problem? Is this the right path to migration? Would
installing the network a be a better solution?

Wondering,

Geoffrey



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Task manager fails to terminate postmaster process.
  2005-02-18 19:25 Task manager fails to terminate postmaster process. Geoffrey Ducharme <geoffrey.ducharme@gmail.com>
@ 2005-02-18 19:42 ` Joshua D. Drake <jd@commandprompt.com>
  2005-02-18 22:39   ` Re: Task manager fails to terminate postmaster process. Geoffrey Ducharme <geoffrey.ducharme@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Joshua D. Drake @ 2005-02-18 19:42 UTC (permalink / raw)
  To: Geoffrey Ducharme <geoffrey.ducharme@gmail.com>; +Cc: pgsql-admin

Geoffrey Ducharme wrote:
> Hi everyone, I'm new to PostgreSQL administration. I hope the people
> here will have some ideas to help me out.
> 
> My current situation is that I am moving my database across machines
> without access to network. It would be possible, but more difficult to
> install a network.
> 
> I understand that the recommanded way to make a back up is to shut
> down the postmaster and related process, then copy the files. This
> worked fine on the donor machine. (Windows XP SP2 postgresql 8.0.1)
> 
> I grabbed the file to send them to the receiving machine (Win 2000) On
> this one, however, I had a problem. The Task Manager does not allow me
> to shut off the postmaster process. Specificaly the error message
> says:"Unable to terminate process, the requested operation could not
> be completed. Access is denied".

It sounds like you are trying to shut down the service without being an 
administrator or the owner of PostgreSQL?

Sincerely,

Joshua D. Drake

> 
> My impression is that such an error message wold only happen on system
> critical process.
> 
> So, what is the problem? Is this the right path to migration? Would
> installing the network a be a better solution?
> 
> Wondering,
> 
> Geoffrey
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq


-- 
Command Prompt, Inc., your source for PostgreSQL replication,
professional support, programming, managed services, shared
and dedicated hosting. Home of the Open Source Projects plPHP,
plPerlNG, pgManage,  and pgPHPtoolkit.
Contact us now at: +1-503-667-4564 - http://www.commandprompt.com

Attachments:

jd.vcf (text/x-vcard, 638B) download begin:vcard fn:Joshua D. Drake n:Drake;Joshua D. org:Command Prompt, Inc. adr:;;PO Box 215;Cascade Locks;Oregon;97014;USA email;internet:jd@commandprompt.com title:Consultant tel;work:503-667-4564 tel;fax:503-210-0334 note:Command Prompt, Inc. is the largest and oldest US based commercial PostgreSQL support provider. We provide the only commercially viable integrated PostgreSQL replication solution, but also custom programming, and support. We authored the book Practical PostgreSQL, the procedural language plPHP, and adding trigger capability to plPerl. x-mozilla-html:FALSE url:http://www.commandprompt.com/ version:2.1 end:vcard
^ permalink raw reply [nested|flat] 3+ messages in thread

* Re: Task manager fails to terminate postmaster process.
  2005-02-18 19:25 Task manager fails to terminate postmaster process. Geoffrey Ducharme <geoffrey.ducharme@gmail.com>
  2005-02-18 19:42 ` Re: Task manager fails to terminate postmaster process. Joshua D. Drake <jd@commandprompt.com>
@ 2005-02-18 22:39   ` Geoffrey Ducharme <geoffrey.ducharme@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Geoffrey Ducharme @ 2005-02-18 22:39 UTC (permalink / raw)
  To: Joshua D. Drake <jd@commandprompt.com>; +Cc: pgsql-admin

Thanks for the tip. I tried logging in as the service and I managed to
shut down the service.

I also saw how I had originally misconfigured the system. Since not
all accounts are stored in the same place, I had to dig in a little
deeper to grab the old, wrong account. From there, reinstalling
Postgresql, "dump"ing from the XP machine and migrating was a snap.

Thank you again,

Geoffrey


On Fri, 18 Feb 2005 11:42:15 -0800, Joshua D. Drake
<jd@commandprompt.com> wrote:
> Geoffrey Ducharme wrote:
> > Hi everyone, I'm new to PostgreSQL administration. I hope the people
> > here will have some ideas to help me out.
> >
> > My current situation is that I am moving my database across machines
> > without access to network. It would be possible, but more difficult to
> > install a network.
> >
> > I understand that the recommanded way to make a back up is to shut
> > down the postmaster and related process, then copy the files. This
> > worked fine on the donor machine. (Windows XP SP2 postgresql 8.0.1)
> >
> > I grabbed the file to send them to the receiving machine (Win 2000) On
> > this one, however, I had a problem. The Task Manager does not allow me
> > to shut off the postmaster process. Specificaly the error message
> > says:"Unable to terminate process, the requested operation could not
> > be completed. Access is denied".
> 
> It sounds like you are trying to shut down the service without being an
> administrator or the owner of PostgreSQL?
> 
> Sincerely,
> 
> Joshua D. Drake
> 
> >
> > My impression is that such an error message wold only happen on system
> > critical process.
> >
> > So, what is the problem? Is this the right path to migration? Would
> > installing the network a be a better solution?
> >
> > Wondering,
> >
> > Geoffrey
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 5: Have you checked our extensive FAQ?
> >
> >                http://www.postgresql.org/docs/faq
> 
> --
> Command Prompt, Inc., your source for PostgreSQL replication,
> professional support, programming, managed services, shared
> and dedicated hosting. Home of the Open Source Projects plPHP,
> plPerlNG, pgManage,  and pgPHPtoolkit.
> Contact us now at: +1-503-667-4564 - http://www.commandprompt.com
> 
> 
>



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2005-02-18 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-02-18 19:25 Task manager fails to terminate postmaster process. Geoffrey Ducharme <geoffrey.ducharme@gmail.com>
2005-02-18 19:42 ` Joshua D. Drake <jd@commandprompt.com>
2005-02-18 22:39   ` Geoffrey Ducharme <geoffrey.ducharme@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox