10 More Discussions You Might Find Interesting
1. Ubuntu
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
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
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
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
5. Shell Programming and Scripting
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
6. UNIX for Dummies Questions & Answers
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
7. Solaris
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
8. Shell Programming and Scripting
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
9. UNIX for Dummies Questions & Answers
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/MySQL-5.1/MySQL-server-community-5.1.35-0.rhel3.i386.rpm/from/ftp://mirror.anl.gov/pub/mysql/
--13:29:16-- ... (6 Replies)
Discussion started by: wsetchell
6 Replies
10. Shell Programming and Scripting
Hi All,
I have 2 questions:
1. I was coming up with a HTML page and wanted a footer to always be at the bottom of the page regardless of the size of the page that has been populated. How do I acheive this?
2. I was trying to build an iframe with the following tags
"<iframe id=\"iframe01\"... (5 Replies)
Discussion started by: garric
5 Replies
OCF_HEARTBEAT_APACHE(7) OCF resource agents OCF_HEARTBEAT_APACHE(7)
NAME
ocf_heartbeat_apache - Manages an Apache web server instance
SYNOPSIS
apache [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
This is the resource agent for the Apache web server. Thie resource agent operates both version 1.x and version 2.x Apache servers. The
start operation ends with a loop in which monitor is repeatedly called to make sure that the server started and that it is operational.
Hence, if the monitor operation does not succeed within the start operation timeout, the apache resource will end with an error status. The
monitor operation by default loads the server status page which depends on the mod_status module and the corresponding configuration file
(usually /etc/apache2/mod_status.conf). Make sure that the server status page works and that the access is allowed *only* from localhost
(address 127.0.0.1). See the statusurl and testregex attributes for more details. See also http://httpd.apache.org/
SUPPORTED PARAMETERS
configfile
The full pathname of the Apache configuration file. This file is parsed to provide defaults for various other resource agent
parameters. (optional, string, default /etc/apache2/httpd.conf)
httpd
The full pathname of the httpd binary (optional). (optional, string, default /usr/sbin/httpd)
port
A port number that we can probe for status information using the statusurl. This will default to the port number found in the
configuration file, or 80, if none can be found in the configuration file. (optional, integer, no default)
statusurl
The URL to monitor (the apache server status page by default). If left unspecified, it will be inferred from the apache configuration
file. If you set this, make sure that it succeeds *only* from the localhost (127.0.0.1). Otherwise, it may happen that the cluster
complains about the resource being active on multiple nodes. (optional, string, no default)
testregex
Regular expression to match in the output of statusurl. Case insensitive. (optional, string, default exists, but impossible to show in
a human readable format (try grep testregex))
client
Client to use to query to Apache. If not specified, the RA will try to find one on the system. Currently, wget and curl are supported.
For example, you can set this paramter to "curl" if you prefer that to wget. (optional, string, no default)
testurl
URL to test. If it does not start with "http", then it's considered to be relative to the Listen address. (optional, string, no
default)
testregex10
Regular expression to match in the output of testurl. Case insensitive. (optional, string, no default)
testconffile
A file which contains test configuration. Could be useful if you have to check more than one web application or in case sensitive info
should be passed as arguments (passwords). Furthermore, using a config file is the only way to specify certain parameters. Please see
README.webapps for examples and file description. (optional, string, no default)
testname
Name of the test within the test configuration file. (optional, string, no default)
options
Extra options to apply when starting apache. See man httpd(8). (optional, string, no default)
envfiles
Files (one or more) which contain extra environment variables. If you want to prevent script from reading the default file, set this
parameter to empty string. (optional, string, default /etc/apache2/envvars)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 40s.
stop
Stops the resource. Suggested minimum timeout: 60s.
status
Performs a status check. Suggested minimum timeout: 30s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a apache resource using the crm(8) shell:
primitive example_apache ocf:heartbeat:apache
op monitor depth="0" timeout="20s" interval="10"
SEE ALSO
http://www.linux-ha.org/wiki/apache_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents 1.0.3 07/05/2010 OCF_HEARTBEAT_APACHE(7)