SystemError: could not open configuration file `/etc/libuser.conf': 没有那个文件或目录
今天在Ubuntu16.04 64位系统上面安装smb服务器,出现以下错误提示。
root@mq-VM:/home/mq# system-config-samba
Traceback (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
结束
SystemError: could not open configuration file `/etc/libuser.conf': 没有那个文件或目录相关推荐
- No such file or directory(没有那个文件或目录)的小问题
昨天升级一个服务,发现没有现成的启动脚本. 就随手写了一个,一运行发现不行. 竟然报错说找不到文件, No such file or directory [nohup: cannot run com ...
- fatal error: nsync_cv.h:No such file or directory(没有那个文件或目录)
在ubuntu系统上,运行Fast-RCNN出现了如下问题: fatal error: nsync_cv.h:没有那个文件或目录 解决方法: (1):下载nsync,nsync的链接:https:// ...
- Ubuntu20.04安装zabbix以及Cannot create the configuration file解决
添加zabbix的扩展源 echo 'deb http://mirrors.aliyun.com/zabbix/zabbix/5.0/ubuntu/dists/ focal main' >> ...
- Wrong permissions on configuration file, should not be world writable!
进入phpmyadmin时,报了如下错误: Wrong permissions on configuration file, should not be world writable! 记得先前的时候 ...
- Wrong permissions on configuration file, should not be world writable
Wrong permissions on configuration file, should not be world writable 进入phpMyAdmin页面时显示:Wrong permis ...
- No execution.target specified in your configuration file.
完整报错如下: Exception in thread "main" java.lang.NullPointerException: No execution.target spe ...
- Could not find qmake configuration file解决
编译Qt源码时出现Could not find qmake configuration file,这是因为Qt源码路径中有中文,将中文目录改为英文即可.
- rabbitmq启动失败-报Failed to load advanced configuration file解决方法
[README] 1.本文基于 centos8 搭建 rabbitmq: 版本信息如下: rabbitmq rabbitmq-server-3.8.12-1.el8.noarch.rpm erlan ...
- Could not find a package,configuration file provided by G2O ,G2OConfig.cmake,g2o-config.cmake
因为项目需要使用到g2o,所以自己从git上面clone下来, git clone https://github.com/RainerKuemmerle/g2o.git 然后: cd g2o mkdi ...
- Can‘t find a suitable configuration file in this directory or any parent. 报错解决错误
docker-compose 执行的时候报错 Can't find a suitable configuration file in this directory or any par ...
最新文章
- 未能为数据库 '*'中得对象'*'分配空间,因文件组'PRIMARY'已满
- ubuntu 13.04 设置Dash中显示Eclipse
- 肝!打造一款高逼格的Vim神器
- 用Unity3D实现简单的牧师与魔鬼游戏(动作分离版)
- MySQL 锁与MVCC :数据库的锁、MVCC、当前读、快照读、锁算法、死锁
- HEVC概念缩写对照表
- LeetCode 2000. 反转单词前缀
- 关于ViewDidUnload
- [Android Studio] Android Studio如何快速生成get,set,tostring,构造函数
- 分子量 (Molar Mass,ACM/ICPC Seoul 2007,UVa 1586)
- python deap_python 的 DEAP框架学习
- 详解二叉树的非递归遍历
- lc用U盘更新固件_索尼X9000H/X9100H系列机型更新HDMI2.1固件
- 126 删除邮件 服务器,网易126邮箱中的邮件莫名奇妙被删除
- 用Python删除含有特定字符串的行
- TDengine创始人陶建辉:基础软件不开源必死无疑
- Apache Calcite 简介
- 2019年:两成开发者月薪超1.7万,算法工程师最紧缺
- Vue中常用的提示信息:
- springboot美食分享系统 毕业设计-附源码612231
热门文章
- vue3 effect
- python基础教程python详细教程
- C语言实现关机的小代码,不怎么完善,新人勿喷!
- 1-2 实验2 点对点通信
- tf.maximum
- Cross Domain Person Re-Identification With Large Scale Attribute Annotated Datasets参考文献解读
- 奇迹mu技术分享:奇迹服务端中的【DATA】文件详细说明
- 润乾报表V4在weblogic下部署找不到授权文件的解决方法
- 守望轮回谷等待服务器响应,《守望轮回谷》即将接班自走棋?Dota2新地图再次掀起热潮...
- 深度解析PHP数组函数array_combine