LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-17-2005, 04:08 PM   #1
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
Samba won't start!


Samba's randomly stopped working. I don't know a lot of information to give, all of the logs look okay, and I'm using the latest kernel provided by yum updates. I don't recall upgrading it before it stopped working, since the yum log says the last upgrade to it was done on December 21st.
Code:
Dec 21 00:12:18 Updated: samba-common.i386 3.0.10-1.fc3
Dec 21 00:12:29 Updated: samba.i386 3.0.10-1.fc3
Dec 21 00:12:32 Updated: samba-client.i386 3.0.10-1.fc3
I uninstalled and reinstalled samba with no luck either.

Here's a cut from my samba.log
Code:
[2005/01/17 16:30:49, 0] smbd/server.c:main(760)
  smbd version 3.0.10-1.fc3 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2005/01/17 16:31:06, 0] smbd/server.c:main(760)
  smbd version 3.0.10-1.fc3 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2005/01/17 16:41:26, 0] smbd/server.c:main(760)
  smbd version 3.0.10-1.fc3 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
[2005/01/17 17:03:55, 0] smbd/server.c:main(760)
  smbd version 3.0.10-1.fc3 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2004
nmbd.lod and winbindd.log are both empty. dmesg shows nothing even relating to samba (wasn't expecting it) and boot.log only shows
Code:
Jan 16 14:27:51 fragility smb: smbd shutdown failed
Jan 16 14:27:51 fragility smb: nmbd shutdown failed
and messages only shows the same thing, saying
Code:
Jan 16 14:27:51 fragility smb: smbd shutdown failed
Jan 16 14:27:51 fragility smb: nmbd shutdown failed
When I run service smb start it just hangs, and if I cd to /etc/rc.d/init.d and ./smb start it does the same thing, just hangs.

service smb reload says it is unsuccessful when I try to reload the configuration, so I'm now just stuck. I've tried all of the kernels listed in Grub when I boot thinking maybe it was a kernel config problem (they're all stock kernels, though).

any ideas? I've been trying to tinker with it for a while now and have had 0 bit of success.
 
Old 01-18-2005, 02:40 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hey have u worked on ur /etc/samba/smb.conf file ????

see what u get after running

testparm

regards
 
Old 01-18-2005, 05:53 AM   #3
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
I did mess with it a small bit, but I restored my original after Samba wouldn't start, thinking that it was the cause. I've ran testparm on it before and it's still giving the same output, saying it's loading service files OK. here's the paste of it all..
Code:
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[Shared]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
and here's after hitting enter...
Code:
# Global parameters
[global]
        server string = FRAGILITY
        interfaces = eth0, wlan0
        encrypt passwords = No
        username map = /etc/samba/smbusers
        log file = /var/log/samba/%m.log
        max log size = 50
        server signing = auto
        socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        printcap name = /etc/printcap
        os level = 33
        preferred master = Yes
        domain master = Yes
        dns proxy = No
        wins support = Yes
        ldap ssl = no
        idmap uid = 16777216-33554431
        idmap gid = 16777216-33554431
        create mask = 0644
        hosts allow = 192.168.0., 127.
        cups options = raw

[homes]
        comment = Home Directories
        read only = No
        browseable = No
# was never sure why this one was here.. created by FC3 automatically. Never took it out.

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

[Shared]
        comment = fragile's home
        path = /home/fragile/
        read only = No
        create mask = 0666
        directory mask = 0777
        guest ok = Yes
 
Old 01-18-2005, 06:03 AM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
when u fail to run samba
then run

tal /var/log/messages

to get the last log
which will help

also i do not hvae the interfaces string with my smb.conf
try commenting that too

regards
 
Old 01-18-2005, 09:48 AM   #5
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
well holy crap, that was it.
I commented out the interfaces string and it worked fine. that's odd, because I've had it in there from the start.
I guess I'll have to keep that in mind if I see someone else in here with the same problem from now on..

Thanks for the help!
 
Old 01-18-2005, 09:58 AM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
good that it worked!!!!!!!!!!
 
  


Reply



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
how do i start samba Alexander.s Linux - Newbie 3 01-13-2005 06:08 PM
Installed the wrong SAMBA packages.Now samba doesn't start Terrence Hinds Linux - Networking 3 10-11-2004 03:40 AM
[SAMBA] No start-up bjwesselink Linux - Newbie 3 09-24-2003 05:30 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 - Distributions > Fedora

All times are GMT -5. The time now is 05:58 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