Support Questions

Find answers, ask questions, and share your expertise

Hue Runcpserver Log Empty

avatar
Expert Contributor

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

2 ACCEPTED SOLUTIONS

avatar
Master Guru

@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.

View solution in original post

avatar
Master Guru

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


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.

View solution in original post

3 REPLIES 3

avatar
Master Guru

@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.

avatar
Expert Contributor

@GangWar 

 

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

 

Thanks 

avatar
Master Guru

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


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.