On Wed, Apr 06, 2022 at 06:44:33PM +0200, Antoine Jacoutot wrote: >On Wed, Apr 06, 2022 at 10:39:04AM -0500, rea...@catastrophe.net wrote: >> I have redis configured to start with rspamd. The configuration is default >> with no changes after the port install. Redis has been failing to start and >> doesn't give much information back when running with `--loglevel verbose'. >> >> I'm able to run redis-server as root, but starting up with `rcctl start >> redis' just fails with no messages anywhere (yes, even adding `--loglevel >> verbose' to /etc/rc.d/redis flags). > >Can you run: ># rcctl -d start redis >And see if there's no informal output.
Thank you very much; turns out /etc/ssl/openssl.cnf was 0440 and could not be opened by the daemon. Once that was changed to 0444, the daemon starts. # rcctl -d start redis doing _rc_parse_conf doing _rc_quirks redis_flags empty, using default >/etc/redis/redis.conf< doing rc_check redis doing rc_pre doing rc_start doing _rc_wait start doing rc_check Auto configuration failed 10799181518512:error:02FFF00D:system library:func(4095):Permission denied:/usr/src/lib/libcrypto/bio/bss_file.c:122:fopen('/etc/ssl/openssl.cnf', 'rb') 10799181518512:error:20FFF002:BIO routines:CRYPTO_internal:system lib:/usr/src/lib/libcrypto/bio/bss_file.c:127: 10799181518512:error:0EFFF002:configuration file routines:CRYPTO_internal:system lib:/usr/src/lib/libcrypto/conf/conf_def.c:202: doing _rc_rm_runfile # ls -l /etc/ssl/openssl.cnf -r--r----- 1 root wheel 844 Oct 12 2018 openssl.cnf # chmod 0444 /etc/ssl/openssl.cnf # rcctl -d start redis doing _rc_parse_conf doing _rc_quirks redis_flags empty, using default >/etc/redis/redis.conf< doing rc_check doing _rc_write_runfile (ok)