View previous topic :: View next topic |
Author |
Message |
maiku l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/635841585543f558617a50.png)
Joined: 24 Mar 2004 Posts: 605 Location: Escaping from NY
|
Posted: Thu Jun 07, 2007 8:10 pm Post subject: Samba fails to load with no error output |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
xerxes2695 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Jan 2004 Posts: 20 Location: Atlanta
|
Posted: Thu Jun 07, 2007 9:58 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
maiku l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/635841585543f558617a50.png)
Joined: 24 Mar 2004 Posts: 605 Location: Escaping from NY
|
Posted: Fri Jun 08, 2007 3:51 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
xerxes2695 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 16 Jan 2004 Posts: 20 Location: Atlanta
|
Posted: Fri Jun 08, 2007 4:56 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|