FreeBSD - Не запускается SAMBA

Ответить
Аватара пользователя
Гость

FreeBSD - Не запускается SAMBA

Сообщение Гость »

Ставил 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Изображениеpen_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ы не хватает.

Что делать? Куда копать?
Ответить

Вернуться в «Общий по FreeBSD»