Repairing the Novell eDirectory Database 285novdocx (en) 11 July 200811.10 Using the eMBox Client to Repair aDatabaseThe eDirectory Management Toolbox (eMBox) Client is a command line Java client that gives youremote access to DSRepair. Because the eMBox Client can be run in batch mode, you can use it todo unattended repairs using the eDirectory DSRepair eMTool.The emboxclient.jar file is installed on your server as part of eDirectory. You can run it on anymachine with a JVM. For more information on the eMBox Client, see Section 20.1, “Using theeMBox Command Line Client,” on page 588.11.10.1 Using the DSRepair eMTool1 Run the eMBox Client in interactive mode by entering the following at the command line:java -cp path_to_the_file/emboxclient.jar embox -i(If you have already put the emboxclient.jar file in your class path, you only need to enterjava embox -i.)The eMBox Client prompt appears:eMBox Client>2 Log in to the server you want to repair by entering the following:login -sserver_name_or_IP_address -pport_number-uusername.context -wpassword -nThe port number is usually 80 or 8028, unless you have a Web server that is already using theport. The -n option opens a nonsecure connection.The eMBox Client will indicate whether the login is successful.3 Enter a repair command, using the following syntax:dsrepair.task optionsFor example:dsrepair.ufr performs an unattended full repair.dsrepair.rld -a -v repairs the local database using the Repair All Local Replicas and CheckLocal References options.A space must be between each switch. The order of the switches is not important.The eMBox Client will indicate whether the repair is successful.See “DSRepair eMTool Options” on page 286 for more information on the DSRepair eMTooloptions.4 Log out from the eMBox Client by entering the following command:logout5 Exit the eMBox Client by entering the following command:-RC Backs up the DIB. This option is available only on Windows and NetWare.Switch Description