Войти

Показать полную графическую версию : Не запускается SAMBA


PrianikOV
10-11-2007, 22:03
Ставил SAMBу на несколько компов.
Везде без проблем.
Но тут недавно получил косяк.
1.При перезагрузке компа SAMBA стартует и в памяти порцессы есть.
НО ДОСТУПА по сети к компу нет.В логах ошибка.
# cat log.smbd
[2007/10/30 18:55:33, 0] smbd/server.c:main(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/10/30 18:55:33, 1] smbd/files.c:file_init(193)
file_init: Information only: requested 10000 open files, 7388 are available.
[2007/10/30 18:55:34, 0] smbd/server.c:main(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/10/30 18:55:34, 1] smbd/files.c:file_init(193)
file_init: Information only: requested 10000 open files, 7388 are available.
[2007/10/30 18:55:34, 0] /usr/ports/net/samba3/work/samba-3.0.26a/source/lib/pidfile.c:pidfile_create(112)
ERROR: smbd is already running. File /var/run/smbd.pid exists and process id 780 is running.
[2007/10/30 19:02:13, 0] lib/util_tdb.c:tdb_log(662)
tdb(/var/db/samba/gencache.tdb): tdb_reopen: open failed (No such file or directory)
[2007/10/30 19:02:13, 0] smbd/server.c:open_sockets_smbd(572)
tdb_reopen_all failed.

#./smbstatus
sessionid.tdb not initialised /var/db/samba/connections.tdb
not initialised This is normal if an SMB client has never connected to your server.
Failed to open byte range locking database /var/db/samba/brlock.tdb
ERROR: Failed to initialise locking database Can't initialise locking module - exiting

но если сделать
./samba restart
то все замечательно работает хватает всего (перезапускаю из su-док)


# ./samba restart
Performing sanity check on Samba configuration: OK
Stopping smbd.
Waiting for PIDS: 780.
Stopping nmbd.
Waiting for PIDS: 776.
Removing stale Samba tdb files: . done
Starting nmbd.
Starting smbd.
# cat log.smbd
[2007/10/30 19:09:00, 0] smbd/server.c:main(944)
smbd version 3.0.26a started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/10/30 19:09:00, 1] smbd/files.c:file_init(193)
file_init: Information only: requested 10000 open files, 7388 are available

# ./smbstatus
Samba version 3.0.26a
PID Username Group Machine
-------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files


Если копм полностью перезагрузить, то опять ни чего не работает.
пробовал с разными версиями самбы от 3.0.24 до 3.0.26.
Везде одно и тоже. Как будто прав на полный запуск SAMBы не хватает.
Что делать? Куда копать?




© OSzone.net 2001-2012