Visit Our UNIX and Linux User Community


FTP script failing in middle , Error 421


 
Thread Tools Search this Thread
Operating Systems HP-UX FTP script failing in middle , Error 421
# 8  
Old 08-07-2009
Thanks you for the clarification.

1. We are getting files from Solaris machine to HP-Unix machine
2. THese computer are connected by firewall
3. The ftp script runs on HP-Unix machine and will get the files from Solaris machine.

i will let my unix admin know about your 2 points.

But to note that some time it is getting arround 400 files and it failed with the error some time it fails after transfering 10 files.

One thing which i noted is , it is failing when i am moving the file one by one from a directory. I mean here is when a directory has 20 files and like this i am haivng 10 directory , currently i am establing a connection for one file after transfering it i am closing the connection. And like this i am doding that for all the files in each directory

if i transfer as mget after login and get the file it is not failing

Last edited by arunkumar_mca; 08-09-2009 at 03:07 AM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #892
Difficulty: Medium
sed scripts cannot have comments.
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell script getting stopped at the middle.

I have created a shell scrit to run the informatica workflows sequentially.In the script i am executing 7 workflows sequentially after running 4 workflows the scrpt getting stop and it is not continuing next step evn it is updating logs.4th workflow will take more time to finish is that making... (1 Reply)
Discussion started by: katakamvivek
1 Replies

2. Shell Programming and Scripting

ftp script error

Hi , I was writing a bash script of ftp to transfer the files , rite now I am considering my local server as ftp server and through keygen -ssh I ahve generated the public & private keys , the private key I have kept in the folder named scripts where my all scripts resides and the public key... (6 Replies)
Discussion started by: rahul125
6 Replies

3. Shell Programming and Scripting

input of two numbers in the middle of the script

Hi, My script ask for the input of two numbers in the middle of it. I would like to know how to indicate this two numbers when I submit the script. thanks for any help, jalves (4 Replies)
Discussion started by: jalves
4 Replies

4. Shell Programming and Scripting

Expect script help needed- script failing if router unavailable

Hey all. Sometimes I'm tasked to change some router configs for the entire network (over 3,000 Cisco routers). Most of the time its a global config parameter so its done with a loop and an IP list as its the same configuration change for all routers. This is working OK. However, sometimes an... (3 Replies)
Discussion started by: mrkz1974
3 Replies

5. UNIX for Dummies Questions & Answers

unzip failing with write error

All, I am trying to unzip a file, when i doing i am seeing the below error. I have more than enough memory space in the directory where i am unziping. Can you please help me to find out the issue I dont know why i am getting disk full error. I have more space in /pa01 directory ... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies

6. Shell Programming and Scripting

FTP script error

