05-07-2009
KERBEROS_V4 -help needed ASAP
#!/bin/sh
HOST='ftp.bend.com'
USER='temp1'
PASSWD='temp2'
FTPPATH='SY1:[TEMP.KLM.DIR]'
ifile='concat.txt'
#FTP concatenated file
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
binary
cd $FTPPATH
put $ifile
get $ifile retrieval.$$
quit
END_SCRIPT
if [ -f retrieval.$$ ]
then
echo "FTP of $ifile is complete"
rm -f retrieval.$$
else
echo "FTP of $ifile is incomplete"
fi
exit 0
~
when i run the above script through Datastage tool i get the error as follows:
samplejob..JobControl (@Check_Count): Executed:
sh test123.sh
Reply=0
Output from command ====>
I never heard of the AUTH command. Try HELP.
I never heard of the AUTH command. Try HELP.
KERBEROS_V4 rejected as an authentication type
local: concat.txt: No such file or directory
%%RMS-E-FNF, file not found
FTP of concat.txt is incomplete
can some 1 tell me y this happens:
here concat is the file in my local that i have to put in the remote server.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need your expertise anyone. I'm trying to remove part of a id # in a script. Reason, the part of the id is a underscore that is making my life impossible. I simply cannot handle all the requests and modify every single one in vi or edt. So I wanted to modify the script..
For example ... (12 Replies)
Discussion started by: simon2000
12 Replies
2. UNIX for Dummies Questions & Answers
Hi guys !
I have 24 hours to learn about sendmail (as much as I can) ...
where to start ?
where to go ?
thnx, (2 Replies)
Discussion started by: Gismo
2 Replies
3. UNIX for Dummies Questions & Answers
can someone explain the meaning of the following shell commands:
1. who / wc -l
2. who / sort > user_names
3. cat students > new_students
4. current_day='date / cut -cl-3'
i would also appreciated if you could tell me some things about the umask
1. what is a good umask value and why?
2.... (2 Replies)
Discussion started by: dakis
2 Replies
4. UNIX for Advanced & Expert Users
can someone help me with the find and replace command.
I have a input file which is in the below format:
0011200ALN00000000009EGYPT 000000000000199900000
0011200ALN00000000009EGYPT 000000000000199900000
0011200ALN00000000008EGYPT 000000000000199800000
0011200ALN00000000009EGYPT ... (20 Replies)
Discussion started by: bsandeep_80
20 Replies
5. Shell Programming and Scripting
i have a file having content
a|b|c
1|2|33
4|6|55
end
a|b|d
3|4|55
end
a|b|c
45|67|98
end
so i want to print 3rd field of header a|b|c and footer end.
e.g. o/p should be
33
55
98 (7 Replies)
Discussion started by: manas_ranjan
7 Replies
6. Shell Programming and Scripting
Hello everyone, I'm new to using Linux and i am trying to create a script that will produce a list of all the files of the present working directory. So far I only have this
#!/bin/bash
cd /
ls -lt>>
I can't figure out what I am suppose to do next. (6 Replies)
Discussion started by: reecygee
6 Replies
7. Linux
Running as cron, I get error msg in mail: KERBEROS_V4 rejected as an authentication type,
even though the ftp does work. Can anyone explain this? Is there a way to stop it?
cron:
35 6 * * 1-5 ./PSS/pss.sh >> ./PSS/pss.log
script pss.sh:
#!/usr/bin/ksh
DIR=/home/informix/PSS... (0 Replies)
Discussion started by: ejaggers
0 Replies
8. Shell Programming and Scripting
Hi am just trying to FTP am while doing so am getting the "KERBEROS_V4 rejected as an authentication type" error.Please let me know what should be done to avoid this error.
The code is
#!/bin/ksh -x
#
# Get new files only ftp
#
source="source.com"
basedir="/home/xyz/"... (0 Replies)
Discussion started by: weknowd
0 Replies
9. Homework & Coursework Questions
can anyone help me with this???
make program ( shell script) to detect and display errors occurred in initializing a Unix system (4 Replies)
Discussion started by: dementor
4 Replies
LEARN ABOUT DEBIAN
ql-set-cmd-timeout
ql-set-cmd-timeout(8) System Administration ql-set-cmd-timeout(8)
NAME
ql-set-cmd-timeout - set the timeout on the devices connected to the QLogic FC HBA.
SYNOPSIS
ql-set-cmd-timeout [OPTIONS]
DESCRIPTION
QLogic Linux Set Device Timeout Utility
This utility allows you to set the timeout on the devices connected to the QLogic FC HBA. This timeout value applies to the commands sent
to the device. This can help when target devices take longer to execute a command, for example under heavy I/O. Setting a longer timeout
reduces the chance of the Linux SCSI mid-layer driver aborting the tasks after a timeout.
[DEFAULT]
Display timeout of devices connected to all HOSTs
[HOST]
Display timeout of devices connected to HOST
[HOST] [TARGET]
Display timeout of devices connected to a TARGET on HOST
[HOST] [TARGET] [TIMEOUT]
To set timeout on devices connected to a TARGET on HOST
-h, --help, ?
Prints this help message
-i, --interactive
Use this option to use the menu driven program
SEE ALSO
ql-dynamic-tgt-lun-disc(8), ql-lun-state-online(8), ql-hba-snapshot(8)
Matthias Schmitz <matthias@sigxcpu.org> August 2008 ql-set-cmd-timeout(8)