Unix Technical Forum

Task manager fails to terminate postmaster process.

This is a discussion on Task manager fails to terminate postmaster process. within the pgsql Admins forums, part of the PostgreSQL category; --> Hi everyone, I'm new to PostgreSQL administration. I hope the people here will have some ideas to help me ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 01:24 AM
Geoffrey Ducharme
 
Posts: n/a
Default Task manager fails to terminate postmaster process.

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

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 01:24 AM
Joshua D. Drake
 
Posts: n/a
Default Re: Task manager fails to terminate postmaster process.

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



---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-10-2008, 01:24 AM
Geoffrey Ducharme
 
Posts: n/a
Default Re: Task manager fails to terminate postmaster process.

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
>
>
>


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com