question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TabMon service failed to start with multiple hosts

See original GitHub issue

Hi there

I added two clusters as below in my TabMon.config file.

image

But after the above change, I am unable to start TabMon service. Excerpt of log file indicating the error is provided below.

2017-06-09 16:22:53,474 [8] INFO TabMon.TabMonAgent - TabMon stopped. 2017-06-09 16:22:53,474 [8] INFO Topshelf.Runtime.Windows.WindowsServiceHost - [Topshelf] Stopped 2017-06-09 16:22:56,521 [5] INFO TabMon.Config.TabMonConfigReader - Loading TabMon user configuration… 2017-06-09 16:22:56,537 [5] DEBUG TabMon.Config.TabMonConfigReader - Loading database configuration… 2017-06-09 16:22:56,552 [5] INFO TabMon.Config.TabMonConfigReader - Connecting to results database… 2017-06-09 16:22:56,693 [5] DEBUG TabMon.Helpers.HostnameHelper - Successfully resolved ‘99.99.99.990’ to ‘SERVER1009’. 2017-06-09 16:22:56,693 [5] DEBUG TabMon.Helpers.HostnameHelper - Successfully resolved ‘99.99.99.991’ to ‘SERVER991’. 2017-06-09 16:22:56,693 [5] INFO TabMon.Config.TabMonConfigReader - Successfully loaded TabMon config options! [Hosts=‘host server 1\SERVER1009,host server 2\SERVER991’, Writer=‘Database Writer (Postgres Driver)’, PollInterval=‘60’, TableName=‘countersamples’] 2017-06-09 16:22:56,693 [5] INFO TabMon.TabMonAgent - Initializing TabMon… 2017-06-09 16:22:56,693 [5] DEBUG TabMon.CounterConfig.CounterConfigLoader - Loading persistent performance counters from D:\Tableau\TabMon\Config\Counters.config… 2017-06-09 16:22:56,693 [5] DEBUG TabMon.CounterConfig.CounterConfigLoader - Loading performance counters from D:\Tableau\TabMon\Config\Counters.config… 2017-06-09 16:22:56,709 [5] DEBUG TabMon.CounterConfig.CounterConfigLoader - Successfully validated ‘Config\Counters.config’ against ‘Resources\CountersConfig.xsd’. 2017-06-09 16:22:56,709 [5] DEBUG TabMon.CounterConfig.CounterConfigLoader - Loading Perfmon counters… 2017-06-09 16:22:57,037 [5] DEBUG TabMon.CounterConfig.CounterConfigLoader - Loaded 86 persistent Perfmon counters on SERVER1009. 2017-06-09 16:23:39,084 [5] ERROR TabMon.TabMonAgent - Failed to initialize counter sampler using counters from configuration file: The network path was not found. Aborting… 2017-06-09 16:23:39,084 [5] FATAL Topshelf.Runtime.Windows.WindowsServiceHost - The service did not start successfully Topshelf.TopshelfException: The service did not start successfully (returned false). at Topshelf.Runtime.Windows.WindowsServiceHost.OnStart(String[] args) 2017-06-09 16:23:39,084 [1] ERROR Topshelf.HostFactory - The service terminated abnormally System.NullReferenceException: Object reference not set to an instance of an object. at TabMon.TabMonAgent.Dispose(Boolean disposing) at TabMonService.TabMonServiceBootstrapper.Dispose(Boolean disposing) at TabMonService.TabMonServiceBootstrapper.Dispose() at Topshelf.Builders.ControlServiceBuilder1.ControlServiceHandle.Dispose() at Topshelf.Runtime.Windows.WindowsServiceHost.Dispose(Boolean disposing) at System.ComponentModel.Component.Dispose() at System.ServiceProcess.ServiceBase.Run(ServiceBase[] services) at System.ServiceProcess.ServiceBase.Run(ServiceBase service) at Topshelf.Runtime.Windows.WindowsServiceHost.Run() at Topshelf.HostFactory.Run(Action1 configureCallback)

Any help would be greatly appreciated.

Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
danjrahmcommented, Jun 9, 2017

There are 2 things that I can think of that would cause this.

  1. The remote registry service is not enabled on one of the hosts.
  2. The two hosts in the clusters are not in the same subnet.

To verify these options please go on both hosts and check that the Remote Registry service is enabled and gather the IP addresses. Once done, please send the information.

Thanks, Dan

0reactions
danjrahmcommented, Sep 25, 2017

Sounds great. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tabmon - Unable to start . Access is denied
I am trying to restart tabmon service and getting below error. The user from which tabmon configured is admin and it has all...
Read more >
FAQ/Troubleshooting
If TabMon is failing to start, it is likely due to a permissions issue. The most common cause of this is that the...
Read more >
Tableau Server – Tableau Love - RSSing.com
Monitoring multiple machines with TabJolt. Want to monitor several machines at the same time, you say? No sweat. In dataretriever.config, add a distinct...
Read more >
Monitoring Tableau: TabMon is a #Tableau Server Detective
Process Category Counter Vizql vizqlservice RedisConnectionPoolBlockedRequests SessionsInFlight SharedSessionsFullSharedHits
Read more >
Tableau Server Performance Monitoring: Comparing Your ...
TabMon. TabMon is a performance monitoring agent that periodically samples target hosts for a set of Perfmon and MBean counters and writes out ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found