Article ID: 117420, created on Sep 21, 2013, last review on Jan 14, 2016

  • Applies to:
  • Odin Business Automation Standard 4.5

Symptoms

Name Server has status "Unreachable". The following errors are shown in OBAS log after its status is checked under Top > Service Director > Domain Manager > Name Servers > NAME.SERVER > Check Status:

/var/log/hspc/hspc.log
--->8---
[2011/07/14 05:27:25] [DEBUG] [12285] [HSPC::MT::DM::NS::SlaveNS::SSH::__transport] Attempt to open ssh ns transport...
[2011/07/14 05:27:25] [DEBUG] [12285] [HSPC::MT::DM::NS::SlaveNS::SSH::__init_namedsync_transport] path to identity prv=/var/www/.ssh/identity
[2011/07/14 05:27:25] [DEBUG] [12285] [HSPC::MT::DM::NS::SlaveNS::SSH::__init_namedsync_transport] path to id dsa prv=/var/www/.ssh/id_dsa
[2011/07/14 05:27:25] [DEBUG] [12285] [HSPC::MT::DM::NS::SlaveNS::SSH::__init_namedsync_transport] port=22
[2011/07/14 05:27:25] [DEBUG] [12285] [HSPC::MT::DM::NS::SlaveNS::SSH::__init_namedsync_transport] proto=2,1
[2011/07/14 05:27:25] [DEBUG] [12285] [HSPC::MT::DM::NS::SlaveNS::SSH::__init_namedsync_transport] trying to login
...
[2011/07/14 05:27:45] [WARN] [12285] [HSPC::MT::DM::NS::SlaveNS::SSH::__init_namedsync_transport] Error while init transport: timeout at /usr/lib/perl5/site_perl/5.8.8/HSPC/MT/DM/NS/SlaveNS/SSH.pm line 342.

[2011/07/14 05:27:45] [DEBUG] [12285] [HSPC::MT::DM::NS::AbstractNS::report_problem] report_problem() started...
[2011/07/14 05:27:45] [DEBUG] [12285] [HSPC::MT::DM::NS::AbstractNS::report_problem] $VAR1 = {
          'problem_txt' => 'Name server #4 NAME.SERVER is unreachable.',
          'action_id' => 4,
          'is_success' => 0
        };

[2011/07/14 05:27:45] [ERROR] [12285] [HSPC::MT::DM::report_to_action_log] Name server #4 NAME.SERVER is unreachable. (See /var/log/hspc/p2011-07-14_05-27-45 for details)
---8<---

You can see that connection has failed due to timeout after 20 seconds (check dates between 'trying to login' and 'Error while init transport'). Below are connection settings for the name servers in the database:

Resolution

Connection protocol 1 is faster that protocol 2. It is a good idea to change protocol to 1 and increase connection timeout under Top > Service Director > Domain Manager > Name Servers > NAME.SERVER > Edit.

Remember to enable connection protocol 1 on the name server. For that please uncomment the line Protocol 2,1 in /etc/ssh/sshd_config on the name server and restart the sshd service.

Use the command below to verify of connection to name server 123.123.123.123 via protocol 1 from OBAS is possible:

[root@pbas ~]# su - apache
-bash-3.2$ ssh -1 namedsync@123.123.123.123
Last login: Fri Dec 25 18:14:13 2009 from 193.28.233.92
[namedsync@ns ~]$

Search Words

new

Error while init transport: timeout

Name server is unreachable

Unreachable

DNS records

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 70a5401e8b9354cd1d64d0346f2c4a3e 624ca542e40215e6f1d39170d8e7ec75

Email subscription for changes to this article
Save as PDF