Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

cpanel-dovecot-solr not working on Amazon AMI

Comments

8 comments

  • cPanelMichael
    Hello @a.post, Thank you for reporting this issue and letting us know the workaround that helped solve the problem on your system. We now have an intenral case open (CPANEL-12511) to address this issue. I'll monitor the progress of this case and update this thread with more information as it becomes available. Thank you.
    0
  • tandyuk
    This isnt exclusive to Amazon machines. one of our servers running latest cloudlinux 6.x, when upgraded to cpanel64 did exactly the same thing. After about 100 chkservd alerts, we resolved it using the same process as above.
    root@uk1 [~]# netstat -an |grep 8984 root@uk1 [~]# /etc/rc.d/init.d/cpanel-dovecot-solr start Starting Apache Solr for cPanel Dovecot: Your current version of Java is too old to run this version of Solr We found version 1.7.0_45, using command 'java' Please install latest version of Java 8 or set JAVA_HOME properly. Debug information: JAVA_HOME: N/A Active Path: /sbin:/usr/sbin:/bin:/usr/bin [FAILED] root@uk1 [~]# /usr/sbin/alternatives --config java There are 3 programs which provide 'java'. Selection Command ----------------------------------------------- 1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java + 2 /usr/java/latest/bin/java * 3 /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java Enter to keep the current selection[+], or type selection number: 3 root@uk1 [~]# /etc/rc.d/init.d/cpanel-dovecot-solr start Starting Apache Solr for cPanel Dovecot: Waiting up to 180 seconds to see Solr running on port 8984 [/] Started Solr server on port 8984 (pid=1005009). Happy searching! [ OK ] root@uk1 [~]# netstat -an |grep 8984 tcp 0 0 127.0.0.1:8984 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:42029 127.0.0.1:8984 TIME_WAIT
    0
  • cPanelMichael
    Hello, An updated RPM was published to address the issue where solr fails if two versions of JAVA are installed and 1.7 is set as the default. You can run the following command to update the RPM on your system:
    yum clean all ; yum update cpanel-dovecot-solr
    Thank you.
    0
  • splaquet
    this bug seems to be back around in the latest cPanel Edge version, for CentOS/CloudLinux 8
    0
  • cPRex Jurassic Moderator
    @splaquet - can you post the full cPanel version, OS version, and error message you're seeing so I can do some testing with this?
    0
  • splaquet
    this was the first format/reinstall that i've performed since the previous cPanel pricing update. my hosting provider doesn't have an install for CentOS w/ cPanel now, as the licenses appear to be applied afterwards. since a few nights ago, i've been unable to completely install CentOS, CloudLinux & cPanel. after reinstalling the server a few times (bouncing between CentOS 7/8), I've finally been able to install a working combo... although, I've yet to see the cPanel provided SSL cert apply, i feel confident that i finally have a stable cPanel reinstall w/ CentOS/CloudLinux 8.
    # hostnamectl Operating System: CloudLinux 8.3 (Pavel Belyayev) CPE OS Name: cpe:/o:cloudlinux:cloudlinux:8.3:GA:server Kernel: Linux 4.18.0-147.8.1.el8.lve.1.x86_64 Architecture: x86-64
    this time, after the cPanel install didn't go through w/ the 1-liner, i had to update/replace existing excludes using the content from cPanel install info page: - nano /etc/yum.conf exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* nsd* p0f php* proftpd* pure-ftpd* spamassassin* - then packages: $ dnf config-manager --set-enabled cloudlinux-PowerTools $ yum reposync I was really hoping that would have done the trick, but still saw the Apache Solr error, when trying to install via Manage Plugins page. i cannot seem to find a way to install, which i have a feeling will resolve this issue: javapackages-filesystem
    The system will install the "cpanel-dovecot-solr" plugin. [2021-01-15 16:42:28 -0500] info [xml-api] Starting yum execution "--assumeyes --color=never --config /etc/yum.conf install cpanel-dovecot-solr --enablerepo=cloudlinux-PowerTools --enablerepo=epel --enablerepo=cl-ea4-testing --enablerepo=cl-ea4". This system is receiving updates from CloudLinux Network server. cPanel Plugins project 20 kB/s | 2.9 kB 00:00 Error: (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages) [2021-01-15 16:42:32 -0500] info [xml-api] Completed yum execution "--assumeyes --color=never --config /etc/yum.conf install cpanel-dovecot-solr --enablerepo=cloudlinux-PowerTools --enablerepo=epel --enablerepo=cl-ea4-testing --enablerepo=cl-ea4": in 3.805 second(s). Cpanel::Exception::ProcessFailed::Error/(XID amwvpe) "/usr/local/cpanel/scripts/retry_rpm" reported error code "1" when it ended: at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 161. Cpanel::ChildErrorStringifier::to_exception(Cpanel::SafeRun::Object=HASH(0x48940d0)) called at /usr/local/cpanel/Cpanel/ChildErrorStringifier.pm line 140 Cpanel::ChildErrorStringifier::die_if_error(Cpanel::SafeRun::Object=HASH(0x48940d0)) called at /usr/local/cpanel/Cpanel/SafeRun/Object.pm line 676 Cpanel::SafeRun::Object::die_if_error(Cpanel::SafeRun::Object=HASH(0x48940d0)) called at /usr/local/cpanel/Cpanel/SysPkgs/YUM.pm line 1102 Cpanel::SysPkgs::YUM::_die_child_error(Cpanel::SafeRun::Object=HASH(0x48940d0), "Error: \x{a} Problem: package cpanel-dovecot-solr-8.2.0-4.1.noarc"..., "_args", ARRAY(0x445a4c0), "packages", ARRAY(0x413b688)) called at /usr/local/cpanel/Cpanel/SysPkgs/YUM.pm line 1086 Cpanel::SysPkgs::YUM::_exec_yum(Cpanel::SysPkgs::YUM=HASH(0x413b1f0), "packages", ARRAY(0x413b688), "_args", ARRAY(0x445a4c0)) called at /usr/local/cpanel/Cpanel/SysPkgs/YUM.pm line 1008 Cpanel::SysPkgs::YUM::_call_yum(Cpanel::SysPkgs::YUM=HASH(0x413b1f0), "packages", ARRAY(0x413b688)) called at /usr/local/cpanel/Cpanel/SysPkgs/YUM.pm line 271 Cpanel::SysPkgs::YUM::install_packages(Cpanel::SysPkgs::YUM=HASH(0x413b1f0), "packages", ARRAY(0x413b688)) called at /usr/local/cpanel/Cpanel/Plugins.pm line 92 Cpanel::Plugins::install_plugins("cpanel-dovecot-solr") called at /usr/local/cpanel/Whostmgr/API/1/Plugins.pm line 176 Whostmgr::API::1::Plugins::__ANON__() called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 100 eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 91 Try::Tiny::try(CODE(0x4592bd8), Try::Tiny::Catch=REF(0x411d598), Try::Tiny::Finally=REF(0x16060c8)) called at /usr/local/cpanel/Whostmgr/API/1/Plugins.pm line 206 Whostmgr::API::1::Plugins::__ANON__() called at /usr/local/cpanel/Cpanel/Daemonizer/Tiny.pm line 150 Cpanel::Daemonizer::Tiny::__ANON__() called at /usr/local/cpanel/Cpanel/ForkAsync.pm line 68 eval {...} called at /usr/local/cpanel/Cpanel/ForkAsync.pm line 68 Cpanel::ForkAsync::do_in_child(CODE(0x41eeb88)) called at /usr/local/cpanel/Cpanel/Daemonizer/Tiny.pm line 153 Cpanel::Daemonizer::Tiny::__ANON__() called at /usr/local/cpanel/Cpanel/ForkAsync.pm line 68 eval {...} called at /usr/local/cpanel/Cpanel/ForkAsync.pm line 68 Cpanel::ForkAsync::do_in_child(CODE(0x43652a0)) called at /usr/local/cpanel/Cpanel/Daemonizer/Tiny.pm line 161 Cpanel::Daemonizer::Tiny::run_as_daemon_with_options(HASH(0x413be98), CODE(0x3f0f8d0)) called at /usr/local/cpanel/Cpanel/Daemonizer/Tiny.pm line 77 Cpanel::Daemonizer::Tiny::run_as_daemon(CODE(0x3f0f8d0)) called at /usr/local/cpanel/Whostmgr/API/1/Plugins.pm line 208 Whostmgr::API::1::Plugins::_alter_rpm_installation(HASH(0x1791b58), Whostmgr::API::1::Utils::Metadata=HASH(0x1789ed8), "install", "--edit", "installed") called at /usr/local/cpanel/Whostmgr/API/1/Plugins.pm line 59 Whostmgr::API::1::Plugins::install_rpm_plugin(HASH(0x1791b58), Whostmgr::API::1::Utils::Metadata=HASH(0x1789ed8), HASH(0x3c98590)) called at whostmgr/bin/xml-api.pl line 3853 whostmgr::bin::xml_api::__ANON__(Whostmgr::API::1::Utils::Metadata=HASH(0x1789ed8), HASH(0x1791b58), HASH(0x3c98590), CODE(0x3c981d0)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 238 Whostmgr::API::1::Data::Wrapper::__ANON__() called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 100 eval {...} called at /usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/Try/Tiny.pm line 91 Try::Tiny::try(CODE(0x411cbd8), Try::Tiny::Catch=REF(0x411d448)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 257 Whostmgr::API::1::Data::Wrapper::execute_internal(CODE(0x3c98410), HASH(0x1791b58), HASH(0x3c98590), HASH(0x3c98860), CODE(0x3c981d0)) called at whostmgr/bin/xml-api.pl line 4058 whostmgr::bin::xml_api::runapp("install_rpm_plugin", HASH(0x3c98590), HASH(0x16965f0), 0, CODE(0x3c981d0)) called at whostmgr/bin/xml-api.pl line 3712 whostmgr::bin::xml_api::script(CODE(0x3c981d0), "-json", "./install_rpm_plugin") called at whostmgr/bin/xml-api.pl line 3655
    0
  • splaquet
    update on the cPanel signed SSL server cert. super odd (but maybe my chops aren't up to pace), but it was my hostname. i had set my FQDN in hostnamectl, but hostname was only showing the sub of the subdomain. when i updated the sub to the FQDN, the SSL cert immediately pushed through... and applied. BUT, i'm still not seeing it in root certs, when i went to apply the cert to the other services.
    0
  • cPRex Jurassic Moderator
    @splaquet - so you currently aren't seeing any issues with the dovecot processes, correct? If the SSL is installed and working I would expect that WHM >> Manage Service SSL Certificates would show that as available, and by default it would be setup so you wouldn't need to apply it to other services.
    0

Please sign in to leave a comment.