Click to See Complete Forum and Search --> : Rh9 + Samba = Help Me!


GudDerG
06-07-2003, 01:21 AM
Hi Guys, I'm running into a problem that really needs some advice/help.

I installed RH9 recently with samba. I'm going to use this system as a file, ftp, and http server. I had my samba server configured and setup. It worked for a few days without error. But today, I transferred a few GB of data over to one of the folders on my linux server and boom, all hell broke lose. I get lockups when I use my ssh when I'm accessing the box. The lockups usually occurs when I'm opening a file with emacs or vi or even using cat. And samba no longer work as expected. Some folder I can still access while other folders I get an error message "the specified network name is no longer available". I know the samba server is still up because I can still access some shared folders that are empty.

The linux box have the following specs:

Duron 1Ghz
512 Mb Ram
120 Gb HD
Via km133 chipset
On board VIA Ethernet Chipset

The following is my config file for my samba server:

The server have two names, one for access that requires a password, and another that does not.

[global]
netbios name = whiteiris
netbios aliases = home
workgroup = whiteiris
server string = samba server

hosts allow = 192.168. 127.
log file = /var/log/samba/%m.log
max log size = 100000

#whiteiris does not require a password logon security=share
#home require a password for access security=user

include = /etc/samba/smb.conf.%L
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n
* Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*success fully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = yes
wins support = yes
username map = /etc/samba/smbusers
dns proxy = yes


[homes]
comment = Home Directories
browseable = no
writeable = yes
valid users = %S
create mode = 0664
directory mode = 0775
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user
[mp3's]
comment = music folder
path = /documents/music
write list = @doc-admin
guest ok = yes
create mode = 0755
directory mode = 0755

[anime]
comment = japanese animation folder
path = /documents/anime
write list = @doc-admin
guest ok = yes
create mode = 0755
directory mode = 0755

[projects]
comment = projects
path = /documents/projects
write list = @developers
guest ok = yes
create mode = 0755
directory mode = 0755

[ftp files]
comment = ftp
path = /home/ftp
write list = @ftp-admin
guest ok = yes
create mode = 0755
directory mode = 0755

[movies]
comment = movies
path = /documents/movies
write list = @doc-admin
guest ok = yes
create mode = 0755
directory mode = 0755

All folders have the proper user access resitrictions. 775 for all folders.

I can access anime folder because it is empty, the others, I can't access them at all because I would get "the specified network name is no longer available" error.

Thanks!