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 > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix commands failing inside the shell script esha Shell Programming and Scripting 3 06-02-2009 08:32 AM
failing a unix script er_zeeshan05 UNIX for Dummies Questions & Answers 1 10-27-2008 10:00 PM
csh failing to call an 2 embedded csh script pollsizer Shell Programming and Scripting 1 06-07-2008 01:22 PM
IF condition failing in a SSH script rubionis Shell Programming and Scripting 9 11-21-2007 04:17 PM
UNIX script failing .... khan1978 UNIX for Advanced & Expert Users 1 12-05-2005 01:28 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-05-2009
arunkumar_mca arunkumar_mca is offline
Registered User
  
 

Join Date: Oct 2004
Posts: 255
FTP script failing in middle , Error 421

All,

I know this question has been asked , but mine is different scenario

I am unsing HP unix, trying to transfer HP-Unix to HP-Unix.

I am transfering a bunch of file form machine1 to machine2. when i intiate my FTP script the files are getting transfered from machine1 to machine2. But after some time it is failing with the error below.

Partial files were transfered, and the below error "*** Source file not found in remote system:wcs" is not correct it seems i see the source file available. What is the below error mean , what might be the cause.

To note last month this job was running without any issue. Nothing changed the source code now it is failing




*** Source File: /eaa/20090124/100_aaaa_0999
{=======
Connected to 109.334.22.11
220 wc2 FTP server ready.
331 Password required for rus.
230 User rus logged in.
421 Service not available, remote server has closed connection
}=======


*** End : FTP on Aug 04 2009 10:55:56 PM

*** Source file not found in remote system:wc2

Thanks in Advance,
Arun
  #2 (permalink)  
Old 08-05-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,913
Instead of running a script, try to perform all the steps manually to see where the actual problem is. I suspect it is a permissions or authentication problem.
  #3 (permalink)  
Old 08-05-2009
arunkumar_mca arunkumar_mca is offline
Registered User
  
 

Join Date: Oct 2004
Posts: 255
When i run individually yes it working fine the files are getting transfered.

The more i noted is that , the FTP is not failing at a constant point , it is failing at random position. But the error is same

421 Service not available, remote server has closed connection


Thank you

Last edited by arunkumar_mca; 08-05-2009 at 08:59 PM..
  #4 (permalink)  
Old 08-06-2009
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,944
Is the active connection switching between active mode and passive mode?
  #5 (permalink)  
Old 08-06-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,913
Are either of your systems running HP-UX 11.31?
  #6 (permalink)  
Old 08-06-2009
arunkumar_mca arunkumar_mca is offline
Registered User
  
 

Join Date: Oct 2004
Posts: 255
I tried with passive mode , Even after that the script failed . I am sorry about my typo we are trying to trassfer file from Soloris machine to HP-UNIX
  #7 (permalink)  
Old 08-06-2009
methyl methyl is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 1,163
Please post the actual script and make it clear which computer (Solaris or HP-UX) is running the script. FTP can be push or pull.

Are both computers on the same LAN? How are they connected? Is there a firewall between them?

Some things to check:
1) Ensure that both computers have their LAN cards set to NOT auto-negotiate and that the LAN ports for both ports are set to NOT auto-negotiate.
2) Set the block size for ftpd on the HP-UK box in /etc/inetd.conf to 32. The value 32 is smaller than the default of 56.
Reply

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:02 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