[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Moving cfengine from one file system to another
From: |
Garrett, Matt M SITI-ITDIEEE |
Subject: |
RE: Moving cfengine from one file system to another |
Date: |
Thu, 22 May 2003 15:48:14 +0100 |
Mark
I have found the problem.
By doing a truss on the cfservd on the server
e.g
recv(3, " t 6 8\0\0\0\0", 8, 0) = 8
recv(3, " S Y N C H 1 0 5 3 6 1".., 68, 0) = 68
time() = 1053614055
lstat("/usr/local/cfengine/inputs/config/cfservd.conf", 0xFEA03B68) = 0
resolvepath("/usr/local/cfengine/inputs/config/cfservd.conf",
"/local/data1/cfengine/inputs/config/cfservd.conf", 1024) = 36
getuid() = 0 [0]
fstat(6, 0xFEA03438)
It can be seen that resolvepath is pointing to /local/data1/ so the fix is to
make sure
that cfservd.conf file on the server has the following admin
/local/data1/cfengine/inputs *.DOMAIN
The restart cfservd and all is fixed.
I should have done this in the first place.
Matt
Matthew Garrett
Unix System Support
Shell Information Technology International Limited
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom
Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373
Email: address@hidden
Internet: http://www.shell.com
> -----Original Message-----
> From: Mark Burgess [mailto:address@hidden
> Sent: 22 May 2003 15:22
> To: Garrett, Matt M SITI-ITDIEEE
> Cc: address@hidden
> Subject: Re: Moving cfengine from one file system to another
>
>
> On 22 May, Garrett, Matt M SITI-ITDIEEE wrote:
> > Folks
> >
> > I have cfengine 2.0.6 Solaris 8 installed on /usr/local/cfengine
> > This is the / (root) file system which is very short of disk space
> >
> > What I thought I could do was to move the cfengine stuff
> > from /usr/local/cfengine to /local/data1/cfengine (/local/data1 is a
> > 2nd disk) I then created a softlink ln -s /local/data1/cfengine
> > /usr/local/cfengine
> >
> > So in effect I can do cd /usr/local/cfengine and still get the
> > cfengine
> >
> > However on doing a cfrun I know get the following errors
> > cfengine:HOSTNAME: Can't stat /usr/local/cfengine/inputs/solaris in
> > copy
> >
> > Any idea on how to fix.
> > Do I need to recompile the server side of cfengine or do I need to
> > recompile the clients
> >
> > Thanks
> >
> > Matt
> >
> >
> > Matthew Garrett
> > Unix System Support
> > Shell Information Technology International Limited
> > Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United
> > Kingdom
> >
> > Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373
> > Email: address@hidden
> > Internet: http://www.shell.com
> >
> >
> > _______________________________________________
> > Bug-cfengine mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-cfengine
>
>
> I don't think this has anything to do with cfengine. If the file
> is available and is mount/NFS readable (to root) etc and the links
> point correctly then there should be no problem for cfengine
> to find the file.
>
> M
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Work: +47 22453272 Email: address@hidden
> Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>