FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 11-20-2009, 02:09 PM
 
Default 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@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

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-20-2009, 02:12 PM
Alan McKay
 
Default CentOS-DS Configuration/Setup Issue

I just installed this myself the other day on Centos 5.4 and it went fine.

[root@sandbox1 ~]# find /usr -name Setup.pm
/usr/lib64/dirsrv/perl/Setup.pm
[root@sandbox1 ~]# rpm -qf /usr/lib64/dirsrv/perl/Setup.pm
centos-ds-base-8.1.0-0.14.el5.centos.2
[root@sandbox1 ~]# cat /etc/redhat-release
CentOS release 5.4 (Final)
[root@sandbox1 ~]#



--
“Don't eat anything you've ever seen advertised on TV”
- Michael Pollan, author of "In Defense of Food"
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 11-23-2009, 04:09 PM
 
Default 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@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@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



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 07:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org