+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 21
*nix Thread, Ubuntu server, web downloads fail in Technical; Hi all. Iím new to Linux, there may be a simple answer but I canít find it anywhere, so any ...
  1. #1

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Ubuntu server, web downloads fail

    Hi all.
    Iím new to Linux, there may be a simple answer but I canít find it anywhere, so any help would be appreciated.

    Iíve installed a fresh copy of Ubuntu server (webserver only), if I install any software that in /etc/apt/sources.list Ė all installs fine, but when I try to download and install (using wget) I get an error: Connecting to www.address.com| ipaddressÖ failed: Connection refused

    I tried different packages but get the same error. Any ideas?

    Thanks.

  2. #2

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,656
    Thank Post
    324
    Thanked 506 Times in 474 Posts
    Rep Power
    177
    You behind a proxy? There used to be an issue with ubuntu that wget won't by default use proxy details, and it needed a fix. Not sure if it's still the case thoguh

    Steve

  3. #3


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    338
    export http_proxy="http://username:Password@foo.bar:8080"

  4. #4

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,826
    Thank Post
    104
    Thanked 449 Times in 308 Posts
    Blog Entries
    2
    Rep Power
    262
    You'll probably need to configure the proxy setting in the apt-get config file (/etc/apt/apt.conf)

    https://help.ubuntu.com/community/Ap...on_file_method

    The example shows a configuration like this:
    Acquire::http::Proxy "http://yourproxyaddress:proxyport";

    However, if you use a domain account, you'll need to amend it to something along the lines of this:
    Acquire::http::Proxy "http://mydomain\myuseraccount:mypassword@yourproxyaddress :proxyport";

    I must say that Ubuntu has excellent documentation. For bread and butter stuff, you'll rarely need to stray from here:
    https://help.ubuntu.com/
    Last edited by jinnantonnixx; 8th June 2012 at 11:44 AM.

  5. #5

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    The proxy is set (I checked the apt.conf) and I can download packages that are listed in /etc/apt/sources.list but nothing els.

    I added a package I want to install to /etc/apt/sources.list but when I run apt-get for new package - download fails.

    Thanks.

  6. #6

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,826
    Thank Post
    104
    Thanked 449 Times in 308 Posts
    Blog Entries
    2
    Rep Power
    262
    When you say added your package to sources.list, do you mean do you mean added a specific, new repository to the sources.list file? The sources.list file is very rarely changed, unless you want something unusual, like adding a ppa or specific third-party source.

    Can you list your sources.list file? Strip out any user names and passwords before you post.
    Last edited by jinnantonnixx; 8th June 2012 at 12:13 PM.

  7. #7

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    It’s more of desperation (as nothing else works). I want to install webmin. So the packages I added to /etc/apt/sources.list are:
    deb http://download.webmin.com/download/repository sarge contrib
    deb http://webmin.mirror.somersettechsol....uk/repository sarge contrib


    Thanks

  8. #8

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,826
    Thank Post
    104
    Thanked 449 Times in 308 Posts
    Blog Entries
    2
    Rep Power
    262
    Quote Originally Posted by happierlarry View Post
    It’s more of desperation (as nothing else works). I want to install webmin. So the packages I added to /etc/apt/sources.list are:
    deb Index of /download/repository sarge contrib
    deb Index of /repository/ sarge contrib


    Thanks
    Well that's a Debian repository for starters - and an old one at that! You should remove those lines.

    What exactly do you want to add to your server? I'm sure someone here can help.

  9. #9

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    OK, that’s been removed. Thanks.
    I’ve got Apache, PHP and MySQL installed and running, just wanted to install FTP server and Webmin. But when I try to download them, download fails (Connecting to hxxp://www.webmin.com (www.webmin.com)| 216.34.181.97|:80… failed: Connection refused.).

  10. #10

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,826
    Thank Post
    104
    Thanked 449 Times in 308 Posts
    Blog Entries
    2
    Rep Power
    262
    Looking at Webmin - their site says:
    This project has been temporarily blocked for exceeding its bandwidth threshold
    I strongly suspect that this is the reason why it didn't work. Try it again when their site is working!


    If I were you, I would download the .deb standalone package and install it using the dkpg tool. You'll probably need to install dependencies, but you'll have to try it and see.

    This site appears to show the process (and I suspect it may be where you found those lines for the sources.list file). If so, it sounds reasonable.
    Install secure Webmin 1.580 on Ubuntu 12.04 LTS Precise Pangolin ę Bongo's Codeways

  11. #11
    hit
    hit is offline
    hit's Avatar
    Join Date
    Mar 2008
    Location
    London
    Posts
    321
    Thank Post
    47
    Thanked 50 Times in 48 Posts
    Rep Power
    50
    If you look at webmin.com, you will find that sourceforge has it blocked for excessive bandwidth usage. This is probably why you cannot get the files.

    EDIT: like @jinnantonnixx said!
    Last edited by hit; 8th June 2012 at 12:43 PM.

  12. #12

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,826
    Thank Post
    104
    Thanked 449 Times in 308 Posts
    Blog Entries
    2
    Rep Power
    262
    This looks the simplest way of doing it - of course you'll have to wait until they fix the web-site problem with webmin.

    Ignore my previous concern with the 'sarge' repo - this is a Debian release, but the consensus indicates that it's OK in this instance.

    Install webmin in Ubuntu 12.04 | Unixmen
    Last edited by jinnantonnixx; 8th June 2012 at 12:46 PM.

  13. #13

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks everyone, will wait and see...... :-)

  14. #14

    Join Date
    Jun 2011
    Posts
    51
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi all,

    Revisited my problem and download has failed again. Tried to download a file, then couple more (just random files I know that I can get them on Windows with the same proxy settings) from the internet and it failed. But running "apt-get update" - downloaded and installed all updates without any problems.

    I'm a bit lost, any ideas?

    Thanks.

  15. #15

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,095
    Thank Post
    511
    Thanked 2,309 Times in 1,785 Posts
    Blog Entries
    24
    Rep Power
    803
    In what did you try to download the files? Web browser? Wget?

    Also, can you just browse the net as normal?

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [Ubuntu] shibboleth and Ubuntu server
    By atamakosi in forum *nix
    Replies: 1
    Last Post: 23rd May 2012, 11:16 PM
  2. [Ubuntu] Setting Network Proxy in Ubuntu Server
    By nawbus in forum *nix
    Replies: 9
    Last Post: 13th May 2010, 12:28 PM
  3. Ubuntu Server Error
    By Jackd in forum *nix
    Replies: 5
    Last Post: 2nd October 2007, 08:25 PM
  4. Ubuntu Server FQ Domain name not set
    By mark in forum *nix
    Replies: 6
    Last Post: 26th July 2007, 11:35 AM
  5. Exchange Server 2003 - HDD Fail - Please Help
    By ninjabeaver in forum Windows
    Replies: 6
    Last Post: 20th March 2007, 05:06 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •