Yum client configuration error

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Yum client configuration error
# 1  
Old 09-24-2014
Yum client configuration error

Dear concern,

I want to configure a yum client node. Yum configuration file (/etc/yum.repos.d/) is given below:
Code:
[root@ntest1 yum.repos.d]# cat server.repo
[server]
name=rhel6
baseurl=ftp://192.168.225.3/pub/Packages/
enabled=1
gpgcheck=0

We got following error message while executing yum list command.
Code:
[root@ntest1 yum.repos.d]# yum clean all
Loaded plugins: rhnplugin, security
Cleaning up Everything
[root@ntest1 yum.repos.d]# yum list
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
server                                                   | 1.3 kB     00:00
server/primary                                           | 1.3 MB     00:00
ftp://192.168.225.3/pub/Packages/repodata/primary.xml.gz: [Errno -3] Error performing checksum
Trying other mirror.
server/primary                                           | 1.3 MB     00:00
ftp://192.168.225.3/pub/Packages/repodata/primary.xml.gz: [Errno -3] Error performing checksum
Trying other mirror.
Error: failure: repodata/primary.xml.gz from server: [Errno 256] No more mirrors to try.

But we can manually ftp the yum server.
Code:
[root@ntest1 yum.repos.d]# ftp 192.168.225.3
Connected to 192.168.225.3.
220 (vsFTPd 2.2.2)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (192.168.225.3:root): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
227 Entering Passive Mode (192,168,225,3,39,155).
150 Here comes the directory listing.
drwxr-xr-x    3 0        0            4096 Feb 15  2014 pub
226 Directory send OK.
ftp> cd pub
250 Directory successfully changed.
ftp> ls
227 Entering Passive Mode (192,168,225,3,252,48).
150 Here comes the directory listing.
drwxr-xr-x    3 0        0          180224 Sep 22 08:20 Packages
226 Directory send OK.
ftp> cd Packages
250 Directory successfully changed.
ftp> cd repodata
250 Directory successfully changed.
ftp>

Please advise how to resolve the issue.

With Best Regards,
Md. Abdullah-Al Kauser


Moderator's Comments:
Mod Comment Please use code tags next time for your code and data. Thanks

Last edited by vbe; 09-24-2014 at 05:23 AM..
# 2  
Old 09-24-2014
Is it possible that the client node runs RHEL5 and the repository is hosted on a RHEL6 server? If yes, you should check out these two URLs:
Hackery
Dealing with yum checksum errors

Hope this helps.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. UNIX for Dummies Questions & Answers

Yum not working on client while able to do the ftp

1)check vsftpd service is running service vsftpd status 2)mkdir -p /var/ftp/pub/Packages Packages will contain all rpm packages 3)copy the xml file to Packages folder #cp -arf /mnt/hgfs/share/RHEL_DVD/Packages /var/ftp/pub/Packages 4)install the 3 required rpm rpm --nodeps -ivh... (0 Replies)
Discussion started by: joj123
0 Replies

3. Solaris

LDAP server and client configuration in Solaris 10

How do i install ldap server and client in solaris server how to configure ldap server and client please help me (1 Reply)
Discussion started by: ainstin
1 Replies

4. Solaris

ntp client configuration error

hi all ntp client side configuration file is done but in # ntpq -p remote refid st t when poll reach delay offset disp ============================================================================== ntpserver .INIT. 16 u - 64 0 0.00 0.000... (5 Replies)
Discussion started by: nikhil kasar
5 Replies

5. Red Hat

Yum error

Hi, I have configure local yum repository in my red hat linux on vmware. Below are the steps i followed 1. mkdir -p /root/install/RPMS 2. Copy all the software/packages RPMS from instillation CD/DVD to /root/install/RPMS directory 3. rpm -ivh createrepo-0.4.11-3.el5.rpm 4. createrepo... (5 Replies)
Discussion started by: chetansingh23
5 Replies

6. Red Hat

yum error

i have install fresh redhat ent 6.1 and i have configure yum server with ftp but am get this error error 14] PYCURL ERROR 9 - "Server denied you to change to the given directory" i have checked every thing (3 Replies)
Discussion started by: drpix
3 Replies

7. Red Hat

Distribute packages to other client machines using yum

Hi, We have a 2 yum repository servers (2.6.18-92.el5 x86_64 x86_64 x86_64 GNU/Linux) that are RHN registered and should receive the latest patch/packages. The servers are configured somehow that the new updates are not downloaded automatically which I guess is in the yum-updatesd.conf file ... (3 Replies)
Discussion started by: jamba1
3 Replies

8. Solaris

Solaris 10 NIS client configuration

Hi, I have a Solaris 10 machine and trying to connect it to a Linux NIS Server. Up till now I have set up NIS so that it does find the NIS server and gets the user list. Automounter also mounts some directories from an NFS server. However, I can't get it to map the shadow passwords (they... (4 Replies)
Discussion started by: dop
4 Replies

9. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

10. SCO

Need help in BOOTP Server and Client configuration

Dear All; I need help in configuring the BOOTP server, I have found something on internet forums regarding the file: bootptab and editing some lines but Im not if they are all correct. Also, I need help to configure my clients (UNIX) to boot up with this bootp server(UNIX). I will be... (1 Reply)
Discussion started by: amirzandi
1 Replies
Login or Register to Ask a Question