Author Topic: [SOLVED] samba and squid module stopped after reboot...  (Read 10126 times)

Laurent Dinclaux

  • Zen Monk
  • **
  • Posts: 83
  • Karma: +5/-0
    • View Profile
    • Gecka
Re: [SOLVED] samba and squid module stopped after reboot...
« Reply #15 on: August 07, 2014, 01:32:51 am »
Here it is, attached
Laurent

julio

  • Guest
Re: [SOLVED] samba and squid module stopped after reboot...
« Reply #16 on: August 07, 2014, 11:52:54 am »
i need more Informations, please attach your "/var/log/zentyal/zentyal.log" and
"/var/log/syslog" Files after following Commands (after Reboot plase wait a little bit, aprox.: 5-10min):

Code: [Select]
sudo cp /var/log/zentyal/zentyal.log /var/log/zentyal/zentyal.log.bckp
sudo truncate -s0 /var/log/zentyal/zentyal.log

sudo cp /var/log/syslog /var/log/syslog.bckp
sudo truncate -s0 /var/log/syslog

sudo reboot

Laurent Dinclaux

  • Zen Monk
  • **
  • Posts: 83
  • Karma: +5/-0
    • View Profile
    • Gecka
Re: [SOLVED] samba and squid module stopped after reboot...
« Reply #17 on: August 21, 2014, 05:17:40 am »
Attached
Laurent

julio

  • Guest
Re: [SOLVED] samba and squid module stopped after reboot...
« Reply #18 on: August 21, 2014, 06:05:54 pm »
File "/var/lib/samba/private/secrets.ldb" exists?

Code: [Select]
ls -la /var/lib/samba/private/secrets.ldb
« Last Edit: August 21, 2014, 06:11:19 pm by julio »

julio

  • Guest
Re: [SOLVED] samba and squid module stopped after reboot...
« Reply #19 on: August 21, 2014, 07:58:45 pm »
i have created a new BugTracker:
https://tracker.zentyal.org/issues/1499

please follow this Tracker...
« Last Edit: August 21, 2014, 08:25:25 pm by julio »

Laurent Dinclaux

  • Zen Monk
  • **
  • Posts: 83
  • Karma: +5/-0
    • View Profile
    • Gecka
Re: [SOLVED] samba and squid module stopped after reboot...
« Reply #20 on: August 26, 2014, 01:39:43 am »
Thank you
Laurent

julio

  • Guest
Re: [SOLVED] samba and squid module stopped after reboot...
« Reply #21 on: September 05, 2014, 09:19:40 pm »
manual samba "reprovision":

1. make full backup from your server with e.g.:clonezilla (the Devil doesn't sleep ;))
2. make zentyal backup (web interface): System->Import/Export Configuration->backup
3. purge samba and their dependencies:
Code: [Select]
sudo apt-get purge --auto-remove samba4. remove smb.conf if exist:
Code: [Select]
sudo rm /etc/samba/smb.conf5. install samba and squid and theirs dependencies back:
Code: [Select]
sudo apt-get install zentyal-samba zentyal-squid6. go to Users and Computers->Configure mode (web interface) and change LDAP DN to your Base DN:
    dc=office,dc=gecka,dc=nc
    press Change
7. go to Module Status (web interface) and enable "Users, Computers and File Sharing" and "HTTP Proxy" Modules, save with Save Changes button
8. revert your zentyal backup back (web interface): System->Import/Export Configuration->restore
9. save with Save Changes button

that's it!  :D


« Last Edit: September 05, 2014, 09:54:23 pm by julio »

Gilberto Ferreira

  • Zen Hero
  • *****
  • Posts: 516
  • Karma: +12/-1
    • View Profile
Re: [SOLVED] samba and squid module stopped after reboot...
« Reply #22 on: January 12, 2015, 12:04:26 pm »
Hello friends

I know this topic is quite old, but I am running into same problem with Samba, but I am using Zentyal 4.0.5...
Someone have this problem with Zentyal 4???

lalah

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] samba and squid module stopped after reboot...
« Reply #23 on: January 23, 2015, 03:43:14 pm »
Yes, me having this problem too after upgrading to version 4.0.5
Gilberto; have you had any success solving this problem?

felipemb

  • Zen Monk
  • **
  • Posts: 62
  • Karma: +1/-0
  • La base del conocimiento + experiencia = TODOO!
    • View Profile
Re: [SOLVED] samba and squid module stopped after reboot...
« Reply #24 on: February 04, 2015, 03:37:10 am »
Hi I want to tell my case,

Once more Zentyal I was disappointed with their problems unresolved,...

Today suddenly stopped the samba service and I have 6 hours doing many tests but without any success, I have read all this post and also have made the solution of: https://tracker.zentyal.org/issues/1090 and: https://github.com/Zentyal/zentyal/commit/b2c81f37d531b8d62aa1864ccf54c850e484db29 ...  none worked

Had Zentyal 3.5 when stopped samba and all users of the network were out of the "File Sharing" upgrade to version 4.0.5 (last with all updates) and there is no solution to my problem, samba stopped and fail.

Now I have to reinstall everything all back to create the users in the domain, and create folders shared :(this is too frustrating relying on this "solution" Zentyal and have these problems on the network of the company

Hopefully some day Zentyal has a truly stable version...

zentyal.log
Code: [Select]
2015/02/03 21:28:10 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Microsoft global catalog' (tcp)
2015/02/03 21:28:10 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Microsoft global catalog' (tcp)
2015/02/03 21:28:40 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Microsoft global catalog over SSL' (tcp)
2015/02/03 21:28:40 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Microsoft global catalog over SSL' (tcp)
2015/02/03 21:29:13 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Kerberos authentication' (tcp)
2015/02/03 21:29:14 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'NETBIOS session service' (tcp)
2015/02/03 21:29:43 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'DCE endpoint resolution' (tcp)
2015/02/03 21:29:44 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Lightweight Directory Access Protocol' (tcp)
2015/02/03 21:30:14 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'NETBIOS session service' (tcp)
2015/02/03 21:30:14 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Microsoft directory services' (tcp)
2015/02/03 21:30:44 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Lightweight Directory Access Protocol' (tcp)
2015/02/03 21:30:44 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Kerberos set/change password' (tcp)
2015/02/03 21:31:14 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Microsoft directory services' (tcp)
2015/02/03 21:31:14 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'LDAP over TLS/SSL' (tcp)
2015/02/03 21:31:44 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Kerberos set/change password' (tcp)
2015/02/03 21:31:44 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service '' (tcp)
2015/02/03 21:32:14 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'LDAP over TLS/SSL' (tcp)
2015/02/03 21:32:14 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Microsoft global catalog' (tcp)
2015/02/03 21:32:44 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service '' (tcp)
2015/02/03 21:32:45 WARN> Samba.pm:774 EBox::Samba::_waitService - Timeout reached while waiting for users service 'Microsoft global catalog over SSL' (tcp)

samba.log
Code: [Select]
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
[2015/02/03 21:28:43,  2] ../source4/dsdb/repl/drepl_partitions.c:116(dreplsrv_load_partitions)
[2015/02/03 21:28:43,  3] ../lib/ldb-samba/ldb_wrap.c:320(ldb_wrap_connect)
  dreplsrv_partition[CN=Schema,CN=Configuration,DC=vringltda,DC=empresa] loaded
  ldb_wrap open of secrets.ldb
[2015/02/03 21:28:43,  2] ../source4/dsdb/repl/drepl_partitions.c:116(dreplsrv_load_partitions)
  dreplsrv_partition[DC=vringltda,DC=empresa] loaded
[2015/02/03 21:28:43,  2] ../source4/dsdb/repl/drepl_partitions.c:116(dreplsrv_load_partitions)
  dreplsrv_partition[CN=Configuration,DC=vringltda,DC=empresa] loaded
[2015/02/03 21:28:43,  2] ../source4/dsdb/repl/drepl_partitions.c:116(dreplsrv_load_partitions)
  dreplsrv_partition[DC=DomainDnsZones,DC=vringltda,DC=empresa] loaded
[2015/02/03 21:28:43,  2] ../source4/dsdb/repl/drepl_partitions.c:116(dreplsrv_load_partitions)
  dreplsrv_partition[DC=ForestDnsZones,DC=vringltda,DC=empresa] loaded
[2015/02/03 21:28:43,  3] ../lib/ldb-samba/ldb_wrap.c:320(ldb_wrap_connect)
  ldb_wrap open of idmap.ldb
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
[2015/02/03 21:28:43,  3] ../source4/smbd/service_stream.c:66(stream_terminate_connection)
  Terminating connection - 'dcesrv: NT_STATUS_CONNECTION_DISCONNECTED'
[2015/02/03 21:28:43,  3] ../source4/smbd/process_single.c:114(single_terminate)
  single_terminate: reason[dcesrv: NT_STATUS_CONNECTION_DISCONNECTED]
[2015/02/03 21:28:43,  3] ../source4/smbd/service_stream.c:66(stream_terminate_connection)
  Terminating connection - 'kdc_tcp_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED'
[2015/02/03 21:28:43,  3] ../source4/smbd/process_single.c:114(single_terminate)
  single_terminate: reason[kdc_tcp_call_loop: tstream_read_pdu_blob_recv() - NT_STATUS_CONNECTION_DISCONNECTED]
[2015/02/03 21:28:43,  0] ../lib/util/become_daemon.c:136(daemon_ready)
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
[2015/02/03 21:28:43,  2] ../source4/dsdb/kcc/kcc_service.c:127(kccsrv_load_partitions)
  kccsrv_partition[CN=Schema,CN=Configuration,DC=vringltda,DC=empresa] loaded
[2015/02/03 21:28:43,  2] ../source4/dsdb/kcc/kcc_service.c:127(kccsrv_load_partitions)
  kccsrv_partition[CN=Configuration,DC=vringltda,DC=empresa] loaded
[2015/02/03 21:28:43,  2] ../source4/dsdb/kcc/kcc_service.c:127(kccsrv_load_partitions)
  kccsrv_partition[DC=vringltda,DC=empresa] loaded
[2015/02/03 21:28:43,  2] ../source4/dsdb/kcc/kcc_service.c:127(kccsrv_load_partitions)
  kccsrv_partition[DC=DomainDnsZones,DC=vringltda,DC=empresa] loaded
[2015/02/03 21:28:43,  2] ../source4/dsdb/kcc/kcc_service.c:127(kccsrv_load_partitions)
  kccsrv_partition[DC=ForestDnsZones,DC=vringltda,DC=empresa] loaded
[2015/02/03 21:28:43,  0] ../file_server/file_server.c:48(file_server_smbd_done)
  file_server smbd daemon exited normally
[2015/02/03 21:28:43,  0] ../source4/smbd/service_task.c:35(task_server_terminate)
  task_server_terminate: [smbd child process exited]
[2015/02/03 21:28:43,  3] ../source4/dsdb/dns/dns_update.c:340(dnsupdate_check_names)
  Calling DNS name update script
  STATUS=daemon 'samba' finished starting up and ready to serve connectionssamba_terminate: smbd child process exited
[2015/02/03 21:28:43,  3] ../source4/dsdb/dns/dns_update.c:355(dnsupdate_check_names)
  Calling SPN name update script
Siempre con la mente clara!