Bug 445113 - setup-ds-admin.pl Cannot find Setup.pm in @INC on Fedora 8 x86_64
Summary: setup-ds-admin.pl Cannot find Setup.pm in @INC on Fedora 8 x86_64
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: 389
Classification: Retired
Component: Install/Uninstall
Version: 1.1.0
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Nathan Kinder
QA Contact: Orla Hegarty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-03 23:14 UTC by Ryan
Modified: 2008-08-11 23:56 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-05 23:32:37 UTC
Embargoed:


Attachments (Terms of Use)

Description Ryan 2008-05-03 23:14:01 UTC
Description of problem: On Fedora 8 x86_64, running setup-ds-admin results in
the error "Cannot find Setup.pm in @INC".  I believe this is due to the fact
that setup-ds-admin.pl has what may be an error on line 20 and 'use lib
qw(/usr/lib/dirsrv/perl);' should be 'use lib qw(/usr/lib64/dirsrv/perl);' 
Making the previously mentioned change allows the script to run successfully
until the admin server is started.  Something seems to incorrectly set the admin
server's config files to use /usr/lib instead of /usr/lib64.  Manually changing
all instances of /usr/lib to /usr/lib64 in all files under
/etc/dirsrv/admin-serv allows the dirsrv-admin service to successfully start.


Version-Release number of selected component (if applicable):fedora-ds 1.1.1-2


How reproducible:Easy


Steps to Reproduce:
1. yum install fedora-ds
2. Run setup-ds-admin.pl
  
Actual results:


Expected results:


Additional info:

Comment 1 Nathan Kinder 2008-05-05 16:35:23 UTC
It sounds like you have the i386 fedora-ds-admin package installed instead of
the x86_64 version.  Please check which architecture your fedora-ds-admin
pacakge is with this command:

    rpm -q --qf "%{NAME}.%{ARCH}\n" fedora-ds-admin

Comment 2 Ryan 2008-05-05 23:32:37 UTC
Thanks!  That seems to be it.  I somehow have both installed.  It is working
though after the changes I made.  Might be worthwhile to go back and make sure I
am running the 64-bit version.  Thanks for the work you guys do.  I have been
waiting quite a while for the new admin and it seems well worth the wait.  Even
with the little mess up I did it was much easier to install than the old version.

Comment 3 Chandrasekar Kannan 2008-08-11 23:56:21 UTC
Bug already CLOSED. setting screened+ flag


Note You need to log in before you can comment on or make changes to this bug.