Forums

Resolved
0 votes
Hi there.
I was having trouble starting in the IMAP and POP server today, it doesn't work.
I tried to reinstall at marketplace.
And I tried to "yum reinstall cryus-imapd."
But it showed "No package cryus-imapd available."

How to fix it?
Tuesday, February 13 2018, 07:42 AM
Share this post:

Accepted Answer

Tuesday, February 13 2018, 03:33 PM - #Permalink
Resolved
0 votes
0 byte file...that's no good...I have no idea how that might have happened. Did you ever run out of disk space?

I suppose you could try:

yum remove net-snmp-agent-libs
yum install app-imap


And see if that restores your shared library.

B.
The reply is currently minimized Show
Responses (7)
  • Accepted Answer

    Tuesday, February 13 2018, 04:05 PM - #Permalink
    Resolved
    0 votes
    It dose work!!

    But how do you know the problem is net-snmp-agent-libs?
    I mean I didn't see any message about that.

    Can you tell me how to trouble shooting that?

    Thanks for your help.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 13 2018, 03:11 PM - #Permalink
    Resolved
    0 votes
    rpm -qv --whatprovides /lib64/libnetsnmpmibs.so.31.0.2
    net-snmp-agent-libs-5.7.2-28.el7_4.1.x86_64


    rpm -qv --whatprovides /lib64/libnetsnmpmibs.so.31
    net-snmp-agent-libs-5.7.2-28.el7_4.1.x86_64


    ls -l /lib64/libnetsnmpmibs.so.31*
    lrwxrwxrwx 1 root root 24 Feb  3 16:32 /lib64/libnetsnmpmibs.so.31 -> libnetsnmpmibs.so.31.0.2
    -rwxr-xr-x 1 root root 0 Jan 25 23:52 /lib64/libnetsnmpmibs.so.31.0.2
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 13 2018, 02:50 PM - #Permalink
    Resolved
    0 votes
    But it showed "No package cryus-imapd available."


    You have a typo there...cryus vs cyrus.

    What is the output of:

    rpm -qv --whatprovides /lib64/libnetsnmpmibs.so.31.0.2
    rpm -qv --whatprovides /lib64/libnetsnmpmibs.so.31
    ls -l /lib64/libnetsnmpmibs.so.31*


    Strange problem!

    B.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 13 2018, 02:21 PM - #Permalink
    Resolved
    0 votes
    Amazing!
    When I
    yum reinstall cyrus-imapd cyrus-sasl-lib cyrus-sasl-plain cyrus-sasl cyrus-imapd-utils

    It works!!
    (1/5): cyrus-sasl-2.1.26-21.el7.x86_64.rpm                                                                      |  88 kB  00:00:00     
    (2/5): cyrus-sasl-plain-2.1.26-21.el7.x86_64.rpm | 38 kB 00:00:00
    (3/5): cyrus-imapd-2.4.17-8.v7.1.x86_64.rpm | 3.6 MB 00:00:01
    (4/5): cyrus-sasl-lib-2.1.26-21.el7.x86_64.rpm | 155 kB 00:00:01
    (5/5): cyrus-imapd-utils-2.4.17-8.v7.1.x86_64.rpm | 247 kB 00:00:01


    Why I just reinstall cyrus-imapd didn't work?

    And cyrus-imapd still dosen't work.
    So sad.

    maillog

    Feb 13 22:17:07 server postfix/pickup[18405]: 595FA2000010E: uid=0 from=<root>
    Feb 13 22:17:07 server postfix/cleanup[15910]: 595FA2000010E: message-id=<20180213141707.595FA2000010E@takeez.com>
    Feb 13 22:17:07 server postfix/cleanup[15910]: warning: ldap:/etc/postfix/imap-aliases.cf is unavailable. open /etc/postfix/imap-aliases.cf: No such file or directory
    Feb 13 22:17:07 server postfix/cleanup[15910]: warning: ldap:/etc/postfix/imap-aliases.cf lookup error for "root@takeez.com"
    Feb 13 22:17:07 server postfix/cleanup[15910]: warning: 595FA2000010E: virtual_alias_maps map lookup problem for root@takeez.com -- deferring delivery


    messagelog

    Feb 13 22:19:50 server systemd: Starting Cyrus-imapd IMAP/POP3 email server...
    Feb 13 22:19:50 server systemd: Created slice User Slice of cyrus.
    Feb 13 22:19:50 server systemd: Starting User Slice of cyrus.
    Feb 13 22:19:50 server systemd: Started Session c11 of user cyrus.
    Feb 13 22:19:50 server systemd: Starting Session c11 of user cyrus.
    Feb 13 22:19:54 server systemd: Removed slice User Slice of cyrus.
    Feb 13 22:19:54 server systemd: Stopping User Slice of cyrus.
    Feb 13 22:19:54 server systemd: Started Cyrus-imapd IMAP/POP3 email server.
    Feb 13 22:19:54 server cyrus-master: /usr/lib/cyrus-imapd/cyrus-master: error while loading shared libraries: /lib64/libnetsnmpmibs.so.31: file too short
    Feb 13 22:19:54 server systemd: cyrus-imapd.service: main process exited, code=exited, status=127/n/a
    Feb 13 22:19:54 server systemd: Created slice User Slice of cyrus.
    Feb 13 22:19:54 server systemd: Starting User Slice of cyrus.
    Feb 13 22:19:54 server systemd: Started Session c12 of user cyrus.
    Feb 13 22:19:54 server systemd: Starting Session c12 of user cyrus.


    Can you give me more help ?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 13 2018, 02:13 PM - #Permalink
    Resolved
    0 votes
    Amazing!
    When I
    yum reinstall cyrus-imapd cyrus-sasl-lib cyrus-sasl-plain cyrus-sasl cyrus-imapd-utils

    It works!!
    (1/5): cyrus-sasl-2.1.26-21.el7.x86_64.rpm                                                                      |  88 kB  00:00:00     
    (2/5): cyrus-sasl-plain-2.1.26-21.el7.x86_64.rpm | 38 kB 00:00:00
    (3/5): cyrus-imapd-2.4.17-8.v7.1.x86_64.rpm | 3.6 MB 00:00:01
    (4/5): cyrus-sasl-lib-2.1.26-21.el7.x86_64.rpm | 155 kB 00:00:01
    (5/5): cyrus-imapd-utils-2.4.17-8.v7.1.x86_64.rpm | 247 kB 00:00:01


    Why I just reinstall cyrus-imapd didn't work?

    And cyrus-imapd still dosen't work.
    So sad.

    I upload some logs .
    Can you give me more help?

    Thank you.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 13 2018, 02:09 PM - #Permalink
    Resolved
    0 votes
    Amazing!
    When I
    yum reinstall cyrus-imapd cyrus-sasl-lib cyrus-sasl-plain cyrus-sasl cyrus-imapd-utils

    It works!!
    (1/5): cyrus-sasl-2.1.26-21.el7.x86_64.rpm                                                                      |  88 kB  00:00:00     
    (2/5): cyrus-sasl-plain-2.1.26-21.el7.x86_64.rpm | 38 kB 00:00:00
    (3/5): cyrus-imapd-2.4.17-8.v7.1.x86_64.rpm | 3.6 MB 00:00:01
    (4/5): cyrus-sasl-lib-2.1.26-21.el7.x86_64.rpm | 155 kB 00:00:01
    (5/5): cyrus-imapd-utils-2.4.17-8.v7.1.x86_64.rpm | 247 kB 00:00:01


    Why I just reinstall cyrus-imapd didn't work?

    And cyrus-imapd still dosen't work.
    So sad.

    I upload some logs .
    Can you give me more help?

    Thank you.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 13 2018, 08:36 AM - #Permalink
    Resolved
    0 votes
    Reinstalling often does not fix start-up issues if the problem comes from a bad config file as the config file does always not get updated. Can you have a look at /var/log/messages and /var/log/maillog for any error messages?

    You have a typo in your command above. Please can you do:
    yum reinstall cyrus-imapd cyrus-sasl-lib cyrus-sasl-plain cyrus-sasl cyrus-imapd-utils
    This will reinstall the cyrus-imapd packages.
    The reply is currently minimized Show
Your Reply