[ngw] monitor/restart groupwise agents

Elbert LaGrew Elbert.LaGrew at katun.com
Wed Dec 12 16:10:33 UTC 2012


Has Novell's documentation changed on that then?
 
--El

>>> On 12/12/2012 at 10:08 AM, in message <CAMYRAPMWp1t+ry3j+r3Ua==2qrrFb63PAL4AvbOefdxEpqiT2A at mail.gmail.com>, Joseph Marton <jmmarton at gmail.com> wrote:

That should actually be the default postfix setting.  Earlier versions of
SLES and OES had postfix bound to all IPs, but for quite some time now it
binds by default to just the loopback interface.

Joe


On Wed, Dec 12, 2012 at 9:55 AM, Morris Blackham <mblackham at gw.novell.com>wrote:

> You can have postfix and GWIA coexist.   Set GWIA to bind exclusive to the
> assigned IP.  Then make sure postfix is configured to only listen on
> localhost.  Edit /etc/postfix/main.cf and make sure inet_interfaces
> options is set like this:
>
> inet_interfaces = localhost
>
> --Morris
>
> >>> "Kenneth Etter" <kle at msktd.com> 12/11/2012 4:36 PM >>>
> That works nicely except that I disabled postfix since this server also
> hosts my GWIA.  So I can't get an email notification from it.
>
> Ken
>
>
> >>> On 12/11/2012 at 5:24 PM, in message <
> 50C742100200008D00086BF7 at hermes.cwu.edu>, Greg DeLuca <gdeluca at cwu.EDU>
> wrote:
>
>
> This basic check-up runs every 2 minutes and should work after creating
> the files and setting a few variables....  This setup can be easily
> modified for other agents too.  It also avoids using rcgrpwise status which
> does not always return the proper status or return code.
>
>
> cat /usr/local/bin/check_po
> #!/bin/bash
>
> declare -i CNT=0
> #Modify the name of the GroupWise agent startup file to match the actual
> name.
> CNT=`ps -aef | grep -v grep | grep -c '@admin.poa'`
>
> if [ $CNT -eq 0 ]
> then
> echo "Restarting the Admin POA"
> echo "Restarted the Admin POA" `! date` >> /usr/local/bin/gwpoachk.log
> #Modify the name of the GW agent. Check the name by typing the command
> "rcgrpwise status". Set your email address too.
> /etc/init.d/grpwise start Admin.CWU &
> mail -s "GroupWise Admin POA restarted" user at domain <
> /usr/local/bin/smtpalertpoa.txt
> else
> echo "The GroupWise Admin POA is running"
> fi
>
> ----------------
> cat /usr/local/bin/smtpalertpoa.txt
> # set your po's name and the server's name
> {po} POA on {servername} restarted.
>
> ------------------
> crontab -e
>
> */2 * * * * /usr/local/bin/check_po
>
>
>
> >>> On 12/11/2012 at 01:33 PM, in message <
> 50C7606702000013000E74DA at mail.msktd.com>, Kenneth Etter <kle at msktd.com>
> wrote:
>
>
> Sorry, I know this has been talked about plenty of times, but I can't find
> what I need.  I am running GW 2012 SP1 on OES 11.  I have had a post office
> go dead a couple of times now - just needed a restart.  I would really like
> to have it monitored and auto-restarted in case I am not around when it
> goes down.  I was reading up on the Monitor Agent and GWHA.  Is that my
> only option?  Or are there other ways to monitor and restart a post office
> agent?
>
> Thanks,
> Ken
> _______________________________________________
> ngw mailing list
> ngw at ngwlist.com
> http://ngwlist.com/mailman/listinfo/ngw
>
> Novell GroupWise 2012
> http://www.brainshare.com
> Follow us at twitter.com/brainshare
>
> _______________________________________________
> ngw mailing list
> ngw at ngwlist.com
> http://ngwlist.com/mailman/listinfo/ngw
>
>
_______________________________________________
ngw mailing list
ngw at ngwlist.com
http://ngwlist.com/mailman/listinfo/ngw


More information about the ngw mailing list