For the Tentacle server to work properly, the following conditions must be met:
- The user
pandoramust exist and he must have the correct permissions on the used directories. By default the tentacle server uses the
pandorauser at the startup. This user can be defined in the startup script if you want it to be a customized one. The exchange directory (by default
/var/spool/pandora/data_in) must have at least execution, reading and writing permissions from the pandora user or the one configured for this purpose. It is not recommended, for security reasons, the use of the root user for the execution of the tentacle server.
- These are the permissions that exchange directories should have (in the case of CentOS systems);
chmod 2770 /var/spool/pandora/data_in/conf chmod 2770 /var/spool/pandora/data_in/md5 chmod 660 /var/spool/pandora/data_in/conf/* chmod 660 /var/spool/pandora/data_in/md5/* chown -R pandora:apache /var/spool/pandora/data_in/md5 chown -R pandora:apache /var/spool/pandora/data_in/conf chmod 755 /var/spool/pandora/ chown pandora:apache /var/spool/pandora
- All the directories configured in the “filters” parameter must be created, as well as the main directory “directory” with the permissions indicated above.
- The listening port must be free. There must not be any process running that is already using port 41121 or the one configured within its configuration file.
- All perl dependencies are installed. Execute manually the Tentacle binary
# su pandora -c "/usr/bin/tentacle_server"and observe if there is any dependency without installing. In case all of them are installed correctly, tentacle help will appear.