Das Notes Forum

Domino 9 und frühere Versionen => Administration & Userprobleme => Thema gestartet von: HRaq am 08.01.04 - 17:09:53

Titel: Notes als NT-Dienst starten
Beitrag von: HRaq am 08.01.04 - 17:09:53
Hi@all,

bitte helft mir kurzfristig auf die Sprünge:

Wie kann ich den Notes-Server als NT-Dienst (WinNT4.0) einrichten. Ich weiß, da gibt's irgendwo nen Eintrag in der notes.ini, ist allerdings schon einige Zeit her.

Wie immer danke.....

Gruß Henning
Titel: Re:Notes als NT-Dienst starten
Beitrag von: Glombi am 08.01.04 - 17:17:59
So:

How to Install a Notes/Domino Server as a Windows NT Service

Problem:

What is a Windows NT (NT) service and how can a Notes/Domino server be installed as an NT service on Windows NT?

Solution:

WHAT IS A WINDOWS NT SERVICE?

A Windows NT service is a program which can load an application automatically when you start Windows NT.


NOTE:  If upgrading to a newer version of the Notes/Domino server and the previous version has not been set up to run as an NT service, ensure that the directory containing the existing NOTES.INI file is in the system path before following the instructions below.

To modify the path statement in Windows NT 3.51 and 4.0:

1.   Open the Control Panel and double-click the System icon.
2a.   In NT 3.51, highlight the "Path=" line.
2b.   In NT 4.0, click the Environment tab before highlighting the "Path=" line.
3.   In the Value box (bottom panel), append the NOTES.INI directory to the path.
4.   Click the Set button.
5.   In NT 3.51 only, restart Windows NT for the change to take affect.  
       

ADDING DOMINO/NOTES AS AN NT SERVICE

For Domino 4.5 and above...

You must select "Custom Install" during the Domino install process and select "Notes Service Install"; this will automatically install it as an NT service.  This is a new install feature.  (If Domino is already installed, you have to re-run the install process.  After the reinstallation is complete, select "Custom Install" and choose just the install as service option.)

For Notes 4.1x and below...

1.   Go to a command prompt.
2.   Change to the Notes program directory.
3.   Type the following and press ENTER:  ntsvinst -c
4.   Type EXIT and press ENTER to return to the Program Manager.


NOW THAT THE NOTES/DOMINO SERVER IS A MANUAL NT SERVICE

The Notes/Domino server is now a manual NT service.  With a manual service, you start and stop the program from the Services dialog box in Control Panel:

1.   Select Start, Programs, Control Panel, Services.
2.   Select "Lotus Notes Server" or "Lotus Domino Server" (depending on the version) entry in the dialog box.
3.   Click the Startup button.
4.   In the Startup Type section, select the "Automatic" option.
5.   Under the "Log On As" section, make sure that "System Account" and "Allow Service to Interact with Desktop" are both selected.

NOTE:  By default, these options are selected, but sometimes they get changed.  If these two options are not enabled, Notes/Domino will not start up as an NT service.

6   Click OK.

The next time you recycle the NT box, the Notes/Domino server should start up automatically.


REMOVING THE NOTES/DOMINO SERVER AS AN NT SERVICE

Perform the following steps in order to remove the Notes/Domino server as an NT service:

1.   Go to the command prompt.
2.   Switch to the Notes program directory.
3.   Type the following and press ENTER:  ntsvinst -d
4.   Type EXIT and press ENTER to return to the Program Manager.

NOTE:  Once Notes/Domino is installed as an NT service, regardless of the Notes/Domino version, you can toggle back and forth between ntsvinst -c to reinstall the feature and ntsvinst -d to deinstall the feature.
Titel: Re:Notes als NT-Dienst starten
Beitrag von: Semeaphoros am 08.01.04 - 17:18:24
Uh, die "guten alten Zeiten"

Wenn ich mich richtig erinnere, musste man das beim Installieren der Soft anhaken, dann hat er den Dienst korrekt registriert.

Mit einem Eintrag alleine in der Notes-Reh-Schizophrenie (ini) ist das nicht getan. Ein Service muss grundsätzlich in der Win-Reh-Schizophrenie als Dienst eingetragen sein, so dass er dann in der Liste der Dienste erscheint. Nachträglich lässt sich das mit irgend einem Hilfsprogramm machen, das man von einer Installation runterkopieren muss, bei der Domino als Service installiert wurde (mag sein, dass man so ein Ding natürlich auch aus dem MS-Win-SDK rauskopieren kann, standardmässig ist jedenfalls das Dienste-Registrations-Tool nicht installiert).

Tja, mehr weiss ich dazu eigentlich auch nicht mehr.
Titel: Re:Notes als NT-Dienst starten
Beitrag von: HRaq am 08.01.04 - 17:26:55
Hallo Ihr beiden,

ich danke Euch. Ich werd mal gucken, ob ich irgendso ein Tool finde.

Gruß Henning
Titel: Re:Notes als NT-Dienst starten
Beitrag von: Glombi am 08.01.04 - 17:36:34
Probier doch mal folgendes aus:

1.   Go to a command prompt.
2.   Change to the Notes program directory.
3.   Type the following and press ENTER:  ntsvinst -c
4.   Type EXIT and press ENTER to return to the Program Manager.

Sollte eigentlich gehen.

Andreas
Titel: Re:Notes als NT-Dienst starten
Beitrag von: Semeaphoros am 08.01.04 - 17:55:28
Hab das grad mal kurz ein wenig studiert, sieht so aus, wie wenn die Service-Installation Anwendungs-Spezifisch ist und nicht durch ein allgemeines Tool "imitiert" werden kann. Sprich, um es richtig zu installieren, muss das von Andreas erwähnte ntsvinst ausgeführt werden, sofern meine Interpretation der Schnittstelle richtig ist.