Operating System - HP-UX
1753424 Members
5045 Online
108793 Solutions
New Discussion юеВ

How to stop postmaster and postgres process

 
Anish Nayyar
Advisor

How to stop postmaster and postgres process

Hi,
I want to kill the postmaster process. I killed it using command kill -9 . But after 2 to 3 minutes it is again visible . How could I stop it forever, so that even after a reboot it didn't get started.
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: How to stop postmaster and postgres process

Are you talking about sendmail?
/sbin/init.d/sendmail stop

To stop it on reboot you have to change the /etc/rc.config.d/*mail* file.
Anish Nayyar
Advisor

Re: How to stop postmaster and postgres process

This is not working...
My problem is related to process

/opt/sfmdb/pgsql/bin/postmaster -i -D /var/opt/sfmdb/pgsql
Dennis Handly
Acclaimed Contributor

Re: How to stop postmaster and postgres process

>I want to kill the postmaster process.

I should have asked why?
This seems like some diagnostic process "SFM". Perhaps you should get some patches for that or disable that.
Anish Nayyar
Advisor

Re: How to stop postmaster and postgres process

I want to kill the postmaster process because I don't want to run some unwanted processes on my machine.
Dennis Handly
Acclaimed Contributor

Re: How to stop postmaster and postgres process

>I want to kill the postmaster process because I don't want to run some unwanted processes

If you don't care about your hardware reliability, I suppose you can swremove or unconfigure the diagnostic demons.