[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: sigpipes on solaris 8, reprise...
From: |
Baker, Darryl |
Subject: |
RE: sigpipes on solaris 8, reprise... |
Date: |
Thu, 10 Mar 2005 16:47:02 -0500 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Isn't that AllowMultipleConnectionsFrom( .... )?
_____________________________________________________________________
Darryl Baker
gedas USA, Inc.
Operational Services Business Unit
3800 Hamlin Road
Auburn Hills, MI 48326
US
phone +1-248-754-5341
fax +1-248-754-6399
Darryl.Baker@gedas.com
http://www.gedasusa.com
_____________________________________________________________________
> -----Original Message-----
> From: help-cfengine-bounces+darryl.baker=gedas.com@gnu.org
> [mailto:help-cfengine-bounces+darryl.baker=gedas.com@gnu.org]On
> Behalf Of Mark Burgess
> Sent: Thursday, March 10, 2005 3:56 PM
> To: Marco Marongiu
> Cc: help-cfengine@gnu.org
> Subject: Re: sigpipes on solaris 8, reprise...
>
>
>
> Denying repeated connections means that you need to add your host
> to
>
> AddMultipleConnectionsFrom = ( )
>
> Mark
>
> On Thu, 2005-03-10 at 16:04 +0100, Marco Marongiu wrote:
> > Hello everybody
> >
> > First of all, I would like to thank those that replied
> "offline" to my
> > previous post and tried to help me solving the problem.
> Unfortunately,
> > nothing has changed here :-(((((
> >
> > Summing up, this is what happens.
> >
> > I compiled cfengine 2.1.13 (and also tried a CVS snapshot)
> with both gcc
> > 3.4.2 and 3.0.4, against libpcre 5.0, OpenSSL and Berkeley
> db 4.3.27 and
> > 3.2.9+patches, on Solaris 8:
> >
> > # uname -a
> > SunOS web-pre-se 5.8 Generic_117350-18 sun4u sparc
> > SUNW,Serverblade1
> >
> > The application sigpipes and dies when it does a remote
> copy operation,
> > with the message:
> >
> > >
> ********************************************************************
> *
> > > Main Tree Sched: copy pass 1 @ Thu Mar 10 15:41:29 2005
> > >
> ********************************************************************
> *
> > >
> > > Checking copy from
> ims-pre-se:/var/cfengine/repository/config/ntp.conf to
> /etc/inet/ntp.conf
> > > Connect to ims-pre-se = 10.39.17.16, port =5308
> > > Updating last-seen time for ims-pre-se
> > > Loaded /var/cfengine/ppkeys/root-10.39.17.16.pub
> > > cfengine:web-pre-se: Received signal 13 (SIGPIPE) while
> doing [no_active_lock]
> > > cfengine:web-pre-se: Logical start time Thu Mar 10 15:41:29
> > > 2005 cfengine:web-pre-se: This sub-task started really at Thu
> Mar 10 15:41:29 2005
> >
> > An output of truss -o /tmp/cfagent.truss -f
> /var/cfengine/bin/cfagent is
> > attached.
> >
> > Besides, trying to see if I could solve the problem, I
> spotted a problem
> > pattern.
> >
> > If I do these, something happens (well, half of something).
> >
> > 1) stop "everything cf" running on both the policy host and
> > client:
> > pkill cf
> >
> > 2) remove the cf_lastseen.db on both the policy host and client:
> > rm /var/cfengine/cf_lastseen.db
> >
> > 3) run cfagent on the policy host and let all the needed
> services come up
> > /var/cfengine/bin/cfagent -v
> >
> > 4) run cfagent on the client:
> > /var/cfengine/bin/cfagent -v | tee /tmp/cfagent.log
> >
> > the copy from update.conf works, the copy from cfagent.conf and
> > all subsequent attempts to run a copy from cfagent die.
> >
> > If you run cfagent again this is what you see on the server
> side in the
> > /var/adm/messages:
> >
> > > Mar 10 16:00:10 ims-pre-se cfservd[19111]: [ID 823470
> daemon.error] Denying repeated connection from ::ffff:10.39.17.40
> >
> > So it looks like the policy host closes the connection
> while the client
> > tries to read or write to it, and cfagent dies sigpipe...
> >
> > Can anybody help?
> >
> > Ciao and thanks
> > --Marco
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://lists.gnu.org/mailman/listinfo/help-cfengine
>
>
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
>
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Security 7.0.3
iQA/AwUBQjDAWle1Bhkj9lZeEQLYwQCgwCyUAFxXl2A5kF8n+AEfGahJfrQAn2HM
3rormM38k+qA0FMLSBe9vq6c
=35Dj
-----END PGP SIGNATURE-----
Baker, Darryl.vcf
Description: Binary data