This question has been answered many times. I tried to use some examples. Here is the error and cannot find the reason. Please help! messages : 40 step1 step2 arcfile1.sh: line 55: syntax error: unexpected end of file :( here is the script: #!/bin/bash DATE=`date +%Y%m%d`... (21 Replies)
Discussion started by: Lenora2009
21 Replies

7. Shell Programming and Scripting

FTP script error

Hi all, I am trying to run a FTP script which would go to diff servers in the environment and get the request logs and I am getting the following error, Please let me know. server1.ou.st.com (to) usage: open host-name Not connected. Local directory now /home/pk960/logs Not connected.... (0 Replies)
Discussion started by: crosairs
0 Replies

8. AIX

0653-421 mksysb errot

When i am taking mksysb that time it is giving error 0653-421 error. (8 Replies)
Discussion started by: pernasivam
8 Replies

9. UNIX for Dummies Questions & Answers

FTP login failing

Please help. I am running Solaris 8 trying to get my FTP to work. When I try to access the FTP server from another computer on the network, it connects and prompts for a password. The username and password I set up do not work as well as my root account. Neither of the accounts are set up in the... (3 Replies)
Discussion started by: zbis12
3 Replies
condor_configure(1)					      General Commands Manual					       condor_configure(1)

Name
       condor_configure Configure - or install Condor

Synopsis
       condor_configure or condor_install[ -- help]

       condor_configureor  condor_install[  -- install[=<path/to/release>] ] [ -- install-dir=<path>] [ -- prefix=<path>] [ -- local-dir=<path>] [
       -- make-personal-condor] [ -- type = <submit, execute, manager >] [ -- central-manager = <hostname>] [ -- owner = <ownername >] [ --  make-
       personal-stork]	[  --  overwrite]  [  --  ignore-missing-libs]	[ -- force] [ -- no-env-scripts] [ -- env-scripts-dir = <directory >] [ --
       backup] [ -- stork] [ -- credd] [ -- verbose]

Description
       condor_configureand condor_installrefer to a single script that installs and/or configures Condor on Unix machines.  As	the  names  imply,
       condor_installis  intended  to  perform	a  Condor  installation, and condor_configureis intended to configure (or reconfigure) an existing
       installation. Both will run with Perl 5.6.0 or more recent versions.

       condor_configure(and condor_install) are designed to be run more than one time where required. It can install Condor when  invoked  with  a
       correct configuration via

       condor_install

       or

       condor_configure  --install

       or, it can change the configuration files when invoked via

       condor_configure

       Note  that  changes in the configuration files do not result in changes while Condor is running. To effect changes while Condor is running,
       it is necessary to further use the condor_reconfigor condor_restartcommand. condor_reconfigis required where the currently  executing  dae-
       mons need to be informed of configuration changes. condor_restartis required where the options  -- make-personal-condoror  -- typeare used,
       since these affect which daemons are running.

       Running condor_configureor condor_installwith no options results in a usage screen being printed. The  -- helpoption can be used to display
       a full help screen.

       Within the options given below, the phrase release directoriesis the list of directories that are released with Condor. This list includes:
       bin ,  etc ,  examples ,  include ,  lib ,  libexec ,  man ,  sbin ,  sql and  src .

Options
       --help

	  Print help screen and exit

       --install

	  Perform installation, assuming that the current working directory contains the release directories. Without further options, the config-
	  uration  is  that  of  a  Personal Condor, a complete one-machine pool. If used as an upgrade within an existing installation directory,
	  existing configuration files and local directory are preserved. This is the default behavior of condor_install.

       --install-dir=<path>

	  Specifies the path where Condor should be installed or the path where it already is installed. The default is the current working direc-
	  tory.

       --prefix=<path>

	  This is an alias for -install-dir.

       --local-dir=<path>

	  Specifies the location of the local directory, which is the directory that generally contains the local (machine-specific) configuration
	  file as well as the directories where Condor daemons write their run-time information ( spool ,  log ,   execute  ).	This  location	is
	  indicated  by  the   LOCAL_DIR  variable in the configuration file. When installing (that is, if -installis specified), condor_configure
	  will properly create the local directory in the location specified. If none is specified, the default value is given by  the	evaluation
	  of  $(RELEASE_DIR)/local.$(HOSTNAME) .

	  During  subsequent  invocations of condor_configure (that is, without the --install option), if the --local-dir option is specified, the
	  new directory will be created and the  log ,	spool and  execute directories will be moved there from their current location.

       --make-personal-condor

	  Installs and configures for Personal Condor, a fully-functional, one-machine pool.

       --type= <submit, execute, manager >

	  One or more of the types may be listed. This determines the roles that a machine may play in a pool. In general, any machine	can  be  a
	  submit  and/or  execute  machine,  and there is one central manager per pool. In the case of a Personal Condor, the machine fulfills all
	  three of these roles.

       --central-manager=<hostname>

	  Instructs the current Condor installation to use the specified machine as the central manager. This modifies the configuration  variable
	  COLLECTOR_HOST to point to the given host name). The central manager machine's Condor configuration needs to be independently configured
	  to act as a manager using the option -type=manager.

       --owner=<ownername>

	  Set configuration such that Condor daemons will be executed as the given owner. This modifies the ownership on the   log  ,	spool  and
	  execute  directories	and  sets the  CONDOR_IDS value in the configuration file, to ensure that Condor daemons start up as the specified
	  effective user. See section 3.6.13on UIDs in Condor on page for details. This is only applicable when condor_configure is run  by  root.
	  If not run as root, the owner is the user running the condor_configure command.

       -overwrite

	  Always  overwrite  the  contents  of the  sbin directory in the installation directory. By default, condor_installwill not install if it
	  finds an existing  sbin directory with Condor programs in it. In this case, condor_installwill  exit	with  an  error  message.  Specify
	  -overwriteor -backupto tell condor_installwhat to do.

	  This prevents condor_installfrom moving an  sbin directory out of the way that it should not move. This is particularly useful when try-
	  ing to install Condor in a location used by other things ( /usr ,  /usr/local , etc.) For  example:  condor_install-prefix=/usrwill  not
	  move	/usr/sbin out of the way unless you specify the -backupoption.

	  The  -backupbehavior	is used to prevent condor_installfrom overwriting running daemons - Unix semantics will keep the existing binaries
	  running, even if they have been moved to a new directory.

       --backup

	  Always backup the  sbin directory in the installation directory. By default, condor_installwill not install  if  it  finds  an  existing
	  sbin	directory  with  Condor programs in it. In this case, condor_installwith exit with an error message. You must specify -overwriteor
	  -backupto tell condor_installwhat to do.

	  This prevents condor_installfrom moving an  sbin directory out of the way that it should not move. This is particularly useful if you're
	  trying to install Condor in a location used by other things ( /usr ,	/usr/local , etc.) For example: condor_install-prefix=/usrwill not
	  move	/usr/sbin out of the way unless you specify the -backupoption.

	  The -backupbehavior is used to prevent condor_installfrom overwriting running daemons - Unix semantics will keep the	existing  binaries
	  running, even if they have been moved to a new directory.

       --ignore-missing-libs

	  Ignore missing shared libraries that are detected by condor_install. By default, condor_installwill detect missing shared libraries such
	  as  libstdc++.so.5 on Linux; it will print messages and exit if missing libraries are detected. The --ignore-missing-libswill cause con-
	  dor_installto not exit, and to proceed with the installation if missing libraries are detected.

       --force

	  This is equivalent to enabling both the --overwriteand --ignore-missing-libscommand line options.

       --no-env-scripts

	  By  default,	condor_configure  writes simple sh and csh shell scripts which can be sourced by their respective shells to set the user's
	  PATH and  CONDOR_CONFIG environment variables. This option prevents condor_configure from generating these scripts.

       --env-scripts-dir=<directory>

	  By default, the simple shand cshshell scripts (see --no-env-scriptsfor details) are created in the root directory of the Condor  instal-
	  lation. This option causes condor_configure to generate these scripts in the specified directory.

       --make-personal-stork

	  Creates a Personal Stork, using the condor_credddaemon.

       --stork

	  Configures the Stork data placement server. Use this option with the --creddoption.

       --credd

	  Configure the the condor_credddaemon (credential manager daemon).

       --verbose

	  Print information about changes to configuration variables as they occur.

