LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2016, 02:41 AM   #1
kingcatdaan
LQ Newbie
 
Registered: Sep 2016
Posts: 1

Rep: Reputation: Disabled
Exclamation Samba Failed To start


i have trouble with samba i tried to config it and then sudo service smbd start
and then i get this its Debian GNU/Linux 8.5 (jessie)

here is the error log when i try to start it i think i messed up the config it may be cut off because i copied it from an ssh terminal Putty

Sep 17 02:29:19 anna samba[7068]: [2016/09/17 02:29:19.248716, 0] ../lib/util/b
Sep 17 02:29:19 anna samba[7068]: STATUS=daemon failed to start: Samba detecte
Sep 17 02:30:09 anna sudo[7072]: root : TTY=pts/0 ; PWD=/etc/proftpd ; USER=
Sep 17 02:30:09 anna sudo[7072]: pam_unix(sudo:session): session opened for user
Sep 17 02:30:10 anna systemd[1]: Starting LSB: start Samba SMB/CIFS daemon (smbd
-- Subject: Unit smbd.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit smbd.service has begun starting up.
Sep 17 02:30:13 anna smbd[7096]: Starting SMB/CIFS daemon: smbd failed!
Sep 17 02:30:13 anna systemd[1]: smbd.service: Control process exited, code=exit
Sep 17 02:30:13 anna systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemo
-- Subject: Unit smbd.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit smbd.service has failed.
--
-- The result is failed.
Sep 17 02:30:13 anna systemd[1]: smbd.service: Unit entered failed state.
Sep 17 02:30:13 anna systemd[1]: smbd.service: Failed with result 'exit-code'.
Sep 17 02:30:13 anna sudo[7072]: pam_unix(sudo:session): session closed for user

Last edited by kingcatdaan; 09-17-2016 at 02:42 AM.
 
Old 09-17-2016, 07:47 PM   #2
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
In Fedora anyway, the samba service name is smb, not smbd.
 
Old 09-17-2016, 08:40 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,714
Blog Entries: 28

Rep: Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523
(smbd is the Samba server daemon.)

I'm not sure this has a bearing, but, in Debian, sudo is not enabled by default. Unless you have edited your sudoers file to enable sudo, Debian expects you to use su and enter the root password so as to perform administrative tasks. Attempting to perform root functions with sudo with otherwise fail.

The sudo fetish is unique to Ubuntu and its derivatives.
 
1 members found this post helpful.
Old 09-17-2016, 10:52 PM   #4
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Quote:
(smbd is the Samba server daemon.)
Yes, but the unit name is smb in redhat land and you use just 'smb' (or smb.service) to the service and/or systemctl commands to control the samba daemon, like
Quote:
service smb start
systemctl start smb.service

Last edited by Doug G; 09-17-2016 at 10:53 PM.
 
Old 09-18-2016, 09:33 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,714
Blog Entries: 28

Rep: Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523Reputation: 5523
It might have been useful had you mentioned you were referring to SystemD in your post.

Tell me, when the Samba server daemon is running and you execute the command

Code:
ps -A | grep smb
what is returned?
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Samba failed to start after upgrade under Raspbian jessie toolbox1234 Debian 4 05-20-2016 02:15 PM
mysql failed to start. reinstall failed either!!! gavin2u Linux - Server 10 11-13-2008 10:07 PM
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
access Samba server: control violation /etc/rc.d/init.d/smb start failed Paul.Hermans Mandriva 1 07-25-2005 04:46 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration