Author Topic: [SOLVED] Zentyal 3.2.4 upgrade Samba4  (Read 3392 times)

ian

  • Community Council Member
  • Zen Samurai
  • *****
  • Posts: 296
  • Karma: +10/-1
    • View Profile
    • Familie site
[SOLVED] Zentyal 3.2.4 upgrade Samba4
« on: November 11, 2013, 08:58:00 pm »
Hello,

Afther the upgrade of Samba4 on a zentyal office server v3.2.4, Samba works not correct anymore.
The file share service is not started at boottime, and it is not possible to restart the service from the administration GUI.

A ticket is created.

Best regards,
Ian
« Last Edit: November 13, 2013, 02:57:11 pm by ian »

binary-two

  • Zen Monk
  • **
  • Posts: 61
  • Karma: +3/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #1 on: November 11, 2013, 09:14:08 pm »
Just FYI: a downgrade to samba4_4.1.0rc4-zentyal4 helped me to get samba running again. While I did not notice any immidiate implications, take note to downgrade at your own risk.

Good luck guys with the fix, hope you find the problem soon!

So long,

Björn

hgeorge123

  • Zen Warrior
  • ***
  • Posts: 120
  • Karma: +4/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #2 on: November 12, 2013, 12:08:05 am »
Good my English is a bit bad but it happened to me also that problem the solution I got was to start the ldap service from rc.local and then restart the samba service because why not but when upgrading samba fails to boot up corresta

/ etc / init.d / libnss-ldap restart

ian

  • Community Council Member
  • Zen Samurai
  • *****
  • Posts: 296
  • Karma: +10/-1
    • View Profile
    • Familie site
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #3 on: November 12, 2013, 11:50:25 am »
Hello hgeorge123

Thanks for the reply, but execution the command / etc / init.d / libnss-ldap restart does not solve the problem.

Even the latest updates of today zentyal-samba and zentyal-users do not fix the problem.

On boot the start of samba is verry slow, and the administrator GUI says File share stopped, restart the service does not work.

Best regards,
Ian

gionko

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #4 on: November 12, 2013, 01:13:51 pm »
Just FYI: a downgrade to samba4_4.1.0rc4-zentyal4 helped me to get samba running again. While I did not notice any immidiate implications, take note to downgrade at your own risk.

how did you do to donwgrade samba? Because i have same problem :/
« Last Edit: November 12, 2013, 01:19:27 pm by gionko »

utsch

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #5 on: November 12, 2013, 01:40:29 pm »
Hi,

i have the same problem.
I have deaktivated 'File Sharing' under 'Modules'. Now Zentyal is running without problems. Its only a workarount, no solution.

Best Regards
Utsch

P.S.: sorry for my bad english, its Google-Translation  ;)

gionko

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #6 on: November 12, 2013, 01:48:50 pm »
Hi,

i have the same problem.
I have deaktivated 'File Sharing' under 'Modules'. Now Zentyal is running without problems. Its only a workarount, no solution.

Your workaround works! Now Domain, proxy, and webmail works again. Now we waiting to file-sharing fix :) Tnx for your tips :)

Adelson

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #7 on: November 12, 2013, 02:32:27 pm »
To downgrade samba to previous version:

First add a experimental repository where this version can be found (ppa:kernevil/zentyal-experimental):

Code: [Select]
apt-get install -y python-software-properties && add-apt-repository ppa:kernevil/zentyal-experimental && sudo apt-get update
(the command above also installs unattended-upgrades - I don't know if this a problem).

With the new repository set, run the following:

Code: [Select]
apt-get install samba4=4.1.0rc4-zentyal4
It worked immediately for me.

Regards,
Adelson
« Last Edit: November 12, 2013, 02:37:03 pm by Adelson »

fwhr

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #8 on: November 12, 2013, 02:43:12 pm »
Alternatively. you can install it from cache:

Code: [Select]
sudo dpkg -i /var/cache/apt/archives/samba4_4.1.0rc4-zentyal4_amd64.deb

gionko

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #9 on: November 12, 2013, 02:52:50 pm »
To downgrade samba to previous version:

First add a experimental repository where this version can be found (ppa:kernevil/zentyal-experimental):

Code: [Select]
apt-get install -y python-software-properties && add-apt-repository ppa:kernevil/zentyal-experimental && sudo apt-get update
(the command above also installs unattended-upgrades - I don't know if this a problem).

With the new repository set, run the following:

Code: [Select]
apt-get install samba4=4.1.0rc4-zentyal4
It worked immediately for me.

Regards,
Adelson

Tnx for your help!

Adelson

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #10 on: November 12, 2013, 02:58:20 pm »
Quote
Alternatively. you can install it from cache:

Code:

sudo dpkg -i /var/cache/apt/archives/samba4_4.1.0rc4-zentyal4_amd64.deb


You're right fwhr !

If the file is in cache this is more elegant.

However, if someone deleted the cache through 'apt-get clean' the package can also be downloaded directly from:

https://launchpad.net/~kernevil/+archive/zentyal-experimental/+sourcepub/3616725/+listing-archive-extra

Stes

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #11 on: November 12, 2013, 03:55:42 pm »
Hi Ian,

i got the same problem here... hope there is soon a solution or update available.

It´s really annoying not to be able to access all the shared files...

Stefan

robb

  • Guest
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #12 on: November 12, 2013, 05:03:25 pm »
There is a new Samba4module released. If you don't see it in the webgui yet, do a
Code: [Select]
sudo apt-get update && sudo apt-get upgradeAfter install you can press the restart button in the webgui to get filesharing running again.

hejsan

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +3/-0
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #13 on: November 12, 2013, 06:00:37 pm »
There is a new Samba4module released. If you don't see it in the webgui yet, do a
Code: [Select]
sudo apt-get update && sudo apt-get upgradeAfter install you can press the restart button in the webgui to get filesharing running again.

This worked for me. Thank you!

Escorpiom

  • Zen Hero
  • *****
  • Posts: 897
  • Karma: +25/-1
    • View Profile
Re: Zentyal 3.2.4 upgrade Samba4
« Reply #14 on: November 12, 2013, 06:28:07 pm »
Well, I've got a server down due to this problem. Seems like history repeats itself?
Zentyal 3.0, samba was updated two days ago and that triggered the issue.

Cheers.
Marcus' Rule:
Blanks & capitals = avoid it and you'll avoid problems...