In addition to installing the packages, ZCS's install.sh script does a lot of stuff to set up the system for operation (cron jobs, zimbra user creation, etc). The LDAP startup script is calling sudo to start slapd with the correct user and permissions. If the zimbra user isn't in the /etc/sudoers file, it might prompt you for the zimbra user's password when it tries to do the sudo.
The short answer is to move the copied /opt/zimbra directory out of the way, run install.sh to set everything up, then put your /opt/zimbra over it. That isn't guaranteed to work either, as there are host-specific configuration items all over the config keys and directory.
What exactly are you hoping to accomplish by copying the existing installation over from another working box? Are you testing restoration of messages after a rebuild of a failed server, or are you trying to clone out your ZCS install to other machines?
Hope this helps
Sean |