The following error is seen when trying to start the SpectroSERVER process on Linux or Solaris:
Oct 24 16:39:00 ERROR TRACE at CsSSDbRp.cc(658): table open failed @ TableImpl.cc:661
(0xd) Db::open: Permission denied
Could not open the database. VNM exiting.
Landscape not initialized. VNM exiting.
Any version of Spectrum installed on Linux or Solaris
Possible issue with permissions or file ownership on the Spectrum files
When Spectrum is installed on Linux or Solaris, the Spectrum files are owned by the user that owns the Spectrum installation. Ensure the following:
1. Use the user that owns the Spectrum installation to start/stop the SpectroSERVER process. This user should also be used to administer the Spectrum installation except for processd which needs to be administered using the root user.
2. Verify the Spectrum install files are owned by the user that owns the Spectrum installation. The only files and directories that should not be owned by the user that owns the Spectrum installation are as follows:
All files and directories under the $SPECROOT/lib/SDPM directory should be owned by root except the $SPECROOT/lib/SDPM/processd_log and processd_log.bak files. These files should be owned by the user that owns the Spectrum installation.
The $SPECROOT/SS/SpectroSERVER binary should be owned by root but have the same group ownership as the user that owns the Spectrum installation. Additionally, the permissions on the $SPECROOT/SS/SpectroSERVER binary MUST be set to "4750" like the following.
-rwsr-x--- 1 root spectrum 14072 Sep 11 09:34 SpectroSERVER
This is so the SpectroSERVER runs as the user that owns the Spectrum installation but with root privileges.
ps -ef | grep -i SpectroSERVER
spectrum 23297 1 0 Oct24 ? 00:12:49 /app/spectrum/SS/SpectroSERVER