Cfengine Help: Re: The default policy restarts running cf-serverd, cf-monitord on Solaris 10

2011-01-27 Thread no-reply
Forum: Cfengine Help Subject: Re: The default policy restarts running cf-serverd, cf-monitord on Solaris 10 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,20008,20296#msg-20296 This issue has now been resolved. The problem about zones is that -z etc doesn't work in so

Cfengine Help: Re: The default policy restarts running cf-serverd, cf-monitord on Solaris 10

2011-01-27 Thread no-reply
Forum: Cfengine Help Subject: Re: The default policy restarts running cf-serverd, cf-monitord on Solaris 10 Author: berntjernberg Link to topic: https://cfengine.com/forum/read.php?3,20008,20295#msg-20295 Hi, Why not use the following command regardless of which zone you are in: ps -z -fo

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-23 Thread Erlend Leganger
On 22 January 2011 23:39, Mark Burgess wrote: > > I wonder why this was not picked up before. Can you please try svn now? > There was a missing prototype. > Still dumps core, but a different error this time. - Erlend bash-3.00# make; make install ... bash-3.00# grep ForeignZone src/prototypes3.

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-23 Thread Erlend Leganger
On 22 January 2011 23:39, Mark Burgess wrote: > Can you please try svn now? I would if I knew how to compile from svn on Solaris - I've figured out how to do it from the tarball, but I get stuck on autoreconf below. Any tips? - Erlend bash-3.00# cd workdir/trunk/ bash-3.00# head -8 .svn/entries

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-22 Thread Mark Burgess
I wonder why this was not picked up before. Can you please try svn now? There was a missing prototype. On 01/22/2011 11:28 PM, Erlend Leganger wrote: > On 21 January 2011 10:07, Mark Burgess wrote: >> >> That's unlikely. Can you provide a gdb backtrace please? > > After make; make install on th

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-22 Thread Erlend Leganger
On 21 January 2011 10:07, Mark Burgess wrote: > > That's unlikely. Can you provide a gdb backtrace please? After make; make install on the 3.1.3 tarball of today, I get the runlog shown below when I run in the global zone on a virgin Solaris 10 x86 complete installation. It looks like it has some

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-21 Thread Erlend Leganger
On 21 January 2011 10:07, Mark Burgess wrote: > That's unlikely. Can you provide a gdb backtrace please? I don't have gdb installed, so I need to duck into Solaris manually-resolving-all-dependencies hell to install it. Hopefully I will get to do this over the weekend. - Erlend ___

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-20 Thread Erlend Leganger
On 9 January 2011 11:10, Mark Burgess wrote: > Erland, please try the current svn (1681) and let me know if this works > for you. > I haven't figured out how to compile from svn on my Solaris box, but I tried it with cfengine-3.1.3.tar.gz. When built in the same way as 3.1.2, the cf-agent v3.1.3

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-09 Thread Mark Burgess
Erland, please try the current svn (1681) and let me know if this works for you. On 01/03/2011 10:06 AM, Erlend Leganger wrote: > On 3 January 2011 08:17, Mark Burgess wrote: >> >> the ps issue is already fixed as far as I know in current trunk svn. > > Yes, enterprise_stubs.c has been updated

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-03 Thread Erlend Leganger
On 3 January 2011 08:17, Mark Burgess wrote: > > the ps issue is already fixed as far as I know in current trunk svn. Yes, enterprise_stubs.c has been updated to append "-z global" for the global zone (see below). I think this still will fail on Solaris, because the use of the -e option (as set

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-02 Thread Mark Burgess
Erland, the ps issue is already fixed as far as I know in current trunk svn. M On 01/03/2011 08:11 AM, Erlend Leganger wrote: > On 3 January 2011 07:26, Erlend Leganger > wrote: > > Fixing this is a bit tricky, since the -e option cancels out any -z >

Re: The default policy restarts running cf-serverd,cf-monitord on Solaris 10

2011-01-02 Thread Erlend Leganger
On 3 January 2011 07:26, Erlend Leganger wrote: > Fixing this is a bit tricky, since the -e option cancels out any -z > global option (ref man ps). This is what you want in a global zone > (with -z option, no -e option): > > /bin/ps -z global -o user,pid,ppid,pgid, ... > > while this is what you

The default policy restarts running cf-serverd, cf-monitord on Solaris 10

2011-01-02 Thread Erlend Leganger
If I build cfengine v3.1.2 on Solaris10 and run the commands below directly after make install, the default policies tries to restart cf-serverd,cf-monitord every time cf-agent is run, regardless of whether the processes already are running. Consequently, I get an "Address already in use" bind erro