The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
nfs issue melanie_pfefer Red Hat 1 05-08-2008 05:43 PM
Unix Arithmatic operation issue , datatype issue thambi Shell Programming and Scripting 23 02-19-2008 07:19 AM
SED Issue Redg UNIX for Dummies Questions & Answers 9 08-29-2005 04:52 PM
tar /dev/dat issue simon2000 UNIX for Dummies Questions & Answers 6 11-14-2003 01:17 PM
ssh issue meyersp UNIX for Advanced & Expert Users 4 11-08-2003 11:30 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-18-2008
crosairs crosairs is offline
Registered User
  
 

Join Date: Aug 2008
Posts: 4
SSH FTP Issue

Hi,

I have a ftp script which is supposed to ftp to different servers in the same environment and get request logs from a path. But when I run the script I get the following errors,
HTML Code:
[B]1142INPUT_WBS/1142INPUT_WBS
ftp: 1142INPUT_WBS.sbc.com: unknown host
Not.
Not connected.
local: /home/sn9460/logs: No such file or directory
Not connected.
Interactive mode on.
Not connected.
ftp: 1142INPUT_WBS.sbc.com: local: /home/sn9460/logs: No such file or directory
./ftp.sh: line 313: cd: /home/sn9460/logs: No such file or directory
gunzip: request.log*.gz: No such file or directory
./ftp.sh: line 315: syntax error near unexpected token `('
./ftp.sh: line 315: `bash ${LOCAL_DIR}/logextract.bash ( logextract script path )'[/B]
please tell me is this a issue with the script or should I enable SSH on all the servers.

Thanks for your time
  #2 (permalink)  
Old 01-30-2009
otheus's Avatar
otheus otheus is offline Forum Staff  
Moderator ala Mode
  
 

Join Date: Feb 2007
Location: Innsbruck, Austria
Posts: 1,884
The problem was here:
Code:
 1142INPUT_WBS.sbc.com: unknown host
So perhaps you had a mistake in the hostname or your host resolution data is incorrect.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0