Pear install problems

Discussion in 'Server Operation' started by trespasser, Jun 9, 2008.

  1. trespasser

    trespasser New Member

    Hello all

    I have a new installed Debian Etch machine, that I want to install som pear modules on.
    The problem is that I get this when I try to install pear/Log:
    mailgateway:~# pear install --alldeps Log
    Could not download from "http://pear.php.net/get/Log-1.10.1.tgz", cannot download "pear/Log"
    Error: cannot download "pear/Log"
    Could not download from "http://pear.php.net/get/DB-1.7.13.tgz", cannot download "pear/DB"
    Error: cannot download "pear/DB"
    Could not download from "http://pear.php.net/get/MDB2-2.4.1.tgz", cannot download "pear/MDB2"
    Error: cannot download "pear/MDB2"
    Could not download from "http://pear.php.net/get/Mail-1.1.14.tgz", cannot download "pear/Mail"
    Error: cannot download "pear/Mail"
    Could not download from "http://pear.php.net/get/Net_SMTP-1.3.0.tgz", cannot download "pear/Net_SMTP"
    Error: cannot download "pear/Net_SMTP"
    Could not download from "http://pear.php.net/get/Net_Socket-1.0.8.tgz", cannot download "pear/Net_Socket"
    Error: cannot download "pear/Net_Socket"
    Could not download from "http://pear.php.net/get/Auth_SASL-1.0.2.tgz", cannot download "pear/Auth_SASL"
    Error: cannot download "pear/Auth_SASL"

    I get more or less the same error when trying with other packages.

    Does any of you have a clue what I can / should do about it.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Have you tried a second time? Sometimes problems like this happen, and the next time they're gone.

    If that doesn't help, can your system resolve pear.php.net? What does
    Code:
    dig pear.php.net
    show?
     
  3. trespasser

    trespasser New Member

    PEAR results

    Hey Falko

    I have tried several times from this host.

    The result of dig pear.php.net
    dig pear.php.net

    ; <<>> DiG 9.3.4 <<>> pear.php.net
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12591
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;pear.php.net. IN A

    ;; ANSWER SECTION:
    pear.php.net. 74276 IN CNAME pair12.php.net.
    pair12.php.net. 71170 IN A 216.92.131.66

    ;; Query time: 1 msec
    ;; SERVER: 10.1.200.5#53(10.1.200.5)
    ;; WHEN: Tue Jun 10 14:18:39 2008
    ;; MSG SIZE rcvd: 67
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Hm... Do you use a firewall? What's the output of
    Code:
    iptables -L
    ?
     

Share This Page