jevdbmkrep
- Organization of this page
Function
The jevdbmkrep command reconstructs the duplication prevention table file for the event database.
For details on the duplication prevention table, see 2.3.2 Event database.
Format
jevdbmkrep [-h event-server-name] [-f]
Required execution permission
In Windows: Administrators (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)
In UNIX: Superuser or JP1/Base administrator permission
Command directory
- In Windows:
-
installation-folder\bin\
- In UNIX:
-
/opt/jp1base/bin/
Arguments
-h event-server-name
Specify the name of an event server that contains the duplication prevention table file to be reconstructed. If you omit this option, the logical host name set in the environment variable JP1_HOSTNAME is assumed as the event server name. If the environment variable JP1_HOSTNAME is not set, the event server name is assumed to be the same as the local host name. Specify the event server name as a character string of no more than 255 bytes.
-f
If you omit this option, a message asks if you are sure you want to execute the command. (The displayed message is Is This OK?[Y/N].) Specify this option if user confirmation is unnecessary.
Notes
-
If the event database is large, it might take a long time for this command to finish.
-
You cannot execute this command while the event service is active. You cannot start the event service while this command is executing.
-
If the event database is empty, the command will fail with a return value of 6 (indicates there is no event database).
-
The maximum value for the source event database serial number is not cleared in the case where the duplication prevention table is re-created by the jevdbmkrep command when no JP1 events have been received from the source event server since a JP1 event for clearing the duplication prevention table was issued by the target event server. After you have executed the jevdbmkrep command, issue a JP1 event for clearing the duplication prevention table again.
Return values
0 |
Normal end |
1 |
Invalid argument |
2 |
Insufficient execution permission |
3 |
I/O error |
4 |
Insufficient memory |
5 |
Undefined event server name |
6 |
No event database |
7 |
The event database is corrupt. |
8 |
Cannot reconstruct the duplication prevention table file because the event service is running. |
255 |
Other error |