Technical
Tips
How to Start the HULFT Service
Introduction
When you want to use HULFT, you must first start the HULFT
service.
That sounds simple. However, if you are a system developer who is considering different methods for starting the HULFT service, you probably have some questions. For example, maybe you want to know what programs the HULFT service manages. Or maybe you want to assign user permissions for the send and receive process or for the execution of jobs, and you want to know if there is any connection between those permissions and the users who can start the service. Or maybe you want to set up the monitoring of processes to ensure that the service is always running. These are just some examples of the many
perspectives you need to consider during your developmental and operational
phases.
In this tip, we will explain the ways to start the HULFT service in the Windows version, the structure of the HULFT service, and some things to keep in mind when developing your system.
HULFT Script is a product with a GUI (graphical user interface) that allows you to more easily create and operate processes that are commonly used before and after HULFT file transfers. The series of processes that make up a service is called a script. You can execute the scripts you create by using a trigger or an external program.
The Role of the HULFT Service
First, let me explain the role of the HULFT service.
The HULFT service manages the following resident processes that are generated by HULFT.
Although these resident processes are not the main topic of this tip, I will briefly introduce them here.
Note: The Schedule Process is supported only for the Windows
version.
Now that I've briefly introduced the resident processes,
I'll explain the settings that can be used to manage these processes by using
the HULFT service.
In HULFT, you can select which, if any, processes you would
like to automatically start up when you start the HULFT service.
How to Specify Settings
To specify which processes you want to start up when you
start the service, specify the settings for
Automatic Process Startup in the system environment settings.
The following diagram shows settings to start up the Send process
and the Receive process when the service is started.
About Users Who Can Start the HULFT Service
You can start the HULFT service from the default local
system account.
If you want to start the service from any other account, the following management permissions (local security policy settings) are required.
General users cannot start the service.
1. The user must belong to the Administrators group on the
local computer.
2. The user must be assigned the following permissions
- The permission to act as part of the operating system
- The permission to increase the memory quota assigned to a
process (in Windows 2000, the permission to increase a quota)
- The permission to replace a process-level token
- The permission to restore files and directories
- The permission to back up files and directories
Note: After specifying these settings, restart the HULFT
service.
After you start the HULFT service, the user who started the
HULFT service can start each resident process.
However, some of you might think it's inconvenient to have
to use an account with administrator permissions to start the processes. In
this case, you might want to allow general users to perform the same
operations.
In HULFT version 8.0.0 and later, you can specify startup
user information for
Account Settings
in the System Environment Settings
screen. This allows general users to start up the resident processes.
Methods of Starting the HULFT Service
Now that you understand how to control the service and which
user permissions are necessary to do so, I will explain the methods of starting
the service.
The service can be started by any of the following four
methods:
1. Start the service from the HULFT Process Controller.
2. Start the service from Services on the Control Panel.
3. Start the service when you start the OS.
4. Start the service by using a command.
1. Starting the Service from the Process Controller in the HULFT Management Screen
Use the following procedure to start the service from the
Process Controller:
1. Use an account with administrator permissions to open the
HULFT
Management screen.
(If you use an account that does not have administrator
permissions, you cannot click the HULFT start button.)
2. Select Tools,
and then click
Process Controller.
The Process Controller appears. The Process Controller screen is shown below.
The status of the HULFT service is shown by the traffic
light symbol next to HULFT, as follows:
Green: Running
Yellow: Executing startup processing, or executing shut down processing
Red: Stopped
3. Click the Start
button for HULFT.
The HULFT service starts and the traffic light symbol
changes to green, indicating that the process is running.
2. Starting the Service from Services on the Control Panel
I will explain this method of starting the service by using
Windows 7 as an example.
Note: The method used to display a list of all Windows
services differs depending on which OS you use. For how to display the list of
Windows services, see your OS manual.
From the list of services that are registered in Windows,
select the HULFT service, and click
Start
Service
.
3. Starting the Service When you Start the OS
For Startup type for the registered service, select Automatic, and click the OK button.
By registering automatic startup, you can start the HULFT service when the OS starts, beginning with the next time you start the OS.
4. Starting the Service by Using a Command
You can start HULFT by executing the file utlsvcctl.exe, located in the bin folder under the HULFT
installation folder.
Use the following procedure to start the HULFT service by
using the HULFT startup command.
1. Use an account with administrator permissions to open the
command prompt.
2. Navigate to the bin
folder under the HULFT installation folder, and input the following command:
Explanation of Parameters:
-c start
Issues a HULFT start request to HULFT (required)
-q
Issues a non-synchronous request (optional)
Instead of waiting until the HULFT service is fully
started, returns control when the request is issued
3. Press the Enter key. Service started is displayed in the command prompt.
Confirming that the Service and Processes Are Running
If the Processes Cannot Be Started
If the processes cannot be started, refer to the HULFT
console log file (hulcon.log)
and use any error codes or messages that are output to the file to check the
status of the processes and fix any problems.
The following are examples of frequently occurring problems.
Check whether any of these situations apply.
- The user who started HULFT does not have the correct
permissions.
- You have never logged in by using the account specified in
Account Settings. If this is the
case, settings information for that account does not exist, and the processes
cannot be started because you cannot log into HULFT.
- The resident processes are attempting to use a port that
is already in use by another application.