Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Sun Apr 20, 2014 1:31 pm

All times are UTC - 8 hours


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 1 post ] 
Author Message
Unread postPosted: Fri Jan 13, 2012 2:38 am 
Offline

Joined: Sat Nov 12, 2011 3:18 am
Posts: 320
Location: Tokyo
Just came up with some insight into why my cvd was failing to start and wanted to share the findings:


Added to wiki:

http://www.nekochan.net/wiki/IRIX_Insta ... olve_Order


=== Important note about DNS settings ===
If you use a domain that you own (or not) and your hosts don't actually resolve to real IP addresses (say you use abc.com for your website and iris.abz.com for the irix host which does not resolve to any IP address publicly) - IRIX may fallback to your domain's default IP address - in this case IP address for abz.com.

This may cause problems with certain applications using tooltalk (you would then see instances of "ttsession" in your ps output).

Examples may be cvd or rapidapp - those will show up in "ps" along with ttsessions instances but not display anything and look as if it were frozen.

Try running such app using "par", look for "gethostname" system calls and you should see dns resolution results.
Inspect those in order, see if the lookup resolves to your local machine's hostname and IP address - if it doesn't, then fix your DNS to either use local server, correct your /etc/hosts and resolution order in /etc/nsswitch.conf, or add your machine to the real DNS server for your domain.

Another way to verify this issue is to simply "ping something_nonexistent" from your terminal - if it resovles to ANY IP address (for nonexisting hostname), then you do have this problem.

The explanation is simple:

Applications like cvd or rapidapp use tooltalk protocol which establishes some connection (possibly over IP) - so it launches hostname lookup for your machine, if this doesn't resolve back to your exact machine the app will keep waiting hoping the other side will respond and seem frozen.


--

Cheers

_________________
[click for links to hinv] JP: :Fuel: |:Octane2: |:O2: | :Indy: || PL: [ :Fuel: :O2: :O2+: :Indy: ]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group