dzagey
By:
dzagey

Reinstall Sogo on Centos 7

June 3, 2017 846 views
Apache Redis DigitalOcean CentOS

I created a droplet from a Snapshot and after setting it up i kep received this email every minute:

Cron <sogo@Tera> /usr/sbin/sogo-tool expire-sessions 30;/usr/sbin/sogo-ealarms-notify
/bin/sh: /usr/sbin/sogo-tool: No such file or directory
/usr/sbin/sogo-ealarms-notify: error while loading shared libraries: libSOGo.so.3: cannot open shared object file: No such file or directory

So i decided to remove Sogo and redmail based the research i did, now i realize Sogo seems important but i cannot seem to re install it. I removed it using:
yum remove sogo
and im tried to reinstall it using
yum install sogo

i have researched and tried other methods i found online but i still end up with some slight variation of this message found below:

http://inverse.ca/rhel-v3/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 401 - Unauthorized
Trying other mirror.


 One of the configured repositories failed (Inverse SOGo Repository),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Disable the repository, so yum won't use it by default. Yum will then
        just ignore the repository until you permanently enable it again or use
        --enablerepo for temporary usage:

            yum-config-manager --disable SOGo

     4. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=SOGo.skip_if_unavailable=true

failure: repodata/repomd.xml from SOGo: [Errno 256] No more mirrors to try.
http://inverse.ca/rhel-v3/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 401 - Unauthorized

Please how do i reinstall sogo because i feel like this is going to come back to be a pain later.

1 Answer
hansen June 3, 2017
Accepted Answer

Hi @dzagey

Don't know SOGo, but it seems like you need a subscription contract to use their production versions - you can use their nightly (unstable) versions for free:
https://sogo.nu/download.html

  • I didn't install sogo myself, it came with the droplet.

    • @dzagey
      Which image is that?
      Why don't you revert to the snapshot before you removed SOGo?

      • CentOs 7

        • @dzagey

          SOGo does not come with CentOS, but it's an optional component you can choose to install while installing iRedMail.

          I have no idea if you can re-run the installation wizard of iRedMail agian or if it will mess something up.

Have another answer? Share your knowledge.