The following error is seen when trying to start the SpectroSERVER process on Linux or Solaris:
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.
The above error indicates 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. The user that owns the Spectrum installation is being used to start/stop the SpectroSERVER process (./startSS.pl ./stopSS.pl). 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.
3. In most instances of this issue, the Spectrum SSDB files are no longer owned by the Spectrum install owner account and are now owned by root.
4. You can use the chown command to fix this.
Example:
chown <user>:<group> <file>
From SPECROOT/SS folder
chown spectruminstallowner:adm *.db
chown spectruminstallowner:adm *.ix
chown spectruminstallowner:adm VNM.OUT*