Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba fails to load with no error output
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 605
Location: Escaping from NY

PostPosted: Thu Jun 07, 2007 8:10 pm    Post subject: Samba fails to load with no error output Reply with quote

The Samba service fails to load saying "Refer to the system log" but the system log actually has the same message with no errors. I tried recompiling Samba and even defaulting to the example configure file. How the world can I see what's wrong with Samba? I was going to recompile my entire system tonight to see if that fixed it. If it were a linking issue, revdep-rebuild would catch it right?

Samba conf:
Quote:
# Samba config file created using SWAT
# from 10.1.1.134 (10.1.1.134)
# Date: 2007/05/18 12:51:59

[global]
server string = Multiuse linux tech machine
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
#printcap name = cups
dns proxy = No


[external]
comment = Large external HDD
path = /mnt/storage
read only = No

[Homes]
comment = Home directory
read only = No
browseable = No
Keep in mind the service doesn't even run.
_________________
Michael
Back to top
View user's profile Send private message
xerxes2695
n00b
n00b


Joined: 16 Jan 2004
Posts: 20
Location: Atlanta

PostPosted: Thu Jun 07, 2007 9:58 pm    Post subject: Reply with quote

Here's my config for comparison:

Code:
[global]
interfaces = eth0 lo
bind interfaces only = yes
workgroup = home
netbios name = Share
hosts allow = 192.168.0.
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/password
unix extensions = no

[share]
comment = Top Level file share
path = /srv/share
valid users = @samba
public = no
browseable = yes
writable = yes
create mask = 0660
directory mask = 0770


It looks like we're using a few different directives, hope this helps. As far as linking, recompiling the samba package should take care of it, but I'd make sure to remove the source tarball and any stuff leftover from the previous compile so that the system is forced to build it from scratch.
Back to top
View user's profile Send private message
maiku
l33t
l33t


Joined: 24 Mar 2004
Posts: 605
Location: Escaping from NY

PostPosted: Fri Jun 08, 2007 3:51 pm    Post subject: Reply with quote

Removed all of the tarballs. Turned off ccache. Rremoved the samba config. Samba silently doesn't start up. It now just freezes.
_________________
Michael
Back to top
View user's profile Send private message
xerxes2695
n00b
n00b


Joined: 16 Jan 2004
Posts: 20
Location: Atlanta

PostPosted: Fri Jun 08, 2007 4:56 pm    Post subject: Reply with quote

So when you start the init script, it says 'starting smb' and then just sits there? I know sometimes it takes a couple of minutes, you should at least see some kind of error in the logs.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum