System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

My scp not work on one server

aamir4u
Regular Advisor

My scp not work on one server

Hello

 

My scp not work on one server

When i try 192.168.2.5 server to 192.168.4.5 its not works.

 

Command i try:-

 

/usr/bin/scp aamirtest.tar 192.168.4.5:/c02

 

OR

scp  aamirtest.tar 192.168.4.5:/c02

 

Only blank screen comes not copy

 

Please suggest me

 

Thanks

 

Thanks
aamir uddin
6 REPLIES
aamir4u
Regular Advisor

Re: My scp not work on one server

Hi,

 

only two three servers not connected to 192.168.2.5 server via ssh,scp

 

Others servers connect to each other.

 

How can resolve that problem.

Thanks
aamir uddin
pradeep m
Respected Contributor

Re: My scp not work on one server

Check the following from the server which has the issue?

 

1. Check syslog.log for any errors. 

2. Does ping works? if no, then check the routing table for gateway address. 

3. does telnet work to that server

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


aamir4u
Regular Advisor

Re: My scp not work on one server

Hi,

scp, ssh, telnet also not work

 

on syslog folder there is no error messages

routing table is O.K

 

How can i solve.

 

Thanks

 

 

Thanks
aamir uddin
Torsten.
Acclaimed Contributor

Re: My scp not work on one server

>> scp, ssh, telnet also not work

if nothing works, you should first check if the target server can access the network, e.g. ping the gateway.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
aamir4u
Regular Advisor

Re: My scp not work on one server

Hi

its only ping the gateway

but its not ping the another servers.

Thanks
aamir uddin
pradeep m
Respected Contributor

Re: My scp not work on one server

Compare the routing table configuration with the other working server. Make sure the default gateway address is correct.

Also check the /etc/rc.config.d/netconf file and check if the gateway count value (ROUTE_COUNT[0]="1") are set correctly.

 

Note: The count that indicates whether the gateway is a remote host or the local host. If the route leads to a destination through a remote gateway, count should be a number greater than 0. If the route leads to destination and the gateway is the local host, count should be 0. The default for count is zero. The result is not defined if count is negative.

 

send the below outputs.

# lanscan

# cat /etc/rc.config.d/netconf | grep -v "#"

# netstat -rvn

 

 

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details