error mesg help


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers error mesg help
# 1  
Old 10-30-2002
error mesg help

we have two alpha stations which are connected on two sides on the same wan (64k leased line), here is one problem described as follow.

when i do a ftp to copy a file form one to another, an error mesg shown and the file lenth is 0 at last.

diamond> ftp 192.168.50.1
Connected to 192.168.50.1.
220 opal FTP server (Digital UNIX Version 5.60) ready.
Name (192.168.50.1): XXXX
331 Password required for XXXX
Password:
230 User fmxiao logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put smdb-AAAaavoqa
200 PORT command successful.
150 Opening BINARY mode data connection for smdb-AAAaavoqa (192.168.9.1,2026).
426 Data connection: Connection reset by peer.
10027 bytes sent in 0.034 seconds (2.9e+02 Kbytes/s)

ftp> ls -al
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls (192.168.9.1,2029).
total 32
drwxr-x--x 3 roy staff 8192 Oct 30 09:26 .
drwxr-xr-x 11 root staff 8192 Aug 1 2001 ..
-rw------- 1 roy staff 4 Feb 12 2002 .Xauthority
-rwxr-xr-x 1 roy staff 1500 Jun 19 2001 .cshrc
-rwxr-xr-x 1 roy staff 1689 Jun 19 2001 .login
-rwxr-xr-x 1 roy staff 1621 Jun 19 2001 .profile
-rw------- 1 roy staff 65 Feb 12 2002 .xsession-errors
-rw-r--r-- 1 roy staff 0 Oct 28 15:50 1.txt
-rw-r--r-- 1 roy staff 0 Oct 28 15:43 NIST-SRV.LST
drwxr-xr-x 2 roy staff 8192 Dec 30 1997 bin
-rw-r--r-- 1 roy staff 0 Oct 31 09:39 smdb-AAAaavoqa
226 Transfer complete.


Who can help me...........

thx a lot
# 2  
Old 10-31-2002
Found the following which may or may not still be a problem with your version of ftp.

ftp between 5.0 systems only works with get not put.
When you do a get always fails with
Connection reset by peer

Work Around

Login to the remote system and use get. Do not use put
between 5.0 systems.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Print Error in Console and both Error & Output in Log file - UNIX

I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error. #! /bin/sh errExit () { errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies

2. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet. ... (2 Replies)
Discussion started by: christr
2 Replies

3. UNIX for Dummies Questions & Answers

> 5 ")syntax error: operand expected (error token is " error

im kinda new to shell scripting so i need some help i try to run this script and get the error code > 5 ")syntax error: operand expected (error token is " the code for the script is #!/bin/sh # # script to see if the given value is correct # # Define errors ER_AF=86 # Var is... (4 Replies)
Discussion started by: metal005
4 Replies

4. Solaris

physicall console mesg to ssh session

Hi How to display messages from physicall console output (/dev/console) into ssh session for instance (e.g. /dev/pts/1) for root or other privileged user in Solaris 10 ? thx for help. (1 Reply)
Discussion started by: presul
1 Replies

5. SCO

Error: msgcnt 1 vxfs: mesg 016: vx_ilisterr - / file system error reading

Hello... i got an error in my SCO OpenServer 6. the error is: msgcnt 1 vxfs: mesg 016: vx_ilisterr - / file system error reading inode 373 Can anyone help me? (1 Reply)
Discussion started by: AndryMB
1 Replies

6. AIX

nim mksysb error :/usr/bin/savevg[33]: 1016,07: syntax error

-------------------------------------------------------------------------------- Hello, help me please. I am trying to create a mksysb bakup using nim. I am geting this error, how to correct it ? : Command : failed stdout: yes stderr: no... (9 Replies)
Discussion started by: astjen
9 Replies

7. UNIX for Advanced & Expert Users

VSI-FAX error - Cannot login to server and Connecto error to host

I encounters a VSIFAX related error: vfxstat: Cannot login to server on rsac3: Connect error to host 172.16.1.45: Invalid argument It started happening last night with a core dump. Then we can't start VSIFAX again. I am runing VSI-FAX 4.2 on AIX box (0 Replies)
Discussion started by: b_jin
0 Replies

8. Shell Programming and Scripting

Adding custom mesg. when redirecting "exec 2>stderr.err" ?

Doubt regarding using "exec" command to redirect the STDERR to a file. e.g I did it this way. mystage.sh #!/bin/sh exec 2>stage.err .... .... cat stage.err mv: cannot move `/root/stage' to a subdirectory of itself, `/root/stage_old/stage' ls: *.zDB: No such file or... (0 Replies)
Discussion started by: snurani
0 Replies

9. UNIX for Dummies Questions & Answers

awk Shell Script error : "Syntax Error : `Split' unexpected

hi there i write one awk script file in shell programing the code is related to dd/mm/yy to month, day year format but i get an error please can anybody help me out in this problem ?????? i give my code here including error awk ` # date-month -- convert mm/dd/yy to month day,... (2 Replies)
Discussion started by: Herry
2 Replies

10. UNIX for Dummies Questions & Answers

Error: Internal system error: Unable to initialize standard output file

Hey guys, need some help. Running AIX Version 5.2 and one of our cron jobs is writing errors to a log file. Any ideas on the following error message. Error: Internal system error: Unable to initialize standard output file I'm guessing more info might be needed, so let me know. Thanks (2 Replies)
Discussion started by: firkus
2 Replies
Login or Register to Ask a Question