jpc_service_start
- Organization of this page
Function
This command starts JP1/IM - Agent service.
Format
jpc_service_start -s service-key [-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-key
-
Specify the service key.
If "all" is specified, all JP1/IM - Agent services are started.
- -h logical-hostname
-
Specifies logical host name when operating on a cluster system.
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)
-
-
OracleDB exporter cannot be started.
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 key is invalid |
253 |
Service is not enabled |
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