You need to make sure that ZENHOME is one of the environment variables
preserved by sudo.
Each distribution seems to have it's own particular quirks with this
configuration.
There's at least one platform that needs an upgraded sudo, but I cannot
remember which one it is.
Try the config I posted here:
http://lists.zenoss.org/pipermail/zenoss-users/2006/001587.html
-Eric
Michael S. wrote:
The ZENHOME variable is defined in /etc/init.d/zenoss, but it doesn't
get passed to each of the daemons when sudo is called. Example output:
zenxevent /usr/local/zenoss/bin/zenxevent: line 3: /bin/zenfunctions:
No such file or directory.
zenmodeler /usr/local/zenoss/bin/zenmodeler: line 3:
/bin/zenfunctions: No such file or directory.
We could hardcode the ZENHOME in each of the numerous sub-scripts, but
must be a simpler way to get the ZENHOME inherited from zenoss script.
michael shillingford
You need to set ZENHOME in the startup script.
-EAD
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users