Not sure what shell you're using, but try running:
. /opt/CPshrd-R62/tmp/.CPprofile.sh

That should set your environment right. That should also be run when you login as root. Check what root has...