We help IT Professionals succeed at work.

I am getting error during the process of installation of DIRECTORY SERVER in Centos 5.2

primaims
primaims asked
on
Medium Priority
1,213 Views
Last Modified: 2013-12-16
I am unable to install centos-ds using yum.It is giving following error. Plz solve this.

# yum --enablerepo=c5-testing install centos-ds
Loading "priorities" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * epel: ftp.jaist.ac.jp
 * c5-testing: dev.centos.org
 * dirsrv-noarch: directory.fedoraproject.org
 * idmcommon: directory.fedoraproject.org
 * testing: dev.centos.org
 * dirsrv: directory.fedoraproject.org
 * rpmforge: fr2.rpmfind.net
 * base: ftp.iitm.ac.in
 * fedora-extras: download.fedora.redhat.com
 * updates: ftp.iitm.ac.in
 * addons: ftp.iitm.ac.in
 * idmcommon-noarch: directory.fedoraproject.org
 * extras: centosb2.centos.org
http://dev.centos.org/centos/%24releasev/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: testing. Please verify its path and try again
[root@primadirser Desktop]# yum --enablerepo=c5-testing install centos-ds
Loading "priorities" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * epel: ftp.jaist.ac.jp
 * c5-testing: dev.centos.org
 * dirsrv-noarch: directory.fedoraproject.org
 * idmcommon: directory.fedoraproject.org
 * testing: dev.centos.org
 * dirsrv: directory.fedoraproject.org
 * rpmforge: fr2.rpmfind.net
 * base: ftp.iitm.ac.in
 * fedora-extras: download.fedora.redhat.com
 * updates: ftp.iitm.ac.in
 * addons: ftp.iitm.ac.in
 * idmcommon-noarch: directory.fedoraproject.org
 * extras: centosb2.centos.org
http://dev.centos.org/centos/%24releasev/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: testing. Please verify its path and try again
Comment
Watch Question

Top Expert 2009

Commented:
I guess, the repo you using its invalid
you should get other workable repo

i will try to sent you some extra repo,

Top Expert 2009

Commented:

Author

Commented:
Thank you for giving response

I added the above repos. But i am not able to install centos-ds. Actually i am configuring DIRECTORY SERVER by following the below link.

http://wiki.centos.org/HowTos/DirectoryServerSetup
Top Expert 2009

Commented:
Increase the point 500!!! Lol joke

do this, i just tested it works

YOu will have to add the rep  by your self

http://dev.centos.org/centos/4/CentOS-Testing.repo

[c4-testing]
name=CentOS-4 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

# CentOS-Testing:
# !!!! CAUTION !!!!
# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.
# These packages build and install, but are waiting for feedback from testers as to
# functionality and stability. Packages in this repository will come and go during the
# development period, so it should not be left enabled or used on production systems without due
# consideration.



Go to :
cd  /etc/yum.repos.d
then vi CentOS-Base.repo
add the repo

change this 2 options
enabled=0  to 1
gpgcheck=1 to 0

now try

yum install centos-ds

Author

Commented:
Hai

I did the above steps. I added the repo information in /etc/yum.reps.d/Centos-Base.repo. But I got the following problem.

 vi /etc/yum.repos.d/CentOS-Base.repo
[root@primadirser ~]# yum install centos-ds
Loading "priorities" plugin
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
 * epel: ftp.riken.jp
 * c4-testing: dev.centos.org
 * testing: dev.centos.org
 * rpmforge: fr2.rpmfind.net
 * base: ftp.iitm.ac.in
 * updates: ftp.iitm.ac.in
 * addons: ftp.iitm.ac.in
 * extras: ftp.iitm.ac.in
c4-testing                100% |=========================| 1.9 kB    00:00    
primary.sqlite.bz2        100% |=========================| 390 kB    00:03    
http://dev.centos.org/centos/%24releasev/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: testing. Please verify its path and try again.
Top Expert 2009

Commented:
Ok in that case i will say, to disable that repo

http://dev.centos.org/centos/%24releasev/repodata/repomd.xml: [Errno 14]

do you k now , where this repo is ??

if you kow then you need to disalbe tha tone

or can you post output of

/etc/yum.repos.d

then do

ls
 post the out put here

Author

Commented:
ok

The following repos are present in /etc/yum.repos.d

[root@primadirser yum.repos.d]# ls
CentOS-Base.repo   CentOS-testing.repo  epel-testing.repo  rpmforge.repo
CentOS-Media.repo  epel.repo            mirrors-rpmforge
Top Expert 2009

Commented:
omm ok can you post the output of

CentOS-Base.repo

do cat CentOS-Base.repo

then copy and past here please

Author

Commented:
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

[c4-testing]
name=CentOS-4 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=0
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

# CentOS-Testing:
# !!!! CAUTION !!!!
# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.
# These packages build and install, but are waiting for feedback from testers as to
# functionality and stability. Packages in this repository will come and go during the
# development period, so it should not be left enabled or used on production systems without due
# consideration.

Top Expert 2009

Commented:
Ok and what is in yoru this one

CentOS-testing.repo

how me the output of this one
CentOS-testing.repo

Author

Commented:
[root@primadirser yum.repos.d]# cat CentOS-testing.repo
[testing]
name=CentOS-$releasever - Testing
baseurl=http://dev.centos.org/centos/$releasev
gpgcheck=1
enabled=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KE
Top Expert 2009
Commented:
omm

ok in this repo CentOS-testing.repo
change this one
gpgcheck=1
enabled=0

so it should be be included in yum search

now : yum clean all

and now try to install

and if there is any error
sent the full output from yum install to error

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Thank you Master. It is working.

I have a doubt before proceedong with directory server.
Is there any better than Directory server to create centralized domain in Linux.Please suggest me.
Top Expert 2009

Commented:
ommm i never worked with directory server

do you mean, domain controller ?? if its domain controller then saba would work as domain controller ..

Author

Commented:
Ok Master. Thank you. We shall meet again with another question soon.

Bye bye..........
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.