1752806 Members
5773 Online
108789 Solutions
New Discussion

problem with scp / ftp

 
SOLVED
Go to solution
praveen..
Super Advisor

problem with scp / ftp

Hi,
i am doing scp / ftp from 1 server to another.

i can do it successfully for small files.

but for large files, The process stops or gives STALLED message after it starts copying.

I am pressing the “ENTER” key at regular intervals in the "putty" console

But still it gives the same problem.

Please suggest



8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: problem with scp / ftp

Shalom,

This is almost always due to a name resolution (DNS) or networking problem.

Time to contact the networking folks.

To confirm.

ssh -vvv username@serverhostnaem

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: problem with scp / ftp

Ooops.

scp also has a verbose parameter as I recall.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
praveen..
Super Advisor

Re: problem with scp / ftp

Hi,
DNS is ok , i am able to login using ssh and also able to scp small files,

i am facing this problem for large files,

scp process automatically stops.

why?

please suggest
praveen..
Super Advisor

Re: problem with scp / ftp

hi friends,

please try to help me

thanks
Patrice Le Guyader
Respected Contributor

Re: problem with scp / ftp

Demat praveen,

Take a look at your lan cards configuration. Verify that they are in Full Duplex mode or that you don't have a switch problem. I've had aproximatively the same issue and it was a misconfigured lan card,once in 100FD it was good.

Hope this helps
Kenavo
Pat
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
praveen..
Super Advisor

Re: problem with scp / ftp

Hi Pet,
how to check this NIC configuration and how to change.

Marco Santerre
Honored Contributor
Solution

Re: problem with scp / ftp

You'll need to find out which card is being used for your network, so for example if you are using lan1, you can issue a :

lanscan (and look for the third field of the lan1 card which should be the Card In#)

and using that number, issue the command :

lanadmin -x n (where n is equal to the number of the Card In#)

that should return the speed your card is running at
Cooperation is doing with a smile what you have to do anyhow.
Patrice Le Guyader
Respected Contributor

Re: problem with scp / ftp

Hi,

With the lanscan command you have all you lancards.

With the lanadmin command.
lanadmin -x to verify
lanadmin -X 100FD to set it.

Be careful if you have a cluster on this server because when you change it, it hang during several seconds.

Hope this helps
Kenavo
Pat
Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.