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 08-25-2014, 06:06 AM   #1
villumanati
Member
 
Registered: Jun 2008
Posts: 48

Rep: Reputation: 15
Samba wont start


I have CentOS 7 with newly installed samba on it and have no idea why samaba wont start.

I ran the commands:
systemctl enable smb.service
systemctl start smb.service
After ruuning the


'Job for smb.service failed. See 'systemctl status smb.service' and 'journalctl -xn' for details."

After running systemctl status smb.service I see the error message.
Please help me

Code:
[root@localhost samba]# systemctl status smb.service
smb.service - Samba SMB Daemon
   Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
   Active: failed (Result: exit-code) since Mon 2014-08-25 06:57:46 EDT; 3min 59s ago
  Process: 10305 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 10305 (code=exited, status=1/FAILURE)

Aug 25 06:57:46 localhost.localdomain systemd[1]: smb.service: main process e...
Aug 25 06:57:46 localhost.localdomain systemd[1]: Failed to start Samba SMB D...
Aug 25 06:57:46 localhost.localdomain systemd[1]: Unit smb.service entered fa...
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost samba]# systemctl -l status smb.service
smb.service - Samba SMB Daemon
   Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
   Active: failed (Result: exit-code) since Mon 2014-08-25 06:57:46 EDT; 4min 12s ago
  Process: 10305 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
 Main PID: 10305 (code=exited, status=1/FAILURE)

Aug 25 06:57:46 localhost.localdomain systemd[1]: smb.service: main process exited, code=exited, status=1/FAILURE
Aug 25 06:57:46 localhost.localdomain systemd[1]: Failed to start Samba SMB Daemon.
Aug 25 06:57:46 localhost.localdomain systemd[1]:

So then i also ran

Code:
[root@localhost samba]# journalctl -xn
-- Logs begin at Sun 2014-08-24 10:36:40 EDT, end at Mon 2014-08-25 07:04:40 EDT
Aug 25 07:01:01 localhost.localdomain systemd[1]: Started Session 230 of user ro
-- Subject: Unit session-230.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-230.scope has finished starting up.
-- 
-- The start-up result is done.
Aug 25 07:01:01 localhost.localdomain CROND[11074]: (root) CMD (run-parts /etc/c
Aug 25 07:01:01 localhost.localdomain run-parts(/etc/cron.hourly)[11096]: starti
Aug 25 07:01:01 localhost.localdomain run-parts(/etc/cron.hourly)[11112]: finish
Aug 25 07:01:01 localhost.localdomain run-parts(/etc/cron.hourly)[11115]: starti
Aug 25 07:01:01 localhost.localdomain run-parts(/etc/cron.hourly)[11123]: finish
Aug 25 07:04:39 localhost.localdomain dbus-daemon[954]: dbus[954]: [system] Acti
Aug 25 07:04:39 localhost.localdomain dbus[954]: [system] Activating service nam
Aug 25 07:04:40 localhost.localdomain dbus-daemon[954]: dbus[954]: [system] Succ
Aug 25 07:04:40 localhost.localdomain dbus[954]: [system] Successfully activated
 
Old 08-25-2014, 10:53 PM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
What does /etc/samba/smb.conf look like?
 
Old 08-26-2014, 07:11 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: 19,307
Blog Entries: 28

Rep: Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135Reputation: 6135
Also, are any shared directories in smb.conf configured as "shared" with the appropriate permissions in the directory configurations?
 
  


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
x wont start! Username[SWE] Debian 5 08-02-2004 04:17 PM
Samba wont start garr0323 Linux - Newbie 39 10-14-2003 03:31 PM
Samba wont start Chijtska Linux - Networking 5 02-10-2002 07:00 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 10:03 PM.

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