[Mauiusers] /etc/maui.cfg ignored by clients
Dave Jackson
jacksond at clusterresources.com
Mon Jan 16 13:26:03 MST 2006
Prentice,
It appears that Maui is expecting the parameter 'SERVERHOMEDIR' not
'MAUIHOMEDIR'. We have corrected the documentation and the new releases
of Maui will accept either parameter. Thanks for pointing this out.
Dave
On Wed, 2006-01-11 at 17:02 -0500, Bisbal, Prentice wrote:
> It appears that /etc/maui.cfg is read and then ignored by clients.
>
> I have maui running on my server, where the config file
> is /var/local/maui/spool/maui.cfg Maui was installed to /usr/local,
> and /usr/local is an NFS filesystem, so all nodes have access to the
> executables. I would like to be able to run the admin commands from
> any node without specifying the server on the command line.
>
> I created the file /usr/local/etc/maui/maui.cfg for use by the
> clients, and created /etc/maui.cfg that contains this:
>
> MAUIHOMEDIR /usr/local/etc/maui
>
> When I run a command line diagnose, I get an error:
>
> diagnose -r
> WARNING: cannot open configfile '/var/local/maui/spool/maui.cfg'
> INFO: using internal defaults
> ERROR: cannot connect to '' port 4055
>
> Using strace shows that diagnose reads /etc/maui.cfg, and then ignores
> it:
>
> <snip>
>
> stat64("/etc/maui.cfg", {st_mode=S_IFREG|0644, st_size=32, ...}) = 0
> open("/etc/maui.cfg", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=32, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb75f4000
> read(3, "MAUIHOMEDIR /usr/local/etc/maui\n", 4096) = 32
> close(3) = 0
> munmap(0xb75f4000, 4096) = 0
> time([1137014525]) = 1137014525
> stat64("/var/local/maui/spool/.moab.key", 0xbffe8294) = -1 ENOENT (No
> such file
> or directory)
> stat64("/var/local/maui/spool/maui.cfg", 0xbffe8274) = -1 ENOENT (No
> such file or directory)
> write(2, "WARNING: cannot open configfile"..., 66WARNING: cannot
> open configfile '/var/local/maui/spool/maui.cfg'
> ) = 66
> write(2, "INFO: using internal default"..., 34INFO: using
> internal defaults
> ) = 34
>
> </snip>
>
>
> Prentice
>
>
> _______________________________________________
> mauiusers mailing list
> mauiusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/mauiusers
More information about the mauiusers
mailing list