Re: Spawning ping for packages.macports.org failed
On Mon, Feb 29, 2016 at 9:09 AM, Daniel J. Lukewrote: > lsof might help you find the culprit - but yeah, you're going to get strange > failures if you're hitting resource limits. I couldn't see anything obvious when I looked after it failed with that error but I'll take another look if I see the error again. >> This machine is sitting in a data centre in California and I'm >> currently talking with the admin who stood it up to try and get to the >> bottom of this as something is very weird... > > I've found over time that a reboot will 'fix' these kind of issues with Mac > OS X running remotely if you need it to work right away (and give yourself > some time to figure out the real issue and fix the root cause if possible). The machine was rebooted over the weekend, apparently it needed to be power cycled for it too come back up and I'm trying to get more information as to what the problem was that caused the reboot to fail. However it's still exhibiting the problems. Another weird thing I've noticed is that when I install a port it fails to install any dependency but if I explicitly request the installation of the port that failed then the installation proceeds successfully. Cheers Adam ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
On Feb 28, 2016, at 11:04 PM, Adam Mercerwrote: > I have however found something else weird with this machine, when > trying to install a port I sometimes get the following: > > :debug:archivefetch failed verification with key > /opt/local/share/macports/macports-pubkey.pem > :debug:archivefetch openssl output: couldn't create pipe: too many open files > :warn:archivefetch Failed to verify signature for archive! lsof might help you find the culprit - but yeah, you're going to get strange failures if you're hitting resource limits. > This machine is sitting in a data centre in California and I'm > currently talking with the admin who stood it up to try and get to the > bottom of this as something is very weird... I've found over time that a reboot will 'fix' these kind of issues with Mac OS X running remotely if you need it to work right away (and give yourself some time to figure out the real issue and fix the root cause if possible). -- Daniel J. Luke ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
On Fri, Feb 26, 2016 at 1:52 PM, Daniel J. Lukewrote: > dig @131.215.125.1 packages.macports.org > > and > > dig @131.215.254.100 packages.macports.org > > to help rule out basic dns problems. Both those commands return what I would expect: builder-osx-1:~ ram$ dig @131.215.125.1 packages.macports.org ; <<>> DiG 9.8.3-P1 <<>> @131.215.125.1 packages.macports.org ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 26068 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 8, ADDITIONAL: 8 ;; QUESTION SECTION: ;packages.macports.org. IN A ;; ANSWER SECTION: packages.macports.org. 3320IN CNAME packages.macports.netdna-cdn.com. packages.macports.netdna-cdn.com. 20 IN A 198.232.124.36 ;; AUTHORITY SECTION: netdna-cdn.com. 94 IN NS dns3.p04.nsone.net. netdna-cdn.com. 94 IN NS ns-1326.awsdns-37.org. netdna-cdn.com. 94 IN NS dns4.p04.nsone.net. netdna-cdn.com. 94 IN NS dns1.p04.nsone.net. netdna-cdn.com. 94 IN NS dns2.p04.nsone.net. netdna-cdn.com. 94 IN NS ns-946.awsdns-54.net. netdna-cdn.com. 94 IN NS ns-97.awsdns-12.com. netdna-cdn.com. 94 IN NS ns-1716.awsdns-22.co.uk. ;; ADDITIONAL SECTION: dns1.p04.nsone.net. 18355 IN A 198.51.44.4 dns2.p04.nsone.net. 18355 IN A 198.51.45.4 dns3.p04.nsone.net. 18355 IN A 198.51.44.68 dns4.p04.nsone.net. 18355 IN A 198.51.45.68 ns-97.awsdns-12.com.52817 IN A 205.251.192.97 ns-946.awsdns-54.net. 52954 IN A 205.251.195.178 ns-1326.awsdns-37.org. 52954 IN A 205.251.197.46 ns-1716.awsdns-22.co.uk. 53082 IN A 205.251.198.180 ;; Query time: 2 msec ;; SERVER: 131.215.125.1#53(131.215.125.1) ;; WHEN: Sun Feb 28 19:59:44 2016 ;; MSG SIZE rcvd: 448 builder-osx-1:~ ram$ dig @131.215.254.100 packages.macports.org ; <<>> DiG 9.8.3-P1 <<>> @131.215.254.100 packages.macports.org ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47303 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 8, ADDITIONAL: 8 ;; QUESTION SECTION: ;packages.macports.org. IN A ;; ANSWER SECTION: packages.macports.org. 3600IN CNAME packages.macports.netdna-cdn.com. packages.macports.netdna-cdn.com. 300 IN A 198.232.124.36 ;; AUTHORITY SECTION: netdna-cdn.com. 920 IN NS ns-97.awsdns-12.com. netdna-cdn.com. 920 IN NS ns-946.awsdns-54.net. netdna-cdn.com. 920 IN NS ns-1716.awsdns-22.co.uk. netdna-cdn.com. 920 IN NS ns-1326.awsdns-37.org. netdna-cdn.com. 920 IN NS dns1.p04.nsone.net. netdna-cdn.com. 920 IN NS dns4.p04.nsone.net. netdna-cdn.com. 920 IN NS dns2.p04.nsone.net. netdna-cdn.com. 920 IN NS dns3.p04.nsone.net. ;; ADDITIONAL SECTION: dns1.p04.nsone.net. 18340 IN A 198.51.44.4 dns2.p04.nsone.net. 18340 IN A 198.51.45.4 dns3.p04.nsone.net. 18340 IN A 198.51.44.68 dns4.p04.nsone.net. 18340 IN A 198.51.45.68 ns-97.awsdns-12.com.104732 IN A 205.251.192.97 ns-946.awsdns-54.net. 104732 IN A 205.251.195.178 ns-1326.awsdns-37.org. 65395 IN A 205.251.197.46 ns-1716.awsdns-22.co.uk. 65395 IN A 205.251.198.180 ;; Query time: 37 msec ;; SERVER: 131.215.254.100#53(131.215.254.100) ;; WHEN: Sun Feb 28 19:59:58 2016 ;; MSG SIZE rcvd: 448 builder-osx-1:~ ram$ I have however found something else weird with this machine, when trying to install a port I sometimes get the following: :debug:archivefetch failed verification with key /opt/local/share/macports/macports-pubkey.pem :debug:archivefetch openssl output: couldn't create pipe: too many open files :warn:archivefetch Failed to verify signature for archive! This machine is sitting in a data centre in California and I'm currently talking with the admin who stood it up to try and get to the bottom of this as something is very weird... Cheers Adam ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
On Fri, Feb 26, 2016 at 02:52:33PM -0500, Daniel J. Luke wrote: > ok. > > Try: > > dig @131.215.125.1 packages.macports.org > > and > > dig @131.215.254.100 packages.macports.org > > to help rule out basic dns problems. I'd suggest: dig @131.215.125.1 any packages.macports.org Sometimes, IPv4 vs. IPv6 is the issue, or maybe there's something weird about a CNAME and what it resolves to. -- *** * John Oliver http://www.john-oliver.net/ * * * *** ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
ok. Try: dig @131.215.125.1 packages.macports.org and dig @131.215.254.100 packages.macports.org to help rule out basic dns problems. > On Feb 26, 2016, at 2:15 PM, Adam Mercerwrote: > On Feb 26, 2016 09:42, "Daniel J. Luke" wrote: > > What does /etc/resolv.conf contain? > > # This file is automatically generated. > # > search ligo.caltech.edu ligo.org > nameserver 131.215.125.1 > nameserver 131.215.254.100 -- Daniel J. Luke ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
On Feb 26, 2016 09:42, "Daniel J. Luke"wrote: > What does /etc/resolv.conf contain? # This file is automatically generated. # search ligo.caltech.edu ligo.org nameserver 131.215.125.1 nameserver 131.215.254.100 Cheers Adam ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
On Feb 26, 2016, at 8:53 AM, Brandon Allberywrote: > On Fri, Feb 26, 2016 at 8:10 AM, Rainer Müller wrote: > In particular, do you have a /opt/local/bin/grep which fails to execute? > > I don't think this matters much since it tries the fetch anyway and that also > fails to resolve the hostname. What does /etc/resolv.conf contain? -- Daniel J. Luke ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
On Fri, Feb 26, 2016 at 8:10 AM, Rainer Müllerwrote: > In particular, do you have a /opt/local/bin/grep which fails to execute? I don't think this matters much since it tries the fetch anyway and that also fails to resolve the hostname. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
On Fri, Feb 26, 2016 at 7:10 AM, Rainer Müllerwrote: > The command would be: > > ping -noq -c3 -t3 $host | grep round-trip | cut -d / -f 5 If I run that for packages.macports.org, the first one it says that fails then I get the following: builder-osx-1:~ ram$ ping -noq -c3 -t3 packages.macports.org | grep round-trip | cut -d / -f 5 14.594 builder-osx-1:~ ram$ and then for one of the others: builder-osx-1:~ ram$ ping -noq -c3 -t3 sea.us.packages.macports.org | grep round-trip | cut -d / -f 5 31.960 builder-osx-1:~ ram$ which is the output I'd expect > Did you have any ports installed before? Is the machine really new or > did you migrate your old installation? This is a fresh install of OS X (10.11.3, Xcode 7.2.1) and a brand new installation of MacPorts. I did install MacPorts from source, and not the installer, using: $ CFLAGS="-pipe -Os" ./configure --prefix=/opt/local --enable-readline but I do this on all of my machines. > In particular, do you have a /opt/local/bin/grep which fails to execute? builder-osx-1:~ ram$ which grep /usr/bin/grep builder-osx-1:~ ram$ Cheers Adam ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
On 2016-02-25 23:29, Adam Mercer wrote: > From this machine I can ping and contact all the hosts it complains about. The command would be: ping -noq -c3 -t3 $host | grep round-trip | cut -d / -f 5 > Any ideas what's going on here? Did you have any ports installed before? Is the machine really new or did you migrate your old installation? In particular, do you have a /opt/local/bin/grep which fails to execute? Rainer ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
On Thu, Feb 25, 2016 at 7:50 PM, Ryan Schmidtwrote: > You apparently can't resolve hosts, or at least MacPorts and programs it > spawn can't. I don't know why that would be, if you can do it outside of > MacPorts. Yes it's very weird... I'm open to any suggestions on how to debug this... Cheers Adam ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Spawning ping for packages.macports.org failed
> On Feb 25, 2016, at 4:29 PM, Adam Mercerwrote: > > Hi > > Just setting up MacPorts on a new machine and when I try to install a > port it fails with the following: > > DEBUG: Starting logging for expat > DEBUG: changing euid/egid - current euid: 0 - current egid: 0 > DEBUG: egid changed to: 501 > DEBUG: euid changed to: 507 > DEBUG: Executing org.macports.main (expat) > DEBUG: Privilege de-escalation not attempted as not running as root. > DEBUG: archivefetch phase started at Thu Feb 25 14:26:32 PST 2016 > ---> Fetching archive for expat > DEBUG: Executing org.macports.archivefetch (expat) > DEBUG: euid/egid changed to: 0/0 > DEBUG: chowned /opt/local/var/macports/incoming to macports > DEBUG: euid/egid changed to: 507/501 > ---> expat-2.1.0_0.darwin_15.x86_64.tbz2 doesn't seem to exist in > /opt/local/var/macports/incoming/verified > DEBUG: Spawning ping for packages.macports.org failed > DEBUG: Spawning ping for fco.it.packages.macports.org failed > DEBUG: Spawning ping for jnb.za.packages.macports.org failed > DEBUG: Spawning ping for lil.fr.packages.macports.org failed > DEBUG: Spawning ping for nou.nc.packages.macports.org failed > DEBUG: Spawning ping for nue.de.packages.macports.org failed > DEBUG: Spawning ping for mse.uk.packages.macports.org failed > DEBUG: Spawning ping for osl.no.packages.macports.org failed > DEBUG: Spawning ping for sea.us.packages.macports.org failed > DEBUG: Spawning ping for jog.id.packages.macports.org failed > ---> Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from > http://packages.macports.org/expat > % Total% Received % Xferd Average Speed TimeTime Time Current > Dload Upload Total SpentLeft Speed > 0 00 00 0 0 0 --:--:-- --:--:-- > --:--:-- 0DEBUG: Fetching archive failed:: Could not resolve host: > packages.macports.org > ---> Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from > http://fco.it.packages.macports.org/mirrors/macports-packages/expat/expat > % Total% Received % Xferd Average Speed TimeTime Time Current > Dload Upload Total SpentLeft Speed > 0 00 00 0 0 0 --:--:-- --:--:-- > --:--:-- 0DEBUG: Fetching archive failed:: Could not resolve host: > fco.it.packages.macports.org > ---> Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from > http://jnb.za.packages.macports.org/packages/expat > % Total% Received % Xferd Average Speed TimeTime Time Current > Dload Upload Total SpentLeft Speed > 0 00 00 0 0 0 --:--:-- --:--:-- > --:--:-- 0DEBUG: Fetching archive failed:: Could not resolve host: > jnb.za.packages.macports.org > ---> Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from > http://lil.fr.packages.macports.org/expat > % Total% Received % Xferd Average Speed TimeTime Time Current > Dload Upload Total SpentLeft Speed > 0 00 00 0 0 0 --:--:-- --:--:-- > --:--:-- 0DEBUG: Fetching archive failed:: Could not resolve host: > lil.fr.packages.macports.org > ---> Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from > http://nou.nc.packages.macports.org/pub/macports/packages.macports.org/expat > % Total% Received % Xferd Average Speed TimeTime Time Current > Dload Upload Total SpentLeft Speed > 0 00 00 0 0 0 --:--:-- --:--:-- > --:--:-- 0DEBUG: Fetching archive failed:: Could not resolve host: > nou.nc.packages.macports.org > ---> Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from > http://nue.de.packages.macports.org/macports/packages/expat > % Total% Received % Xferd Average Speed TimeTime Time Current > Dload Upload Total SpentLeft Speed > 0 00 00 0 0 0 --:--:-- --:--:-- > --:--:-- 0DEBUG: Fetching archive failed:: Could not resolve host: > nue.de.packages.macports.org > ---> Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from > http://mse.uk.packages.macports.org/sites/packages.macports.org/expat > % Total% Received % Xferd Average Speed TimeTime Time Current > Dload Upload Total SpentLeft Speed > 0 00 00 0 0 0 --:--:-- --:--:-- > --:--:-- 0DEBUG: Fetching archive failed:: Could not resolve host: > mse.uk.packages.macports.org > ---> Attempting to fetch expat-2.1.0_0.darwin_15.x86_64.tbz2 from > http://osl.no.packages.macports.org/expat > % Total% Received % Xferd Average Speed TimeTime Time Current > Dload Upload Total SpentLeft Speed > 0 00 00