You are not logged in.

#1 2013-07-07 20:38:28

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

[SOLVED] SAMBA won't start

Hey guys, I'm having some issues with running SAMBA on my home server.
It had been running fine for months until I recently checked it.

I don't use it too often (mainly for browsing with my Android device) so any number of updates could have caused this.

This is what I get:

[kaipee@kphmsrv ~]$ sudo systemctl start smbd.service
[kaipee@kphmsrv ~]$ sudo systemctl status smbd.service
smbd.service - Samba SMB/CIFS server
   Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
   Active: failed (Result: core-dump) since Sun 2013-07-07 21:35:13 BST; 9s ago
  Process: 26046 ExecStart=/usr/bin/smbd -D (code=exited, status=0/SUCCESS)
 Main PID: 26047 (code=dumped, signal=ABRT)
   CGroup: name=systemd:/system/smbd.service

Jul 07 21:35:13 kphmsrv smbd[26047]: #3 /usr/lib/samba/libsmbd_shim.so(exit_server+0x22) [0xb710c972]
Jul 07 21:35:13 kphmsrv smbd[26047]: #4 /usr/bin/smbd(main+0x1120) [0xb7710020]
Jul 07 21:35:13 kphmsrv smbd[26047]: #5 /usr/lib/libc.so.6(__libc_start_main+0xf3) [0xb6bfc7c3]
Jul 07 21:35:13 kphmsrv smbd[26047]: #6 /usr/bin/smbd(+0x5ce5) [0xb7710ce5]
Jul 07 21:35:13 kphmsrv smbd[26047]: [2013/07/07 21:35:13.430068,  0] ../source3/lib/dumpcore.c:317(dump_core)
Jul 07 21:35:13 kphmsrv smbd[26047]: dumping core in /var/log/samba/cores/smbd
Jul 07 21:35:13 kphmsrv smbd[26047]: 
Jul 07 21:35:13 kphmsrv systemd[1]: smbd.service: main process exited, code=dumped, status=6/ABRT
Jul 07 21:35:13 kphmsrv systemd[1]: Unit smbd.service entered failed state.
Jul 07 21:35:13 kphmsrv systemd-coredump[26048]: Process 26047 (smbd) dumped core.
[kaipee@kphmsrv ~]$ sudo ls -al /var/log/samba/cores/smbd
total 8
drwx------ 2 root root 4096 Jul 12  2012 .
drwx------ 5 root root 4096 Sep 29  2012 ..
[kaipee@kphmsrv ~]$ 

Any ideas?

Last edited by kaipee (2014-01-16 18:15:07)

Offline

#2 2013-07-09 19:48:02

deepsoul
Member
From: Earth
Registered: 2012-12-23
Posts: 67
Website

Re: [SOLVED] SAMBA won't start

Hmm, strange.  I have never seen SIGABRT in the wild before.  This may not be a SAMBA issue.  Is your system up to date and consistent (pacman -Syu)?

Otherwise, try enabling debugging messages in smb.conf (see the manual page) and/or look into the latest files in /var/log/samba.


Officer, I had to drive home - I was way too drunk to teleport!

Offline

#3 2013-07-22 20:38:38

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: [SOLVED] SAMBA won't start

Yeah my system is always up to date (I update almost every day).

What log files should I be looking for/in and what am I looking for?
There are a heck of a lot of logs under /var/log/samba/  (including some relating to names that I know nothing about...)

Last edited by kaipee (2013-07-22 21:14:22)

Offline

#4 2013-07-22 21:13:32

kaipee
Member
From: Belfast, UK
Registered: 2012-07-07
Posts: 214

Re: [SOLVED] SAMBA won't start

Here are testparm results

[kaipee@kphmsrv ~]$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "null passwords" option is deprecated
Processing section "[Files]"
Processing section "[Videos - Movies]"
Processing section "[Videos - TV]"
Processing section "[Videos - Anime]"
Processing section "[Videos - Specials]"
Processing section "[Music]"
Processing section "[Games]"
Processing section "[Software]"
Processing section "[Transfers]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
	interfaces = 192.168.1.2/24
	bind interfaces only = Yes
	null passwords = Yes
	log file = /var/log/samba/%m.log
	max log size = 50
	load printers = No
	printcap name = /dev/null
	disable spoolss = Yes
	show add printer wizard = No
	dns proxy = No
	default service = global
	idmap config * : backend = tdb
	force user = http
	force group = http
	create mask = 0770
	force create mode = 0770
	directory mask = 0770
	force directory mode = 0770
	guest ok = Yes
	hosts allow = 192.168.1., localhost
	printing = bsd
	print command = lpr -r -P'%p' %s
	lpq command = lpq -P'%p'
	lprm command = lprm -P'%p' %j
	browseable = No
	available = No

[Files]
	comment = kphmsrv Files
	path = /mnt/Files
	username = kaipee
	read only = No
	browseable = Yes
	available = Yes

[Videos - Movies]
	comment = kphmsrv Movies
	path = /mnt/Files/Videos/Movies
	read list = nobody
	read only = No
	browseable = Yes
	available = Yes

[Videos - TV]
	comment = kphmsrv TV
	path = /mnt/Files/Videos/TV series
	read list = nobody
	read only = No
	browseable = Yes
	available = Yes

[Videos - Anime]
	comment = kphmsrv Anime
	path = /mnt/Files/Videos/Anime
	read list = nobody
	read only = No
	browseable = Yes
	available = Yes

[Videos - Specials]
	comment = kphmsrv Specials
	path = /mnt/Files/Videos/Specials
	read list = nobody
	read only = No
	browseable = Yes
	available = Yes

[Music]
	comment = kphmsrv Music
	path = /mnt/Files/Music
	read list = nobody
	read only = No
	browseable = Yes
	available = Yes

[Games]
	comment = kphmsrv Games
	path = /mnt/Files/Games
	read list = nobody
	read only = No
	browseable = Yes
	available = Yes

[Software]
	comment = kphmsrv Software
	path = /mnt/Files/Software
	username = kaipee
	read list = nobody
	browseable = Yes
	available = Yes

[Transfers]
	comment = kphmsrv Transfers
	path = /mnt/Files/Transfe
	read list = nobody
	read only = No
	browseable = Yes
	available = Yes

Offline

Board footer

Powered by FluxBB