Difference between revisions of "SUSE Manager/DebugReposync"

From MicroFocusInternationalWiki
Jump to: navigation, search
(How to debug spacewalk-repo-sync problems?)
 
Line 10: Line 10:
  
 
To disable the debug mode of spacewalk-repo-sync, execute :
 
To disable the debug mode of spacewalk-repo-sync, execute :
     $> export URLGRABBER_DEBUG=
+
     $> unset URLGRABBER_DEBUG

Latest revision as of 13:46, 11 June 2015

How to debug spacewalk-repo-sync problems?

  [Errno 256] No more mirrors to try.

To find the root cause of such problems it is very helpful to view the HTTP protocol if spacewalk-repo-sync is running. To achieve this, execute the following:

   $> export URLGRABBER_DEBUG=DEBUG
   $> /usr/bin/spacewalk-repo-sync --channel <channel-label> --type yum

To disable the debug mode of spacewalk-repo-sync, execute :

   $> unset URLGRABBER_DEBUG