I configured wht redis.conf to activate both TLS and Redistimeseries
This is Not working
tls-cert-file /etc/redis/server.crt tls-key-file /etc/redis/server.key tls-ca-cert-file /etc/redis/rootCA.crt tls-dh-params-file /etc/redis/dhparam.pem port 0 tls-port 6379 loadmodule /root/RedisTimeSeries/bin/redistimeseries.so protected-mode yes tcp-backlog 511 timeout 0 tcp-keepalive 300 daemonize yes supervised no bind 127.0.0.1 ::1 pidfile /var/run/redis/redis.pid loglevel notice always-show-logo yes dir /var/lib/redis stop-writes-on-bgsave-error yes rdbcompression yes rdbchecksum yes dbfilename dump.rdb requirepass FmP8+nahimmD
.....RETURNS..............
systemctl status redis ● redis.service - Advanced key-value store Loaded: loaded (/etc/systemd/system/redis.service; disabled; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2021-06-23 06:06:29 CDT; 1min 48s ago Docs: http://redis.io/documentation, man:redis-server(1) Process: 18340 ExecStartPre=/bin/mkdir -p /var/run/redis/ (code=exited, status=0/SUCCESS) Process: 18341 ExecStartPre=/bin/chmod ug+rwX /var/run/redis/ (code=exited, status=0/SUCCESS) Process: 18342 ExecStartPre=/bin/chown redis:redis /var/run/redis/ (code=exited, status=0/SUCCESS) Process: 18343 ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS) Main PID: 18344 (code=exited, status=1/FAILURE)
Jun 23 06:06:29 edubet systemd[1]: redis.service: Scheduled restart job, restart counter is at 5. Jun 23 06:06:29 edubet systemd[1]: Stopped Advanced key-value store. Jun 23 06:06:29 edubet systemd[1]: redis.service: Start request repeated too quickly. Jun 23 06:06:29 edubet systemd[1]: redis.service: Failed with result 'exit-code'. Jun 23 06:06:29 edubet systemd[1]: Failed to start Advanced key-value store.
Comment From: filipecosta90
Hi there @arul67800 I suggest you open an issue on the module's repo given there is ( up until now ) no evidence that this is core redis related. Can you please close this issue and open a new one in: https://github.com/RedisTimeSeries/RedisTimeSeries/issues Furthermore, if possible include the redis and module versions and also the log so that we can use that info to pinpoint the error/solution.
Comment From: oranagra
@arul67800 i'm not sure this issue is related to the RedisTimeSeries module or not, maybe it's realted to the service configuration (not part of this repo either). closing this issue for now. please feel free to add more details if you have any (like showing it's unrelated to the module).