samba (not) working

Issues related to configuring your network
Post Reply
sasam
Posts: 3
Joined: 2016/01/23 14:18:08

samba (not) working

Post by sasam » 2016/10/12 12:47:17

Hi everyone,

Centos 7.2 with samba 4.2.10 is used for file sharing. Problem is that a couple computer can connect and other cannot with "connection timeout" message.

Here is the status

Code: Select all

[root@server1 samba]# systemctl status smbd
● smbd.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
[root@server1 samba]# systemctl restart smbd
Failed to restart smbd.service: Unit smbd.service failed to load: No such file or directory.
[root@server1 samba]# cat /var/log/samba/log.smbd
[2016/10/12 10:28:13,  0] ../source3/smbd/server.c:1241(main)
  smbd version 4.2.10 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2014
[2016/10/12 10:28:13,  2] ../source3/lib/tallocmsg.c:124(register_msg_pool_usage)
  Registered MSG_REQ_POOL_USAGE
[2016/10/12 10:28:13,  2] ../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
So, I cannot figure out why smbd status is inactive but some users can connect normally? And where to find which file is missing? There is nothing in log. All working fine until a few days ago. I installed all updates, restarted computer but nothing is changed. I'm puzzled whit this problem. Can anyone give me some light on this.

User avatar
TrevorH
Site Admin
Posts: 33228
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: samba (not) working

Post by TrevorH » 2016/10/12 13:07:04

The service is called smb.service not smbd.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

sasam
Posts: 3
Joined: 2016/01/23 14:18:08

Re: samba (not) working

Post by sasam » 2016/10/14 09:21:05

Yes, you are right. smb.service is active. Thanks.

Post Reply