Sponsored Content
Operating Systems Linux Ubuntu Unable to connect only when using wget with 400 bad request error Post 303000196 by fretagi on Thursday 6th of July 2017 07:05:50 AM
Old 07-06-2017
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:

Code:
failed: Connection refused

I have check on the web, they ask me to run
Code:
sudo ufw status

, but the output is enabled, so what could be wrong?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

connect to as-400 system

it's possible connect to as-400 system to extract file from server and calculate the data (parse the file)???? if possible , how make the operation ??? how shell language /type i use ??? tanks (0 Replies)
Discussion started by: ZINGARO
0 Replies

2. UNIX for Advanced & Expert Users

HELP! what does this mean: "svc: bad direction 256, dropping request"

For a few weeks now, on several of our machines, i've been seeing this in /var/log/messages and dmesg: Nov 14 16:37:48 stg2 kernel: svc: bad direction 256, dropping request Nov 14 16:37:48 stg2 kernel: svc: short len 4, dropping request Nov 14 16:38:02 stg2 kernel: svc: bad direction 256,... (2 Replies)
Discussion started by: fishsponge
2 Replies

3. UNIX for Dummies Questions & Answers

cant make a http get request using wget

Hi all, Im trying to make an http get request to a web service from a linux machine like below and i get ERROR 500 wget http://10.1.21.236:8585/pns.asmx/Sen...&msgBody=werty 25018 $ --19:06:32-- http://10.1.21.236:8585/pns.asmx/Sen...erName=serverA Connecting to 10.1.21.236:8585...... (1 Reply)
Discussion started by: elthox
1 Replies

4. Shell Programming and Scripting

Unable to access http site using wget through proxy

Hi there I am currently trying to access an http site using the wget utility from a solaris box. I am going through proxies to do this and we have two types of proxies. For the first one, which is a netcache proxy, I am able to use the wget command to export the proxy information export... (2 Replies)
Discussion started by: memonks
2 Replies

5. Shell Programming and Scripting

Formatting wget request within script

When using a browser and calling this url .. the data returns the proper range of information ichart dot finance dot yahoo dot com/table.csv?s=YAHOO&a=3&b=14&c=2012&d=03&e=20&f=2012&g=d&ignore.csv (geeze wont let me post url's sorry ) However in my script the formatting is messing up on... (4 Replies)
Discussion started by: harte
4 Replies

6. Linux

Lpstat: Bad Request Error in Linux

Dear Team, Earlier my lpstat syntax is working on o/s, I have installed cups "cups-1.6.1" after that I'm not able to open the printer option in GUI and cannot do the query "lpstat -a" Below is the error i'm getting..Request you to advice me the best to me. # lpstat lpstat: Bad Request ... (3 Replies)
Discussion started by: Mohammed Faiz
3 Replies

7. Shell Programming and Scripting

Wget help - unable to download pic

There is a website providing traffic camera images that gets updated every few minutes. My aim is to download the images over time to get a view of traffic conditions through the day. Website: CHECKPOINT.SG Image link, as taken from site source: http://www.checkpoint.sg/sg/2701 I tried... (2 Replies)
Discussion started by: Leion
2 Replies

8. Red Hat

Unable to connect to internet

Hello, I just installed CentOS 7 (Server with GUI) and guess what I could install Virtual Box Guest additions without installing any extra package/software which is great news ! Now bad news or not so great news. My Host OS is Windows 10, Virtual Box is the virtualization software. CentOS7-1... (0 Replies)
Discussion started by: bluemind2005
0 Replies

9. Shell Programming and Scripting

Error downloading from GiT: fatal: unable to connect to github.com:

My below command fails with the error as shown: $ sudo git clone git://github.com/ansible/ansible.git Cloning into 'ansible'... fatal: unable to connect to github.com: github.com: errno=Connection refused github.com: errno=Connection refused The ping from my server to github.com is... (2 Replies)
Discussion started by: mohtashims
2 Replies
IRSEND(1)								FSF								 IRSEND(1)

NAME
irsend - basic LIRC program to send infra-red commands SYNOPSIS
irsend [options] DIRECTIVE REMOTE CODE [CODE...] DESCRIPTION
Asks the lircd daemon to send one or more CIR (Consumer Infra-Red) commands. This is intended for remote control of electronic devices such as TV boxes, HiFi sets, etc. DIRECTIVE can be: SEND_ONCE - send CODE [CODE ...] once SEND_START - start repeating CODE SEND_STOP - stop repeating CODE LIST - list configured remote items SET_TRANSMITTERS - set transmitters NUM [NUM ...] SIMULATE - simulate IR event REMOTE is the name of a remote, as described in the lircd configuration file. CODE is the name of a remote control key of REMOTE, as it appears in the lircd configuration file. NUM is the transmitter number of the hardware device. For the LIST DIRECTIVE, REMOTE and/or CODE can be empty: LIST "" "" - list all configured remote names LIST REMOTE "" - list all codes of REMOTE LIST REMOTE CODE - list only CODE of REMOTE The SIMULATE command only works if it has been explicitly enabled in lircd. -h --help display usage summary -v --version display version -d --device use given lircd socket [/var/run/lirc/lircd] -a --address=host[:port] connect to lircd at this address -# --count=n send command n times EXAMPLES
irsend LIST DenonTuner "" irsend SEND_ONCE DenonTuner PROG-SCAN irsend SEND_ONCE OnkyoAmpli VOL-UP VOL-UP VOL-UP VOL-UP irsend SEND_START OnkyoAmpli VOL-DOWN ; sleep 3 irsend SEND_STOP OnkyoAmpli VOL-DOWN irsend SET_TRANSMITTERS 1 irsend SET_TRANSMITTERS 1 3 4 irsend SIMULATE "0000000000000476 00 OK TECHNISAT_ST3004S" FILES
/etc/lirc/lircd.conf Default lircd configuration file. It should contain all the remotes, their infra-red codes and the corresponding timing and wave- form details. DIAGNOSTICS
If lircd is not running (or /var/run/lirc/lircd lacks write permissions) irsend aborts with the following diagnostics: "irsend: could not connect to socket" "irsend: Connection refused" (or "Permission denied"). SEE ALSO
The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory. lircd(8), mode2(1), smode2(1), xmode2(1), irrecord(1), irw(1), http://www.lirc.org. irsend 0.8.7pre1 May 2010 IRSEND(1)
All times are GMT -4. The time now is 03:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy