View previous topic :: View next topic |
Author |
Message |
mos-eisley
Joined: 21 Mar 2007 Posts: 76 Location: Klarup (AAlborg), Demark
|
Posted: Wed Apr 11, 2007 1:54 am Post subject: RMA Agent IP Error |
|
|
Hi,
I have an agent on a RedHat Server, with works fine in the RMA Manager.
I get this connection error when trying to use the "Text Log" test with the agent - file browse:
"RMA Error: Cannot resolve hostname to IP address. The requested name is valid and was found in the database, but does not have the correct associated data being resolved for."
Now, If I replace the FQHN in the RMA Manager with the IP address, it works, and after the file is selected, I can replace the IP with the hostname and the test works.
From the HostMonitor server, I can ping and lookup the IP with the hostname. |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Wed Apr 11, 2007 2:14 am Post subject: |
|
|
Looks like some DNS issues. RMA uses gethostbyname function and it seems an MX record is returned but no A record—indicating the host itself exists, but is not directly reachable.
Regards,
Max |
|
Back to top |
|
|
mos-eisley
Joined: 21 Mar 2007 Posts: 76 Location: Klarup (AAlborg), Demark
|
Posted: Wed Apr 11, 2007 3:22 am Post subject: |
|
|
Well, the dns should be alright, in the RMA.ini I have set Host=pai13001-1.cwuk.a.p wich is the full (unique) dns name. This is available and resolveable and nslookup and ping from the hostmonitor is ok.
The Host=is set because the Linux machine running the RMA has 2 NICs. |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Wed Apr 11, 2007 4:12 am Post subject: |
|
|
mos-eisley wrote: | Well, the dns should be alright, in the RMA.ini I have set Host=pai13001-1.cwuk.a.p wich is the full (unique) dns name. This is available and resolveable and nslookup and ping from the hostmonitor is ok. | Message "RMA Error: Cannot resolve hostname to IP address..." means that host name cannot be resolved on the machine, where RMA is running, not HostMonitor. Why it can not resolve its own name? Interesting question.
mos-eisley wrote: | The Host=is set because the Linux machine running the RMA has 2 NICs. | Probably, it would be better to specify IP-address instead of hostname, like: Host=192.168.xxx.xxx
Regards,
Max |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Wed Apr 11, 2007 11:51 am Post subject: |
|
|
May be we misunderstood the problem. Could you please send screen shot to support@ks-soft.net?
Regards
Alex |
|
Back to top |
|
|
|