Link to home
Start Free TrialLog in
Avatar of Sam654
Sam654Flag for Australia

asked on

Starting Domino as a Service

I've got a development box running windows 7 and it has been running Lotus Domino 8.5.1 as a service since installed many months ago.

I wanted to rename a folder this morning and so went into Services on the computer and hit Stop on the Lotus Domino Server Service. Since then it won't start as a service. A message comes up as follows
"The Lotus Domino Server (CProgramFilex86IBMLotusDominodata) service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.".

I've started troubleshooting but can not work this one out. I'm suspecting its a Windows problem as I can go into the Domino folder and run nserver.exe and the server comes up fine without any errors. Through the course of the day I've: -
1) Made a copy of the Domino Folder (called it Domino Backup) and reinstalled Domino the over the original, rebooted.
2) Removed the original Domino folder (keeping the Domino Backup I made) and reinstalled.
3) Uninstalled Domino, rebooted. Reinstalled Domino, rebooted.
4) Renamed the folder back to what it was. It was a folder that I only created in the data directory last week for some testing.
5) Removed the notes.jar file and then put it back after verifying that it didn't make a difference.
6) Ran load compact -D, so on all databases. And then a straight load compact.
7) Ran fixup -F on all databases.

In the Service properties the Log On is set to Local System account and Allow service to interact with desktop as it's always been.

I've set the recovery to restart the service on first and second failure. I did also set it to Restart the service on subsequent failures and reboot, but that didn't work so I've said take no action on Subsequent failures.

I am out of ideas... what next?

I did however install a new modem/router last week and I'm not sure that I've restarted the server since installing that, although I don't see why that would stop the service from running and allow Domino Server to run 'as an application' alright. The server has a fixed IP Address defined in it's network adapter settings and the router is set to not lease that address to any other computer (using DHCP).
Avatar of mbonaci
mbonaci
Flag of Croatia image

What exactly is logged in Windows Event Log (right click on My Computer > Manage > Event Viewer > System) when you try to start your server?
Copy-paste the messages here.

Also, in order to have a clear image, until you solve this problem I suggest you select "Take no action" in all three fields in Recovery tab of the service.
Avatar of Sam654

ASKER

Rebooted the server and these are the events since. I've also attached a text file with the same information if this is difficult to follow. I've also attached the application log.

Information      8/07/2010 17:58:23      Service Control Manager            7036      None
      >The Problem Reports and Solutions Control Panel Support service entered the stopped state.

Information      8/07/2010 17:58:05      Service Control Manager            7036      None
      >The Problem Reports and Solutions Control Panel Support service entered the running state.

Information      8/07/2010 17:52:14      Service Control Manager            7036      None
      >The Software Protection service entered the stopped state.

Error            8/07/2010 17:50:34      TerminalServices-Printers      1111      None
      >Driver Send To Microsoft OneNote Driver required for printer Send To OneNote 2007 is unknown. Contact the administrator to install the driver before you log in again.

Error            8/07/2010 17:50:33      TerminalServices-Printers      1111      None
      >Driver PrimoPDF required for printer PrimoPDF is unknown. Contact the administrator to install the driver before you log in again.

Information      8/07/2010 17:50:22      Winlogon                              7001      (1101)
      >User Logon Notification for Customer Experience Improvement Program
events.txt
events-application.txt
Avatar of Sam654

ASKER

Just looking through the event log some more and I can see the computer has been getting this message all day in the "Custom Views --> Administrative Events"
Error      8/06/2010 13:09:33      Service Control Manager      7030      None
      >The Lotus Domino Diagnostics (CProgramFilesx86IBMLotusDomino) service is marked as an interactive service.  However, the system is configured to not allow interactive services.  This service may not function properly.

How do I stop it from being an inactive service and why would it have switched itself to be one? I'm assuming this is related.
By "when you try to start your server" I meant "when you try to start your Domino server", he's the one you have a problem with, right?

One more question, by "since then it won't start as a service", did you mean it wont start at all, or you can run it as a console application?

Just so you know, "allow service to interact with desktop" option is used to enable the server to run as a service and at the same time to show it in a console window. Can you temporarily disable that option, until we solve the problem?

One more thing, this error message is known to show when event log gets filled to its limit. So can you check the event log properties in computer management console:

 - right click on each log (System, Application, ...)
 - choose Properties
 - change maximum log size to bigger value
 - check “Overwrite events when needed”
Interactive service = "allow service to interact with desktop" option enabled.
Avatar of Sam654

ASKER

Ooops, yes, it's only the Domino Server Service that is giving trouble. I restarted the whole windows server before. I've tried to restart the Domino service only this time and the following appears in the event log under 'system'.

General
The Lotus Domino Server (CProgramFilesx86IBMLotusDominodata) service entered the stopped state.

Details
- System

  - Provider

   [ Name]  Service Control Manager
   [ Guid]  {555908d1-a6d7-4695-8e1e-26931d2012f4}
   [ EventSourceName]  Service Control Manager
 
  - EventID 7036

   [ Qualifiers]  16384
 
   Version 0
 
   Level 4
 
   Task 0
 
   Opcode 0
 
   Keywords 0x8080000000000000
 
  - TimeCreated

   [ SystemTime]  2010-07-08T08:35:35.390400900Z
 
   EventRecordID 8347
 
   Correlation
 
  - Execution

   [ ProcessID]  648
   [ ThreadID]  6064
 
   Channel System
 
   Computer Novel4
 
   Security
 

- EventData

  param1 Lotus Domino Server (CProgramFilesx86IBMLotusDominodata)
  param2 stopped
   4C006F00740075007300200044006F006D0069006E006F002000530065007200760065007200200028004300500072006F006700720061006D00460069006C0065007300780038003600490042004D004C006F0074007500730044006F006D0069006E006F00640061007400610029002F0031000000


--------------------------------------------------------------------------------

Binary data:


In Words

0000: 006F004C 00750074 00200073 006F0044
0008: 0069006D 006F006E 00530020 00720065
0010: 00650076 00200072 00430028 00720050
0018: 0067006F 00610072 0046006D 006C0069
0020: 00730065 00380078 00490036 004D0042
0028: 006F004C 00750074 00440073 006D006F
0030: 006E0069 0064006F 00740061 00290061
0038: 0031002F 0000  


In Bytes

0000: 4C 00 6F 00 74 00 75 00   L.o.t.u.
0008: 73 00 20 00 44 00 6F 00   s. .D.o.
0010: 6D 00 69 00 6E 00 6F 00   m.i.n.o.
0018: 20 00 53 00 65 00 72 00    .S.e.r.
0020: 76 00 65 00 72 00 20 00   v.e.r. .
0028: 28 00 43 00 50 00 72 00   (.C.P.r.
0030: 6F 00 67 00 72 00 61 00   o.g.r.a.
0038: 6D 00 46 00 69 00 6C 00   m.F.i.l.
0040: 65 00 73 00 78 00 38 00   e.s.x.8.
0048: 36 00 49 00 42 00 4D 00   6.I.B.M.
0050: 4C 00 6F 00 74 00 75 00   L.o.t.u.
0058: 73 00 44 00 6F 00 6D 00   s.D.o.m.
0060: 69 00 6E 00 6F 00 64 00   i.n.o.d.
0068: 61 00 74 00 61 00 29 00   a.t.a.).
0070: 2F 00 31 00 00 00         /.1...
Avatar of Sam654

ASKER

>One more question, by "since then it won't start as a service", did you mean it wont start at all, or you can run it as a console application?

Not 100% sure what you mean by a "Console Application" As a service it will not start at all. I can start it as an application using the nserver.exe icon in the Domino directory. The console then appear and is visible on the screen.

Does that answer what you're asking???
Avatar of Sam654

ASKER

I've unchecked this "allow service to interact with desktop".

I've set it to "Take no action" in all three fields in Recovery tab of the service.

I've changed the maximum log size to a bigger value and checked “Overwrite events when needed”. The security log was the biggest at 20MB, the next biggest was only about 2MB.
Hmm, Domino server can run in two modes, as a service and as a console application (server's black screen console) without windows service.
AFAIK, if it's configured to run as a service then starting nserver.exe manually only starts the service (you see the console because you enabled option "Allow service to interact with desktop").

Have you tried to disable that option and then start the service?
And?
Avatar of Sam654

ASKER

Still no joy. Tried rebooting the whole computer again to see if that would help, but no.

When I click on the server application icon it brings up a little window, the same when you first install a server saying "Lotus Domino is installed as a Windows service" then two radio buttons
"Start Domino as a Windows service" and
"Start Domino as a regular application"
I check the box "Always start Domino as a service at system startup", but not sure that I want to check the box "Don't ask me again" at this stage as then it might only try and start it as a service and not work totally stuffing me! It might have only started showing me this popup since I tried the reinstall.
Try choosing the Regular application option.
And you're right, don't choose "Don't ask me again" option, until you solve the problem.

FYI, if you checked that option and you want to remove it, you can find them in registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Lotus\Domino\Data]
"DontAskAgain"=dword:00000000
"RunAsService"=dword:00000001

Can you now check what event viewer says about Domino when you try to start the service, then report findings here...
Avatar of Sam654

ASKER

Get the same popup when the service fails to start.
"The Lotus Domino Server (CProgramFilex86IBMLotusDominodata) service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.".

And then just one new event in the system part of the event viewer when trying to start the service.

General
The Lotus Domino Server (CProgramFilesx86IBMLotusDominodata) service entered the stopped state.

Details
- System

  - Provider

   [ Name]  Service Control Manager
   [ Guid]  {555908d1-a6d7-4695-8e1e-26931d2012f4}
   [ EventSourceName]  Service Control Manager
 
  - EventID 7036

   [ Qualifiers]  16384
 
   Version 0
 
   Level 4
 
   Task 0
 
   Opcode 0
 
   Keywords 0x8080000000000000
 
  - TimeCreated

   [ SystemTime]  2010-07-08T09:11:36.241013500Z
 
   EventRecordID 8546
 
   Correlation
 
  - Execution

   [ ProcessID]  648
   [ ThreadID]  1340
 
   Channel System
 
   Computer Novel4
 
   Security
 

- EventData

  param1 Lotus Domino Server (CProgramFilesx86IBMLotusDominodata)
  param2 stopped
   4C006F00740075007300200044006F006D0069006E006F002000530065007200760065007200200028004300500072006F006700720061006D00460069006C0065007300780038003600490042004D004C006F0074007500730044006F006D0069006E006F00640061007400610029002F0031000000


--------------------------------------------------------------------------------

Binary data:


In Words

0000: 006F004C 00750074 00200073 006F0044
0008: 0069006D 006F006E 00530020 00720065
0010: 00650076 00200072 00430028 00720050
0018: 0067006F 00610072 0046006D 006C0069
0020: 00730065 00380078 00490036 004D0042
0028: 006F004C 00750074 00440073 006D006F
0030: 006E0069 0064006F 00740061 00290061
0038: 0031002F 0000  


In Bytes

0000: 4C 00 6F 00 74 00 75 00   L.o.t.u.
0008: 73 00 20 00 44 00 6F 00   s. .D.o.
0010: 6D 00 69 00 6E 00 6F 00   m.i.n.o.
0018: 20 00 53 00 65 00 72 00    .S.e.r.
0020: 76 00 65 00 72 00 20 00   v.e.r. .
0028: 28 00 43 00 50 00 72 00   (.C.P.r.
0030: 6F 00 67 00 72 00 61 00   o.g.r.a.
0038: 6D 00 46 00 69 00 6C 00   m.F.i.l.
0040: 65 00 73 00 78 00 38 00   e.s.x.8.
0048: 36 00 49 00 42 00 4D 00   6.I.B.M.
0050: 4C 00 6F 00 74 00 75 00   L.o.t.u.
0058: 73 00 44 00 6F 00 6D 00   s.D.o.m.
0060: 69 00 6E 00 6F 00 64 00   i.n.o.d.
0068: 61 00 74 00 61 00 29 00   a.t.a.).
0070: 2F 00 31 00 00 00         /.1...
Can you check "Path to executable" in Windows service (service is run using Local system account, right?).
Check do you have full access rights to that folder?

This all is odd, cuz' whatever was wrong with the service it should've been corrected when you reinstalled Domino. Hmmm
If it's not that folder access rights, I really don't know what else to check...
Avatar of Sam654

ASKER

Yes using local system account.
Path to Executable = "C:\Program Files (x86)\IBM\Lotus\Domino\nservice.exe"  "=C:\Program Files (x86)\IBM\Lotus\Domino\notes.ini" "-jc" "-c"

I forgot. I did also try and share a folder that was in the data directory, but then un-shared it shortly after. I've checked the security on the folder, the data directory and the domino directory (just in case any changes could have possibly gone upwards), but they all look fine with both System and Administrator having full access.
btw, I *never* install Domino in program files if I can help it.

Ususally in Lotus/Domino etc.  Makes for shorter paths, too.
I can't believe that's all in event viewer about Domino. Have you checked all sections (Application, System,...)?

Can you check server's log.nsf (use nlnotes.exe in server's Domino directory to open it locally), Miscellaneous events view.
Avatar of Sam654

ASKER

No other events appear in the event log when I try to start the Domino Service.

When I try to execute nlnotes.exe on the server I get a message saying that "IBM Lotus Notes does not have a production license. A temporary evaluation licence has been enrolled for you to use for 90 days".

I've looked this up and it seems to be related to running multiple client versions on the same computer. I'm only running Domino Server 8.5.1 and no other version has ever been on this computer.

I click OK and get this message. "You cannot use the Administration program while the Domino Server is running. Either shut down the Domino Server (but keep the file server running) or choose the icon lableled 'Lotus Notes' instead."

The server is not running. I've tried to connect to it using a client on another computer and the service says it's stopped.

BUT, like I said, I can start the server as an application and then connect to it fine, so I've been able to paste the logs in for the past few hours.
08/07/2010 06:58:54 PM  Event Monitor started
08/07/2010 06:58:55 PM  Warning: All Domino Domain Monitoring probes are disabled resulting in the loss of valuable diagnostic information. Please configure DDM probes in events4.nsf. Assess DDM reports in ddm.nsf.
08/07/2010 06:58:55 PM  Begin scan of databases to be consistency checked
08/07/2010 06:58:55 PM  End scan of databases: 1 found
08/07/2010 06:58:56 PM  Lotus Domino (r) Server started, running Release 8.5
08/07/2010 06:58:56 PM  Server started on physical node NOVEL4
08/07/2010 06:58:57 PM  LAN0: The network port driver is an incompatible version

08/07/2010 06:58:58 PM  The Console file is C:\Program Files (x86)\IBM\Lotus\Domino\data\IBM_TECHNICAL_SUPPORT\console.log

08/07/2010 06:58:58 PM  Console Logging is ENABLED

08/07/2010 06:59:00 PM  LAN0: The network port driver is an incompatible version

08/07/2010 06:59:00 PM  Database Replicator started
08/07/2010 06:59:00 PM  Replicator is set to Ignore Database Quotas
08/07/2010 06:59:00 PM  Calendar Connector started
08/07/2010 06:59:00 PM  Administration Process started
08/07/2010 06:59:01 PM  LAN0: The network port driver is an incompatible version

08/07/2010 06:59:01 PM  DAOSMGR: DAOS Manager started
08/07/2010 06:59:01 PM  DAOSMGR: DAOS is not enabled, nothing to do.
08/07/2010 06:59:01 PM  DAOSMGR: DAOS Manager terminating
08/07/2010 06:59:01 PM  DAOSMGR: DAOS Manager shutdown complete
08/07/2010 06:59:01 PM  Agent Manager started
08/07/2010 06:59:01 PM  Schedule Manager started
08/07/2010 06:59:01 PM  LAN0: The network port driver is an incompatible version

08/07/2010 06:59:01 PM  Index update process started
08/07/2010 06:59:01 PM  Rooms and Resources Manager started
08/07/2010 06:59:01 PM  LAN0: The network port driver is an incompatible version

08/07/2010 06:59:01 PM  SchedMgr: Informational: Schedule Manager is responsible for the busytime database on this server.
08/07/2010 06:59:01 PM  RnRMgr: Informational: Schedule Manager is responsible for the busytime database on this server.
08/07/2010 06:59:01 PM  Router: Mail Router started for domain
08/07/2010 06:59:01 PM  Router: Internet SMTP host novel4 in domain 
08/07/2010 06:59:01 PM  Schedule Manager: Informational: Detailed schedule information collection is not enabled via the domain-wide Server Configuration document.
08/07/2010 06:59:01 PM  SchedMgr: Validating schedule database
08/07/2010 06:59:01 PM  SchedMgr: Done validating schedule database
08/07/2010 06:59:01 PM  AMgr: Executive '1' started. Process id '4996'
08/07/2010 06:59:01 PM  Rooms and Resources Manager: Informational: Detailed schedule information collection is not enabled via the domain-wide Server Configuration document.
08/07/2010 06:59:01 PM  RnRMgr: Validating schedule database
08/07/2010 06:59:01 PM  RnRMgr: Done validating schedule database
08/07/2010 06:59:01 PM  Database Server started
08/07/2010 06:59:02 PM  LDAP Server: Starting...
08/07/2010 06:59:02 PM  HTTP Server: Using Internet Site Configuration View
08/07/2010 06:59:03 PM  LDAP Server: Serving directory names.nsf in 
08/07/2010 06:59:03 PM  LDAP Schema: Started loading...
08/07/2010 06:59:03 PM  LAN0: The network port driver is an incompatible version

08/07/2010 06:59:14 PM  JVM: Java Virtual Machine initialized.
08/07/2010 06:59:14 PM  HTTP Server: Java Virtual Machine loaded
08/07/2010 06:59:14 PM  LDAP Schema: Finished loading
08/07/2010 06:59:15 PM  LDAP Server: Started
08/07/2010 06:59:16 PM  XSP Command Manager initialized
08/07/2010 06:59:17 PM  HTTP Server: Started
08/07/2010 07:04:10 PM  Admin Process: Searching Administration Requests database

> q
08/07/2010 07:10:56 PM  Router: Shutdown is in progress
08/07/2010 07:10:56 PM  AMgr: Executive '1' shutting down. Process id '4996'
08/07/2010 07:10:56 PM  Calendar Connector shutdown
08/07/2010 07:10:56 PM  Schedule Manager shutdown complete
08/07/2010 07:10:56 PM  Administration Process shutdown
08/07/2010 07:10:56 PM  Rooms and Resources Manager shutdown complete
08/07/2010 07:10:57 PM  LDAP Server: Waiting for all tasks to complete
08/07/2010 07:10:57 PM  Agent Manager shutdown complete
08/07/2010 07:10:57 PM  Index update process shutdown
08/07/2010 07:10:58 PM  Router: Mail Router shutdown
08/07/2010 07:10:58 PM  XSP Command Manager terminated
08/07/2010 07:10:59 PM  HTTP Server: Shutdown
08/07/2010 07:11:00 PM  Database Replicator shutdown
08/07/2010 07:11:04 PM  Event Monitor shutdown
08/07/2010 07:11:05 PM  LDAP Server: All tasks have completed
08/07/2010 07:11:05 PM  LDAP Server: Shutdown
08/07/2010 07:11:11 PM  Server shutdown complete

Open in new window

You entered 'q' at console?
look like it
Avatar of Sam654

ASKER

Yeah, 'q' to quit the Domino Server before I rebooted the computer. Like I said, I've been able to run it as an application fine. I know all services are stopped when you reboot, but as I started Domino as an application and not a service, I thought I ought to stop it manually before rebooting.
ASKER CERTIFIED SOLUTION
Avatar of mbonaci
mbonaci
Flag of Croatia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sam654

ASKER

Nothing gets entered in the log.nsf when I try to start the Domino server as a service. Not a single line, I've tried a few times.

I've changed the Path to executable, removed the "-jc" "-c" and it seems to be working. The service started first time! I've restarted it a few times and all is good. It would seem after adding "-jc" back in the problem surfaces again as before. I'm assuming the "-jc" is something to do with javaconsole? With the "-c" in there the service tries to start and just keeps trying endlessly.

So I've removed both of these and it seems to be working. No idea how this happened, but seems to be sorted now.