gene.poole at macys.com
2009-Nov-20 14:49 UTC
[CentOS] CentOS-DS Configuration/Setup Issue
All, I'm running CentOS 5.4 and I've installed the CentOS Directory Server by running yum -y install centos-ds* without any errors. But as soon as I attempt to run the setup I get the following: [root at jpdsys3 ~]# /usr/sbin/setup-ds-admin.pl Can't locate Setup.pm in @INC (@INC contains: /usr/lib64/dirsrv/perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/sbin/setup-ds-admin.pl line 24. BEGIN failed--compilation aborted at /usr/sbin/setup-ds-admin.pl line 24. How can I find out what's missing? Thanks, Gene Poole -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091120/5d83f314/attachment-0003.html>
> All, > > I'm running CentOS 5.4 and I've installed the CentOS Directory Server by > running yum -y install centos-ds* without any errors. But as soon as I > attempt to run the setup I get the following: > > [root at jpdsys3 ~]# /usr/sbin/setup-ds-admin.pl > Can't locate Setup.pm in @INC (@INC contains: /usr/lib64/dirsrv/perl > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl > /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) > at /usr/sbin/setup-ds-admin.pl line 24. > BEGIN failed--compilation aborted at /usr/sbin/setup-ds-admin.pl line 24. > > How can I find out what's missing?I think it's Setup.pm. Some packages either don't have it, or it's pointed to the wrong place, or they put it in a non-standard location, and the perl environment can't find it. You can try setting that... I think the variable name is PERL5LIB, so to set it would be export PERL5LIB=$PERL5LIB:<your path here> mark
gene.poole at macys.com
2009-Nov-23 17:09 UTC
[CentOS] CentOS-DS Configuration/Setup Issue
All, Thanks for all of the input! Actually, I fixed the issue by using a single yum command: yum -y reinstall centos-ds* It seems that I was using my laptop to work on my server via putty and something 'broke' which caused the original install to have issues. But, the above command corrected all of the dependencies and other issues. All is working fine now! One last question: Where can I find a definitive how to on creating a LDIF file? Thanks, Gene Poole From: Gene Poole/MST/MACYS To: CentOS at centos.org Date: 11/20/2009 09:49 AM Subject: CentOS-DS Configuration/Setup Issue All, I'm running CentOS 5.4 and I've installed the CentOS Directory Server by running yum -y install centos-ds* without any errors. But as soon as I attempt to run the setup I get the following: [root at jpdsys3 ~]# /usr/sbin/setup-ds-admin.pl Can't locate Setup.pm in @INC (@INC contains: /usr/lib64/dirsrv/perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/sbin/setup-ds-admin.pl line 24. BEGIN failed--compilation aborted at /usr/sbin/setup-ds-admin.pl line 24. How can I find out what's missing? Thanks, Gene Poole -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091123/553cab5c/attachment-0003.html>