'AUTH GSSAPI': command not understood
'AUTH KERBEROS_V4': command not understood
KERBEROS_V4 rejected as an authentication type
原脚本如下:
#!/bin/sh
exportORACLE_BASE=/opt/oracle/
exportORACLE_HOME=/opt/oracle/app/product/11.2.0/dbhome_1
exportPATH=$PATH:$ORACLE_HOME/bin:.
exportORACLE_SID=sms
timedate=$(date+%Y%m%d%H%M%S)
dumpdbname=sms
#exportNLS_LANG=american_america.UTF8
#exportNLS_LANG=AMERICAN_AMERICA.AL32UTF8
CURDATE=$(date'+%Y%m%d%H%M%S')
backup_directory=/opt/backup/data
expdpsms/1@orcldirectory=backDirdumpfile=$dumpdbname'_'$timedate.dmplogfile=$dumpdbname'_'$timedate.log
cd/opt/backup
zip-rdata/$dumpdbname'_'$timedate.zipdata/$dumpdbname'_'$timedate.dmpdata/$dumpdbname'_'$timedate.log
find$backup_directory/*.log-mtime+10-execrm-rf{};
find$backup_directory/*.zip-mtime+10-execrm-rf{};
find$backup_directory/*.dmp-mtime+10-execrm-rf{};
cd$backup_directory
ftp-v-n192.168.2.4>>${dumpdbname}_${timedate}.log<这个脚本是到linux上下载文件,但是运行的时候报错,关键字有:AUTH GSSAPAUTH KERBEROS_V4解决办法:ftp -v -n -u << EOF加-u参数可以解决以下报错'AUTH GSSAPI': command not understood'AUTH KERBEROS_V4': command not understood