Samba 服务器问题

发布于 2024-08-15 01:39:46 字数 1024 浏览 7 评论 0原文

我已经设置了一个新的 Linux 盒子,我正在修改它。我一直设置的一项是 samba,这样我就可以轻松地将文件复制到服务器或从服务器复制文件。

我提出这个主题的原因是我无法从我的 Windows 计算机浏览到 samba 共享。

非常感谢任何对此的帮助。

我遇到的问题是当我启动服务器时,服务器启动,但在 /var/log/samba/smbd.log 中我收到此错误:

[2009/12/14 23:23:00,  0] smbd/server.c:456(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use

这是我的 smb.conf:

[global]
dns proxy = No
log file = /var/log/samba/%m.log
load printers = No
smb ports = 139
server string = WWW Server
unix password sync = yes
force group = mediauser
workgroup = WORKGROUP
force user = mediauser
domain master = Yes
encrypt passwords = yes
valid users = mediauser,devroot
realm = devstation
preferred master = Yes
directory mode = 777
wins support = Yes
hosts allow = 192.168.1.



    [video]
writeable = yes
path = /mediacenter/video
force directory mode = 0777
force create mode = 0777
create mask = 0777
comment = Video
directory mask = 0777
public = yes
    allow hosts = 192.168.1.

I have setup a new linux box that I am tinkering with. One item that I have always setup is samba so that I can easily copy files to and from the server.

The reason I bring this topic up is I am not able to browse to the samba shares from my windows machine.

Any help with this is greatly appreciated.

The issue that I am having is when I start the server, the server starts, but in the /var/log/samba/smbd.log I get this error:

[2009/12/14 23:23:00,  0] smbd/server.c:456(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use

Here is my smb.conf:

[global]
dns proxy = No
log file = /var/log/samba/%m.log
load printers = No
smb ports = 139
server string = WWW Server
unix password sync = yes
force group = mediauser
workgroup = WORKGROUP
force user = mediauser
domain master = Yes
encrypt passwords = yes
valid users = mediauser,devroot
realm = devstation
preferred master = Yes
directory mode = 777
wins support = Yes
hosts allow = 192.168.1.



    [video]
writeable = yes
path = /mediacenter/video
force directory mode = 0777
force create mode = 0777
create mask = 0777
comment = Video
directory mask = 0777
public = yes
    allow hosts = 192.168.1.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

感受沵的脚步 2024-08-22 01:39:46

我收到相同的错误消息,但它不会影响我,即使出现此错误,Samba 也能正常工作。

上周我发现它时,我感到很不安,所以我在 IRC 上询问,两名 Samba 开发人员告诉我不用担心。

要确定此错误消息是否确实是您的问题,请检查哪个程序正在使用 netbios-ssn 端口,只需运行:

sudo lsof -i :139

干杯,
尼古拉斯

I am getting the same error message and it does not affect me, Samba is working well even with this error.

I found it disturbing when I discovered it last week, so I asked on IRC, and was told by two Samba developers to not worry about it.

To determine whether this error message is actually your problem, check which program is using the netbios-ssn port, just run:

sudo lsof -i :139

Cheers,
Nicolas

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文