SoftwareCentral · Settings

Service Manager

The Service Manager shows the SoftwareCentral service, which runs background jobs such as license harvesting and local group administration. SoftwareCentral manages the service automatically.

Service status Jobs Restart Service Clear Cache

1 Overview

The Service Manager is used to manage the SoftwareCentral service which run background jobs such as license harvesting and local group administration. SoftwareCentral automatically manages the service, so you do not need to use this functionality in normal operation. Use the page to check the service and its jobs, and to restart the service when you need to.

The Service Manager is located under the Settings menu:

The Settings menu opened from the top bar. It lists Mail Template Editor, Service Manager and Password Manager.
Click Settings in the top bar, then click Service Manager.

The service runs under the application pool account of the web site. On an Application Manager Only installation the Windows service is named SoftwareCentralApp; otherwise it is named SoftwareCentral.

2 Status panel

The left menu shows the state of the service and the number of jobs in each state.

LineWhat it shows
Service locationThe name of the computer where the service runs.
Service statusThe state the service reports, for example Running, Not installed or Stopped.
Pending jobsThe number of jobs that are waiting to run. Click the number to show only the pending jobs.
Failed jobsThe number of jobs that failed. A failed job that has Rerun if Failed set is run again by the service. Click the number to show only the failed jobs.
Expired jobsThe jobs which have never completed. Click the number to show only the expired jobs.

If a number shows Unknown, the page could not read it. Click Refresh above the list to read it again.

3 Jobs

All jobs are listed in the center view. You can use the search bar in the left menu to search for a specific job, and click the pending, failed or expired counts to show only those jobs.

Service Manager with the status panel in the left menu: service location SWC-SERVER01, service status Stopped, and the counts of pending, failed and expired jobs. The job list has the columns Type, Status, Created by, Starts (UTC), Expires (UTC), Last run time (UTC) and Edit. Restart Service and Clear Cache are at the bottom right.
The job list. Click Edit to open a job. The picture comes from a test server where the service is stopped. The e-mail address in Created by is a masked example.
ColumnWhat it shows
TypeThe kind of job, for example a Robopack job.
StatusThe state of the job. See the table below.
Created byThe user who created the job.
Starts (UTC) and Expires (UTC)The times stored with the job. The times are in UTC, not in your time zone.
Last run time (UTC)When the service last ran the job. 01/01/1900 00:00:00 means that no run time is recorded.
EditOpens the properties of the job.
StatusMeaning
PendingThe job is waiting for the service to run it.
In ProgressThe service is running the job.
SuccessThe job has finished.
FailedThe last run failed. The service runs it again only if Rerun if Failed is set.
CancelledThe job was cancelled with Cancel Job.
ExpiredThe job did not complete before its expire time. A pending or failed job becomes expired when its Expires (UTC) time has passed. An in-progress job becomes expired when its expire time is more than a day in the past. An expired job is not run again by itself.

4 Job properties

Click the Edit button next to a job. A new window opens, titled Service job properties:

Service job properties window for a Robopack job with a status of Success. It lists the Service Job ID, Service Location, Job Type, Owner, Status, Start Time, Expire Time, Last Revised By, Last Revision Time, Allow Cancel, Rerun if Failed and Last Run Time. The buttons Run Job and Cancel Job are greyed out.
The Service job properties window. Run Job and Cancel Job are greyed out, because this job has already succeeded. The owner address is a masked example.

From this window you can run the job immediately or cancel the job.

ButtonEnabled when
Run JobThe job is Pending, Failed (including a job whose removal from a group failed) or Expired. Run Job updates the last revision and tells the service to run the job straight away.
Cancel JobAllow Cancel is True, and the job is not Cancelled or Success.
Close WindowAlways. It closes the window without a change.

5 Restart and Clear Cache

In the lower right corner of the interface you can restart the service with the Restart Service button, or clear the cache of the service with the Clear Cache button.

  • Restart Service stops the service and starts it again. Before it stops the service, jobs that are In Progress and whose last run is more than two hours old are marked as Failed. If any other job is still in progress, the service is not restarted, and a warning asks you to wait for the jobs to finish.
  • Clear Cache sends a command to the service to clear its memory cache.
No confirmation Restart Service and Clear Cache start at once; there is no confirmation step. Check the job list first. On a cloud installation the Restart Service button is not shown.

6 Best practice

  • Restart only when it is needed. Restart the service after a change that the service reads when it starts, for example the proxy setting in General Settings. Otherwise leave the service to SoftwareCentral.
  • Wait for running jobs. The service is not restarted while a job is in progress. Wait until the In Progress jobs have finished, or until their last run is more than two hours old.
  • Watch the pending count after a restart. The service runs the pending jobs. If the pending count does not go down, check the service status and the Log.
  • Run an expired job only when it is still needed. An expired job is not run again by itself. Open it and click Run Job only if the work must still be done.
  • Check the Log after a restart. A successful restart writes Successfully restarted the service to the Log.

7 Troubleshooting

SymptomCauseWhat to do
Service status shows Not installedThe Windows service is not installed on the server.Check the Log for the reason. The first-time configuration explains how the service is installed: Configure SoftwareCentral for the first time.
A count shows UnknownThe page could not read the number of jobs.Click Refresh. If it stays Unknown, check that the service is running and read the Log.
The Log shows "Unable to restart the service on server '...' while jobs are running. Please wait for them to finish."A job is In Progress and its last run is less than two hours old.Wait until the job has finished, then click Restart Service again.
The Log shows "Failed to restart the service on server ..."The service could not be stopped or started. The Log entry gives the reason.Read the entry in the Log, and check the service in the Windows Services list. Then try again.
Jobs stay PendingThe service is stopped, or it has not picked up the jobs.Check the service status. If it is not running, restart the service. Then check the Log.
A job shows Expired and did not runThe job was not run before its expire time.Open the job and click Run Job if the work is still needed.
Run Job or Cancel Job is greyed outThe status of the job does not allow it. See the table in Job properties.Use the button only for a job whose status allows it.

See also Log and Maintenance.