UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old January 31st, 2004, 11:59 AM
csross csross is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 105 csross User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 56 m 28 sec
Reputation Power: 5
SSH shows error "cannot assign requested address"

I am trying to ssh, scp, or rsync using ssh to a server and I get the error "Cannot assign requested address".

This is a Solaris 8 machine.

any ideas

Reply With Quote
  #2  
Old February 1st, 2004, 08:47 PM
fpmurphy fpmurphy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: USA
Posts: 257 fpmurphy User rank is Corporal (100 - 500 Reputation Level)fpmurphy User rank is Corporal (100 - 500 Reputation Level)fpmurphy User rank is Corporal (100 - 500 Reputation Level)fpmurphy User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 23 h 46 sec
Reputation Power: 6
The system may have a large number of open sockets.

Use netstat to check the state of connections on the Solaris
system. You may need to tweak the tcp stack to decrease the timeout value to something like 1 minute for sockets

If you have more than one network interface and different
hostnames, carefully check (and double check) that the
relevant configuration files are correctly set up.

/etc/hosts
/etc/hostname.1xx
/etc/hostname.2xx

Reply With Quote
  #3  
Old February 2nd, 2004, 12:55 PM
csross csross is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 105 csross User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 56 m 28 sec
Reputation Power: 5
thanks. I am very new at this. What should I be looking for in netstat and how would I tweek the for the timeout value? What does the timeout value have to do with it?

Thanks

Reply With Quote
  #4  
Old February 2nd, 2004, 01:54 PM
csross csross is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 105 csross User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 56 m 28 sec
Reputation Power: 5
it seems that there are virtual addresses. Ifconfig shows hme0 and hme0:1, hme0:2, hme0:3.

Also, I used the debug option for ssh. This is the output. I've changed the address to some.address and the hostname. Any suggestions?

bash-2.03# ssh -v -oProtocol=1 Webserver@host.company.com
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090604f
debug1: Reading configuration data /usr/local/etc/ssh_config
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: ssh_connect: needpriv 0
debug1: Connecting to host.company.com [some.address] port 22.
ssh: connect to address some.address port 22: Cannot assign requested address

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > SSH shows error "cannot assign requested address"


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway