Kbase 20463: SonicMQ: EStartupFailure After Enabling Security
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/08/2001 |
|
SUMMARY:
This solution applies to Progress SonicMQ Versions 2000.x and 3.x, and
discusses a common cause of the following exception after security is
enabled for your broker:
[146] progress.message.broker.EStartupFailure: Cannot recover
from logs generated without Security.
Back up the logs to a different dir, delete them from the current
dir, reinitialize the database, and restart the broker.
SOLUTION:
To enable security for a SonicMQ broker, follow these steps:
1) In the broker.ini file, set ENABLE_SECURITY=TRUE.
2) Delete the basic db tables using the dbtool script.
The command line for this on Windows platforms is:
dbtool /d basic
The command line for this on UNIX platforms is:
./dbtool.sh -d basic
3) Create the basic db tables using dbtool.
The command line for this on Windows platforms is:
dbtool /c basic
The command line for this on UNIX platforms is:
./dbtool.sh -c basic
Substituting the "cs" option for the "c" option above
creates the sample queues in addition to the basic tables.
4) Create the security db tables using dbtool.
The command line for this on Windows platforms is:
dbtool /c security
The command line for this on UNIX platforms is:
./dbtool.sh -c security
If you omit steps 2 and 3, for example, if you create the security
tables in the broker's database after enabling security without
having first recreated the basic database tables, the broker fails
to start and throws the exception listed above when you attempt to
start it.
NOTE: Recreating the basic database tables reinitializes the database.
This means that any data in the database is lost. For this reason, it
is important to plan your configuration carefully before you put your
messaging application into production.
References to Written Documentation:
SonicMQ Installation & Administration Guide,
Ch 1, "Installation, Database Table Creation and Deletion Scripts"
Sonic Knowledge Base Solution 19697,
"SonicMQ: How To Set Up a Security-Enabled Cluster"
Sonic Knowledge Base Solution 19810,
"SonicMQ: 'Version mismatch' Error Starting Broker"