LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2006, 08:14 AM   #1
comatozed2
LQ Newbie
 
Registered: Dec 2005
Location: Dubai
Distribution: Red hat 9, FC4, Ubuntu, Suse 10
Posts: 20

Rep: Reputation: 0
smb not working


Hi guys

i'm trying to learn how to set up samba. i've managed to set up folders, users etc. but the smb service wont start. i'm using FC5 by the way. when i try to start smb i get a [fail] message. i've tried from the command line and from the service gui. the command line gives me the fail, the gui locks up. the firewall is off. any ideas or more info would be appreciated.

comatozzzzzzzzzzzzzzzzzzed
 
Old 10-04-2006, 08:28 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Try posting your log (tail /var/log/messages). Samba works fine under fc5 when configured properly.
 
Old 10-04-2006, 08:39 AM   #3
Streetz
LQ Newbie
 
Registered: Sep 2006
Location: Chicago
Distribution: CentOS 4.X
Posts: 2

Rep: Reputation: 0
Also did you run a test on your config? That often points out errors. For a while I was getting failed, and then I tested the configuration and came up that "use client driver =" was uncommented but I hadn't setup the printer with samba yet. Anyways, I recommend that first:
testparm -v smb.conf
 
Old 10-04-2006, 11:22 AM   #4
comatozed2
LQ Newbie
 
Registered: Dec 2005
Location: Dubai
Distribution: Red hat 9, FC4, Ubuntu, Suse 10
Posts: 20

Original Poster
Rep: Reputation: 0
the testparm seems to be okay. smb fails on boot, and refuses to start thereafter
heres the guts of the log specific to smbd, it looks a little scary to me. i hope you can help

ct 4 14:18:21 lawrence kernel: audit(1159957101.713:5): avc: denied { use } for pid=3840 comm="smbd" name="null" dev=tmpfs ino=1130 scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c255 tclass=fd
Oct 4 14:18:21 lawrence kernel: audit(1159957101.713:6): avc: denied { write } for pid=3840 comm="smbd" name="[11309]" dev=pipefs ino=11309 scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:unconfined_t:s0 tclass=fifo_file
Oct 4 14:18:21 lawrence kernel: audit(1159957101.713:7): avc: denied { write } for pid=3840 comm="smbd" name="[11309]" dev=pipefs ino=11309 scontext=system_u:system_r:smbd_t:s0 tcontext=system_u:system_r:unconfined_t:s0 tclass=fifo_file
Oct 4 14:18:21 lawrence kernel: audit(1159957101.849:8): avc: denied { create } for pid=3840 comm="smbd" name="cores" scontext=system_u:system_r:smbd_t:s0


theres plenty more where this came from, but this site won't allow me to post as it reckons i have sent more than 12 images???

i hope the snippet helps
 
Old 10-04-2006, 04:14 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Looks like SELinux. I know that in FC5 you can switch it off for certain daemons. In gnome, have a lookm under security settings (the place where you turn the firewall on/off) and look at the SELinux tab.

I'm pretty sure that will be at least part of the issue
 
Old 10-06-2006, 11:59 PM   #6
comatozed2
LQ Newbie
 
Registered: Dec 2005
Location: Dubai
Distribution: Red hat 9, FC4, Ubuntu, Suse 10
Posts: 20

Original Poster
Rep: Reputation: 0
Hi Guys

i turned SELinux off and still have the prob. when the firewall loads on boot, it loads an extra module called ip_conntrack_netbios. has this anything to do with it. Also should i try to uninstall samba and reinstall??

i have selinux disabled in the following file - /etc/sysconfig/selinux

i'm open to all ideas, although a fresh install of the OS might be easier.
thanks
 
Old 10-03-2007, 01:54 AM   #7
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

Please check this out...http://fedoranews.org/cms/node/2579 and also here...http://fedoraproject.org/wiki/FSA/FC5 Hope this helps.
 
  


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
thunar connection to smb not working crashsystems Linux - Desktop 0 08-31-2006 03:20 PM
SMB mounts not working after Fedore 4 install sketchydave Linux - Networking 5 07-13-2005 02:40 PM
SMB client not working under RH9 nodger Linux - Newbie 1 10-18-2003 06:18 PM
Samba working, but SMB browsing not? JohnGalt00 Red Hat 3 10-17-2003 10:08 AM
Nautilus smb: not working... hjles Slackware 2 02-12-2003 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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