Perl Pacman Ping

I am writing a Perl utilty to check for dead mirrors in the pacman mirrorlist.
The Net::Ping module seems to be working, but due to some symantics the live servers are being labeled dead.
http://hastebin.com/torekataci.pl
(sorry for the ugly formatting, it was rushed)

What is your question? Your script appears to have larger problems than live servers being labelled as dead. For starters, on my machine it truncates the hostnames:
Use of uninitialized value $1 in string at ./test.pl line 15, <LIST> line 1.
dead mirror:
Use of uninitialized value $1 in string at ./test.pl line 15, <LIST> line 2.
dead mirror:
Use of uninitialized value $1 in string at ./test.pl line 15, <LIST> line 3.
dead mirror:
Use of uninitialized value $1 in string at ./test.pl line 15, <LIST> line 4.
dead mirror:
Use of uninitialized value $1 in string at ./test.pl line 15, <LIST> line 5.
dead mirror:
Use of uninitialized value $1 in string at ./test.pl line 15, <LIST> line 6.
dead mirror:
dead mirror: on.net/pub
dead mirror: net.au/pub
dead mirror: edu.au/pub
dead mirror: edu.au
EDIT:
Consider using Regexp::Common
use warnings;
use strict;
use Net::Ping;
use Regexp::Common qw /URI/;;
my @servers;
my $serverso = 0;
my $mirror;
my $p = Net::Ping->new();
open LIST, "/etc/pacman.d/mirrorlist" or die "Mirrorlist not found. Is pacman properly installed?";
while(<LIST>)
m|Server = $RE{URI}{HTTP}{-keep}|i or next;
$mirror = $3;
print "dead mirror: $mirror\n" unless $p->ping($mirror);
die;
close(LIST);
Last edited by fukawi2 (2013-05-13 02:20:25)

