samba nie uruchamia mi si
samba nie uruchamia mi się po restarcie
Witam,
Podczas uruchamiania debian samba 3.0.24 startuje nie można skorzystać z żadnego udziału.
Muszę zrestartować /etc/init.d/samba restart żeby zaczęła poprawnie działać.
Proszę o jakąś radę w tej sprawie..
Pozdrawiam
Sebastian
Podczas uruchamiania debian samba 3.0.24 startuje nie można skorzystać z żadnego udziału.
Muszę zrestartować /etc/init.d/samba restart żeby zaczęła poprawnie działać.
Proszę o jakąś radę w tej sprawie..
Pozdrawiam
Sebastian
Tak. Samba się uruchamia ale nie mogę wejść na udział. Dopiero po ręcznym restarcie smb zaczyna działać.Rafal21 pisze:A masz ustawione żeby samba uruchomiala się wraz ze startem systemu ? Nie rozumiem dokładnie o co chodzi w tym poście .
pozdrawiam
[ Dodano: 2007-07-24, 15:33 ]
logi z log.smbdShinnRa pisze:zobacz co masz w logach: /var/log/samba/log.nmbd i /var/log/samba/log.smbd
Kod: Zaznacz cały
smbd version 3.0.24 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/07/24 14:22:44, 0] printing/pcap.c :p cap_cache_reload(159)
Unable to open printcap file /etc/printcap for read!
[2007/07/24 14:22:44, 0] printing/pcap.c :p cap_cache_reload(159)
Unable to open printcap file /etc/printcap for read!
Kod: Zaznacz cały
Cannot find my workgroup GTC on subnet UNICAST_SUBNET.
[2007/07/24 12:37:56, 0] nmbd/nmbd_browsesync.c:collect_all_workgroup_names_from_wins_server(586)
collect_all_workgroup_names_from_wins_server:
Cannot find my workgroup GTC on subnet UNICAST_SUBNET.
[2007/07/24 12:38:06, 0] nmbd/nmbd_browsesync.c:collect_all_workgroup_names_from_wins_server(586)
collect_all_workgroup_names_from_wins_server:
Cannot find my workgroup GTC on subnet UNICAST_SUBNET.
[2007/07/24 12:38:16, 0] nmbd/nmbd_browsesync.c:collect_all_workgroup_names_from_wins_server(586)
collect_all_workgroup_names_from_wins_server:
Cannot find my workgroup GTC on subnet UNICAST_SUBNET.
[2007/07/24 12:38:26, 0] nmbd/nmbd_browsesync.c:collect_all_workgroup_names_from_wins_server(586)
[2007/07/24 12:40:59, 0] nmbd/nmbd.c:main(699)
Netbios nameserver version 3.0.24 started.
[2007/07/24 12:52:03, 0] nmbd/nmbd.c:terminate(58)
Got SIGTERM: going down...
[2007/07/24 12:52:06, 0] nmbd/nmbd.c:main(699)
Netbios nameserver version 3.0.24 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/07/24 12:54:22, 0] nmbd/nmbd.c:terminate(58)
Got SIGTERM: going down...
[2007/07/24 12:55:37, 0] nmbd/nmbd.c:main(699)
Netbios nameserver version 3.0.24 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/07/24 12:55:37, 0] lib/interface.c:load_interfaces(225)
WARNING: no network interfaces found
[2007/07/24 12:55:37, 0] nmbd/nmbd_subnetdb.c:create_subnets(190)
create_subnets: No local interfaces !
[2007/07/24 12:55:37, 0] nmbd/nmbd_subnetdb.c:create_subnets(191)
create_subnets: Waiting for an interface to appear ...
[2007/07/24 13:35:20, 0] nmbd/nmbd.c:terminate(58)
Got SIGTERM: going down...
[2007/07/24 13:35:23, 0] nmbd/nmbd.c:main(699)
Netbios nameserver version 3.0.24 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2007/07/24 14:22:41, 0] nmbd/nmbd.c:terminate(58)
Got SIGTERM: going down...
[2007/07/24 14:22:44, 0] nmbd/nmbd.c:main(699)
Netbios nameserver version 3.0.24 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
Pozdrawiam
//edit
używaj tagów code
mlyczek
Ja mam też podobne problemy
logi
log.smbd
Nie mam takiego pliku /etc/printcap
log.nmbd
Kod: Zaznacz cały
/etc/init.d/samba restart
nmbd smbdstart-stop-daemon: warning: failed to kill 6122: No such process
log.smbd
Kod: Zaznacz cały
[2007/07/24 20:24:58, 0] printing/pcap.c :p cap_cache_reload(159)
Unable to open printcap file /etc/printcap for read!
log.nmbd
Kod: Zaznacz cały
nmbd/nmbd_browsesync.c:sync_with_dmb(152)
sync_with_dmb:
Initiating sync with domain master browser SBS<20> at IP 172.23.198.1 for workgroup SBS
Tak sprawdzałem wszystko jest ok. I co ciekawsze uruchamiają się dwa procesy nmbd , ale bez procesu nmbd
Jak uruchomię z ręki /usr/sbin/smbd -D to proces nie uruchamia się. Gdzie zgłasza się błędy Debiana ?
testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[netlogon]"
Processing section "[homes]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
Jak uruchomię z ręki /usr/sbin/smbd -D to proces nie uruchamia się. Gdzie zgłasza się błędy Debiana ?
Kod: Zaznacz cały
ps ax |grep nmbd
3422 ? Ss 0:00 /usr/sbin/nmbd -D
3423 ? S 0:00 /usr/sbin/nmbd -D
3520 pts/0 R+ 0:00 grep nmbd
Load smb config files from /etc/samba/smb.conf
Processing section "[netlogon]"
Processing section "[homes]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
Kod: Zaznacz cały
[global]
dos charset = CP852
unix charset = ISO8859-2
workgroup = SBS
netbios name = SBS
server string = SBS
interfaces = 172.23.198.1, 127.0.0.1
bind interfaces only = Yes
map to guest = Bad User
guest account = archiwum
log level = 2
log file = /var/log/samba/log.%I
max log size = 50
time server = Yes
add machine script = /usr/sbin/useradd -d /dev/null -g machines -c 'Konto Maszyny %I' -s /bin/false %u
logon script = logon.bat
logon path = \\%L\%U\profiles
logon drive = H:
domain logons = Yes
os level = 200
preferred master = Yes
domain master = Yes
wins support = Yes
hosts allow = 172.23.198.
nt acl support = No
[netlogon]
comment = Usługa logowania domenowego
path = /etc/samba/logon
browseable = No
[homes]
comment = Katalog Domowy
read only = No
browseable = No