Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2009-02-12
15
Medium Priority
?
1,146 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
0
Comment
Question by:primaims
  • 8
  • 7
15 Comments
 
LVL 29

Expert Comment

by:fosiul01
ID: 23621132
I guess, the repo you using its invalid
you should get other workable repo

i will try to sent you some extra repo,

0
 
LVL 29

Expert Comment

by:fosiul01
ID: 23621192
0
 

Author Comment

by:primaims
ID: 23622133
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
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 29

Expert Comment

by:fosiul01
ID: 23622332
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
0
 

Author Comment

by:primaims
ID: 23630303
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.
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 23630803
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
0
 

Author Comment

by:primaims
ID: 23631196
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
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 23631222
omm ok can you post the output of

CentOS-Base.repo

do cat CentOS-Base.repo

then copy and past here please
0
 

Author Comment

by:primaims
ID: 23631230
# 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.

0
 
LVL 29

Expert Comment

by:fosiul01
ID: 23631246
Ok and what is in yoru this one

CentOS-testing.repo

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

Author Comment

by:primaims
ID: 23631255
[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
0
 
LVL 29

Accepted Solution

by:
fosiul01 earned 2000 total points
ID: 23631289
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
0
 

Author Comment

by:primaims
ID: 23631389
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.
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 23631428
ommm i never worked with directory server

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

Author Comment

by:primaims
ID: 23631479
Ok Master. Thank you. We shall meet again with another question soon.

Bye bye..........
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question