Similar Messages

  • [SOLVED] pacman log optional dependencies

    Hi,
    Coming from ubuntu, just been trying Arch to get to know better the linux system and try a more KISS approach. I really like it, however I had a few troubles on the way which I am resolving slowly.. however concrenng pacman, maybe I am blind but I can't find a way to get all the messages displayed during some package installation in the pacman.log ; in particular all the optional dependencies are not listed there..
    Is there a way to get the full pacman log as shown during the installation in a log file ?
    Last edited by Alain2 (2009-11-08 02:05:52)

    Hi All,
    I saw this and had to take up the challenge.
    How's this? It's pure sed at work. It shows both required and optional dependencies.
    pacman -Qi | sed -n '/^Name/,/^Required By/{ /^Version/,/^Provides/d; /^Required By/d; /^Name/{x;p;x}; p }'
    This is a command line version of course so just make an alias for it in .bashrc. If you want to log it then create a cron script to update it. By the way this should alleviate the multi-line issue you were having as I did some reverse thinking on this. I just eliminated what we didn't need as opposed to just trying to find what we did need. Sometimes that works better. 
    Here's an example output: (The actual output is nice and tidy. Pasting into the forum here mucked the alignment up. ) lol!
    Name           : pcmciautils
    Depends On     : glibc  sysfsutils  module-init-tools>=3.2pre9 
    Optional Deps  : None
    Name           : pcre
    Depends On     : gcc-libs 
    Optional Deps  : None
    Name           : perl
                     perl-archive-tar=1.52  perl-autodie=2.06_01 
                     perl-attribute-handlers=0.85  perl-autoloader=5.68 
                     perl-b-debug=1.11  perl-b-lint=1.11  perl-base=2.14 
                     perl-bignum=0.23  perl-cgi=3.43  perl-class-isa=0.33 
                     perl-compress-raw-bzib2=2.020  perl-compress-raw-zlib=2.020 
                     perl-constant=1.17  perl-cpan=1.9402  perl-cpanplus=0.88 
                     perl-db_file=1.820  perl-dprof=20080331.00 
                     perl-data-dumper=2.124  perl-devel-ppport=3.19 
                     perl-devel-peek=1.04  perl-digest=1.16  perl-digest-md5=2.39 
                     perl-digest-sha=5.47  perl-encode=2.35 
                     perl-encoding-warnings=0.11  perl-exporter=5.63 
                     perl-extutils-cbuilder=0.2602  perl-extutils-command=1.16 
                     perl-extutils-constant=0.22  perl-extutils-embed=1.28 
                     perl-extutils-install=1.54  perl-extutils-makemaker=6.55_02 
                     perl-extutils-manifest=1.56  perl-extutils-parsexs=2.2002 
                     perl-file-fetch=0.20  perl-file-path=2.07_03 
                     perl-file-temp=0.22  perl-filter=1.37 
                     perl-filter-simple=0.84  perl-getopt-long=2.38  perl-if=0.05 
                     perl-io=1.25  perl-io-compress=2.020  perl-io-zlib=1.09 
                     perl-ipc-cmd=0.46  perl-ipc-sysv=2.01  perl-libnet=1.22 
                     perl-locale-codes=2.07  perl-locale-maketext=0.13 
                     perl-locale-maketext-simple=0.18  perl-log-message=0.02 
                     perl-log-message-simple=0.04  perl-mime-base64=3.08 
                     perl-math-bigint=1.89  perl-math-bigint-fastcalc=0.19 
                     perl-math-bigrat=0.22  perl-math-complex=1.56 
                     perl-memoize=1.01_03  perl-module-build=0.340201 
                     perl-module-corelist=2.18  perl-module-load=0.16 
                     perl-module-load-conditional=0.30  perl-module-loaded=0.02 
                     perl-module-pluggable=3.9  perl-next=0.64  perl-net-ping=2.36 
                     perl-object-accessor=0.34  perl-package-constants=0.02 
                     perl-params-check=0.26  perl-parent=0.221 
                     perl-parse-cpan-meta=1.39  perl-pathtools=3.30 
                     perl-pod-escapes=1.04  perl-pod-latex=0.58 
                     perl-pod-parser=1.37  perl-pod-perldoc=3.14_04 
                     perl-pod-simple=3.07  perl-podlators=2.2.2  perl-safe=2.18 
                     perl-scalar-list-utils=1.21  perl-selfloader=1.17 
                     perl-shell=0.72_01  perl-storable=2.20  perl-switch=2.14 
                     perl-sys-syslog=0.27  perl-term-cap=1.12  perl-term-ui=0.20 
                     perl-test=1.25_02  perl-test-harness=3.17 
                     perl-test-simple=0.92  perl-text-balanced=2.0.0 
                     perl-text-parsewords=3.27  perl-text-soundex=3.03 
                     perl-text-tabs+wraps=2009.0305  perl-thread-queue=2.11 
                     perl-thread-semaphore=2.09  perl-threads=1.72 
                     perl-threads-shared=1.29  perl-tie-file=0.97_02 
                     perl-tie-refhash=1.38  perl-time-hires=1.9719 
                     perl-time-local=1.1901  perl-time-piece=1.15 
                     perl-unicode-collate=0.52  perl-unicode-normalize=1.03 
                     perl-version=0.77  perl-win32=0.39  perl-win32api-file=0.1101 
                     perl-xsloader=0.10  perlio-via-quotedprint=0.06 
    Depends On     : gdbm  db>=4.8  coreutils  glibc  sh 
    Optional Deps  : None
    Name           : perl-crypt-ssleay
    Depends On     : perl>=5.10.0 
    Optional Deps  : None
    Have a nice day!!
    Hope this helps
    P.S. Here's another little tool I wrote you might find useful. Add to .bashrc
       wtd: (What They Do)
    alias wtd="pacman -Qi | sed -n '/Version/,/Install\ Script/!p' | grep -F -A2 "
    Just type:
    wtd program name
    This will output the description for the program(s) with program name in the title.
    Example:
    wtd grep
    Name : cgrep
    Description : Provides many of the features of grep, egrep, and fgrep with
    greatly enhanced performance
    Name : grep
    Description : A string search utility
    Edit: Well, I just showed above with Perl (duh!) I'm still having a multi-line issue with the Provides line. Where a program shows more than one Provides entry it's only deleting the first line.  I'll work on it and get back. Other than that this works (at least it should).
    Edit2: Here is a slightly hacked form of the above command that at least fixes the perl issue. This will still fail when encountering other multi-line Provides lines. I think those are fairly rare so I'm leaving it at that. Sed does have limits and I'm sure a more complex command could be written using sed but I think this will get you in the ballpark.
    pacman -Qi | sed -n '/^Name/,/^Required By/{ /^Version/,/^Provides/d; /^ *perl.*$/d; /^Required By/d; /^Name/{x;p;x}; p }'
    Last edited by harryNID (2009-11-08 19:12:03)

  • Custom dowload manager for pacman in chroot env

    Hello
    As this is the place for pacman in general I post here. Feel free to move that thread if you feel it would have a more suitable place.
    I'm willing to install Arch on my computer from the live disk of another distro (Tails, based on Debian). I follow these guidelines but an issue is risen because of Tor wich makes resolving DNS less straightforward. Thus I've tried to use the option XferCommand in /etc/pacman.conf in the following way:
    XferCommand = /usr/bin/curl --socks5-hostname 127.0.0.1:9050 -C - -f %u > %o
    but I just get errors.
    # pacman -S arch-install-scripts
    warning: database file for 'core' does not exist
    warning: database file for 'extra' does not exist
    warning: database file for 'community' does not exist
    error: target not found: arch-install-scripts
    # pacman -Syu
    warning: database file for 'core' does not exist
    warning: database file for 'extra' does not exist
    warning: database file for 'community' does not exist
    :: Synchronizing package databases...
    sh: /usr/bin/curl: No such file or directory
    error: failed to update core (error invoking external downloader)
    sh: /usr/bin/curl: No such file or directory
    error: failed to update extra (error invoking external downloader)
    sh: /usr/bin/curl: No such file or directory
    error: failed to update community (error invoking external downloader)
    error: failed to synchronize any databases
    error: failed to init transaction (error invoking external downloader)
    Would you have any idea to solve this problem? Of course I've checked that /usr/bin contains curl with this line:
    XferCommand = ls /usr/bin && /usr/bin/curl --socks5-hostname 127.0.0.1:9050 -C - -f %u > %o
    but it seems to be very contradictory:
    # pacman -Syu
    warning: database file for 'core' does not exist
    warning: database file for 'extra' does not exist
    warning: database file for 'community' does not exist
    :: Synchronizing package databases...
    bsdtar curl env ex nano pacman ping vi
    sh: /usr/bin/curl: No such file or directory
    error: failed to update core (error invoking external downloader)
    bsdtar curl env ex nano pacman ping vi
    sh: /usr/bin/curl: No such file or directory
    error: failed to update extra (error invoking external downloader)
    bsdtar curl env ex nano pacman ping vi
    sh: /usr/bin/curl: No such file or directory
    error: failed to update community (error invoking external downloader)
    error: failed to synchronize any databases
    error: failed to init transaction (error invoking external downloader)
    Last edited by Caocoa (2015-04-29 23:13:26)

    Here is what I've done:
    ARCHI=$(uname -m)
    ARCH_MINI="$HOME/tmp_arch"
    mkdir "$ARCH_MINI"
    cd "$ARCH_MINI"
    alias curl="torsocks curl"
    curl -O http://mir.archlinux.fr/~tuxce/chroot/archlinux.chroot.$ARCHI.tgz
    tar zxf archlinux.chroot.$ARCHI.tgz
    cp /etc/resolv.conf "$ARCH_MINI/etc/"
    mount -B /proc "$ARCH_MINI/proc"
    mount -B /dev "$ARCH_MINI/dev"
    mount -B /sys "$ARCH_MINI/sys"
    mount -B /dev/pts "$ARCH_MINI/dev/pts"
    ARCH_SYS="$ARCH_MINI/mnt"
    mount /dev/sda4 "$ARCH_SYS"
    mkdir -p "$ARCH_SYS"/var/{cache/pacman/pkg,lib/pacman} "$ARCH_SYS"/{dev,proc,sys,run,tmp,etc,boot,root,home}
    mount -B /proc "$ARCH_SYS/proc"
    mount -B /dev "$ARCH_SYS/dev"
    mount -B /sys "$ARCH_SYS/sys"
    lsblk
    mount /dev/sda2 "$ARCH_SYS"/boot
    mount /dev/sda1 "$ARCH_SYS"/efi
    mount /dev/sda5 "$ARCH_SYS"/home
    echo 'PS1="(installation) \w \\$ "' > "$ARCH_SYS/root/.bashrc"
    chroot "$ARCH_MINI" /bin/bash
    The main issue is I can't use pacman:
    (Arch mini) / # pacman -Syu
    warning: database file for 'core' does not exist
    warning: database file for 'extra' does not exist
    warning: database file for 'community' does not exist
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from mir.archlinux.fr : Could not resolve host: mir.archlinux.fr; Unknown error
    error: failed to update core (download library error)
    error: failed retrieving file 'extra.db' from mir.archlinux.fr : Could not resolve host: mir.archlinux.fr; Unknown error
    error: failed to update extra (download library error)
    error: failed retrieving file 'community.db' from mir.archlinux.fr : Could not resolve host: mir.archlinux.fr; Unknown error
    error: failed to update community (download library error)
    error: failed to synchronize any databases
    error: failed to init transaction (download library error)
    Even if I try to copy curl binary from the host to the chroot and pass it socks option (like in my first message) it says:
    /usr/bin/curl: No such file or directory
    By default, pacman can't resolve repo name:
    (Arch mini) / # pacman -Syu
    warning: database file for 'core' does not exist
    warning: database file for 'extra' does not exist
    warning: database file for 'community' does not exist
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from mir.archlinux.fr : Could not resolve host: mir.archlinux.fr; Unknown error
    error: failed to update core (download library error)
    error: failed retrieving file 'extra.db' from mir.archlinux.fr : Could not resolve host: mir.archlinux.fr; Unknown error
    error: failed to update extra (download library error)
    error: failed retrieving file 'community.db' from mir.archlinux.fr : Could not resolve host: mir.archlinux.fr; Unknown error
    error: failed to update community (download library error)
    error: failed to synchronize any databases
    error: failed to init transaction (download library error)
    If I want to change the adress of the repo in mirrorlist to the resolved IP address
    Server = http://91.121.141.57/$repo/os/$arch
    it's doesn't work either but says:
    (Arch mini) / # pacman -Syu
    warning: database file for 'core' does not exist
    warning: database file for 'extra' does not exist
    warning: database file for 'community' does not exist
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from 91.121.141.57 : couldn't connect to host
    error: failed to update core (download library error)
    error: failed retrieving file 'extra.db' from 91.121.141.57 : couldn't connect to host
    error: failed to update extra (download library error)
    error: failed retrieving file 'community.db' from 91.121.141.57 : couldn't connect to host
    error: failed to update community (download library error)
    error: failed to synchronize any databases
    error: failed to init transaction (download library error)
    Last edited by Caocoa (2015-04-30 11:15:15)

  • ABS doesn't contain all packages

    My local ABS tree doesn't seem to contain anywhere near all of the packages in the standard repositories. I can do an ABS sync from 'rsync.archlinux.org' and be told that all packages are available, but my repositories are still missing various packages:
    ==> Starting ABS sync...
    receiving file list ... done
    sent 195 bytes received 337574 bytes 225179.33 bytes/sec
    total size is 15371645 speedup is 45.51
    https://www.archlinux.org/packages/extra/x86_64/blas/
    ll /var/abs/extra/blas
    ls: cannot access /var/abs/extra/blas: No such file or directory
    Can anybody shed any light as to why this should be so?
    My abs.conf:
    # /etc/abs.conf
    # the top-level directory of all your PKGBUILDs
    [ "$ABSROOT" = "" ] && ABSROOT="/var/abs/"
    # Server to sync from
    SYNCSERVER="rsync.archlinux.org"
    # The architecture to fetch abs for
    # Either i686 or x86_64
    ARCH="x86_64"
    # Pacman mirror list used for syncing via tarball
    MIRRORLIST="/etc/pacman.d/mirrorlist"
    # REPOS to be parsed by abs (in this order)
    # (prefix a repo with a ! to disable it)
    # Note: If a repo is removed, it is still fetched!
    # Repos must be preceded with a ! to prevent fetching
    REPOS=(core extra community multilib !testing !community-testing !multilib-testing
    !staging !community-staging !gnome-unstable !kde-unstable)
    And mirrorlist:
    Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/$arch

    rxvt is not found also and I would guess others
    after abs sync:
    # find /var/abs -mindepth 2 -maxdepth 2 -type d|wc -l
    3172
    # find /var/abs -mindepth 2 -maxdepth 2 -type d|grep rxvt
    /var/abs/community/urxvt-perls
    # pacman -Ss rxvt|grep /
    community/rxvt 2.7.10-6
    community/rxvt-unicode 9.18-7
    community/rxvt-unicode-terminfo 9.18-7
    community/urxvt-perls 2.0-3
    I am doing daily tars :
    # ls -la /var/abs-old/|tail
    -rw-r--r--  1 root root 4659857 Jul  8 11:11 2013-07-08.tgz
    -rw-r--r--  1 root root 4653318 Jul  9 11:11 2013-07-09.tgz
    -rw-r--r--  1 root root 4651709 Jul 10 11:11 2013-07-10.tgz
    -rw-r--r--  1 root root 4655492 Jul 11 11:11 2013-07-11.tgz
    -rw-r--r--  1 root root 4656734 Jul 12 11:11 2013-07-12.tgz
    -rw-r--r--  1 root root 4653529 Jul 13 11:11 2013-07-13.tgz
    -rw-r--r--  1 root root 4658524 Jul 14 11:11 2013-07-14.tgz
    -rw-r--r--  1 root root 4652083 Jul 15 11:11 2013-07-15.tgz
    -rw-r--r--  1 root root 4653726 Jul 16 11:11 2013-07-16.tgz
    -rw-r--r--  1 root root 3005891 Jul 17 11:11 2013-07-17.tgz

  • [SOLVED] SLOW web SURFING (tcpdumps attached)

    THIS PROBLEM HAS ALREADY BEEN SOLVED, THANKS TO heftig from #archlinux that solved this. The solution was actually pretty simple, set tcp_window_scaling to 0:
    echo 0 > /proc/sys/net/ipv4/tcp_window_scaling
    This is actually not gnu/linux fault at all. It's my ISP's fault. Here in Mexico, there's a cable company called "MEGACABLE", they seem to hire the system admins that now nothing or little about what they are doing, and this is exactly what caused the problem. The isp runs a transparent proxy (squid), and in the words of heftig this problem reduces to this:
    "the issue is their proxy is announcing 'i understand window scaling' even though it doesn't. seems it needs a kernel upgrade"
    This one issue is an isolated one, there are other issues regarding the transparent proxy, but I can live with those.
    Hello, recently I've noticed my web surfing experience under archlinux is extremely slow. First I thought it was a problem with my ISP, but the problem only happened when surfing the web, if I download a file it will download it at the expected rate (5mbit). Other applications work fine (IM, pacman, ping, etc).
    The first thing I did was trying with a fresh firefox profile, the problem persisted. Then I tried running it in safe mode, problem still persisted. So I tried a different web browser (konqueror) and the problem was still there. So I discarded this as a browser problem. On this same machine, I ran a virtualized windows instance (virtualbox): web surfing goes many times faster in there (using firefox too).
    I manually configured NAT for the virtualized windows machine, so I'm pretty sure all traffic is flowing through my host OS (archlinux). Just to be sure it was not a firewall problem I disabled it, the slow web surfing problem persisted. I don't think this is a DNS issue either, both are using the same dns configuration and doing "nslookup archlinux.org" returns in less than a second (tried that with many other address as well).
    So, just to verify what was going on I decided to do a test using tcpdump for webpage http://www.opendns.org (not using it, but this was just for testing). Below are the dumps for both native (archlinux) dump and virtualized (windows) dump. I noticed the archlinux dump shows a really small window size for packets, while the windows machine does not. Also, archlinux receives almost twice as much packets in the process than the windows machine. <-- Already solve this, thanks jargoman.
    Additional information:
    * there's no web proxy configured for any of the machines (except for the one behind my ISP, but that shouldn't concern me).
    * I have changed MTU already (my ISP's dhcp server was setting it to 576, changed it to 1400).
    * I did some more tests, sometimes (frequently) I get lots of small Push packets and the web page loads extremely slow, it goes image by image and line by line in paragraphs. Below is a dump that shows this behavior. Notice it took 600 packets to load a single page, it loaded very very slow.
    ARCHLINUX DUMP
    tcpdump -i eth0 -n tcp and host opendns.com
    16:10:02.395080 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [S], seq 1164693811, win 2144, options [mss 536,sackOK,TS val 13806187 ecr 0,nop,wscale 7], length 0
    16:10:02.404975 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [S.], seq 3422882, ack 1164693812, win 8760, options [mss 1460,wscale 0,eol], length 0
    16:10:02.405028 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 1, win 17, length 0
    16:10:02.405118 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 1, win 17, length 536
    16:10:02.405128 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [P.], ack 1, win 17, length 119
    16:10:02.592995 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 1, win 46, length 0
    16:10:02.593969 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 0
    16:10:02.630362 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [P.], ack 656, win 54, length 329
    16:10:02.630396 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 330, win 26, length 0
    16:10:02.630929 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.630945 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 866, win 34, length 0
    16:10:02.727854 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.727909 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 1402, win 42, length 0
    16:10:02.728954 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.729017 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 1402, win 42, length 0
    16:10:02.729899 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [P.], ack 656, win 54, length 536
    16:10:02.729964 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 2474, win 51, length 0
    16:10:02.823468 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.823524 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 3010, win 59, length 0
    16:10:02.826161 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [P.], ack 656, win 54, length 536
    16:10:02.826216 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 3546, win 67, length 0
    16:10:02.828020 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.828042 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 3546, win 67, length 0
    16:10:02.828807 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.828824 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 4618, win 76, length 0
    16:10:02.829747 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.829766 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 5154, win 84, length 0
    16:10:02.918759 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.918787 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 5690, win 93, length 0
    16:10:02.920392 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.920449 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 6226, win 101, length 0
    16:10:02.923307 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [P.], ack 656, win 54, length 536
    16:10:02.923334 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 6226, win 101, length 0
    16:10:02.924339 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [P.], ack 656, win 54, length 536
    16:10:02.924356 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 6762, win 109, length 0
    16:10:02.926423 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.926441 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 6762, win 109, length 0
    16:10:02.927912 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.927927 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 8370, win 118, length 0
    16:10:02.928379 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.928398 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 8370, win 118, length 0
    16:10:02.929324 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.929347 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 9442, win 126, length 0
    16:10:02.930903 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:02.930924 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 9978, win 134, length 0
    16:10:03.015360 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:03.015399 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 10514, win 143, length 0
    16:10:03.016434 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:03.016496 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 11050, win 151, length 0
    16:10:03.017549 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [P.], ack 656, win 54, length 536
    16:10:03.017604 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 11586, win 160, length 0
    16:10:03.019564 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:03.019611 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 12122, win 168, length 0
    16:10:03.020917 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [P.], ack 656, win 54, length 501
    16:10:03.020936 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 12623, win 176, length 0
    16:10:03.022810 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:03.022830 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 12623, win 176, length 0
    16:10:03.024203 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 656, win 54, length 536
    16:10:03.024218 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 13695, win 185, length 0
    16:10:03.024931 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [P.], ack 656, win 54, length 210
    16:10:03.024948 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 13905, win 193, length 0
    16:10:03.025535 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [P.], ack 656, win 54, length 7
    16:10:03.025553 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [.], ack 13912, win 193, length 0
    16:10:03.025565 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [F.], seq 13912, ack 656, win 54, length 0
    16:10:03.025685 IP 10.110.81.195.37877 > 208.69.38.150.80: Flags [F.], seq 656, ack 13913, win 193, length 0
    16:10:03.123024 IP 208.69.38.150.80 > 10.110.81.195.37877: Flags [.], ack 657, win 54, length 0
    16:10:04.683194 IP 10.110.81.195.37884 > 208.69.38.150.80: Flags [S], seq 1201807023, win 2144, options [mss 536,sackOK,TS val 13806874 ecr 0,nop,wscale 7], length 0
    16:10:04.692852 IP 208.69.38.150.80 > 10.110.81.195.37884: Flags [S.], seq 26796320, ack 1201807024, win 8760, options [mss 1460,wscale 0,eol], length 0
    16:10:04.692919 IP 10.110.81.195.37884 > 208.69.38.150.80: Flags [.], ack 1, win 17, length 0
    16:10:04.692994 IP 10.110.81.195.37884 > 208.69.38.150.80: Flags [.], ack 1, win 17, length 536
    16:10:04.693004 IP 10.110.81.195.37884 > 208.69.38.150.80: Flags [P.], ack 1, win 17, length 224
    16:10:04.706404 IP 208.69.38.150.80 > 10.110.81.195.37884: Flags [.], ack 537, win 32696, length 0
    16:10:04.706452 IP 208.69.38.150.80 > 10.110.81.195.37884: Flags [.], ack 761, win 32584, length 0
    16:10:04.908541 IP 208.69.38.150.80 > 10.110.81.195.37884: Flags [.], ack 761, win 32964, length 536
    16:10:04.908584 IP 10.110.81.195.37884 > 208.69.38.150.80: Flags [.], ack 537, win 26, length 0
    16:10:04.909880 IP 208.69.38.150.80 > 10.110.81.195.37884: Flags [P.], ack 761, win 32964, length 286
    16:10:04.909917 IP 10.110.81.195.37884 > 208.69.38.150.80: Flags [.], ack 823, win 34, length 0
    WINDOWS DUMP
    tcpdump -i eth0 -n tcp and host opendns.com
    16:09:42.130172 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 9975834, win 64240, length 536
    16:09:42.130216 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [P.], ack 1, win 64240, length 133
    16:09:42.335734 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 0, win 5840, length 0
    16:09:42.335774 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 669, win 6432, length 0
    16:09:42.404828 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [P.], ack 669, win 6432, length 329
    16:09:42.405647 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 669, win 6432, length 1380
    16:09:42.406125 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 1710, win 64240, length 0
    16:09:42.508888 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 669, win 6432, length 1380
    16:09:42.509202 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 1710, win 64240, length 0
    16:09:42.511601 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 669, win 6432, length 1380
    16:09:42.512218 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 4470, win 64240, length 0
    16:09:42.514308 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 669, win 6432, length 1380
    16:09:42.514994 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 5850, win 64240, length 0
    16:09:42.608441 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 669, win 6432, length 1380
    16:09:42.611712 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 669, win 6432, length 1380
    16:09:42.614715 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 7230, win 64240, length 0
    16:09:42.616634 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 669, win 6432, length 1380
    16:09:42.617770 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 9990, win 64240, length 0
    16:09:42.619459 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 669, win 6432, length 1380
    16:09:42.620802 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 11370, win 64240, length 0
    16:09:42.622500 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [P.], ack 669, win 6432, length 1253
    16:09:42.711272 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [P.], ack 669, win 6432, length 7
    16:09:42.711735 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 12623, win 64240, length 0
    16:09:42.711757 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [P.], ack 669, win 6432, length 1282
    16:09:42.712316 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 13912, win 64240, length 0
    16:09:42.712351 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [F.], seq 669, ack 13912, win 64240, length 0
    16:09:42.713234 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [F.], seq 13912, ack 669, win 6432, length 0
    16:09:42.714178 IP 10.110.81.195.1583 > 208.69.38.150.80: Flags [.], ack 13913, win 64240, length 0
    16:09:42.819594 IP 208.69.38.150.80 > 10.110.81.195.1583: Flags [.], ack 670, win 6432, length 0
    16:09:43.752660 IP 10.110.81.195.1585 > 208.69.38.150.80: Flags [S], seq 1619761946, win 64240, options [mss 1460,nop,nop,sackOK], length 0
    16:09:43.802954 IP 208.69.38.150.80 > 10.110.81.195.1585: Flags [S.], seq 12220252, ack 1619761947, win 8760, options [mss 1460,eol], length 0
    16:09:43.803630 IP 10.110.81.195.1585 > 208.69.38.150.80: Flags [.], ack 1, win 64240, length 0
    16:09:43.803662 IP 10.110.81.195.1585 > 208.69.38.150.80: Flags [.], ack 1, win 64240, length 536
    16:09:43.803677 IP 10.110.81.195.1585 > 208.69.38.150.80: Flags [P.], ack 1, win 64240, length 237
    16:09:43.814162 IP 208.69.38.150.80 > 10.110.81.195.1585: Flags [.], ack 537, win 65164, length 0
    16:09:43.814258 IP 208.69.38.150.80 > 10.110.81.195.1585: Flags [.], ack 774, win 64927, length 0
    16:09:44.017480 IP 208.69.38.150.80 > 10.110.81.195.1585: Flags [P.], ack 774, win 65535, length 823
    16:09:44.186029 IP 10.110.81.195.1585 > 208.69.38.150.80: Flags [.], ack 824, win 64240, length 0
    ULTRA SLOW ARCHLINUX DUMP (this is from just one request!)
    tcpdump -i eth0 -n tcp and host opendns.com
    http://pastebin.com/m15ee1831
    What's going on here? I'm really lost. I'll really appreciate all the help you can give.
    Edgar Merino
    Last edited by bimbo (2009-10-27 02:46:12)

    if you search Maximum Transmission Unit it's a setting in routers and can be set in windows/linux. It's the default size of a tpc packet. Or the maximum a tcp packet can be. If you can set the mtu in arch as much the windows maybe it will help. I don't really know how to do that but by looking at your tcpdump I'd say the windows mtu is 1380 and arch's is 536. Arch would need about 2.5 more packets per transmission. I think routers are set to 1400 - 1440 or so setting it above 1400 is a probably a bad idea.

  • How do you get java regex to match two different pattern

    Hi,
    I am having trouble getting getting java regex to match two pattern: "unknown host" or "100%".
    Here is a snippet of my code:
    try{
    Process child = Runtime.getRuntime().exec(" perl c:\\ping.pl");
    BufferedReader in = new BufferedReader( new InputStreamReader( child.getInputStream() ));
    String patternStr = "(unknown host | 100 %)";
    Pattern pattern = Pattern.compile(patternStr);
    Matcher matcher = pattern.matcher(" ");
    String line = null;
    while ( (line = in.readLine()) != null){
    System.out.println(line);
    matcher.reset(line);
    if (matcher.find())
    // line matches throws pattern
    System.out.println("match string");
    else
    System.out.println("no matches");
    I thought the "|" means OR but somehow it is not working.
    kirk123

    Hi,
    with String patternStr = "(unknown host | 100 %)"; you are looking
    for the strings "unknown host " OR " 100 %", with the spaces after host and before 100.
    Try "(unknown host|100 %)"
    hope, this will help you

  • No ping / traceroute / google earth since Pacman Syu today

    Hello,
    I did a pacman -Syu this morning as I do most days.  To be honest I can't recall precisely what was updated (kernel headers, glibc not sure what else - sorry).  I am now finding that while I can surf the web / be on IRC / dowload my e-mails - some things are broken.  I am not sure if they are related, but they were all working very recently. I use pan for usenet and it is giving me "no such process" when trying to contact my news server.  whois is giving "Temporary failure in name resolution", ping and traceroute are is giving "unknown host" on everything, and google earth "cannot contact  authentication server".
    I have not done anthing to my network settings or router, and other boxes using it can still (eg) ping out.
    I am nervous about trying a reboot in case I lose the connectivity I have, because I really need this box functional on the net at the moment.
    I am baffled.  Any ideas please?
    Added by way of edit : - I had both Firefox and Opera open. I tried closing Opera and on restarting it cannot connect to the net. I suppose that I will lose connectivity with other applications if I close them.
    Second edit : So I got my head out of my rear sufficiently to read the pacman.log. Todays upgrades were :
    [2008-12-16 10:15] starting full system upgrade
    [2008-12-16 10:28] upgraded kernel-headers (2.6.26.3-1 -> 2.6.27.6-2)
    [2008-12-16 10:28] warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
    [2008-12-16 10:28] Generating locales...
    [2008-12-16 10:28]   en_GB.UTF-8... done
    [2008-12-16 10:28]   en_GB.ISO-8859-1... done
    [2008-12-16 10:28] Generation complete.
    [2008-12-16 10:28] upgraded glibc (2.8-3 -> 2.9-2)
    [2008-12-16 10:28] upgraded binutils (2.18-9 -> 2.19-1)
    [2008-12-16 10:28] upgraded bison (2.3-4 -> 2.4.1-1)
    [2008-12-16 10:28] upgraded dhcpcd (4.0.4-1 -> 4.0.7-1)
    [2008-12-16 10:28] upgraded gcc-libs (4.3.2-1 -> 4.3.2-2)
    [2008-12-16 10:28] upgraded gcc (4.3.2-1 -> 4.3.2-2)
    [2008-12-16 17:16] synchronizing package lists
    I don't know what could cause this apart from glibc.
    I am also wondering whether this is the related to the issue metalforever reported earlier today with his "transient resolver failure"
    It makes no difference to run as root btw.
    Last edited by perseus (2008-12-16 17:56:35)

    I found that the problem was a DNS one.  ping etc worked if I fed it IP addresses instead of domain names.  I am using pdnsd, which seemed to be working so far as I could tell.  The daemon was running and "pdnsd-ctl dump" output the contents of what seems to be a valid cache.  I changed /etc/resolv.conf to stop using pdnsd temporarily and my DNS came back.
    I still don't have the faintest idea why this problem has arisen.  I am too busy to try taking it any further at the moment.  Maybe I should cross-post this in the networking forum.

  • [SOLVED] Perl updated to 5.20: Should I pacman -Syu?

    Hi all,
    In the arch home page one reads:
    Perl updated to 5.20
    2014-06-04
    Perl 5.20, as any other new perl version, requires all modules that are not purely perl code to be rebuilt. We did that for all packages in our repos.
    The last couple major updates printed an error message when trying to load modules built against the wrong version, 5.20 seems to cause segfaults. Please make sure to rebuild all custom installed CPAN modules and binaries that link to libperl.so.
    Refer to my post on arch-dev-public for a script that helps to find those packages.
    I executed the script and I got this:
    $cd /tmp/find-broken-perl-package.22jFUOeh
    $ls *
    pacman.txt perl-dists.txt perl-modules.txt raw.txt
    $cat *
    libproxy
    Net::Libproxy
    /usr/lib/perl5/vendor_perl/auto/Net/Libproxy/Libproxy.so
    I read the announcement, but I'm not sure what to do next.. What should I rebuild and how?
    Or am I good to just go on and pacman -Syu? I'm a bit extra cautious as I had problems in
    the past when I wasn't.
    Thanks in advance
    EDIT: perl-dists.txt was empty, so the output of cat * is for pacman.txt, perl-modules.txt, and raw.txt, respectively.
    Last edited by geo909 (2014-06-17 01:43:51)

    tomk wrote:I guess it might be helpful to add that in the news item, the word "custom" essentially means "installed from source(s) other than the official Arch repos", since the devs have taken care of any official packages. So you just need to determine the source of that libproxy package, and then rebuild or not as required.
    Thanks.. I think I'll be safe to upgrade. Just one more question: while trying to figure out who is using the libproxy package
    I did the following:
    jorge@flamingo:~$ sudo pacman -Qo /usr/lib/perl5/vendor_perl/auto/Net/Libproxy/Libproxy.so
    /usr/lib/perl5/vendor_perl/auto/Net/Libproxy/Libproxy.so is owned by libproxy 0.4.11-2
    Ok, so sure enough Libproxy.so is used by libproxy. Then I'm not sure how to find out
    who is using libproxy as a dependency. I did
    pacman -Si libproxy
    but that didn't give any information about that. So I had to pretend that I'm
    uninstalling things to get to what is using libproxy:
    jorge@flamingo:~$ sudo pacman -R libproxy
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: glib-networking: requires libproxy
    jorge@flamingo:~$ sudo pacman -R glib-networking
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: libsoup: requires glib-networking
    jorge@flamingo:~$ sudo pacman -R libsoup
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: abiword-plugins: requires libsoup
    :: darktable: requires libsoup
    :: gst-plugins-good: requires libsoup
    :: gstreamer0.10-good-plugins: requires libsoup-gnome
    :: gvfs: requires libsoup
    :: webkitgtk2: requires libsoup
    Is there a more proper way of obtaining those packages?

  • [solved] Perl script for pacman updates in Conky

    Hi
    I've been using this script in Perl Conky to check on updates. It works well.
    It's not mine - I got it here;
    http://bbs.archlinux.org/viewtopic.php?id=57291
    #!/usr/bin/perl
    ## script by Xyne
    ## http://bbs.archlinux.org/viewtopic.php?id=57291
    use strict;
    use warnings;
    my $n = (`pacman -Qu | wc -l`);
    chomp ($n);
    if ($n == 0)
    print "System up to date"
    elsif($n == 1)
    print "1 new package"
    else
    print "$n new packages (inc. IgnorePkg) "
    I have some packages listed in IgnorePkg in pacman.conf - is there a way to exclude them from the packages counted in $n?
    I thought something like this would help but I don't see how to take only part of a line from IgnorePkg
    http://www.perlfect.com/articles/perlfile.shtml
    Thanks for any help
    EDIT I added a --ignore clause to the pacman query. Seems to have worked. Sorry to waste your time.
    Last edited by Bazzaah (2012-07-04 09:25:46)

    bump...
    Edit: Finally figured it out. My router assigns IP adresses dynamically on each reboot. When my IP adress changed from 192.169.1.2 to 192.168.1.3 the hellaconk script got all confused. Ahh...
    Last edited by Perre (2009-03-12 18:59:40)

  • Perl-xml-sax conflict prevents pacman from updating [SOLVED]

    When I run pacman -Syu, I get this:
    (36/36) checking for file conflicts                 [####################################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    perl-xml-sax: /usr/lib/perl5/site_perl/current/XML/SAX/ParserDetails.ini exists in filesystem
    errors occurred, no packages were upgraded.
    Can I get some pointers on how to fix this? I tried searching the forums for anyone else having this problem but no dice.
    Thanks!
    edit: enrique's advice worked and the system upgraded.
    Last edited by kandrews (2007-08-24 15:19:16)

    I had the same problem when installing xmltv.
    First I checked what package owned the file: pacman -Qo /usr/lib/perl5/site_perl/current/XML/SAX/ParserDetails.ini
    Then I removed the package, and I still got a similar error, so I just removed the file, because no package owned it any longer.

  • Prankm - Parallel ping ranker for pacman's mirrorlist

    A simple little script that ranks servers in a mirrorlist by pinging them in parallel. Takes about a second to rank my mirrorlist. You must be root because it can only send ICMP echo requests for pinging. With the --inplace option it will write back the ranked server list to the mirrorlist file you specify. If no file is specified it uses /etc/pacman.d/mirrorlist. Preserves grouping of servers done with one-line comment headers like countries.
    prankm on AUR: http://aur.archlinux.org/packages.php?ID=41795
    Usage:
    prankm [-i] [-n #] [-m #.#] [/etc/pacman.d/mirrorlist]
    Ranks the mirrorlist file. If a mirrorlist is not given as an
    argument then the default /etc/pacman.d/mirrorlist file is read.
    Options:
    -n | --num The number of top ranked servers to use in file.
    Set to 0 to use all servers. Default: 20
    -m | --max Maximum delay to wait for pings, in seconds.
    Default: 0.25
    -i | --inplace Inplace editing, overwrite source file with results.
    -h | --help This help screen.
    Example use:
    [juster@artemis prankm]$ sudo prankm -i
    Defaulting to /etc/pacman.d/mirrorlist.
    Wrote /etc/pacman.d/mirrorlist.
    76/93 pings in 0.989 seconds.
    [juster@artemis prankm]$
    The summary displays ping responses received / pings sent.

    The wiki has https://wiki.archlinux.org/index.php/Mi … _Generator Maybe you can enhance that script?
    If you're not sure if the outcome is correct, post it on the wiki talk page first.

  • PaCPAN: tool for building Perl packages for Pacman from CPAN

    http://xyne.archlinux.ca/info/pacpan
    *edit*
    Pacpan functionality has evolved as of version 4.0. CPAN distribution and metadata handling has improved and there are now functions which can query installed packages to determine their adherence to the packaging guidelines.
    Building packages with dependency resolution etc has been move to bauerbill, which can now build CPAN packages using standard pacman options, e.g. "bauerbill -S perl-foo-bar" or "bauerbill -S Foo::Bar".
    Last edited by Xyne (2010-02-01 22:00:32)

    Imagine going looking for a perl cpan pacman solution and finding out you wrote one ofc i had to give it a spin
    Works really well but i did run into trouble when installing Spreadsheet::WriteExcel something went wrong with one of the dependencies.
    REQUIREMENTS
        This module requires Perl 5.005 (or later), Parse::RecDescent
        and File::Temp:
    Works fine as long as i removed, 'perl-' from depends=
    [vociferous@avatar ~]$ pacpan Spreadsheet::WriteExcel
    ==> retrieving info for Spreadsheet::WriteExcel
    Use of uninitialized value $module in hash element at /usr/bin/pacpan line 961, <GEN1> line 298.
    Use of uninitialized value $p_dep in string eq at /usr/bin/pacpan line 789, <GEN1> line 298.
    Use of uninitialized value $p_dep in hash element at /usr/bin/pacpan line 790, <GEN1> line 298.
    ==> FOUND: found pkg: File::Temp -> perl
    ==> retrieving info for OLE::Storage_Lite
    ==> FOUND: found pkg: Parse::RecDescent -> perl-parse-recdescent
    Use of uninitialized value in concatenation (.) or string at /usr/bin/pacpan line 546, <GEN1> line 1098.
    Use of uninitialized value $pkgname in concatenation (.) or string at /usr/bin/pacpan line 559, <GEN1> line 1098.
    Use of uninitialized value $pkgver in concatenation (.) or string at /usr/bin/pacpan line 559, <GEN1> line 1098.
    Use of uninitialized value $url in concatenation (.) or string at /usr/bin/pacpan line 559, <GEN1> line 1098.
    Use of uninitialized value $name in concatenation (.) or string at /usr/bin/pacpan line 325, <GEN1> line 1098.
    Use of uninitialized value $ver in concatenation (.) or string at /usr/bin/pacpan line 325, <GEN1> line 1098.
    Use of uninitialized value $name in concatenation (.) or string at /usr/bin/pacpan line 340, <GEN1> line 1098.
    Use of uninitialized value $name in concatenation (.) or string at /usr/bin/pacpan line 340, <GEN1> line 1098.
    Use of uninitialized value $name in concatenation (.) or string at /usr/bin/pacpan line 340, <GEN1> line 1098.
    Use of uninitialized value $name in concatenation (.) or string at /usr/bin/pacpan line 340, <GEN1> line 1098.
    ==> SUCCESS: generated build script: build_cpan
    pacpan Spreadsheet::WriteExcel --get-pkgbuild
    Use of uninitialized value $module in hash element at /usr/bin/pacpan line 961, <GEN1> line 298.
    Use of uninitialized value $p_dep in string eq at /usr/bin/pacpan line 789, <GEN1> line 298.
    Use of uninitialized value $p_dep in hash element at /usr/bin/pacpan line 790, <GEN1> line 298.
    # PKGBUILD generated by pacpan
    pkgname=perl-spreadsheet-writeexcel
    _realname=Spreadsheet-WriteExcel
    pkgver=2.25
    pkgrel=1
    pkgdesc="no description available"
    arch=(i686 x86_64)
    license=('unknown, check site')
    url="http://search.cpan.org/~jmcnamara/Spreadsheet-WriteExcel-2.25/lib/Spreadsheet/WriteExcel.pm"
    depends=('perl' 'perl-parse-recdescent' 'perl-' 'perl-ole-storage_lite')
    options=(!emptydirs)
    #provides=('Spreadsheet-WriteExcel')
    provides=('spreadsheet-writeexcel')
    source=(http://search.cpan.org/CPAN/authors/id/J/JM/JMCNAMARA/Spreadsheet-WriteExcel-2.25.tar.gz)
    md5sums=('ad70e5b031c0af60c50a72d8b09240c9')
    build() {
    cd ${srcdir}/${_realname}-${pkgver}
    # install module in vendor directories.
    PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
    make || return 1
    make install DESTDIR=${pkgdir} || return 1
    # remove perllocal.pod and .packlist
    find ${pkgdir} -name perllocal.pod -delete
    find ${pkgdir} -name .packlist -delete
    # END OF PACPAN PKGBUILD

  • Pacman -S snownews cannot resolve dependency perl-libxslt

    I am getting this dependency resolution error when I try to install snownews:
    resolving dependencies...
    error: cannot resolve dependencies for "snownews" ("perl-libxslt" is not in the package set)
    error: failed to prepare transaction (could not satisfy dependencies)
    :: snownews requires perl-libxslt

    Here is the latest PKGBUILD for snownews that fixes the dep-problem:
    # Maintainer: Sergej Pupykin <[email protected]>
    # Contributor: Christoph 'delmonico' Neuroth <[email protected]>
    pkgname=snownews
    pkgver=1.5.7
    pkgrel=3
    pkgdesc="Text mode RSS newsreader for Linux and Unix."
    url="http://kiza.kcore.de/software/snownews/"
    depends=('libxml2' 'ncurses' 'perl-xml-libxml' 'perl-xml-libxslt')
    arch=(i686)
    source=(http://kiza.kcore.de/software/snownews/download/$pkgname-$pkgver.tar.gz)
    md5sums=('75ffa004e755a233f49b1cdfcd9e3d85')
    build() {
      cd $startdir/src/$pkgname-$pkgver
      ./configure --prefix=$startdir/pkg/usr --charset=UTF-8
      make || return 1
      make install

  • Perl-gd : Searching pacman

    I can't find this package by searching for it in the repository, but apparently pacman could download and install it. Is there a way to search the downloadable content names of pacman? I mean, a -Qq only does local and installed ones, but not what is available.

    Veovis: Huh, I never thought to use the -S to facilitate a query. I thought you could only do that with -Q. Thanks for the heads up.
    Snowman: Ah, I see the difference now. Community versus unsupported. I never actually paid any heed to that in the past, but henceforth it is duly noted. Thanks.
    Xyne: This may just be me, but the man page was really not very helpful in this case. Given the presence of a primary option for "Query", there didn't seem to be a reason to check the Sync area for the option. Thinking back to the Arch install via the beginner's guide, that option (if I recall correctly) was used there, so really, I should've known, but you really can't point at the man page for this one. I honestly love man pages, but quite sincerely, this option could not have been more poorly placed in the man pages for me to find it. I don't know. It's still a query, so it's kind of weird that it's under -S. But, it needs to sync to query, I suppose, so you need the -S? I don't know. Maybe I'm just overthinking it. Maybe I should have thought to search for "search" in the man page, but the word "Query" is in your face and bolded from the get go...Whatever.
    Thanks for the help, all.

  • [solved] Broken ping

    Hi all, a recent update seems to have caused the "ping" binary to misbehave. Pinging a known good server on a known network now causes the time interval between each ping  (after typing "ping google.com") to become sporadic and random.
    I have two servers: server A, which I do not update frequently (maybe about once a month), and server B, which is updated daily or every other day.
    The ping command on server A works as expected, but not on server B. Here is the full package list of each server:
    A:
    acl 2.2.52-2
    apcupsd 3.14.11-1
    apr 1.5.0-1
    apr-util 1.5.3-4
    archlinux-keyring 20140220-1
    aria2 1.18.5-1
    attr 2.4.47-1
    autoconf 2.69-1
    automake 1.14.1-1
    avahi 0.6.31-11
    bash 4.3.008-2
    bc 1.06.95-1
    binutils 2.24-2
    bison 3.0.2-1
    bluez-libs 5.17-1
    btrfs-progs 3.14-1
    bzip2 1.0.6-5
    c-ares 1.10.0-2
    ca-certificates 20140325-1
    ca-certificates-java 20130815-1
    cifs-utils 6.2-1
    clang 3.4-1
    cloog 0.18.1-2
    coreutils 8.22-4
    cracklib 2.9.0-2
    cronie 1.4.11-1
    cryptsetup 1.6.4-1
    curl 7.36.0-1
    db 5.3.28-1
    dbus 1.8.0-1
    ddclient 3.8.2-1
    device-mapper 2.02.106-1
    dhcpcd 6.3.2-1
    diffutils 3.3-1
    dirmngr 1.1.1-2
    dmidecode 2.12-2
    dnssec-anchors 20130320-1
    dnsutils 9.9.2.P2-1
    docbook-xml 4.5-5
    docbook-xsl 1.78.1-1
    dos2unix 6.0.4-1
    e2fsprogs 1.42.9-2
    expat 2.1.0-3
    extundelete 0.2.4-1
    fakeroot 1.20-1
    file 5.18-1
    filesystem 2013.05-2
    findutils 4.4.2-5
    flex 2.5.39-1
    fontconfig 2.11.1-1
    freetype2 2.5.3-2
    gamin 0.1.10-8
    gawk 4.1.0-2
    gc 7.4.0-1
    gcc 4.8.2-8
    gcc-libs 4.8.2-8
    gdb 7.7-1
    gdbm 1.11-1
    gettext 0.18.3.2-1
    git 1.9.2-1
    glib2 2.38.2-1
    glibc 2.19-3
    gmp 6.0.0-1
    gnu-netcat 0.7.1-4
    gnupg 2.0.22-2
    gnutls 3.3.0-1
    gpgme 1.4.3-1
    gpm 1.20.7-4
    gptfdisk 0.8.10-1
    graphite 1:1.2.4-1
    grep 2.18-1
    groff 1.22.2-6
    gstreamer0.10 0.10.36-3
    gstreamer0.10-base 0.10.36-2
    guile 2.0.11-1
    gzip 1.6-1
    harfbuzz 0.9.26-1
    hicolor-icon-theme 0.13-1
    htop 1.0.2-2
    hwids 20130915.1-1
    iana-etc 2.30-4
    icu 52.1-1
    id3 0.78-3
    id3lib 3.8.3-15
    id3v2 0.1.12-2
    idnkit 1.0-3
    inetutils 1.9.2-1
    iniparser 3.1-4
    iotop 0.6-2
    iproute2 3.12.0-1
    iptables 1.4.21-1
    iputils 20121221-3
    irssi 0.8.15-8
    isl 0.12.2-1
    jansson 2.5-2
    jdk7-openjdk 7.u51_2.4.6-1
    jre7-openjdk 7.u51_2.4.6-1
    jre7-openjdk-headless 7.u51_2.4.6-1
    kbd 2.0.1-1
    kbproto 1.0.6-1
    kexec-tools 2.0.4-2
    keyutils 1.5.9-1
    kmod 17-1
    krb5 1.12.1-1
    lcms2 2.5-2
    ldb 1.1.16-1
    ldns 1.6.17-1
    less 458-1
    libaio 0.3.109-7
    libarchive 3.1.2-6
    libassuan 2.1.1-1
    libatomic_ops 7.2.e-1
    libbsd 0.6.0-2
    libcap 2.24-1
    libcap-ng 0.7.3-1
    libcups 1.7.2-1
    libdaemon 0.14-2
    libdbus 1.8.0-1
    libedit 20140213_3.1-1
    libevent 2.0.21-3
    libffi 3.0.13-4
    libfontenc 1.1.2-1
    libgcrypt 1.6.1-1
    libgpg-error 1.12-1
    libgssglue 0.4-2
    libice 1.0.8-2
    libidn 1.28-2
    libjpeg-turbo 1.3.1-1
    libksba 1.3.0-1
    libldap 2.4.39-1
    libltdl 2.4.2-12
    libmpc 1.0.2-2
    libnl 3.2.24-1
    libpcap 1.5.3-1
    libpipeline 1.3.0-1
    libpng 1.6.10-1
    libsasl 2.1.26-7
    libseccomp 2.1.1-1
    libsigc++ 2.3.1-1
    libsm 1.2.2-2
    libsodium 0.4.5-2
    libssh2 1.4.3-2
    libsystemd 212-2
    libtasn1 3.4-1
    libtiff 4.0.3-4
    libtirpc 0.2.4-1
    libtool 2.4.2-12
    libtorrent 0.13.3-2
    libunistring 0.9.3-6
    libusb 1.0.18-1
    libutil-linux 2.24.1-6
    libwbclient 4.1.6-1
    libx11 1.6.2-1
    libxau 1.0.8-2
    libxcb 1.10-1
    libxdmcp 1.1.1-1
    libxext 1.3.2-1
    libxft 2.3.1-2
    libxml2 2.9.1-5
    libxmu 1.1.2-1
    libxrender 0.9.8-1
    libxslt 1.1.28-3
    libxss 1.2.2-2
    libxt 1.1.4-1
    libxv 1.0.10-1
    libyaml 0.1.6-1
    licenses 20130203-1
    linux 3.14-5
    linux-api-headers 3.13.2-1
    linux-docs 3.14-5
    linux-firmware 20140316.dec41bc-1
    linux-headers 3.14-5
    llvm 3.4-1
    llvm-libs 3.4-1
    lm_sensors 3.3.5-1
    logrotate 3.8.7-1
    lsof 4.87-2
    lua 5.2.3-1
    lvm2 2.02.106-1
    lzo2 2.06-3
    m4 1.4.17-1
    make 4.0-2
    man-db 2.6.6-1
    man-pages 3.64-1
    mdadm 3.3-2
    mercurial 2.9.2-1
    mkinitcpio 17-1
    mkinitcpio-busybox 1.21.1-2
    mpfr 3.1.2.p5-1
    nano 2.2.6-2
    ncurses 5.9-6
    neon 0.30.0-1
    net-tools 1.60.20130531git-1
    netctl 1.6-1
    nettle 2.7.1-1
    nmap 6.45-1
    nspr 4.10.4-1
    nss 3.16-1
    nss-mdns 0.10-5
    ntp 4.2.6.p5-19
    openresolv 3.5.6-1
    openssh 6.6p1-1
    openssl 1.0.1.g-1
    orc 0.4.18-1
    p11-kit 0.20.2-1
    pacman 4.1.2-5
    pacman-mirrorlist 20140405-1
    pam 1.1.8-3
    pambase 20130928-1
    parted 3.1-4
    patch 2.7.1-2
    pciutils 3.2.1-1
    pcmciautils 018-7
    pcre 8.35-1
    perl 5.18.2-2
    perl-digest-sha1 2.13-4
    perl-error 0.17022-1
    perl-io-socket-ssl 1.981-1
    perl-net-ssleay 1.58-1
    perl-test-pod 1.48-1
    perl-uri 1.60-1
    perl-yaml-syck 1.27-1
    phantomjs 1.9.7-1
    pinentry 0.8.3-1
    pkg-config 0.28-1
    pkgfile 13-1
    popt 1.16-7
    postgresql 9.3.4-1
    postgresql-libs 9.3.4-1
    ppp 2.4.6-2
    procps-ng 3.3.9-2
    psmisc 22.20-1
    pth 2.0.7-5
    python 3.4.0-2
    python-beautifulsoup4 4.3.2-2
    python-dateutil 2.2-2
    python-flask 0.10.1-5
    python-itsdangerous 0.24-1
    python-jinja 2.7.2-2
    python-markupsafe 0.19-2
    python-nose 1.3.1-2
    python-passlib 1.6.2-3
    python-pip 1.5.4-2
    python-psycopg2 2.5.2-2
    python-pyzmq 14.1.1-1
    python-requests 2.2.1-2
    python-setuptools 3.4.4-1
    python-six 1.6.1-2
    python-sqlalchemy 0.9.4-1
    python-werkzeug 0.9.4-2
    python-yaml 3.11-1
    python2 2.7.6-3
    python2-eyed3 0.7.4-1
    readline 6.3.003-2
    renderproto 0.11.1-2
    rsync 3.1.0-1
    rtorrent 0.9.3-2
    run-parts 4.4-1
    samba 4.1.6-1
    screen 4.0.3-15
    scrnsaverproto 1.2.2-1
    sed 4.2.2-3
    serf 1.3.4-1
    shadow 4.1.5.1-7
    smartmontools 6.2-1
    smbclient 4.1.6-1
    sqlite 3.8.4.3-1
    strace 4.8-1
    subversion 1.8.8-1
    sudo 1.8.10.p2-1
    sysfsutils 2.1.0-8
    syslinux 6.02-8
    systemd 212-2
    systemd-sysvcompat 212-2
    talloc 2.1.0-1
    tar 1.27.1-1
    tcl 8.6.1-1
    tdb 1.2.12-1
    tevent 0.9.21-2
    texinfo 5.2-2
    tk 8.6.1-1
    tmux 1.9_a-1
    tree 1.6.0-2
    ttf-dejavu 2.34-1
    tzdata 2014b-1
    unixodbc 2.3.2-1
    usbutils 007-1
    util-linux 2.24.1-6
    uwsgi 2.0.3-1
    uwsgi-plugin-common 2.0.3-1
    uwsgi-plugin-python 2.0.3-1
    valgrind 3.9.0-4
    videoproto 2.3.2-1
    vim-hg 7.4.256-1
    wget 1.15-1
    which 2.20-6
    whois 5.1.1-1
    wireless_tools 30.pre9-1
    xcb-proto 1.10-2
    xdg-utils 1.1.0.git20140207-1
    xextproto 7.3.0-1
    xmlrpc-c 1:1.36.00-1
    xmlto 0.0.25-5
    xorg-fonts-encodings 1.0.4-3
    xorg-mkfontdir 1.0.7-1
    xorg-mkfontscale 1.1.1-1
    xorg-xset 1.2.3-1
    xproto 7.0.25-1
    xz 5.0.5-2
    zeromq 4.0.4-2
    zlib 1.2.8-3
    zsh 5.0.5-1
    B:
    abs 2.4.4-1
    ack 2.12-1
    acl 2.2.52-2
    alsa-lib 1.0.27.2-1
    apr 1.5.0-1
    apr-util 1.5.3-4
    archlinux-keyring 20140220-1
    aria2-fast 1.18.1-1
    astyle 2.04-1
    attr 2.4.47-1
    autoconf 2.69-1
    automake 1.14.1-1
    avahi 0.6.31-11
    avr-binutils 2.24-1
    bash 4.3.008-2
    binutils 2.24-2
    bison 3.0.2-1
    boost 1.55.0-5
    boost-libs 1.55.0-5
    bzip2 1.0.6-5
    c-ares 1.10.0-2
    ca-certificates 20140325-1
    cifs-utils 6.2-1
    clang 3.4-1
    cloog 0.18.1-2
    cmake 2.8.12.2-2
    colordiff 1.0.13-1
    coreutils 8.22-4
    cracklib 2.9.0-2
    cronie 1.4.11-1
    cryptsetup 1.6.4-1
    ctags 5.8-3
    curl 7.36.0-1
    cython 0.20.1-2
    cython2 0.20.1-2
    czmq-git 20140407-1
    czmqpp-git 20140407-1
    db 5.3.28-1
    dbus 1.8.0-1
    ddclient 3.8.2-1
    device-mapper 2.02.106-1
    dhcpcd 6.3.2-1
    diffutils 3.3-1
    dirmngr 1.1.1-2
    dnssec-anchors 20130320-1
    dnsutils 9.9.2.P2-1
    dos2unix 6.0.4-1
    e2fsprogs 1.42.9-2
    ethtool 1:3.13-1
    expat 2.1.0-3
    fakeroot 1.20-1
    file 5.18-1
    filesystem 2013.05-2
    findutils 4.4.2-5
    flac 1.3.0-1
    flex 2.5.39-1
    fontconfig 2.11.1-1
    freetype2 2.5.3-2
    gamin 0.1.10-8
    gawk 4.1.0-2
    gc 7.4.0-1
    gcc 4.8.2-8
    gcc-libs 4.8.2-8
    gcc-objc 4.8.2-8
    gdb 7.7-1
    gdbm 1.11-1
    gettext 0.18.3.2-1
    giflib 5.0.5-1
    git 1.9.2-1
    glib2 2.40.0-1
    glibc 2.19-3
    gmp 6.0.0-1
    gnupg 2.0.22-2
    gnutls 3.3.0-1
    go 2:1.2.1-4
    gpgme 1.4.3-1
    gpm 1.20.7-4
    gptfdisk 0.8.10-1
    graphite 1:1.2.4-1
    grep 2.18-1
    groff 1.22.2-6
    gstreamer0.10 0.10.36-3
    gstreamer0.10-base 0.10.36-2
    guile 2.0.11-1
    gummiboot 44-2
    gzip 1.6-1
    harfbuzz 0.9.26-1
    hdparm 9.43-2
    htop 1.0.2-2
    httperf 0.9.0-5
    hwids 20130915.1-1
    iana-etc 2.30-4
    icu 52.1-1
    id3 0.78-3
    id3lib 3.8.3-15
    id3v2 0.1.12-2
    idnkit 1.0-3
    inetutils 1.9.2-1
    iniparser 3.1-4
    iproute2 3.14.0-1
    iptables 1.4.21-1
    iputils 20121221-3
    ipython 2.0.0-1
    isl 0.12.2-1
    jansson 2.6-1
    jfsutils 1.1.15-4
    jsoncpp 0.5.0-4
    kbd 2.0.1-1
    kbproto 1.0.6-1
    keyutils 1.5.9-1
    kmod 17-1
    krb5 1.12.1-1
    ldb 1.1.16-1
    ldns 1.6.17-1
    leptonica 1.69-10
    less 458-1
    libaio 0.3.109-7
    libao 1.2.0-1
    libarchive 3.1.2-6
    libassuan 2.1.1-1
    libatomic_ops 7.2.e-1
    libbsd 0.6.0-2
    libcap 2.24-1
    libcap-ng 0.7.3-1
    libcups 1.7.2-1
    libdaemon 0.14-2
    libdbus 1.8.0-1
    libedit 20140213_3.1-1
    libev 4.15-2
    libevent 2.0.21-3
    libffi 3.0.13-4
    libgcrypt 1.6.1-1
    libgpg-error 1.12-1
    libidn 1.28-2
    libjpeg-turbo 1.3.1-1
    libksba 1.3.0-1
    libldap 2.4.39-1
    libltdl 2.4.2-12
    libmpc 1.0.2-2
    libnl 3.2.24-1
    libogg 1.3.1-2
    libpcap 1.5.3-1
    libpipeline 1.3.0-1
    libpng 1.6.10-1
    libsasl 2.1.26-7
    libseccomp 2.1.1-1
    libsodium 0.4.5-2
    libssh2 1.4.3-2
    libsystemd 212-3
    libtasn1 3.4-1
    libtiff 4.0.3-4
    libtirpc 0.2.4-1
    libtool 2.4.2-12
    libunistring 0.9.3-6
    libusb 1.0.18-1
    libutil-linux 2.24.1-6
    libuv 0.11.24-1
    libvorbis 1.3.4-1
    libwbclient 4.1.7-1
    libwebp 0.4.0-1
    libx11 1.6.2-1
    libxau 1.0.8-2
    libxcb 1.10-1
    libxdmcp 1.1.1-1
    libxext 1.3.2-1
    libxml2 2.9.1-5
    libxslt 1.1.28-3
    libxv 1.0.10-1
    libyaml 0.1.6-1
    licenses 20130203-1
    linux 3.14.1-1
    linux-api-headers 3.13.2-1
    linux-firmware 20140316.dec41bc-1
    llvm 3.4-1
    llvm-libs 3.4-1
    lm_sensors 3.3.5-1
    logrotate 3.8.7-3
    lsof 4.87-2
    lua 5.2.3-1
    lvm2 2.02.106-1
    lzo2 2.06-3
    m4 1.4.17-1
    make 4.0-2
    man-db 2.6.7.1-1
    man-pages 3.64-1
    mdadm 3.3-2
    mercurial 2.9.2-1
    mime-types 9-1
    mkinitcpio 17-1
    mkinitcpio-busybox 1.21.1-2
    mpfr 3.1.2.p5-1
    nano 2.2.6-2
    ncurses 5.9-6
    net-tools 1.60.20130531git-1
    netctl 1.6-1
    nettle 2.7.1-1
    nginx 1.4.7-2
    nmap 6.45-1
    nodejs 0.10.26-1
    nss-mdns 0.10-5
    openresolv 3.5.6-1
    openssh 6.6p1-1
    openssl 1.0.1.g-1
    orc 0.4.18-1
    p11-kit 0.20.2-1
    p7zip 9.20.1-9
    pacman 4.1.2-5
    pacman-mirrorlist 20140405-1
    pam 1.1.8-3
    pambase 20130928-1
    patch 2.7.1-2
    pciutils 3.2.1-1
    pcmciautils 018-7
    pcre 8.35-1
    pep8 1.5.6-1
    perl 5.18.2-2
    perl-digest-sha1 2.13-4
    perl-error 0.17022-1
    perl-file-next 1.12-1
    perl-io-socket-ssl 1.981-1
    perl-net-ssleay 1.58-1
    perl-uri 1.60-1
    phantomjs 1.9.7-1
    pinentry 0.8.3-1
    pkg-config 0.28-1
    pkgfile 13-1
    popt 1.16-7
    postgresql 9.3.4-1
    postgresql-libs 9.3.4-1
    procps-ng 3.3.9-2
    psmisc 22.20-1
    pth 2.0.7-5
    pv 1.5.2-1
    pwgen 2.06-4
    pypy3 2.1beta1-2
    python 3.4.0-2
    python-beautifulsoup4 4.3.2-2
    python-dateutil 2.2-2
    python-flask 0.10.1-5
    python-html5lib 0.999-4
    python-itsdangerous 0.24-1
    python-jedi 0.7.0-5
    python-jinja 2.7.2-2
    python-lxml 3.3.5-1
    python-markupsafe 0.19-2
    python-nose 1.3.1-2
    python-passlib 1.6.2-3
    python-pip 1.5.4-2
    python-psycopg2 2.5.2-2
    python-pycurl 7.19.3.1-2
    python-pytz 2014.2-1
    python-pyzmq 14.1.1-1
    python-requests 2.2.1-2
    python-setuptools 3.4.4-1
    python-six 1.6.1-2
    python-sqlalchemy 0.9.4-1
    python-tornado 3.2.0-2
    python-werkzeug 0.9.4-2
    python-yaml 3.11-1
    python2 2.7.6-3
    python2-gevent 1.0-1
    python2-greenlet 0.4.2-3
    python2-grequests 0.2.0-1
    python2-requests 2.2.1-2
    python2-setuptools 3.4.4-1
    r8168 8.038.00-2
    readline 6.3.003-2
    reiserfsprogs 3.6.24-1
    rsync 3.1.0-1
    run-parts 4.4-1
    s-nail 14.6.4-1
    samba 4.1.7-1
    sed 4.2.2-3
    serf 1.3.4-1
    shadow 4.1.5.1-9
    shared-mime-info 1.2-2
    smbclient 4.1.7-1
    sqlite 3.8.4.3-1
    stress 1.0.4-4
    subversion 1.8.8-1
    sudo 1.8.10.p2-1
    sysfsutils 2.1.0-8
    systemd 212-3
    systemd-sysvcompat 212-3
    taglib 1.9.1-1
    talloc 2.1.0-2
    tar 1.27.1-1
    tdb 1.2.12-1
    tesseract 3.02.02-3
    tesseract-data-eng 3.02.02-3
    tevent 0.9.21-3
    texinfo 5.2-2
    tmux 1.9_a-1
    tree 1.6.0-2
    tzdata 2014b-1
    unzip 6.0-6
    upx 3.91-1
    usbutils 007-1
    util-linux 2.24.1-6
    uwsgi 2.0.3-1
    uwsgi-plugin-common 2.0.3-1
    uwsgi-plugin-python 2.0.3-1
    valgrind 3.9.0-4
    vi 1:050325-3
    videoproto 2.3.2-1
    vim-hg 7.4.258-1
    vorbis-tools 1.4.0-3
    wget 1.15-1
    which 2.20-6
    whois 5.1.1-1
    xcb-proto 1.10-2
    xextproto 7.3.0-1
    xfsprogs 3.1.11-2
    xmlto 0.0.25-5
    xproto 7.0.26-1
    xz 5.0.5-2
    zeromq 4.0.4-2
    zlib 1.2.8-3
    zsh 5.0.5-1
    Can anyone shed some light on this issue?
    Last edited by solarwind (2014-04-22 14:28:48)

    Spider.007 wrote:Okay, so you could run `tcpdump icmp`; tell us what the network-traffic looks like while ping is pausing. Alternatively use strace to check what is happening
    [root@server] ~
    # ping -i 1 -c 4 archlinux.org
    PING archlinux.org (66.211.214.131) 56(84) bytes of data.
    64 bytes from 66.211.214.131: icmp_seq=1 ttl=55 time=45.6 ms
    64 bytes from 66.211.214.131: icmp_seq=2 ttl=55 time=45.9 ms
    64 bytes from 66.211.214.131: icmp_seq=3 ttl=55 time=45.9 ms
    64 bytes from 66.211.214.131: icmp_seq=4 ttl=55 time=46.4 ms
    --- archlinux.org ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 15146ms
    rtt min/avg/max/mdev = 45.661/46.012/46.439/0.316 ms
    Here's the output from tcpdump:
    [root@server] ~
    # tcpdump -i enp2s0 icmp
    tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
    listening on enp2s0, link-type EN10MB (Ethernet), capture size 65535 bytes
    14:58:06.847112 IP server.local > 66.211.214.131: ICMP echo request, id 2239, seq 1, length 64
    14:58:06.892752 IP 66.211.214.131 > server.local: ICMP echo reply, id 2239, seq 1, length 64
    14:58:11.896257 IP server.local > 66.211.214.131: ICMP echo request, id 2239, seq 2, length 64
    14:58:11.942201 IP 66.211.214.131 > server.local: ICMP echo reply, id 2239, seq 2, length 64
    14:58:16.946290 IP server.local > 66.211.214.131: ICMP echo request, id 2239, seq 3, length 64
    14:58:16.992227 IP 66.211.214.131 > server.local: ICMP echo reply, id 2239, seq 3, length 64
    14:58:21.993499 IP server.local > 66.211.214.131: ICMP echo request, id 2239, seq 4, length 64
    14:58:22.039906 IP 66.211.214.131 > server.local: ICMP echo reply, id 2239, seq 4, length 64
    Even though I requested a one second interval, it was unable to run as such. It works fine on the other computer.
    Here's the strace output:
    [root@server] ~
    # strace ping -i 1 -c 1 archlinux.org 2>&1 | tee strace.txt
    execve("/usr/bin/ping", ["ping", "-i", "1", "-c", "1", "archlinux.org"], [/* 35 vars */]) = 0
    brk(0) = 0x1805000
    access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
    fstat(3, {st_mode=S_IFREG|0644, st_size=63663, ...}) = 0
    mmap(NULL, 63663, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ff0e5758000
    close(3) = 0
    open("/usr/lib/libcap.so.2", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\25\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0644, st_size=16984, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e5770000
    mmap(NULL, 2112208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff0e5340000
    mprotect(0x7ff0e5344000, 2093056, PROT_NONE) = 0
    mmap(0x7ff0e5543000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7ff0e5543000
    close(3) = 0
    open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\34\2\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=2022349, ...}) = 0
    mmap(NULL, 3832336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff0e4f98000
    mprotect(0x7ff0e5136000, 2097152, PROT_NONE) = 0
    mmap(0x7ff0e5336000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19e000) = 0x7ff0e5336000
    mmap(0x7ff0e533c000, 14864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff0e533c000
    close(3) = 0
    open("/usr/lib/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3
    read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\24\0\0\0\0\0\0"..., 832) = 832
    fstat(3, {st_mode=S_IFREG|0755, st_size=18736, ...}) = 0
    mmap(NULL, 2113912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ff0e4d90000
    mprotect(0x7ff0e4d94000, 2093056, PROT_NONE) = 0
    mmap(0x7ff0e4f93000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7ff0e4f93000
    close(3) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e576f000
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e576e000
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e576d000
    arch_prctl(ARCH_SET_FS, 0x7ff0e576e700) = 0
    mprotect(0x7ff0e5336000, 16384, PROT_READ) = 0
    mprotect(0x7ff0e4f93000, 4096, PROT_READ) = 0
    mprotect(0x608000, 4096, PROT_READ) = 0
    mprotect(0x7ff0e5768000, 4096, PROT_READ) = 0
    munmap(0x7ff0e5758000, 63663) = 0
    brk(0) = 0x1805000
    brk(0x1826000) = 0x1826000
    capget({_LINUX_CAPABILITY_VERSION_3, 0}, NULL) = 0
    capget({_LINUX_CAPABILITY_VERSION_3, 0}, {CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, 0}) = 0
    capget({_LINUX_CAPABILITY_VERSION_3, 0}, NULL) = 0
    capset({_LINUX_CAPABILITY_VERSION_3, 0}, {0, CAP_NET_ADMIN|CAP_NET_RAW, 0}) = 0
    prctl(PR_SET_KEEPCAPS, 1) = 0
    getuid() = 0
    setuid(0) = 0
    prctl(PR_SET_KEEPCAPS, 0) = 0
    getuid() = 0
    geteuid() = 0
    capget({_LINUX_CAPABILITY_VERSION_3, 0}, NULL) = 0
    capget({_LINUX_CAPABILITY_VERSION_3, 0}, {0, CAP_NET_ADMIN|CAP_NET_RAW, 0}) = 0
    capset({_LINUX_CAPABILITY_VERSION_3, 0}, {CAP_NET_RAW, CAP_NET_ADMIN|CAP_NET_RAW, 0}) = 0
    socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = 3
    capget({_LINUX_CAPABILITY_VERSION_3, 0}, NULL) = 0
    capget({_LINUX_CAPABILITY_VERSION_3, 0}, {CAP_NET_RAW, CAP_NET_ADMIN|CAP_NET_RAW, 0}) = 0
    capset({_LINUX_CAPABILITY_VERSION_3, 0}, {0, CAP_NET_ADMIN|CAP_NET_RAW, 0}) = 0
    getpid() = 2452
    open("/etc/resolv.conf", O_RDONLY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e576c000
    read(4, "# Generated by resolvconf\nnamese"..., 4096) = 50
    read(4, "", 4096) = 0
    close(4) = 0
    munmap(0x7ff0e576c000, 4096) = 0
    uname({sys="Linux", node="server", ...}) = 0
    socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
    connect(4, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
    close(4) = 0
    socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
    connect(4, {sa_family=AF_LOCAL, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
    close(4) = 0
    open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=286, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e576c000
    read(4, "# Begin /etc/nsswitch.conf\n\npass"..., 4096) = 286
    read(4, "", 4096) = 0
    close(4) = 0
    munmap(0x7ff0e576c000, 4096) = 0
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=63663, ...}) = 0
    mmap(NULL, 63663, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7ff0e5758000
    close(4) = 0
    open("/usr/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 4
    read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\"\0\0\0\0\0\0"..., 832) = 832
    fstat(4, {st_mode=S_IFREG|0755, st_size=47712, ...}) = 0
    mmap(NULL, 2144392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7ff0e4b80000
    mprotect(0x7ff0e4b8b000, 2093056, PROT_NONE) = 0
    mmap(0x7ff0e4d8a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xa000) = 0x7ff0e4d8a000
    close(4) = 0
    mprotect(0x7ff0e4d8a000, 4096, PROT_READ) = 0
    munmap(0x7ff0e5758000, 63663) = 0
    open("/etc/host.conf", O_RDONLY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=63, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e576c000
    read(4, "#\n# /etc/host.conf\n#\n\norder host"..., 4096) = 63
    read(4, "", 4096) = 0
    close(4) = 0
    munmap(0x7ff0e576c000, 4096) = 0
    open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=195, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e576c000
    read(4, "#\n# /etc/hosts: static lookup ta"..., 4096) = 195
    read(4, "", 4096) = 0
    close(4) = 0
    munmap(0x7ff0e576c000, 4096) = 0
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=63663, ...}) = 0
    mmap(NULL, 63663, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7ff0e5758000
    close(4) = 0
    open("/usr/lib/libnss_mdns.so.2", O_RDONLY|O_CLOEXEC) = 4
    read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\f\0\0\0\0\0\0"..., 832) = 832
    fstat(4, {st_mode=S_IFREG|0755, st_size=14496, ...}) = 0
    mmap(NULL, 2109664, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7ff0e4978000
    mprotect(0x7ff0e497a000, 2097152, PROT_NONE) = 0
    mmap(0x7ff0e4b7a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x2000) = 0x7ff0e4b7a000
    close(4) = 0
    mprotect(0x7ff0e4b7a000, 4096, PROT_READ) = 0
    munmap(0x7ff0e5758000, 63663) = 0
    open("/etc/mdns.allow", O_RDONLY) = -1 ENOENT (No such file or directory)
    open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=63663, ...}) = 0
    mmap(NULL, 63663, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7ff0e5758000
    close(4) = 0
    open("/usr/lib/libnss_dns.so.2", O_RDONLY|O_CLOEXEC) = 4
    read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\21\0\0\0\0\0\0"..., 832) = 832
    fstat(4, {st_mode=S_IFREG|0755, st_size=22960, ...}) = 0
    mmap(NULL, 2117896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7ff0e4770000
    mprotect(0x7ff0e4775000, 2093056, PROT_NONE) = 0
    mmap(0x7ff0e4974000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x4000) = 0x7ff0e4974000
    close(4) = 0
    open("/usr/lib/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 4
    read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220:\0\0\0\0\0\0"..., 832) = 832
    fstat(4, {st_mode=S_IFREG|0755, st_size=84864, ...}) = 0
    mmap(NULL, 2189928, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7ff0e4558000
    mprotect(0x7ff0e456c000, 2093056, PROT_NONE) = 0
    mmap(0x7ff0e476b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x13000) = 0x7ff0e476b000
    mmap(0x7ff0e476d000, 6760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ff0e476d000
    close(4) = 0
    mprotect(0x7ff0e476b000, 4096, PROT_READ) = 0
    mprotect(0x7ff0e4974000, 4096, PROT_READ) = 0
    munmap(0x7ff0e5758000, 63663) = 0
    socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 4
    connect(4, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.20.1")}, 16) = 0
    poll([{fd=4, events=POLLOUT}], 1, 0) = 1 ([{fd=4, revents=POLLOUT}])
    sendto(4, "\265E\1\0\0\1\0\0\0\0\0\0\tarchlinux\3org\0\0\1\0\1", 31, MSG_NOSIGNAL, NULL, 0) = 31
    poll([{fd=4, events=POLLIN}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}])
    ioctl(4, FIONREAD, [47]) = 0
    recvfrom(4, "\265E\201\200\0\1\0\1\0\0\0\0\tarchlinux\3org\0\0\1\0\1\300"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.20.1")}, [16]) = 47
    close(4) = 0
    socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
    connect(4, {sa_family=AF_INET, sin_port=htons(1025), sin_addr=inet_addr("66.211.214.131")}, 16) = 0
    getsockname(4, {sa_family=AF_INET, sin_port=htons(33288), sin_addr=inet_addr("192.168.20.125")}, [16]) = 0
    close(4) = 0
    setsockopt(3, SOL_RAW, ICMP_FILTER, ~(ICMP_ECHOREPLY|ICMP_DEST_UNREACH|ICMP_SOURCE_QUENCH|ICMP_REDIRECT|ICMP_TIME_EXCEEDED|ICMP_PARAMETERPROB), 4) = 0
    setsockopt(3, SOL_IP, IP_RECVERR, [1], 4) = 0
    setsockopt(3, SOL_SOCKET, SO_SNDBUF, [324], 4) = 0
    setsockopt(3, SOL_SOCKET, SO_RCVBUF, [65536], 4) = 0
    getsockopt(3, SOL_SOCKET, SO_RCVBUF, [131072], [4]) = 0
    fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e576c000
    setsockopt(3, SOL_SOCKET, SO_TIMESTAMP, [1], 4) = 0
    setsockopt(3, SOL_SOCKET, SO_SNDTIMEO, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 0
    setsockopt(3, SOL_SOCKET, SO_RCVTIMEO, "\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 0
    rt_sigaction(SIGINT, {0x404170, [], SA_RESTORER|SA_INTERRUPT, 0x7ff0e4fcd400}, NULL, 8) = 0
    rt_sigaction(SIGALRM, {0x404170, [], SA_RESTORER|SA_INTERRUPT, 0x7ff0e4fcd400}, NULL, 8) = 0
    rt_sigaction(SIGQUIT, {0x404160, [], SA_RESTORER|SA_INTERRUPT, 0x7ff0e4fcd400}, NULL, 8) = 0
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fff161a4580) = -1 ENOTTY (Inappropriate ioctl for device)
    sendmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("66.211.214.131")}, msg_iov(1)=[{"\10\0\3C\t\224\0\1]kUS\0\0\0\0k\226\16\0\0\0\0\0\20\21\22\23\24\25\26\27"..., 64}], msg_controllen=0, msg_flags=0}, 0) = 64
    setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={10, 0}}, NULL) = 0
    recvmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("66.211.214.131")}, msg_iov(1)=[{"E\0\0T\327h\0\0007\1\275\304B\323\326\203\300\250\24}\0\0\vC\t\224\0\1]kUS"..., 192}], msg_controllen=32, {cmsg_len=32, cmsg_level=SOL_SOCKET, cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 84
    open("/etc/hosts", O_RDONLY|O_CLOEXEC) = 4
    fstat(4, {st_mode=S_IFREG|0644, st_size=195, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e576b000
    read(4, "#\n# /etc/hosts: static lookup ta"..., 4096) = 195
    read(4, "", 4096) = 0
    close(4) = 0
    munmap(0x7ff0e576b000, 4096) = 0
    socket(PF_LOCAL, SOCK_STREAM, 0) = 4
    fcntl(4, F_GETFD) = 0
    fcntl(4, F_SETFD, FD_CLOEXEC) = 0
    connect(4, {sa_family=AF_LOCAL, sun_path="/var/run/avahi-daemon/socket"}, 110) = 0
    fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
    fstat(4, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff0e576b000
    lseek(4, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
    write(4, "RESOLVE-ADDRESS 66.211.214.131\n", 31) = 31
    read(4, "-15 Timeout reached\n", 4096) = 20
    close(4) = 0
    munmap(0x7ff0e576b000, 4096) = 0
    write(1, "PING archlinux.org (66.211.214.1"..., 119PING archlinux.org (66.211.214.131) 56(84) bytes of data.
    64 bytes from 66.211.214.131: icmp_seq=1 ttl=55 time=46.5 ms
    ) = 119
    write(1, "\n", 1
    ) = 1
    write(1, "--- archlinux.org ping statistic"..., 151--- archlinux.org ping statistics ---
    1 packets transmitted, 1 received, 0% packet loss, time 0ms
    rtt min/avg/max/mdev = 46.504/46.504/46.504/0.000 ms
    ) = 151
    exit_group(0) = ?
    +++ exited with 0 +++
    When running strace, the output pauses at the line exactly as follows:
    write(4, "RESOLVE-ADDRESS 66.211.214.131\n", 31) = 31
    read(4,
    After a few seconds, it finishes printing the "read(4," line.
    Alright, so doing `ping -i 1 -c 4 66.211.214.131` works as expected. So something must be going wrong trying to resolve the name?
    Doing `dig archlinux.org` is instantaneous.
    Last edited by solarwind (2014-04-21 19:15:43)

Maybe you are looking for

  • SECURITY - Error while trying to access a remote file

    Hello All, I've got a little issue ! I've got two PCs on the network. On the first one there is a server running. This server has to read a textfile to add data in a database. The second one only contains textfile to transfer. When I try to read a te

  • Web Gallery widget problems

    I'm having some issues with the mobileme web gallery widgets in iWeb. I first noticed when one of the widgets would not change photos as you roll over it, even though I had multiple photos in the gallery. I unpublished the gallery and re-published us

  • Set default step values

    Hello, I want to change the default values of a variable in a custom step Type during the execution, so the values can be used as Reference for the Configuration of this step(different for each step). Is this possible while the execution runs? I trie

  • NWDI - use for MII transportation

    Hi MII folks Regards to the input I found  General MII environment questions , I would really appreciate if any of you has been working with NWDI. In our project one of the challenge is the MII's transportation process from Dev - QA - Production. One

  • Quicktime files on webpages, great audio, no video

    starting off. i just ran the newest leopard update and I have the latest quicktime (pro even). but somehow when I am on a webpage including the apple page for trailers and video tutorials, i'm getting audio and no video. any clues. usually it's a ver