Closed Tabuser closed 8 years ago
Hello,
To look into this I will need the TabMon.log file. This can be found in the Logs folder of the TabMon directory. (Default directory: C:\Program Files (x86)\TabMon\Logs)
Once I have these I should be able to see why we are receiving the error.
Please see the below notes from the logs.
2015-11-05 00:56:46,896 [5] INFO TabMon.TabMonAgent - Initializing TabMon.. 2015-11-05 00:56:46,896 [5] FATAL TabMon.TabMonAgent - Invalid TabMon options specified! Aborting.. 2015-11-05 00:56:46,896 [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)
From that snippet it looks like this issue could be caused by a few things.
For me to determine the exact cause, I will need the following.
Let me know if there are any questions.
here is the tabmon log file.
2015-11-05 15:56:24,334 [5] INFO TabMon.Config.TabMonConfigReader - Loading TabMon user configuration..
2015-11-05 15:56:24,381 [5] DEBUG TabMon.Config.TabMonConfigReader - Loading database configuration..
2015-11-05 15:56:24,381 [5] INFO TabMon.Config.TabMonConfigReader - Connecting to results database..
2015-11-05 15:56:24,647 [5] FATAL TabMon.Config.TabMonConfigReader - Could not initialize writer: FATAL: 28P01: password authentication failed for user "tabmon"
2015-11-05 15:56:24,647 [5] DEBUG TabMon.Helpers.HostnameHelper - Successfully resolved 'localhost' to '
sorry I am not able to attach the files as I dont have write permissions. Here is the tabmon config file
<?xml version="1.0"?>
Can I get the exact location for the temp directory where can I get the db creation log?
The temp directory should be here: C:\Temp
It looks like github is messing up the XML, to workaround this you can email me the files at drahm@tableau.com. If possible please email me all of the files I previously requested.
Hi Dan,
I sent you the requested files through my company id. Please check it
I am also receiving the error "error 5 access is denied" when attempting to start the tabmon service.
I checked the tabmon.log and it says:
2015-11-09 10:46:58,608 [5] INFO TabMon.Config.TabMonConfigReader - Loading TabMon user configuration.. 2015-11-09 10:46:58,686 [5] DEBUG TabMon.Config.TabMonConfigReader - Loading database configuration.. 2015-11-09 10:46:58,686 [5] INFO TabMon.Config.TabMonConfigReader - Connecting to results database.. 2015-11-09 10:46:58,920 [5] FATAL TabMon.Config.TabMonConfigReader - Could not initialize writer: FATAL: 28P01: password authentication failed for user "tabmon" 2015-11-09 10:46:58,920 [5] DEBUG TabMon.Helpers.HostnameHelper - Successfully resolved 'localhost' to 'AMTROWTABWRKD01'. 2015-11-09 10:46:58,935 [5] FATAL TabMon.Config.TabMonConfigReader - Invalid options in configuration: [Host='Primary\AMTROWTABWRKD01', Writer='null', PollInterval='30', TableName='countersamples'] 2015-11-09 10:46:58,935 [5] INFO TabMon.TabMonAgent - Initializing TabMon.. 2015-11-09 10:46:58,935 [5] FATAL TabMon.TabMonAgent - Invalid TabMon options specified! Aborting.. 2015-11-09 10:46:58,935 [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)
I see where it says "password authentication failed for user tabmon". I am using the default value for the tabmon password during the initial setup. Should I be using something else?
When I installed for the first time, I changed the password. As it was failing I uninstalled tabmon and the postgre and reinstalled with the default passoword as mentioned in the config file. Also, forgot to tell, I am running my tableau server on windows 2012. Does it have anything to do with it?
Did you by chance uninstall the TabMon-Postgres service?
No I did not.
That makes sense. So, the reason TabMon won't start is that the original database is up and running. The tabmon user on that database is still using the custom password that was used to install TabMon the first time.
There are 2 ways that I can think of that will resolve/workaround this.
If there are any questions about these options let me know.
Uninstalling of the software will uninstall the services as well right? Hence I did not worry about it. Also, I made sure I deleted the folders as per the user guide. Anyways, will try and update you. Thank you
So currently the uninstaller does not uninstall the postgres service. This is because we wanted to avoid accidental deletions of the data in postgres. We do however list the uninstall steps in our setup guide.
If there are any questions about uninstalling the service please let me know.
I'm just checking in to see how the reinstall went.
It also occurred to me that there may be another instance of Postgres running on the host. Can you get me a netstat? The command is below:
netstat -anb > C:\netstat.txt
Hello, just checking in to see it this is resolved.
I was having this exact issue... Error 5: Access is Denied and the same log file output. Turns out I already had PostgreSQL installed in a different directory.
Uninstalling postgres and reinstalling Tabmon fixed the issues and everything is now working.
Hope this helps... rr
Thanks for chiming in to help, rarandall!
Closing this issue out due to inactivity, please reopen it if you still need further assistance.
Hey Justin,
Sorry, Was busy with some other stuff and holidays. The issue is still open. I am not able to delete the tabmon postgre to reinstall it. I do need some assistance on this.
Thanks
On Sat, Jan 9, 2016 at 4:43 PM, Justin Mangue notifications@github.com wrote:
Thanks for chiming in to help, rarandall!
Closing this issue out due to inactivity, please reopen it if you still need further assistance.
— Reply to this email directly or view it on GitHub https://github.com/tableau/TabMon/issues/9#issuecomment-170284951.
No problem, I know how it goes :) Hope you had happy holidays.
There's some guidance on how to delete the TabMon Postgres instance on page 9 of the User Guide which I'll paste here:
Open up a console window as administrator and enter these commands: sc stop TabMon-Postgres sc delete TabMon-Postgres ... then delete the folder where you told TabMon to install Postgres (default is C:\Postgres)
At that point, you should be able to reinstall TabMon. Sorry for the hassle on this; as Dan said, we leave Postgres in place during uninstall to prevent the customer from accidentally losing their data.
Ok. Thanks. I will try and let you know.
On Sat, Jan 9, 2016 at 5:14 PM, Justin Mangue notifications@github.com wrote:
No problem, I know how it goes :) Hope you had happy holidays.
There's some guidance on how to delete the TabMon Postgres instance on page 9 of the User Guide which I'll paste here:
Open up a console window as administrator and enter these commands: sc stop TabMon-Postgres sc delete TabMon-Postgres ... then delete the folder where you told TabMon to install Postgres (default is C:\Postgres)
At that point, you should be able to reinstall TabMon. Sorry for the hassle on this; as Dan said, we leave Postgres in place during uninstall to prevent the customer from accidentally losing their data.
— Reply to this email directly or view it on GitHub https://github.com/tableau/TabMon/issues/9#issuecomment-170287071.
Hi,
It was installed successfully. Thank you. I have a question, Do we need to install the Windows Framework Manager 3.0 on Windows server 2012r2 as well. I'm able to see the articles which says 3.0 is compatible only till windowss 2008. Is that true?
Thanks
Hi,
Glad to hear you got it installed successfully!
If you already have TabMon installed and working correctly, you don't need to worry about Windows Management Framework -- we only require that during installation, in order to run some database initialization commands in Powershell. It looks like Windows 2012R2 actually includes Powershell, so you're all set.
Mind if I close this out?
Closing out, reopen if you need additional help on this issue.
OK. Thanks Justin. You can close the issue. Thanks for the amazing support you guys are giving. On Jan 17, 2016 5:18 PM, "Justin Mangue" notifications@github.com wrote:
Hi,
Glad to hear you got it installed successfully!
If you already have TabMon installed and working correctly, you don't need to worry about Windows Management Framework -- we only require that during installation, in order to run some database initialization commands in Powershell. It looks like Windows 2012R2 actually includes Powershell, so you're all set.
Mind if I close this out?
— Reply to this email directly or view it on GitHub https://github.com/tableau/TabMon/issues/9#issuecomment-172390444.
Hi Team, Could you please explain this step
Hi,
I just installed the Tabmon successfully with the service account that has admin privileges. But when I try to start the Tabmon service from the services.msc, I am getting the below error. Can someone help me on this?