wget error


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers wget error
# 1  
Old 06-22-2009
Question wget error

I'm trying to download / install mysql from the terminal. Here is what happens when I try to use wget:

$ wget http://dev.mysql.com/get/Downloads/M...gov/pub/mysql/
--13:29:16-- http://dev.mysql.com/get/Downloads/M...gov/pub/mysql/
=> `index.html'
Resolving dev.mysql.com... failed: Name or service not known.

Now for the questions:
  • Why doesn't this work? I'm behind a company firewall maybe that has something to do with it?
  • How can I tell which version of mysql I need?
    • I found out which distro I'm using and got this: $ cat /proc/version
      Linux version 2.4.21-40.ELsmp (bhcompile@hs20-bc1-7.build.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-54)) #1 SMP Thu Feb 2 22:22:39 EST 2006
Thanks,
Will
# 2  
Old 06-22-2009
looks like dns doesn't work for you... try to do a "ping www.unix.com" from your server and have a look if this works. and the firewall can be a problem also!
# 3  
Old 06-22-2009
Nope ping doesn't work. Here is my output.

$ ping The UNIX and Linux Forums - Learn UNIX and Linux from Experts
ping: unknown host The UNIX and Linux Forums - Learn UNIX and Linux from Experts
$ ping Google
ping: unknown host Google
# 4  
Old 06-22-2009
so DNS is not working on your server...
# 5  
Old 06-22-2009
ok so how do I get DNS working?
# 6  
Old 06-22-2009
ask your network guys... i don't know your network. maybe it isn't allowed to use direct connection to the internet from your servers... why don't you download the packages with your workstation and transfer the files to the server?
# 7  
Old 06-22-2009
Alright I think I have the first part figured out. Any advice on the second 1/2?

"How can I tell which version of mysql I need?
I found out which distro I'm using and got this: $ cat /proc/version
Linux version 2.4.21-40.ELsmp (bhcompile@hs20-bc1-7.build.redhat.com) (gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-54)) #1 SMP Thu Feb 2 22:22:39 EST 2006 "
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Unable to connect only when using wget with 400 bad request error

Hi I have a proxy configured on my ubuntu o.s. running on vmware player, but when trying to wgetDownload Nagios Core from SourceForge.net, I have the following error: failed: Connection refused I have check on the web, they ask me to run sudo ufw status, but the output is enabled, so what... (0 Replies)
Discussion started by: fretagi
0 Replies

2. Shell Programming and Scripting

Wget - working in browser but cannot download from wget

Hi, I need to download a zip file from my the below US govt link. https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP I only have wget utility installed on the server. When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies

3. Shell Programming and Scripting

Wget-403-Forbidden-Error

Hi Friends, I did an extensive search over the internet and tried all possible solutions that were recommended, but couldn't figure this out. Please see this link http://www.dli.gov.in/data6/upload/0159/808/PTIFF/00000007.tif It works. But, when I try the following command wget -r... (7 Replies)
Discussion started by: jacobs.smith
7 Replies

4. UNIX for Dummies Questions & Answers

Wget help

How can I download only *.zip and *.rar files from a website <index> who has multiple directories in root parent directory? I need wget to crawl every directory and download only zip and rar files. Is there anyway I could do it? (7 Replies)
Discussion started by: galford
7 Replies

5. UNIX for Dummies Questions & Answers

Wget retry on 500 internal error

Hello Guys, I am trying to generate static site, I have perl script that wget the url, so the problem is sometimes wget has 500 internal error, this is failing to get that page. So I am thinking of retrying that url with 500 response. system $command = 'wget ... -i inputfile -o outfile" Is... (2 Replies)
Discussion started by: neal
2 Replies

6. Shell Programming and Scripting

Wget error while downloading from https website

Hi, I would like to download a file from a https website. I don't have the file name as it changes every day. I am using the following command: wget --no-check-certificate -r -np --user=ABC --password=DEF -O temp.txt https://<website/directory> I am getting followin error in my... (9 Replies)
Discussion started by: pinnacle
9 Replies

7. UNIX for Dummies Questions & Answers

wget error

Hello I am getting the following error please help me out as why I am unable to get wget command right. oracle@host:/home/oracle>wget /usr/lib/dld.sl: Unresolved symbol: libintl_bindtextdomain (code) from wget Abort(coredump) Thanks (15 Replies)
Discussion started by: ronick11
15 Replies

8. Shell Programming and Scripting

IFrames error using wget

Hi all, I am trying to connect to a apache server via wget, to automatically download and manipulate few reports. wget -O partner_log --user-agent='Mozilla/5.0' --keep-session-cookies --save-cookies partner_cookies --no-check-certificate site requires a certificated but only getting the... (0 Replies)
Discussion started by: valigula
0 Replies

9. Solaris

HTTP error while downloading solaris patches using wget

Hello, I am getting a HTTP error while downloading solaris patches using wget. 'Downloading unsigned patch 113096-03. --2010-06-18 03:51:15-- http://sunsolve.sun.com/pdownload.pl?target=113096-03&method=h Resolving sunsolve.sun.com (sunsolve.sun.com)... 192.18.108.40 Connecting to... (5 Replies)
Discussion started by: sunny_a_j
5 Replies

10. Shell Programming and Scripting

Wget-Forbidden error

Hi , I am using shell script to connect to a https site and download all the files in a directory. eg: wget --no-check-certificate -r -np --user=<username> --password=<passwd> -O temp.txt https:<website>/<dirname> Error : HTTP request sent, awaiting response... 403 Forbidden 07:40:20... (0 Replies)
Discussion started by: mohanpadamata
0 Replies
Login or Register to Ask a Question