CM5.14 failed to start the HUE Load Balancer role.

http://localhost:8888 is accessible, but http://localhost:8889 is not accessible.
View log / opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/logs/stderr.log

+ export HUE_HOME=/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/lib/hue
+ HUE_HOME=/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/lib/hue
+ export CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER
+ CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER
+ echo HUE_HOME=/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/lib/hue
+ echo CLOUDERA_HTTPD_EXECUTABLE_PATH=/usr/sbin/httpd
+ echo CLOUDERA_HTTPD_MODULE_DIR=/usr/lib64/httpd/modules
+ echo CLOUDERA_HTTPD_CONF_DIR=/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER
+ echo CLOUDERA_HTTPD_LOG_DIR=/var/log/hue-httpd
+ echo CLOUDERA_HTTPD_USE_SSL=
+ perl -pi -e "s-sharp{{HUE_HOME}}-sharp/opt/cloudera/parcels/CDH-5.14.0-1.cdh5.14.0.p0.24/lib/hue-sharpg" /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/supervisor.conf
Can"t open /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/supervisor.conf: , <> line 274.
+ perl -pi -e "s-sharp{{CLOUDERA_HTTPD_CONF_DIR}}-sharp/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER-sharpg" /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/supervisor.conf
Can"t open /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/supervisor.conf: , <> line 274.
+ perl -pi -e "s-sharp{{CLOUDERA_HTTPD_LOG_DIR}}-sharp/var/log/hue-httpd-sharpg" /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/supervisor.conf
Can"t open /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/supervisor.conf: , <> line 274.
+ perl -pi -e "s-sharp{{CLOUDERA_HTTPD_MODULE_DIR}}-sharp/usr/lib64/httpd/modules-sharpg" /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/httpd.conf /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/hue.conf /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/supervisor.conf
Can"t open /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/supervisor.conf: , <> line 274.
+ replace_conf_dir
+ echo CONF_DIR=/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER
+ echo CMF_CONF_DIR=/opt/cm-5.14.1/etc/cloudera-scm-agent
+ EXCLUDE_CMF_FILES=("cloudera-config.sh" "hue.sh" "impala.sh" "sqoop.sh" "supervisor.conf" "config.zip" "proc.json" "*.log" "*.keytab" "*jceks")
PP printf "! -name %s " cloudera-config.sh hue.sh impala.sh sqoop.sh supervisor.conf config.zip proc.json "*.log" "*.keytab" "*jceks"
+ find /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER -type f "!" -path "/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/logs/*" "!" -name cloudera-config.sh "!" -name hue.sh "!" -name impala.sh "!" -name sqoop.sh "!" -name supervisor.conf "!" -name config.zip "!" -name proc.json "!" -name "*.log" "!" -name "*.keytab" "!" -name "*jceks" -exec perl -pi -e "s-sharp{{CMF_CONF_DIR}}-sharp/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER-sharpg" "{}" ";"
+ [[ ! -d /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/run ]]
+ CLOUDERA_HTTPD_CONF=/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/httpd.conf
+ CLOUDERA_HUE_CONF=/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/hue.conf
+ perl -pi -e "s-sharp{{CLOUDERA_HTTPD_SSL_SCRIPT_DIR}}-sharp/opt/cm-5.14.1/lib64/cmf/service/common-sharpg" /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/hue.conf
+ /usr/sbin/httpd -f /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/httpd.conf -t
httpd: Syntax error on line 82 of /opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/httpd.conf: Cannot load /usr/lib64/httpd/modules/mod_ssl.so into server: /usr/lib64/httpd/modules/mod_ssl.so: cannot open shared object file: No such file or directory
+ "[" 1 "!=" 0 "]"
+ echo "/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/httpd.conf is invalid"
/opt/cm-5.14.1/run/cloudera-scm-agent/process/113-hue-HUE_LOAD_BALANCER/httpd.conf is invalid
+ exit 1

View file permissions

clipboard.png
if you manually modify the supervisor.conf permission:

chmod +020 supervisor.conf

restart Load Balancer, in the CM interface will generate a new directory / opt/cm-5.14.1/run/cloudera-scm-agent/process/114-hue-HUE_LOAD_BALANCER/. Prompt the same error.

Mar.01,2021

reason: httpd,mod_ssl service is not pre-installed in the server environment

solution:

yum-y install httpd

yum-y install mod_ssl


look at the error, I think the mod_ssl is not installed

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5ae22-43b96.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5ae22-43b96.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?