Environment
Novell Open Enterprise Server 11 (OES11)
Domain Services for Windows
DSfW
Situation
Installing OES11 DSfW. The install fails with "Can't locate Term/ReadKey.pm"
Apparmor is not installed
Looking at the /var/log/YaST/y2log it shows:
2012-01-20 14:54:28 <1> DSfW2(2921) [YCP] Edirectory.ycp:4056 Edirectory:Executing: XADDOMAINADMINNAME='cn=Administrator.cn=Users.dc=novell.dc=dc=com' XADPARENTDOMAINADMIN='' perl /opt/novell/xad/sbin/ndsdcinit.pl full-replica -s -d 'novell.com' -l 'ou=Web,o=novell' -g 'ou=Web,o=novell' -e 'ou=OESSystemObjects,o=novell' -f 'novell.com' -p 'novell.com'
2012-01-20 14:54:29 <3> DSfW2(2921) [bash] ShellCommand.cc(shellcommand):78 Can't locate Term/ReadKey.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl . . .. /opt/novell/xad/lib64/perl /opt/novell/xad/lib/perl) at /opt/novell/xad/sbin/ndsdcinit.pl line 22.
2012-01-20 14:54:29 <3> DSfW2(2921) [bash] ShellCommand.cc(shellcommand):78 BEGIN failed--compilation aborted at /opt/novell/xad/sbin/ndsdcinit.pl line 22.
Resolution
There is a dependency on the perl-TermReadKey perl module. If the perl-TermReadKey perl module is not installed. This module is installed with Apparmor and if Apparmor is not installed, neither will the perl_TermReadKey module.
The tree will have to be cleaned up and the install will have to be started over.
Before installing DSfW either install Apparmor or the perl-TermReadKey perl module.