Skip to main content

Registering and Deregistering the Lotus Domino Server Service

The Scenario
We have a test server which is used for development test purposes only. It was set up with Domino on the C: drive (which normally I prefer to keep clean for the operating system). Domino was apparently later installed on D: drive but the old installation was not removed and the Lotus Domino Server service remained in startup.

As a result of the old service still being installed, the new one did not get installed - I'm not sure if this was a notes problem or if the person doing the installation had "cheated" and simply copied the folders to the new drive. It was only a test server after all. Regardless of the cause, the issues became;
  1. There was an old service which was disabled
    To prevent the wrong domino server from accidentally being started, the folder C:\Lotus was renmed to C:\Old-Lotus.

  2. The New Service was not installed
    This meant that everytime the server was rebooted, the domino service had to be restarted manually - and also, whomever started the Domino server, started it on their login. Anyone using a different login would not be able to get to the console (except via the Notes Admin Client) to monitor, run server tasks or to shut the service down neatly.
This post is all about how I managed to resolve the problem.

Knocking the Old One Off - Gentle Method
There's a nifty little uninstall routine for de-registering Lotus Domino services in Windows. All you need to do is;
  1. Go to a command prompt

  2. Change to the domino folder
    C:
    CD C:\Old-Lotus\Domino

  3. Run the Service installation program with the -d parameter.
    ntsvinst.exe -d
    You can read more about this here..

  4. Of course, you shouldn't get your hopes up because this didn't work for me. I'm sure it works fine with a normal notes install but if you've mucked around with the folders since, it doesn't.

Knocking the Old One Off - Rough Method
Luckily, for us, there's a windows equivalent for removing services. It's called the Registry Editor. Here's how;

  1. Start the Registry Editor (Start, Run, Regedit.exe)

  2. Browse to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services

  3. Look for the folder/Service called Lotus Domino Server (LotusDominoData) and right mouse click on it.

  4. When the menu appears, choose Delete.
    (BTW: You'll notice in the right hand panel that the file path to the service is displayed, so you can actually check before you delete).

  5. When prompted to confirm deletion, choose Yes.



  6. You can close the Registry Editor now.

  7. You'll notice that this has had no effect. That's because, this being a Windows System, we have to reboot.

  8. Once rebooted, the service will no longer be displayed.

Putting the Right one Back
Now we can make use of that nifty little install I talked about earlier, only this time, we'll use the -c parameter, which creates the service. The instructions are more or less the same.
  1. Go to a command prompt (start, run, cmd)

  2. Change to the domino folder (the real one this time)
    D:
    CD D:\Lotus\Domino

  3. Run the Service installation program with the -c parameter.
    ntsvinst.exe -c

  4. This time, it works a treat - and no reboot is necessary. You can start the service from service manager in control panel and you can set it to be "automatic".
A happy ending. (BTW: The Server was Domino 8.5 on Windows Server 2003 but the instructions should work for several older versions of both).

Comments

Anonymous said…
I recently came accross your blog and have been reading along. I thought I would leave my first comment. I dont know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.


Ann

http://externallaptop.net
Anonymous said…
Cool.
Liam H.
Anonymous said…
Thank you for this post. As I'm sure you can tell from the timestamp, it is 13 years later and this blog entry just helped me out. I inherited a company that still uses Notes and the mail server had long since lost the ability to use the Domino Server service. They kept a user logged in manually running the server via an application window and told me "That's just how it works."
While it's still a Byzantine setup, at least I can hope if this decrepit server survives a crash in the middle of the night email should resume operation.

Popular posts from this blog

How to Change Your Notification Options for New Lotus Notes Mail in version 8.x

Don't worry, I'm not patronizing you (my readers), I just decided to re-document this for one of our internal users and thought you might want to be able to use it in your own user documentation. WHAT IS THIS DOCUMENT ABOUT? Some people who don't get a lot of mail, like to be notified when such an event occurs. Notification can be; via a sound via a pop-up box via the system tray (where the computer clock is) The pop up box looks like this; Other people, who like myself, get too much mail would rather not be notified. The aim of this document is to tell you how (and where) to turn these options on and off. CHANGING YOUR SETTINGS To change your settings from the Notes 8.x client; On the Menu, click File , then Preferences... On the left hand side , click on the little plus sign to the left of Mail to expand the options. Click on the option marked Sending and Receiving . In the middle section, under receiving, you can control your notifications. If you untick the box mark

How to Create an Auto-Response Mail Message in Lotus Notes 8.5.3+

Why would you do this? Suppose that you have an externally accessible generic email address for your company; support@mycompany.com or info@mycompany.com. You might expose this to the web and allow people to send messages to you. Setting up an auto-response email will tell the senders that their message reached its destination and that it will be dealt with accordingly.  It's also good practice to include links to FAQs or other useful information. Why 8.5.3 The techniques we'll be using here work in older versions of Notes but some of the options seem to have moved around in 8.5.3.  I figured it was a good time to show you where they've moved to. The Procedure Start Domino Designer and open the Mail file to be modified.  A really quick way to do this is to right-click on the application tab and choose "Open in Designer". In the Left hand panel of designer, expand Code and then double-click Agents.  A new window should appear. Click the action

How to Do a Mail Merge to Email using Lotus Notes

Why do one? In today's "green" world, it makes much better sense to send out emails than letters but you still want to personalize them. Sadly, by itself Lotus Notes doesn't support mail merge to email. Of course, we know that outlook does (but then it lets anyone and anything send emails for you - even when you don't want them to). So, how to do it in Notes? OpenNTF The first port of call is OpenNTF ( http://www.openntf.org/ ). This place is full of great things but most of them are really badly documented. Still, these guys give things away for free and they develop in their spare time, so we should be grateful for what we get. There's a great little project there called MailMerge Excel to Notes . Go there, click on releases and download the ZIP file. Getting to the Code The installation is tricky though I've noted that since I asked the author about the install, it's been updated (so maybe these steps are less necessary). Unzip the files to somewher