Page 1 of 1

Clone Datebase on same server?

Posted: Mon May 14, 2012 7:20 pm
by schlemiel29
I'm using a database which I have to clone. I copied the folder of the database, renamed it and changed the included tm1s.cfg. I changed the basefolder entry, log file entry, the port number and the name of the server.
After that I generated a new service with the new path.

When I start the new service, it is stopped a second later. What did I forget to change? Does the lic-File has to be changed?
Thanks in advance
Dirk

Re: Clone Datebase on same server?

Posted: Mon May 14, 2012 7:31 pm
by declanr
Sounds like you've got everything you should have.

Try selecting another port number just to make sure its not conflicting with something else entirely.

Check where it got to and what the error message was in the tm1server.log

Try deleting all the log files and then restarting, sometimes if there is an issue with the log file entry it will stop a service start.


And then of course there are the pedantic things such as have you definitely changed the config parameters to the correct filepaths etc.
The filepaths don't have spaces in etc?

Re: Clone Datebase on same server?

Posted: Mon May 14, 2012 7:36 pm
by paulsimon
Dirk

Try checking the Windows Event Viewer to see if there are any messages that will explain the reason. They will probably be in the Application Event Viewer but I would also check the System and Security Viewers.

Possible reasons might be

Logon failure if the TM1 Service is running under a domain account

When you installed the service did you include a -z parameter pointing at the new TM1S.CFG location.

Does the log file directory exist?

Regards

Paul Simon

Re: Clone Datebase on same server?

Posted: Mon May 14, 2012 7:44 pm
by schlemiel29
The settings of the service are identical. I used my admin account for creating folders and services and did not set another account explicitly in the newly created service.
The destination path to TM1s.cfg was added when I created the service.
And yes, the log file directory exists, because I copied everything including the stuff within.

So I will try to check the windows event viwer, when I start working tommorow morning.
Thanks!
Dirk

Re: Clone Datebase on same server?

Posted: Mon May 14, 2012 8:49 pm
by jim wood
I would go through and re-check everything. Somebody I know has a similar problem. In the end they had logs for the logging directory in the CFG file when in fact the directory was log. Something simple like that can trip it up,

Jim.

Re: Clone Datebase on same server?

Posted: Mon May 14, 2012 9:50 pm
by lotsaram
schlemiel29 wrote:I'm using a database which I have to clone. I copied the folder of the database, renamed it and changed the included tm1s.cfg. I changed the basefolder entry, log file entry, the port number and the name of the server.
After that I generated a new service with the new path.

When I start the new service, it is stopped a second later. What did I forget to change? Does the lic-File has to be changed?
Thanks in advance
Dirk
Did you check the server message log? Often the service with 9.5.1 does stop very quickly and need to be restarted when using persistent feeders due to feeder file date stamp issues. If that's not it then the most likely issue is that the service is pointing to the wrong location for the location of the config file OR the config file is pointing to the wrong location for the data directory.

Re: Clone Datebase on same server?

Posted: Tue May 15, 2012 2:27 pm
by schlemiel29
I checked it again today morning and now ... it worked!??? :shock:
Maybe I should make coffee breaks more often and longer if working on these issues!? :mrgreen:
Thanks for all the hints
Dirk