jpc_service_start
- Organization of this page
Function
This command starts JP1/IM - Agent service.
Format
jpc_service_start -s service-name
[-h logical-hostname]
Execution permission
In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)
In Linux: Superuser permissions
Storage directory
- In Windows:
-
Agent-path\tools\
- In Linuix:
-
/opt/jp1ima/tools/
Arguments
- -s service-name
-
Specify Service name.
If "all" is specified, all JP1/IM-Agent services are started.
Logical host's Service name is jpc_add-on-directory-name#_logical-hostname, but specify -on option is jpc_add-on-directory-name#.
- -h logical-hostname
-
Specifies logical host name when operating on a cluster system.
- #
-
For the value specified in the add-on-directory-name, see A.4 (5) About the Add-On Directory in JP1/Integrated Management 3 - Manager Overview and System Design Guide.
Notes
If the string that you specify in the argument contains spaces or special characters, you must enclose them in " " and escape them. In addition, the following characters cannot be used:
-
"" (double quotation mark)
-
"!" (exclamation)
-
"%" (percent)
-
"^" (Circumflex)
Return values
|
0 |
Service started successfully (all successful or already started) |
|
10 |
Invalid argument |
|
11 |
You do not have executing permissions. |
|
13 |
Other commands are executing |
|
251 |
Service name is invalid |
|
255 |
Service failed to start |
Log output
-
Output destination
- In Windows:
Agent-path\logs\tools\
- In Linux:
/opt/jp1ima/logs/tools/
Example
jpc_service_start -s all