Hi,
I need some help with samba. I really don't know why it don't want to work. I tried so many things, goggled so much... no chance.
Maybe you can help me to work out a checklist for troubleshooting samba.
The steps that I have tried:
1) Install samba
yum install samba samba-client samba-swat system-config-samba
2)Acitivate some services
chkconfig smb on
chkconfig swat on
service smb start
service xinetd start
systemctl start smb.service
systemctl start nmb.service
Some may be arbitrary. I don't know why there a so many arbitrary options. I prefere the "service smb on" syntax scince I can remember it, it is easy and intuitive. Systemctl doesn't tell me anything. However, nothing really lead to success.
3) Allow samba services in the firewall.
Just checked samba and samba-client.
4) Configure SELinux
setsebool -P samba_export_all_rw 1
NOW: smb starts after bootup, nmb don't. There is no error message
cat /var/log/samba/log.nmbd gives:
[PASTE_doesn' work]
*****
[2013/04/08 12:36:39, 0] nmbd/nmbd.c:66(terminate)
Got SIGTERM: going down...
[2013/04/08 12:36:39, 0] nmbd/nmbd.c:861(main)
nmbd version 3.6.12-1.fc17 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2013/04/08 12:36:39, 0] nmbd/nmbd.c:889(main)
standard input is not a socket, assuming -D option
[2013/04/08 12:37:02, 0] nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
*****
Samba name server ** is now a local master browser for workgroup SAMBA on subnet 192.168****
[/PASTE....]
starting nmb by
service nmb start
don't give me access to my network shares.
I always have to upen the samba-server-configuration-gui apply some changes.
Then surprise the network share is available.
What else can I do to activate samba automatically after reboot?????
best S.
---------- Post added at 12:08 PM ---------- Previous post was at 11:14 AM ----------
It seems that, the configuration tool restarts the nmb service.
Doing this manually allows access to the network shares.
Now, why doesn't it do its job in the first place?
And, is it possible to fix it?
I need some help with samba. I really don't know why it don't want to work. I tried so many things, goggled so much... no chance.
Maybe you can help me to work out a checklist for troubleshooting samba.
The steps that I have tried:
1) Install samba
yum install samba samba-client samba-swat system-config-samba
2)Acitivate some services
chkconfig smb on
chkconfig swat on
service smb start
service xinetd start
systemctl start smb.service
systemctl start nmb.service
Some may be arbitrary. I don't know why there a so many arbitrary options. I prefere the "service smb on" syntax scince I can remember it, it is easy and intuitive. Systemctl doesn't tell me anything. However, nothing really lead to success.
3) Allow samba services in the firewall.
Just checked samba and samba-client.
4) Configure SELinux
setsebool -P samba_export_all_rw 1
NOW: smb starts after bootup, nmb don't. There is no error message
cat /var/log/samba/log.nmbd gives:
[PASTE_doesn' work]
*****
[2013/04/08 12:36:39, 0] nmbd/nmbd.c:66(terminate)
Got SIGTERM: going down...
[2013/04/08 12:36:39, 0] nmbd/nmbd.c:861(main)
nmbd version 3.6.12-1.fc17 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2013/04/08 12:36:39, 0] nmbd/nmbd.c:889(main)
standard input is not a socket, assuming -D option
[2013/04/08 12:37:02, 0] nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
*****
Samba name server ** is now a local master browser for workgroup SAMBA on subnet 192.168****
[/PASTE....]
starting nmb by
service nmb start
don't give me access to my network shares.
I always have to upen the samba-server-configuration-gui apply some changes.
Then surprise the network share is available.
What else can I do to activate samba automatically after reboot?????
best S.
---------- Post added at 12:08 PM ---------- Previous post was at 11:14 AM ----------
It seems that, the configuration tool restarts the nmb service.
Doing this manually allows access to the network shares.
Now, why doesn't it do its job in the first place?
And, is it possible to fix it?