View previous topic :: View next topic |
Author |
Message |
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Tue Nov 29, 2016 2:05 pm Post subject: Can't sync |
|
|
Hi, ALL,
Code: |
IgorDellGentoo psqlodbc # emerge --sync
>>> Syncing repository 'gentoo' into '/usr/portage'...
>>> Starting rsync with rsync://91.186.30.235/gentoo-portage...
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(636) [Receiver=3.1.2]
>>> Retrying...
>>> Starting retry 1 of 4 with rsync://81.91.253.252/gentoo-portage
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(636) [Receiver=3.1.2]
>>> Retrying...
>>> Starting retry 2 of 4 with rsync://176.28.50.119/gentoo-portage
>>> Checking server timestamp ...
timed out
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(636) [Receiver=3.1.2]
>>> Retrying...
>>> Starting retry 3 of 4 with rsync://[2a01:488:67:1000:b01c:3277:0:1]/gentoo-portage
>>> Checking server timestamp ...
rsync: failed to connect to 2a01:488:67:1000:b01c:3277:0:1 (2a01:488:67:1000:b01c:3277:0:1): No route to host (113)
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
>>> Retrying...
>>> Starting retry 4 of 4 with rsync://[2a01:90:200:10::1a]/gentoo-portage
>>> Checking server timestamp ...
rsync: failed to connect to 2a01:90:200:10::1a (2a01:90:200:10::1a): No route to host (113)
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]
>>> Retrying...
!!! Exhausted addresses for rsync.gentoo.org
* IMPORTANT: 2 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
|
This happens second or third day in a row.
Anybody have an idea?
Thank you, |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Tue Nov 29, 2016 2:32 pm Post subject: Re: Can't sync |
|
|
First of all you should perform this little exercise:
ONEEYEMAN wrote: | Code: | * IMPORTANT: 2 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
|
|
And then, what is your output of portageq repos_config / ? Maybe you are having some strange settings ... |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Wed Nov 30, 2016 1:22 am Post subject: |
|
|
Hi,
This is what I get from the "etc-update":
Code: | [
IgorDellGentoo psqlodbc # etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/default/grub (1)
2) /etc/security/limits.conf (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'):
|
The "grub" changes I presume are safe to merge, since they are just changes to the defaults.
The "limits" one however - I have no idea:
Code: |
Showing differences between /etc/security/limits.conf and /etc/security/._cfg0000_limits.conf
--- /etc/security/limits.conf 2015-07-23 02:49:46.650182043 -0400
+++ /etc/security/._cfg0000_limits.conf 2016-04-18 22:44:04.189901487 -0400
@@ -21,7 +21,7 @@
# - data - max data size (KB)
# - fsize - maximum filesize (KB)
# - memlock - max locked-in-memory address space (KB)
-# - nofile - max number of open files
+# - nofile - max number of open file descriptors
# - rss - max resident set size (KB)
# - stack - max stack size (KB)
# - cpu - max CPU time (MIN)
@@ -46,5 +46,5 @@
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4
-* nofile 16384
+
# End of file
|
And this is the output:
Code: |
IgorDellGentoo psqlodbc # portageq repos_config /
[DEFAULT]
auto-sync = yes
main-repo = gentoo
[gentoo]
auto-sync = yes
location = /usr/portage
masters =
priority = -1000
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
sync-rsync-extra-opts = None
[rainyday]
auto-sync = yes
location = /var/lib/layman/rainyday
masters = gentoo
priority = 0
|
I presume the "rainyday" repo is failing, since it has higher priority? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Wed Nov 30, 2016 1:31 am Post subject: |
|
|
Just want to make sure you rule out network issues...did your ISP stick a firewall on your rsync ports? Port 873 blocked? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Wed Nov 30, 2016 4:07 am Post subject: |
|
|
eccerr0r,
No such thing. There is no firewall inside modem/router.
Thank you. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Wed Nov 30, 2016 6:39 am Post subject: |
|
|
ONEEYEMAN wrote: | And this is the output:
Code: |
...
sync-rsync-extra-opts = None
... |
|
Why did you put that line? I cannot find it recommended on the wiki.
What if you delete that line (or comment it out at least)? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Wed Nov 30, 2016 7:16 pm Post subject: |
|
|
At least 91.186.30.235 gentoo mirror is is working for me.
Code: | fujiko ~ $ telnet 91.186.30.235 873
Trying 91.186.30.235...
Connected to 91.186.30.235.
Escape character is '^]'.
@RSYNCD: 31.0
Welcome to boobie.gentoo.org / rsync.gentoo.org
[...]
|
Are you triple sure you're not having network issues? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Thu Dec 01, 2016 4:12 am Post subject: |
|
|
charles17,
I don't see a file referenced in that WiKi:
Code: |
IgorDellGentoo mysqld # ls -la /etc/portage/
total 56
drwxr-xr-x 6 root root 4096 Apr 17 2016 .
drwxr-xr-x 85 root root 4096 Nov 28 21:06 ..
drwxr-xr-x 2 root root 4096 Apr 18 2016 bin
-rw-r--r-- 1 root root 816 Apr 18 2016 make.conf
-rw-r--r-- 1 root root 630 May 28 2014 make.conf.catalyst
lrwxrwxrwx 1 root root 63 Jun 3 2014 make.profile -> ../../usr/portage/profiles/default/linux/amd64/13.0/desktop/kde
-rw-r--r-- 1 root root 26 Jul 13 2014 package.accept_keywords
-rw-r--r-- 1 root root 525 Jul 28 23:22 package.keywords
-rw-r--r-- 1 root root 90 Jul 25 2015 package.license
-rw-r--r-- 1 root root 21 Apr 17 2016 package.mask
-rw-r--r-- 1 root root 709 Apr 18 2016 package.use
drwxr-xr-x 2 root root 4096 Apr 18 2016 postsync.d
drwxr-xr-x 2 root root 4096 Mar 12 2016 repo.postsync.d
drwxr-xr-x 4 root root 4096 Aug 9 2014 savedconfig
|
eccerr0r,
I'm sure. I'm writing it in Aurora (FF).
Thank you. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Thu Dec 01, 2016 6:58 am Post subject: |
|
|
When it says it timed out, this is a network issue.
If that telnet works but rsync doesn't, this is a clue... does it work?
Having http working doesn't necessarily mean rsync or ssh will work, I've seen ISPs firewalling random ports for no good reason. Does emerge-webrsync work? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Dec 01, 2016 8:28 am Post subject: |
|
|
ONEEYEMAN wrote: | charles17,
I don't see a file referenced in that WiKi: |
Sorry if I was confusing you. Maybe you are having that certain line in /usr/share/portage/config/repos.conf ?
There must be a reason why your output shows it. |
|
Back to top |
|
|
The Doctor Moderator
Joined: 27 Jul 2010 Posts: 2678
|
Posted: Thu Dec 01, 2016 9:09 am Post subject: |
|
|
I believe I've seen this caused by a bad nameserver. At my old university housing they provided the cheap local isp and I couldn't sync on the network. Setting the nameserver in reslove.conf to google, 8.8.8.8, solved it. That might be worth a try. At the very least it will help narrow the problem space. _________________ First things first, but not necessarily in that order.
Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box. |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Thu Dec 01, 2016 1:47 pm Post subject: |
|
|
charles17,
No, I do not.
Code: |
igor@IgorDellGentoo /usr/share/portage/config $ cat repos.conf
[DEFAULT]
main-repo = gentoo
[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
# for daily squashfs snapshots
#sync-type = squashdelta
#sync-uri = mirror://gentoo/../snapshots/squashfs
|
The Doctor,
No, I'm trying it at home and my ISP is Comcast with the Cable connection.
Should be fine.
Thank you. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Thu Dec 01, 2016 3:29 pm Post subject: |
|
|
So you have real default settings. Maybe you could try with some other rsync server? |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3610
|
Posted: Sun Dec 04, 2016 1:16 am Post subject: |
|
|
ALL,
I upgraded Portage and suddenly everything started working again.
So surprising.
Thank you. |
|
Back to top |
|
|
|