Hi Aram,
Thanks for the inputs and suggestions.
Modified the vault.service file as below by adding environment variable in service section
[Unit]
Description=vault service
Requires=network-online.target
After=network-online.target
ConditionFileNotEmpty=/root/vault/configs/vault-config.hcl
[Service]
User=root
Group=root
Restart=on-failure
ExecStart=/root/vault/bin/vault server -config=/root/vault/configs/vault-config.hcl
StandardOutput=/root/vault/logs/vault-output.log
StandardError=/root/vault/logs/vault-error.log
LimitMEMLOCK=infinity
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGTERM
Environment=“LD_LIBRARY_PATH=/opt/oracle/instantclient_12_2”
[Install]
WantedBy=multi-user.target
Still facing the same error
Error writing data to database/config/oraconn: Error making API request.
URL: PUT http://127.0.0.1:8200/v1/database/config/oraconn
Code: 400. Errors:
-
error creating database object: invalid database version: 2 errors occurred:
-
fork/exec /root/vault/plugins/vault-plugin-database-oracle: operation not permitted
-
fork/exec /root/vault/plugins/vault-plugin-database-oracle: operation not permitted
Can you please help me in resolving this issue