Nas4free+samba 4.1.14 + AD

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
domovoi
проходил мимо
Сообщения: 3
Зарегистрирован: 2015-04-06 13:25:18

Nas4free+samba 4.1.14 + AD

Непрочитанное сообщение domovoi » 2015-04-06 13:55:28

Добрый день, уважаемые товарищи подскажите по моей проблемы, стоит у меня сервера на nas4free в реале FreeBSD 9.3-RELEASE-p6 #0 r275946M, он интегрирован в AD, авторизация к дискам также через AD и вроде все работает но как только я перегружу его или произведу какие то настройки в SMB, потом невозможно подключится по сети, летят ошибки в журнале постоянно, проходит ночь и все налаживается, на одном форуме сказали что проблема из за несовпадения времени, как прописать что бы происходила синхронизация времени с AD при загрузке данного сервера? (если конечно дело во времени). Вот лог файл прикладываю.

Код: Выделить всё

Apr  6 09:42:38 fileserv lighttpd[2090]: (log.c.164) server started
Apr  6 09:42:38 fileserv login: login on ttyv0 as root
Apr  6 09:42:39 fileserv mDNSResponderPosix: mDNSPlatformSendUDP got error 50 (Network is down) sending packet to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 10.72.4.9/re0/3
Apr  6 09:42:39 fileserv mDNSResponderPosix: mDNSPlatformSendUDP got error 50 (Network is down) sending packet to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 10.72.4.9/re0/3
Apr  6 09:42:39 fileserv mDNSResponderPosix: mDNSPlatformSendUDP got error 50 (Network is down) sending packet to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 10.72.4.9/re0/3
Apr  6 09:42:39 fileserv mDNSResponderPosix: mDNSPlatformSendUDP got error 50 (Network is down) sending packet to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 10.72.4.9/re0/3
Apr  6 09:42:40 fileserv mDNSResponderPosix: mDNSPlatformSendUDP got error 50 (Network is down) sending packet to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 10.72.4.9/re0/3
Apr  6 09:42:42 fileserv mDNSResponderPosix: mDNSPlatformSendUDP got error 50 (Network is down) sending packet to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 10.72.4.9/re0/3
Apr  6 09:42:46 fileserv mDNSResponderPosix: mDNSPlatformSendUDP got error 50 (Network is down) sending packet to FF02:0000:0000:0000:0000:0000:0000:00FB on interface 10.72.4.9/re0/3
Apr  6 09:43:48 fileserv login: pam_winbind(login): PAM_REINITIALIZE_CRED not implemented
Apr  6 09:43:48 fileserv login: pam_winbind(login): PAM_REINITIALIZE_CRED not implemented
Apr  6 09:48:56 fileserv winbindd[1883]:   STATUS=daemon 'winbindd' finished starting up and ready to serve connectionsKinit failed: Cannot contact any KDC for requested realm
Apr  6 09:56:54 fileserv winbindd[1883]: [2015/04/06 09:56:54.900394,  0] ../source3/libsmb/cliconnect.c:1843(cli_session_setup_spnego_send)
Apr  6 09:56:54 fileserv winbindd[1883]:   Kinit failed: Cannot contact any KDC for requested realm
Apr  6 10:03:50 fileserv kernel: sonewconn: pcb 0xfffffe001aacf2d0: Listen queue overflow: 8 already in queue awaiting acceptance (1 occurrences)
Apr  6 10:04:41 fileserv winbindd[1883]: [2015/04/06 10:04:41.964098,  0] ../source3/libsmb/cliconnect.c:1843(cli_session_setup_spnego_send)
Apr  6 10:04:41 fileserv winbindd[1883]:   Kinit failed: Cannot contact any KDC for requested realm
Apr  6 10:06:45 fileserv winbindd[2348]: [2015/04/06 10:06:45.924565,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:06:45 fileserv winbindd[2348]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:06:45 fileserv winbindd[2348]: [2015/04/06 10:06:45.924637,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:06:45 fileserv winbindd[2348]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:08:35 fileserv winbindd[2348]: [2015/04/06 10:08:35.933514,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:08:35 fileserv winbindd[2348]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:08:35 fileserv winbindd[2348]: [2015/04/06 10:08:35.933571,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:08:35 fileserv winbindd[2348]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:09:50 fileserv upsd[1771]: mainloop: Interrupted system call
Apr  6 10:09:53 fileserv upsmon[1812]: Poll UPS [700@localhost] failed - Server disconnected
Apr  6 10:09:53 fileserv upsmon[1812]: Communications with UPS 700@localhost lost
Apr  6 10:09:53 fileserv upssched-cmd: Communications with the UPS 700@localhost are lost
Apr  6 10:09:58 fileserv upsmon[1812]: UPS [700@localhost]: connect failed: Connection failure: Connection refused
Apr  6 10:10:13 fileserv last message repeated 3 times
Apr  6 10:10:15 fileserv winbindd[2348]: [2015/04/06 10:10:15.940507,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:10:15 fileserv winbindd[2348]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:10:15 fileserv winbindd[2348]: [2015/04/06 10:10:15.940570,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:10:15 fileserv winbindd[2348]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:10:18 fileserv upsmon[1812]: UPS [700@localhost]: connect failed: Connection failure: Connection refused
Apr  6 10:10:23 fileserv upsmon[1812]: UPS [700@localhost]: connect failed: Connection failure: Connection refused
Apr  6 10:10:26 fileserv root: Unknown USB device: vendor 0x051d product 0x0002 bus uhub3
Apr  6 10:10:33 fileserv upsmon[1812]: Error while connecting to localhost, disconnect
Apr  6 10:10:33 fileserv upsmon[1812]: UPS [700@localhost]: connect failed: Server disconnected
Apr  6 10:10:43 fileserv upsmon[1812]: Error while connecting to localhost, disconnect
Apr  6 10:10:43 fileserv upsmon[1812]: UPS [700@localhost]: connect failed: Server disconnected
Apr  6 10:10:53 fileserv upsmon[1812]: Error while connecting to localhost, disconnect
Apr  6 10:10:53 fileserv upsmon[1812]: UPS [700@localhost]: connect failed: Server disconnected
Apr  6 10:11:02 fileserv upsd[2874]: write() failed for 127.0.0.1: Broken pipe
Apr  6 10:11:02 fileserv upsd[2874]: write() failed for 127.0.0.1: Broken pipe
Apr  6 10:11:02 fileserv upsmon[1812]: Communications with UPS 700@localhost established
Apr  6 10:11:02 fileserv root: nut service restarted
Apr  6 10:11:02 fileserv upssched-cmd: Communications with the UPS 700@localhost are established
Apr  6 10:11:02 fileserv root: nut_upslog service restarted
Apr  6 10:11:02 fileserv upsmon[1810]: upsmon parent: read
Apr  6 10:11:03 fileserv root: nut_upsmon service restarted
Apr  6 10:11:55 fileserv winbindd[2348]: [2015/04/06 10:11:55.948512,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:11:55 fileserv winbindd[2348]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:11:55 fileserv winbindd[2348]: [2015/04/06 10:11:55.948574,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:11:55 fileserv winbindd[2348]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:12:31 fileserv winbindd[1883]: [2015/04/06 10:12:31.038516,  0] ../source3/libsmb/cliconnect.c:1843(cli_session_setup_spnego_send)
Apr  6 10:12:31 fileserv winbindd[1883]:   Kinit failed: Cannot contact any KDC for requested realm
Apr  6 10:15:01 fileserv winbindd[1883]: [2015/04/06 10:15:01.050627,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:15:01 fileserv winbindd[1883]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:15:01 fileserv winbindd[1883]: [2015/04/06 10:15:01.050698,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:15:01 fileserv winbindd[1883]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:16:41 fileserv winbindd[1883]: [2015/04/06 10:16:41.059583,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:16:41 fileserv winbindd[1883]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:16:41 fileserv winbindd[1883]: [2015/04/06 10:16:41.059649,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:16:41 fileserv winbindd[1883]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:18:21 fileserv winbindd[1883]: [2015/04/06 10:18:21.068591,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:18:21 fileserv winbindd[1883]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:18:21 fileserv winbindd[1883]: [2015/04/06 10:18:21.068654,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:18:21 fileserv winbindd[1883]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:20:01 fileserv winbindd[1883]: [2015/04/06 10:20:01.076590,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:20:01 fileserv winbindd[1883]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:20:01 fileserv winbindd[1883]: [2015/04/06 10:20:01.076654,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:20:01 fileserv winbindd[1883]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:20:25 fileserv winbindd[2348]: [2015/04/06 10:20:25.080585,  0] ../source3/libsmb/cliconnect.c:1843(cli_session_setup_spnego_send)
Apr  6 10:20:25 fileserv winbindd[2348]:   Kinit failed: Cannot contact any KDC for requested realm
Apr  6 10:20:45 fileserv winbindd[2348]: [2015/04/06 10:20:45.083190,  0] ../source3/winbindd/winbindd_dual.c:1367(child_handler)
Apr  6 10:20:45 fileserv winbindd[2348]:   Could not write result
Apr  6 10:23:00 fileserv winbindd[3384]: [2015/04/06 10:23:00.098774,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:23:00 fileserv winbindd[3384]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:23:00 fileserv winbindd[3384]: [2015/04/06 10:23:00.098830,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:23:00 fileserv winbindd[3384]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:24:40 fileserv winbindd[3384]: [2015/04/06 10:24:40.105741,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:24:40 fileserv winbindd[3384]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:24:40 fileserv winbindd[3384]: [2015/04/06 10:24:40.105806,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:24:40 fileserv winbindd[3384]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:26:20 fileserv winbindd[3384]: [2015/04/06 10:26:20.113708,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:26:20 fileserv winbindd[3384]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:26:20 fileserv winbindd[3384]: [2015/04/06 10:26:20.113770,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:26:20 fileserv winbindd[3384]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:28:00 fileserv winbindd[3384]: [2015/04/06 10:28:00.121707,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:28:00 fileserv winbindd[3384]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:28:00 fileserv winbindd[3384]: [2015/04/06 10:28:00.121768,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:28:00 fileserv winbindd[3384]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:28:29 fileserv winbindd[1883]: [2015/04/06 10:28:29.145710,  0] ../source3/libsmb/cliconnect.c:1843(cli_session_setup_spnego_send)
Apr  6 10:28:29 fileserv winbindd[1883]:   Kinit failed: Cannot contact any KDC for requested realm
Apr  6 10:30:59 fileserv winbindd[1883]: [2015/04/06 10:30:59.158706,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:30:59 fileserv winbindd[1883]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:30:59 fileserv winbindd[1883]: [2015/04/06 10:30:59.158771,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:30:59 fileserv winbindd[1883]:   cm_prepare_connection: mutex grab failed for dcpfr
Apr  6 10:32:39 fileserv winbindd[1883]: [2015/04/06 10:32:39.167704,  0] ../lib/util/util_tdb.c:358(tdb_chainlock_with_timeout_internal)
Apr  6 10:32:39 fileserv winbindd[1883]:   tdb_chainlock_with_timeout_internal: alarm (40) timed out for key dcpfr in tdb /var/db/samba4/mutex.tdb
Apr  6 10:32:39 fileserv winbindd[1883]: [2015/04/06 10:32:39.167776,  0] ../source3/winbindd/winbindd_cm.c:891(cm_prepare_connection)
Apr  6 10:32:39 fileserv winbindd[1883]:   cm_prepare_connection: mutex grab failed for dcpfr
команда:
wbinfo -t
checking the trust secret for domain (null) via RPC calls failed
команда:
wbinfo -P
checking the NETLOGON dc connection to "" failed

фишка в том что завтра утром все будет хокей
Последний раз редактировалось f_andrey 2015-04-06 14:35:03, всего редактировалось 1 раз.
Причина: Автору. пожалуйста, выбирайте соответствующий раздел форума.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Neus
капитан
Сообщения: 1798
Зарегистрирован: 2008-09-08 21:59:56

Nas4free+samba 4.1.14 + AD

Непрочитанное сообщение Neus » 2015-04-06 14:50:48

настроить ntpd

domovoi
проходил мимо
Сообщения: 3
Зарегистрирован: 2015-04-06 13:25:18

Nas4free+samba 4.1.14 + AD

Непрочитанное сообщение domovoi » 2015-04-06 15:59:15

сделал команду ntpdate 10.10.2.8
6 Apr 15:56:12 ntpdate[13374]: signal_no_reset: signal 14 had flags 40
6 Apr 15:56:12 ntpdate[13374]: adjust time server 10.10.2.8 offset 0.004510 sec

неужели из за такой разницы проблемы на вход?

snorlov
подполковник
Сообщения: 3832
Зарегистрирован: 2008-09-04 11:51:25
Откуда: Санкт-Петербург

Nas4free+samba 4.1.14 + AD

Непрочитанное сообщение snorlov » 2015-04-06 16:02:36

Время и днс, у вас банально на старте не может найти прописанный контроллер домена

domovoi
проходил мимо
Сообщения: 3
Зарегистрирован: 2015-04-06 13:25:18

Nas4free+samba 4.1.14 + AD

Непрочитанное сообщение domovoi » 2015-04-06 17:05:25

Спасибо вам огромное, у меня просто вместо имени домена стоял ip контролера домена, сейчас все перенастроил все работает класс полгода мучался, еще раз спасибо!