Exit Status
       condor_configurewill exit with a status value of 0 (zero) upon success, and it will exit with a nonzero value upon failure.

Examples
       Install	Condor on the machine (machine1@cs.wisc.edu) to be the pool's central manager. On machine1, within the directory that contains the
       unzipped Condor distribution directories:

       % condor_install --type=submit,execute,manager

       This will allow the machine to submit and execute Condor jobs, in addition to being the central manager of the pool.

       To change the configuration such that machine2@cs.wisc.edu is an execute-only machine (that is, a dedicated computing node) within  a  pool
       with  central  manager  on  machine1@cs.wisc.edu,  issue the command on that machine2@cs.wisc.edu from within the directory where Condor is
       installed:

       % condor_configure  --central-manager=machine1@cs.wisc.edu --type=execute

       To change the location of the  LOCAL_DIR directory in the configuration file, do (from the directory where Condor is installed):

       % condor_configure  --local-dir=/path/to/new/local/directory

       This will move the  log , spool , execute directories to  /path/to/new/local/directory from the current local directory.

Author
       Condor Team, University of Wisconsin-Madison

Copyright
       Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of  Wisconsin-Madison,  Madison,  WI.  All  Rights  Reserved.
       Licensed under the Apache License, Version 2.0.

       See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu

								  September 2012					       condor_configure(1)

Featured Tech Videos