cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gtsjoen
Engaged Sweeper
Hello,

I have 2 servers:
Server A: lansweeper website and service (Windows server 2003 SP2) -> version 4.2.0.90
Server B: lansweeper database (windows server 2008 R2 x64 SP1, mssql 2008 x64) -> db schema 19

Server A will soon be removed, so I need to install the website and service on a new server (server C). The new server has: windows server 2008 R2 x64 SP1
During the install of the service and website on server C, I have no error messages.

My issue is that the lansweeper service will not start on server C and therefore is not scanning the network. The website however is available.
Also server A is still working without issue as well.

The file errorlog.txt on server C remains empty and the only error message in the event viewer is event 7034 "The Lansweeper Server service terminated unexpectedly".

Is there a way to activate additional logging, so I can find what is preventing the lansweeper service from starting ?
2 REPLIES 2
gtsjoen
Engaged Sweeper
That did it. Thanks
Hemoco
Lansweeper Alumni
Do you have a Lansweeper Premium or Enterprise license? The Premium license only allows for 1 scanning server. If this is the license you have, you will first need to disable the Lansweeper service on your old server before starting the service on your new one.

- Disable the service on the old server.
- Copy the script below into the Lansweeper configuration console under Lansweeper\Database Scripts and hit the "Execute sql script" button. Replace "NewServer" with the NetBIOS name of your new scanning server and "OldServer" with the NetBIOS name of your old server. This will rename the server in your database, allowing you to keep your settings. (Leave the single quotes in the script.)
delete from tsysasservers where servername = 'NewServer'
GO
update tsysasservers set servername = 'NewServer' where servername = 'OldServer'
GO
Update tblcomputers set scanserver = 'NewServer'
GO
Update tblcustdevices set scanserver= 'NewServer'
GO

- Start the service on your new server.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now