Zmbkpose icon indicating copy to clipboard operation
Zmbkpose copied to clipboard

/usr/local/bin/zmbkpose: line 236: -x: command not found

Open hostingnuggets opened this issue 8 years ago • 1 comments

When running zmbkpose from the zimbra user crontab it does not work and fails with the following error:

/usr/local/bin/zmbkpose: line 236: -x: command not found

Line 236 shows that ldapsearch is being ran but does not work as /opt/zimbra/bin is not in any PATH. I think you should document that the PATH needs to be set.

hostingnuggets avatar Mar 28 '16 11:03 hostingnuggets

The same happens with me. As a correction, I loaded the user zimbra's bashrc, as the @hostingnuggets said:

###### MAIN ############
# Here the code loads the config file
source /etc/zmbkpose/zmbkpose.conf
source /opt/zimbra/.bashrc

lucascbeyeler avatar Aug 17 '16 03:08 lucascbeyeler