[Mauiusers] /etc/maui.cfg ignored by clients

Bisbal, Prentice PBisbal at LexPharma.com
Wed Jan 11 15:02:51 MST 2006


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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/mauiusers/attachments/20060111/ef412875/attachment.html


More information about the mauiusers mailing list