SystemError: could not open configuration file `/etc/libuser.conf': 没有那个文件或目录
来源:互联网 发布:英翻汉软件 编辑:程序博客网 时间:2024/06/10 15:54
今天在Ubuntu16.04 64位系统上面安装smb服务器,出现以下错误提示。
root@mq-VM:/home/mq# system-config-sambaTraceback (most recent call last): File "/usr/sbin/system-config-samba", line 45, in <module> mainWindow.MainWindow(debug_flag) File "/usr/share/system-config-samba/mainWindow.py", line 121, in __init__ self.basic_preferences_win = basicPreferencesWin.BasicPreferencesWin(self, self.xml, self.samba_data, self.samba_backend, self.main_window) File "/usr/share/system-config-samba/basicPreferencesWin.py", line 97, in __init__ self.admin = libuser.admin()SystemError: could not open configuration file `/etc/libuser.conf': 没有那个文件或目录
解决方法:
在/etc目录下创建 libuser.conf 文件,使用如下命令。
root@mq-VM:/home/mq# sudo touch /etc/libuser.conf
再次启动smb服务器就可以出现正常的图形界面
root@mq-VM:/home/mq# system-config-samba
结束
阅读全文
0 0
- SystemError: could not open configuration file `/etc/libuser.conf': 没有那个文件或目录
- Syntax error on line of /etc/httpd/conf/httpd.conf: Could not open configuration file *.conf denied
- httpd: Could not open configuration file /xxx/conf/httpd.conf: No such file or directory
- /etc/sysconfig/network: 没有那个文件或目录
- env: /etc/init.d/nginx: 没有那个文件或目录
- 在cenOS下安装apache出现-bash: /etc/init.d/httpd: 没有那个文件或目录
- 在cenOS下安装apache出现-bash: /etc/init.d/httpd: 没有那个文件或目录
- 在cenOS下安装apache出现-bash: /etc/init.d/httpd: 没有那个文件或目录
- su: no: 没有那个文件或目录
- su: no: 没有那个文件或目录
- 没有那个文件或目录错误
- phonon:没有那个文件或目录
- phonon:没有那个文件或目录
- : bad interpreter: 没有那个文件或目录
- adb:没有那个文件或目录
- elf_i386:没有那个文件或目录 解决方法
- adb:没有那个文件或目录
- elf_i386:没有那个文件或目录 解决方法
- Model/View之子类化QAbstractItemModel实现QTreeView的复选框
- 一直都用忙来懒惰自己
- 剑指offer——第一个只出现一次的字符(思路很基础,但有个方法比较巧妙)
- SpringMVC重要接口(一)HandlerMethodArgumentResolver
- iOS条件编译
- SystemError: could not open configuration file `/etc/libuser.conf': 没有那个文件或目录
- Spark将数据压缩存储
- 系统菜单的分层设计
- 不要再使用NSUserDefaults存储隐私信息了
- 整理下array和string的易混淆的方法
- git常见命令行
- 不管什么进程一旦进入内核就进入了系统空间都有相同的页面映射
- dadc
- 51nod 1055 最长等差数列