博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ubuntu 14.04 samba 安装处理
阅读量:5357 次
发布时间:2019-06-15

本文共 1662 字,大约阅读时间需要 5 分钟。

ubuntu14.04 samba 安装配置无误报错如下

[2016/08/30 19:21:25.597839, 0] ../source3/nmbd/nmbd.c:58(terminate)

Got SIGTERM: going down...
[2016/08/30 19:23:29.813179, 0] ../source4/smbd/server.c:372(binary_smbd_main)
samba version 4.3.9-Ubuntu started.
Copyright Andrew Tridgell and the Samba Team 1992-2015
[2016/08/30 19:23:30.169291, 0] ../lib/util/become_daemon.c:124(daemon_ready)
STATUS=daemon 'smbd' finished starting up and ready to serve connections
[2016/08/30 19:23:30.438097, 0] ../source4/smbd/server.c:477(binary_smbd_main)
At this time the 'samba' binary should only be used for either:
'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
[2016/08/30 19:23:30.438240, 0] ../lib/util/become_daemon.c:111(exit_daemon)
STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22
[2016/08/30 19:23:48.118889, 0] ../lib/util/become_daemon.c:124(daemon_ready)
STATUS=daemon 'nmbd' finished starting up and ready to serve connections
[2016/08/30 19:24:12.289130, 0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)

网上没有有用信息,重启samba 没有反应。怀疑系统文件原因,

解决方法:sudo apt-get upgrade

sudo /etc/init.d/samba restart

结局是美好的,samba 启动成功

备注:smb 文件配置如下

[public2]

path = /home/public2/work
valid users = public2
writable = yes
; browseable = yes
[public3]
path = /home/public3/work
valid users = public3
writable = yes
; browseable = yes

 

转载于:https://www.cnblogs.com/XUAN-ZI/p/5826052.html

你可能感兴趣的文章
a标签添加点击事件
查看>>
Context.startActivity出现AndroidRuntimeException
查看>>
Intellij idea创建javaWeb以及Servlet简单实现
查看>>
代理网站
查看>>
Open multiple excel files in WebBrowser, only the last one gets activated
查看>>
FFmpeg进行视频帧提取&音频重采样-Process.waitFor()引发的阻塞超时
查看>>
最近邻与K近邻算法思想
查看>>
【VS开发】ATL辅助COM组件开发
查看>>
FlatBuffers In Android
查看>>
《演说之禅》I & II 读书笔记
查看>>
thinkphp3.2接入支付宝支付接口(PC端)
查看>>
response和request
查看>>
【转】在Eclipse中安装和使用TFS插件
查看>>
回到顶部浮窗设计
查看>>
C#中Monitor和Lock以及区别
查看>>
【NOIP2017】奶酪
查看>>
$ 一步一步学Matlab(3)——Matlab中的数据类型
查看>>
5.6.3.7 localeCompare() 方法
查看>>
Linux下好用的简单实用命令
查看>>
描绘应用程序级的信息
查看>>