Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mrepo fails to connect/mirror centos6 repositories without verbosity of 2 or greater #62

Open
jbury-zz opened this issue May 15, 2013 · 0 comments · May be fixed by #65
Open

mrepo fails to connect/mirror centos6 repositories without verbosity of 2 or greater #62

jbury-zz opened this issue May 15, 2013 · 0 comments · May be fixed by #65

Comments

@jbury-zz
Copy link

I'm building out a new mrepo server running RHEL 6.4 with mrepo-0.8.8-1. When trying to update the repositories for CentOS 6 I receive the following error.

[root at host etc]# mrepo -u centos6-i386
centos6-i386: Updating CentOS 6 (i386)
mirror: Not connected
mrepo: Mirroring failed for http://mirror.centos.org/centos/6/updates/i386/Packages/ with message:
Failed with return code: 256
[root at host etc]#

If I use one level of verbosity I get the same error. If I use 2 or more levels of verbosity mrepo will connect and download the RPMs. Any ideas?

[root at host etc]# mrepo -uv centos6-i386
centos6-i386: Updating CentOS 6 (i386)
centos6-i386: Mirror packages from http://mirror.centos.org/centos/6/updates/i386/Packages/ to /var/mrepo/centos6-i386/updates
mirror: Not connected
mrepo: Mirroring failed for http://mirror.centos.org/centos/6/updates/i386/Packages/ with message:
Failed with return code: 256
[root at host etc]#

[root at host etc]# mrepo -uvv centos6-i386
Verbosity set to level 2
Using configfile /etc/mrepo.conf
Setting option cachedir in section [main] to: /var/cache/mrepo
Setting option lockdir in section [main] to: /var/cache/mrepo
Setting option confdir in section [main] to: /etc/mrepo.conf.d
Setting option htmldir in section [main] to: /usr/share/mrepo/html
Setting option pxelinux in section [main] to: /usr/share/syslinux/pxelinux.0
Setting option srcdir in section [main] to: /var/mrepo
Setting option tftpdir in section [main] to: /tftpboot/linux-install
Setting option wwwdir in section [main] to: /var/www/mrepo
Setting option logfile in section [main] to: /var/log/mrepo.log
Setting option mailto in section [main] to: info at myaddress.com
Setting option smtp-server in section [main] to: localhost
Setting option arch in section [main] to: i386 x86_64
Setting option metadata in section [main] to: repomd repoview
Setting option shareiso in section [main] to: yes
Setting option quiet in section [main] to: no
Setting option hardlink in section [main] to: yes
Setting option no_proxy in section [main] to:
Setting option ftp_proxy in section [main] to:
Setting option http_proxy in section [main] to:
Setting option https_proxy in section [main] to:
Setting option createrepocmd in section [main] to: /usr/bin/createrepo
Setting option genbasedircmd in section [main] to: /usr/bin/genbasedir
Setting option hardlinkcmd in section [main] to: /usr/sbin/hardlink
Setting option lftpcmd in section [main] to: /usr/bin/lftp
Setting option mirrordircmd in section [main] to: /usr/bin/mirrordir
Setting option mountcmd in section [main] to: /bin/mount
Setting option repoviewcmd in section [main] to: /usr/bin/repoview
Setting option rhngetcmd in section [main] to: /usr/bin/rhnget
Setting option rsynccmd in section [main] to: /usr/bin/rsync
Setting option umountcmd in section [main] to: /bin/umount
Setting option yumarchcmd in section [main] to: /usr/bin/yum-arch
Setting option createrepo-options in section [main] to: -p -d -g --update
Setting option lftp-bandwidth-limit in section [main] to:
Setting option lftp-cleanup in section [main] to: no
Setting option lftp-exclude-debug in section [main] to: yes
Setting option lftp-exclude-srpm in section [main] to: yes
Setting option lftp-options in section [main] to:
Setting option lftp-commands in section [main] to:
Setting option lftp-mirror-options in section [main] to: -a -c -P
Setting option lftp-timeout in section [main] to:
Setting option mirrordir-cleanup in section [main] to: no
Setting option mirrordir-exclude-debug in section [main] to: yes
Setting option mirrordir-exclude-srpm in section [main] to: yes
Setting option mirrordir-options in section [main] to:
Setting option reposync-options in section [main] to:
Setting option reposync-cleanup in section [main] to: no
Setting option reposync-newest-only in section [main] to: no
Setting option rhnlogin in section [main] to: *******:*******
Setting option rhnget-options in section [main] to:
Setting option rhnget-cleanup in section [main] to: no
Setting option rhnget-download-all in section [main] to: yes
Setting option rsync-bandwidth-limit in section [main] to:
Setting option rsync-cleanup in section [main] to: no
Setting option rsync-exclude-debug in section [main] to: yes
Setting option rsync-exclude-srpm in section [main] to: yes
Setting option rsync-options in section [main] to: -rtHL --partial
Setting option rsync-timeout in section [main] to:
Setting option repoview-options in section [main] to:
Setting option arch in section [centos6] to: i386 x86_64
Setting option arch in section [rhel6s] to: i386 x86_64
centos6-i386: Updating CentOS 6 (i386)
centos6-i386: Mirror packages from http://mirror.centos.org/centos/6/updates/i386/Packages/ to /var/mrepo/centos6-i386/updates
centos6-i386: Repository updates changed (new: 4, removed: 0)
centos6-i386: Distribution updated (new: 4, removed: 0)
Sending mail to: info at myaddress.com

Contents of email received:

The following changes to mrepo's repositories on host have been made:

Dist: CentOS 6 (i386) (centos6-i386)

Repo: updates

  • tigervnc-1.1.0-5.el6_4.1.i686.rpm (266 kiB)
  • tigervnc-server-1.1.0-5.el6_4.1.i686.rpm (1159 kiB)
  • tigervnc-server-applet-1.1.0-5.el6_4.1.noarch.rpm (105 kiB)
  • tigervnc-server-module-1.1.0-5.el6_4.1.i686.rpm (388 kiB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant