Skip to main content
wert_1311
Gold ⭐️
January 22, 2021
Solved

Hue Runcpserver Log Empty

Hello,

We were getting ‘DatabaseError: ORA-01017: invalid username/password; logon denied’ post our db upgrade, to fix that we have reset the hue password, which worked and that issue got fixed.

Unfortunately one of our guys deleted a couple of logs from /var/log/hue. We have recreated runcpserver.log with the necessary permission, and restart Hue server, yet we fail to see the file being populated (file is still empty).

 

Request assistance / guidance in fixing this issue.

 

Thanks

Wert

GangWar
GangWarAnswer
Platinum ⭐️⭐️
January 25, 2021

@wert_1311 If this is CDH6 or later you might be hitting a known issue with this. Here is the solution. 

To resolve this issue, do the following on every Hue server:

#RHEL/Centos
/usr/sbin/alternatives --install /etc/hue/conf hue-conf /opt/cloudera/parcels/CDH/etc/hue/conf.empty 10

This issue occurs if the upgrade does not create or re-create the alternatives for hue-conf to point to /opt/cloudera/parcels/CDH/etc/hue/conf.empty/.

Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.

3 replies

GangWar
Platinum ⭐️⭐️
GangWarAnswer
Platinum ⭐️⭐️
January 25, 2021

@wert_1311 If this is CDH6 or later you might be hitting a known issue with this. Here is the solution. 

To resolve this issue, do the following on every Hue server:

#RHEL/Centos
/usr/sbin/alternatives --install /etc/hue/conf hue-conf /opt/cloudera/parcels/CDH/etc/hue/conf.empty 10

This issue occurs if the upgrade does not create or re-create the alternatives for hue-conf to point to /opt/cloudera/parcels/CDH/etc/hue/conf.empty/.

Translate
Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.
wert_1311
wert_1311Author
Gold ⭐️
March 3, 2022

@GangWar 

 

Can we run this command while the cluster is in use or do we need downtime, kindly advise

 

Thanks 

Translate
GangWar
Platinum ⭐️⭐️
Platinum ⭐️⭐️
March 3, 2022

@wert_1311 No downtime needed. Only agent CM agent restart on Hue servers may required if you see the alternative not taking effect.

Translate
Cheers! Was your question answered? Make sure to mark the answer as the accepted solution. If you find a reply useful, say thanks by clicking on the thumbs up button.