[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ExecResult(/command) must specify an absolute path
From: |
Mark Burgess |
Subject: |
Re: ExecResult(/command) must specify an absolute path |
Date: |
Mon, 20 Feb 2006 15:08:55 +0100 |
Did you compile it yourself or is this a package? I have not seen
anything like this but I did hear someone else who had had the same
problem.
M
On Mon, 2006-02-20 at 07:38 -0500, Brian E. Seppanen wrote:
> On Sat, 18 Feb 2006, Mark Burgess wrote:
>
> > Please report whether this is true of the current release.
>
> I can't run the current release. I get the following when I try to run a
> binary from a clean compile on debian sparc64
>
> Setting cfengine new port to 5308
> Setting cfengine old port to 5308
> Reference time set to Fri Feb 17 15:13:48 2006
>
> GNU Configuration Engine -
> 2.1.18
> Free Software Foundation 1994-
> Donated by Mark Burgess, Faculty of Engineering,
> Oslo University College, 0254 Oslo, Norway
>
> ------------------------------------------------------------------------
>
>
> Operating System Type is linux
> Operating System Release is 2.4.27.08032005
> Architecture = sparc64
>
>
> Using internal soft-class linux for host linux
>
> The time is now Fri Feb 17 15:13:48 2006
>
>
> ------------------------------------------------------------------------
>
> Additional hard class defined as: 32_bit
> Additional hard class defined as: linux_2_4_27_08032005
> Additional hard class defined as: linux_sparc64
> Additional hard class defined as: linux_sparc64_2_4_27_08032005
> Additional hard class defined as:
> linux_sparc64_2_4_27_08032005__1_SMP_Wed_Aug_3_10_56_05_CDT_2005
>
> GNU autoconf class from compile time: compiled_on_linux_gnu
>
> Address given by nameserver: 192.168.1.2
> : Couldn't get interfaces
> : ioctl: Cannot allocate memory
>
>
>
> > M
> >
> >
> > On Fri, 2006-02-17 at 10:00 -0500, Brian E. Seppanen wrote:
> >> I'm running cfengine-2.1.13 and I have the following in my control section
> >>
> >> solaris.Hr09.Day17.February.Yr2006::
> >> usera = ( ReturnsZero("/bin/getent passwd usera") )
> >>
> >> and I'm getting the following error
> >> cfengine::in/cfagent -i -:
> >> cf:cfengine::/var/cfengine/inputs/cf.solaris:25: ExecResult(/command)
> >> must specify an absolute path
> >>
> >> I've tried also using
> >>
> >> checklogin = ( 'passwd usera' )
> >>
> >> usera = ( ReturnsZero("/bin/getent $checklogin") )
> >>
> >> And that doesn't work either same error.
> >>
> >> Anyone have any suggestions on how a call to getent which requires a
> >> specific database reference followed by a username could be accomplish.
> >>
> >> What I'm trying to do is determine if a user has an account on a specific
> >> host and then take an action if they do.
> >>
> >> Thanks,
> >>
> >>
> >> Brian Seppanen
> >> 608.826.1464
> >>
> >>
> >> _______________________________________________
> >> Help-cfengine mailing list
> >> Help-cfengine@gnu.org
> >> http://lists.gnu.org/mailman/listinfo/help-cfengine
> >
>
> Brian Seppanen
> 608.826.1464
Message not available