[Spacewalk-list] spacewalk-repo-sync via crontab

Kobus Bensch kbensch at fullnet.co.uk
Tue Apr 26 08:06:37 UTC 2016


Do you still have internet access and is dns working. 

Sent from my iPhone

> On 26 Apr 2016, at 07:54, Philipp Wehling <philipp.wehling at megatel.de> wrote:
> 
> Hello,
> 
> since several days, my cronjob for spacewalk-repo-sync doesnt work anymore.
> 
> Please look at the different errors I got:
> 
> ======================================
> | Channel: postgresql-x86_64-sl7
> ======================================
> 
> Repo URL: http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/
> ERROR: failure: repodata/repomd.xml from postgresql-x86_64-sl7: [Errno 256] No more mirrors to try.
> http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2001:4800:1501:1::196: Network is unreachable"
> 
> ======================================
> | Channel: oraclelinux7-x86_64
> ======================================
> 
> Repo URL: http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64
> ERROR: failure: repodata/repomd.xml from oraclelinux7-x86_64: [Errno 256] No more mirrors to try.
> http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed connect to public-yum.oracle.com:80; Operation now in progress"
> 
> ======================================
> | Channel: sl7-x86_64-security
> ======================================
> 
> Repo URL: http://ftp-stud.hs-esslingen.de/pub/Mirrors/scientific/7/x86_64/updates/security/
> ERROR: server closed the connection unexpectedly
>         This probably means the server terminated abnormally
>         before or while processing the request.
> 
> Traceback (most recent call last):
>   File "/usr/bin/spacewalk-repo-sync", line 218, in <module>
>     sys.exit(abs(main() or 0))
>   File "/usr/bin/spacewalk-repo-sync", line 211, in main
>     sync.sync()
>   File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/reposync.py", line 226, in sync
>     self.update_date()
>   File "/usr/lib/python2.7/site-packages/spacewalk/satellite_tools/reposync.py", line 236, in update_date
>     h.execute(channel=self.channel['label'])
>   File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 151, in execute
>     return self._execute_wrapper(self._execute, *p, **kw)
>   File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 290, in _execute_wrapper
>     retval = function(*p, **kw)
>   File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 205, in _execute
>     return self._execute_(args, kwargs)
>   File "/usr/lib/python2.7/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 309, in _execute_
>     self._real_cursor.execute(self.sql, params)
> psycopg2.OperationalError: server closed the connection unexpectedly
>         This probably means the server terminated abnormally
>         before or while processing the request.
> 
> 
> So it tells me the script works, but "spacewalk-repo-sync" doesnt work.
> 
> 
> Kind regards,
> Philipp
> 
> Sie können uns "live" erleben.
> 
> ILA Berlin Air Show
> 
> 01. - 04. Juni 2016 - Berlin ExpoCenter Airport
> 
> Halle 4, Stand 4201 / www.ila-berlin.de
> 
>  
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160426/2da854fb/attachment.htm>


More information about the Spacewalk-list mailing list