> Trying to troubleshoot a centos 7/Cyrus-imap configuration. The process > is not running correctly - the /var/log/maillog fills up with messages and > once this grep string is executed this is what is seen: > > grep -v Fatal maillog | grep -v abnormally | grep -v "ptions not presen" > > Jun 18 12:23:42 mail master[20269]: setrlimit: Unable to set file > descriptors limit to -1: Operation not permitted > Jun 18 12:23:42 mail master[20269]: retrying with 4096 (current max) > Jun 18 12:23:42 mail ctl_cyrusdb[20277]: recovering cyrus databases > Jun 18 12:23:42 mail ctl_cyrusdb[20277]: done recovering cyrus databases > Jun 18 12:23:42 mail master[20269]: unable to setsocketopt(IP_TOS): > Operation not supported > Jun 18 12:23:42 mail ctl_cyrusdb[20314]: checkpointing cyrus databases > Jun 18 12:23:42 mail ctl_cyrusdb[20314]: done checkpointing cyrus > databases AFAIK those messages are normal and don't show any real problem. What exactly does not work? Regards, Simon > > > > The firewall is off (to attempt to see if the setsocketopt would go away): > # systemctl status firewalld > firewalld.service - firewalld - dynamic firewall daemon > Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; > vendor preset: enabled) > Active: inactive (dead) > > And SELinux is set to not stop things. > # getenforce > Permissive > > > > strace /usr/lib/cyrus-imapd/cyrus-master isn't really being helpful either > > (lots snipped) > access("/etc/system-fips", F_OK) = -1 ENOENT (No such file or > directory) > open("/etc/imapd.conf", O_RDONLY) = 3 > fstat(3, {st_mode=S_IFREG|0644, st_size=692, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0x7f259e1b8000 > read(3, "configdirectory: /var/lib/imap\np"..., 4096) = 692 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0x7f259e1b8000, 4096) = 0 > uname({sys="Linux", node="mail.example.com", ...}) = 0 > close(0) = 0 > open("/dev/null", O_RDWR) = 0 > close(1) = 0 > open("/dev/null", O_RDWR) = 1 > close(2) = 0 > open("/dev/null", O_RDWR) = 2 > close(3) = -1 EBADF (Bad file descriptor) > dup(0) = 3 > close(4) = -1 EBADF (Bad file descriptor) > dup(0) = 4 > setrlimit(RLIMIT_NOFILE, {rlim_cur=RLIM64_INFINITY, > rlim_max=RLIM64_INFINITY}) = -1 EPERM (Operation not permitted) > open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 5 > fstat(5, {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 > fstat(5, {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0 > mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = > 0x7f259e1b8000 > read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0\0\0\0"..., > 4096) = 3559 > lseek(5, -2272, SEEK_CUR) = 1287 > read(5, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\7\0\0\0\0"..., > 4096) = 2272 > close(5) = 0 > munmap(0x7f259e1b8000, 4096) = 0 > (lots more snipped) > > Nothing in the strace output for setsocketopt. > > > Suggestions on what to do to figure out why on > # cat /etc/redhat-release > CentOS Linux release 7.2.1511 (Core) > > the installed packages > > # rpm -q -a | grep cyrus > cyrus-imapd-2.4.17-8.el7_1.x86_64 > cyrus-sasl-devel-2.1.26-20.el7_2.x86_64 > cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 > cyrus-imapd-utils-2.4.17-8.el7_1.x86_64 > cyrus-imapd-devel-2.4.17-8.el7_1.x86_64 > cyrus-sasl-plain-2.1.26-20.el7_2.x86_64 > cyrus-sasl-2.1.26-20.el7_2.x86_64 > cyrus-sasl-scram-2.1.26-20.el7_2.x86_64 > cyrus-sasl-md5-2.1.26-20.el7_2.x86_64 > > are not working. > ---- > Cyrus Home Page: http://www.cyrusimap.org/ > List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ > To Unsubscribe: > https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus > ---- Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus