The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED cpanel-dovecot-solr times out/crashes

Discussion in 'E-mail Discussions' started by ElviCities, Mar 30, 2017.

Tags:
  1. ElviCities

    ElviCities Member

    Joined:
    Aug 9, 2012
    Messages:
    18
    Likes Received:
    6
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Twitter:
    With Cpanel 64, we have an awesome new feature w/ solr. However, (on my system at least) it is completely non-functional - as the service fails to start:

    Code:
    Mar 30 04:29:49 me@example.com systemd[1]: Starting Solr for cPanel Dovecot...
    Mar 30 04:29:52 me@example.com solr[9653]: Archiving 1 old GC log files to /home/cpanelsolr/server/logs/archived
    Mar 30 04:29:52 me@example.com solr[9653]: Archiving 1 console log files to /home/cpanelsolr/server/logs/archived
    Mar 30 04:29:53 me@example.com solr[9653]: Rotating solr logs, keeping a max of 9 generations
    Mar 30 04:31:17 me@example.com solr[9653]: [293B blob data]
    Mar 30 04:31:21  me@example.com systemd[1]: cpanel-dovecot-solr.service start operation timed out. Terminating.
    Mar 30 04:31:21 me@example.com systemd[1]: Failed to start Solr for cPanel Dovecot.
    Mar 30 04:31:21 me@example.com systemd[1]: Unit cpanel-dovecot-solr.service entered failed state.
    Mar 30 04:31:21 me@example.com systemd[1]: cpanel-dovecot-solr.service failed.
    I then discovered that solr uses its own port (8984) - so thinking that opening this port up in CSF would solve the issue, I gave that a shot. No dice.

    Every few minutes I get the service up/down failed/recovered notice emails (over the course of the night, a few hundred).

    Currently on centos 7.3, running Cpanel 64 build 3.

    Thoughts? Ideas? All are welcome!
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,451
    Likes Received:
    12
    Trophy Points:
    148
    cPanel Access Level:
    DataCenter Provider
    Please open a ticket from WHM or cPanel Customer Portal and reference case CPANEL-12281: CloudLinux or GRS kernel "ptrace Block" interferes with Apache Solr startup script.
     
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,451
    Likes Received:
    12
    Trophy Points:
    148
    cPanel Access Level:
    DataCenter Provider
    An updated RPM with a workaround for systems that cannot run lsof as the user has been released.

    You can get it now by running

    Code:
    yum clean all ; yum update cpanel-dovecot-solr
     
    ElviCities likes this.
  4. ElviCities

    ElviCities Member

    Joined:
    Aug 9, 2012
    Messages:
    18
    Likes Received:
    6
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Twitter:
    The issue now appears to be resolved! Thanks!
     
    Infopro likes this.
  5. craigedmonds

    craigedmonds Well-Known Member

    Joined:
    Oct 29, 2007
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    Europe
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have been receiving alert messages every few minutes since I enabled dovecot-solr.

    I ran the command above and the service restarted nicely and for 30 minutes was fine but after that I have started receiving the error messages again and they come in every 4 minutes again.
     
  6. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,451
    Likes Received:
    12
    Trophy Points:
    148
    cPanel Access Level:
    DataCenter Provider
    Please open a ticket from WHM (preferred option) or at cPanel Customer Portal
     
  7. craigedmonds

    craigedmonds Well-Known Member

    Joined:
    Oct 29, 2007
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    66
    Location:
    Europe
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks. Ticket 8378385 has been created.
     
Loading...

Share This Page