Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

What is cpanelsolr? How did it get installed?

Discussion in 'E-mail Discussion' started by nitrophysix, Apr 25, 2017.

Tags:
  1. nitrophysix

    nitrophysix Registered

    Joined:
    Jun 13, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hucknall, Nottingham
    cPanel Access Level:
    Root Administrator
    Hello

    What is cpanelsolr? How did it get installed? I've just noticed its running a java application, A quick google has given me a little info, but would now like to know what its purpose is with cpanel and when did it get installed?

    pastebin.com/WPZ5c4jJ
     
    #1 nitrophysix, Apr 25, 2017
    Last edited by a moderator: Apr 25, 2017
  2. nitrophysix

    nitrophysix Registered

    Joined:
    Jun 13, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hucknall, Nottingham
    cPanel Access Level:
    Root Administrator
    Just found out under Service Manager: cpanel-dovecot-solr - It's some sort of indexing service for dovecot. Not needed, therefore removed.
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,170
    Likes Received:
    370
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    From the Release notes page:
    cPanel Inc. | cPanel & WHM 64

    On first login to WebHost Manager after updating you'll be notified of new Features and given the option (before getting access to WHM) to enable or not. There's several other threads related to Solr on the forums right now you might take a look at.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. 8p-design

    8p-design Active Member

    Joined:
    Mar 25, 2006
    Messages:
    42
    Likes Received:
    1
    Trophy Points:
    158
    Documentation is quite thin on this feature.
    1. Are there indexation controls?
    2. Commands?
    3. Can we view usage etc?
    4. Are there logs?
    Thanks!
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,700
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @8p-design,

    You can find more information on how this Dovecot plugin works at:

    Plugins/FTS/Solr - Dovecot Wiki

    The log files for solr itself are found at:

    /home/cpanelsolr/server/logs/

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. hbouma

    hbouma Well-Known Member

    Joined:
    Jun 8, 2002
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    306
    Just so you know, based on my experience with a server that just updated to 64, chkservd gets updated to think its supposed to restart it, which it does, and then solr shuts down because you haven't logged into WHM yet. So you get flooded with alerts. Not until you log into WHM does it fix the loop, but even then WHM only shows the new incremental backup feature. Nothing about solr.

    There isn't something right about this process.

    Hal
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,700
    Likes Received:
    1,791
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    This is addressed with internal case CPANEL-12865:

    Error with cpanel_dovecot_solr_maintenance cron

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    838
    Likes Received:
    14
    Trophy Points:
    168
    We found since installing this plugin we had complaints from some customers with large volumes of mail saying they could no longer search their inboxes past a few days - but could search their sent and other folders. One client can't search his inbox past 15th April in one account and in other accounts it won't search the inbox at all. So I've removed the plugin but it has not fixed the problem. I'd recommend that you don't install this. I'll need to raise a ticket with cpanel to try and fix this.
     
  9. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    668
    Likes Received:
    222
    Trophy Points:
    43
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    I don't generally like Java, and I was skeptical about this plug-in when it appeared on the scene, but I thought I'd give it a try. After munching away at my SQL resources for several hours, it finally seemed to settle down, and I have some clients with Gbs of mail going back to 2004 who have expressed pleasure in the improved search facilities.

    I suspect busier servers, or servers with more limited resource or with clients that have more mail than ours, may have issues with this plugin until it has had time to index all the emails. I must admit to only have tried it on maildir and I have no idea how well it may work with mdbox, nor any indication as to what the resource usage might be.

    I haven't seen any issues with mail not being searchable past a certain date, nor of any mail folders being excluded.

    This is on a dedicated server with 8 cores of CPU (dual Xeon) and 8Gb ram running cloudlinux with kernelcare, and cPanel 64.0.22
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. 4u123

    4u123 Well-Known Member
    PartnerNOC

    Joined:
    Jan 2, 2006
    Messages:
    838
    Likes Received:
    14
    Trophy Points:
    168
    I've just re-installed the plugin on the affected servers and bingo - it's working now.
     
    cPanelMichael likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice