jbs_start (UNIX only)
- Organization of this page
Function
The jbs_start command starts JP1/Base (the event service, process management including user management, and the log-file trap management daemon).
To automatically start JP1/Base by executing this command, run the following script after completing JP1/Base installation and setup:
cd /etc/opt/jp1base cp -p jbs_start.model jbs_start
Format
jbs_start
Required execution permission
Superuser or JP1/Base administrator permission
Command directory
/etc/opt/jp1base/
Notes
-
After issuing the startup request to the JP1/Base processes, this command ends with the return value 0. To verify the proper state of the processes, after the jbs_start command has finished, use the jbs_spmd_status command.
-
In Linux, the maximum size for core file dumps is sometimes set to 0 by default. In this case, the system will not output a core dump file. To avoid this issue, the jbs_start and jbs_start.cluster scripts contain the following standard setting:
if [ 'uname' = Linux ]; then ulimit -c unlimited fi
If this setting contravenes the security policy of the system on which the script is executed, comment it out by placing a hash mark (#) at the beginning of each line.
#if [ 'uname' = Linux ]; then #ulimit -c unlimited #fi
This invalidates the setting. However, it also means that the system will not create a core dump file when an event such as a segmentation fault or bus error that would usually trigger a core dump occurs in the JP1/Base process, denying you information that could be used to investigate the cause.
-
If you execute the jbs_start command as a remote shell command, you must terminate the standard input, standard output, and standard error output by assigning /dev/null to those beforehand. The remote shell command might not terminate after JP/Base processes started.
-
In the following cases, you must specify Japanese as the language of the LANG environment variable of the automatic start script:
-
When Japanese is specified in the event filter of the forwarding settings file (forward).
-
When Japanese is specified in the lpszFilter parameter of the JP1 event acquisition function (JevGetOpen) in the user program.
-
When Japanese is specified in various JP1/IM filters in JP1/IM#.
#: For detailed conditions of servers that require language specification, see the JP1/Integrated Management 2 - Manager Overview and System Design Guide.
-
The automatic start script (jbs_start) performs an unsetup of the locale settings of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, LC_TIME, and LC_MESSAGES by default.
-
Return values
0 |
Normal end |
1 |
More than one argument was specified. |