KeyError: "Couldn't get user id for user hue"
问题:
build/env/bin/supervisor
首次启动hue报错
[root@node-1 hue-3.9.0-cdh5.14.0]# build/env/bin/supervisor
Traceback (most recent call last):
File "build/env/bin/supervisor", line 9, in <module>
load_entry_point('desktop==3.9.0', 'console_scripts', 'supervisor')()
File "/export/servers/hue-3.9.0-cdh5.14.0/desktop/core/src/desktop/supervisor.py", line 319, in main
setup_user_info()
File "/export/servers/hue-3.9.0-cdh5.14.0/desktop/core/src/desktop/supervisor.py", line 257, in setup_user_info
desktop.lib.daemon_utils.get_uid_gid(SETUID_USER, SETGID_GROUP)
File "/export/servers/hue-3.9.0-cdh5.14.0/desktop/core/src/desktop/lib/daemon_utils.py", line 45, in get_uid_gid
raise KeyError("Couldn't get user id for user %s" % (username,))
KeyError: "Couldn't get user id for user hue"
解决方法:
执行这个命令:
useradd hue;
然后再次启动就ok了,
- KeyError: "Couldn't get user id for user hue" #27
- Java tip: How to get CPU, system, and user time for benchmarking
- I/O error on GET request for "http://user-service/hi": user-service; nested exception is java.net.Un
- 关于7.0手机爱贝支付转圈问题-java.lang.SecurityException: getSubscriberId: Neither user 10191 nor current process
- Could Not Get the Value for Parameter compilerId for Plugin Execution
- Get username and password for sina weibo
- Get WinAD UserName for C Sharp
- 【Android】java.lang.SecurityException: getDeviceId: Neither user 10065 nor current process has android.permission.READ_PHONE_STATE
- OS Watcher For Windows (OSWFW) User Guide (Doc ID 433472.1)
- 【Android】java.lang.SecurityException: getDeviceId: Neither user xxxxx nor current process has andro
- Listener Hanging - Information to Get For Resolving or Troubleshooting (Doc ID 230156.1)
- CoreException: Could not get the value for parameter compilerId for plugin execution default-compil
- net helpmsg get error message for error id in cmd script
- Could Not Get the Value for Parameter compilerId for Plugin Execution
- Could not get the value for parameter compilerId for plugin execution default-compile
- [wordpress] determine_current_user 在get_current_user_id() 或者 wp_get_current_user()会调用
- Repeated column in mapping for entity: cn.cnic.qlms.entity.User column: id (should be mapped with in
- 获取用户权限列表(RSSB_GET_AUTH_FOR_USER)
- SSH报错之 Provided id of the wrong type for class model.User. Expected: class java.lang
- org.hibernate.PropertyNotFoundException: Could not find a getter for id in class com.pb.dao.UserDao