Author Topic: Samba Unable to start  (Read 2282 times)

jnkbcs

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Samba Unable to start
« on: November 23, 2012, 10:21:15 pm »
I just installed Zental 3.0 and unable to get file sharing started.
getting following eerror in log:

Command output: .
Exit value: 2
2012/11/23 14:28:04 INFO> DNS.pm:89 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2012/11/23 14:28:06 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: mail
2012/11/23 14:28:11 INFO> GlobalImpl.pm:688 EBox::GlobalImpl::saveAllModules - Changes saved successfully
2012/11/23 14:32:26 INFO> GlobalImpl.pm:604 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall samba dns logs
2012/11/23 14:32:26 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: firewall
2012/11/23 14:32:27 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: samba
2012/11/23 14:32:28 INFO> Samba.pm:831 EBox::Samba::provisionAsDC - Provisioning database '/usr/bin/samba-tool domain provision  --domain='JNKBCS' --workgroup='JNKBCS' --realm='JNKBCS.BIZ' --dns-backend=BIND9_DLZ --use-xattrs=yes  --use-rfc2307  --server-role='dc' --users='__USERS__' --host-name='jnkbcssrv01' --host-ip='192.168.0.2''
2012/11/23 14:33:21 INFO> Samba.pm:852 EBox::Samba::provisionAsDC - Setting password policy
2012/11/23 14:33:24 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dns
2012/11/23 14:33:24 WARN> DNS.pm:1445 EBox::DNS::_launchNSupdate - Cannot contact with named, trying in posthook
2012/11/23 14:33:24 INFO> DNS.pm:89 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2012/11/23 14:33:27 ERROR> Sudo.pm:233 EBox::Sudo::_rootError - root command nsupdate -l -t 10 /var/lib/zentyal/tmp/LvAF5SvMIp failed.
Error output: update failed: REFUSED



what do i need to do?

check-ict

  • Zen Apprentice
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: Samba Unable to start
« Reply #1 on: November 26, 2012, 10:43:08 pm »
Same here:
2012/11/26 22:28:16 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dns
2012/11/26 22:28:16 ERROR> Sudo.pm:233 EBox::Sudo::_rootError - root command nsupdate -l -t 10 /var/lib/zentyal/tmp/kN4AjX8b2V failed.
Error output: update failed: REFUSED

Command output: .
Exit value: 2
2012/11/26 22:28:17 INFO> DNS.pm:89 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2012/11/26 22:28:19 INFO> GlobalImpl.pm:688 EBox::GlobalImpl::saveAllModules - Changes saved successfully
2012/11/26 22:31:03 INFO> Service.pm:771 EBox::Module::Service::restartService - Restarting service for module: samba
2012/11/26 22:31:04 INFO> Samba.pm:831 EBox::Samba::provisionAsDC - Provisioning database '/usr/bin/samba-tool domain provision  --domain='XXX' --workgroup='XXX' --realm='XXX.LOCAL' --dns-backend=BIND9_DLZ --use-xattrs=yes  --use-rfc2307  --server-role='dc' --users='__USERS__' --host-name='XXX-server' --host-ip='192.168.3.50''
2012/11/26 22:32:12 INFO> Samba.pm:852 EBox::Samba::provisionAsDC - Setting password policy
2012/11/26 22:32:14 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dns
2012/11/26 22:32:15 WARN> DNS.pm:1445 EBox::DNS::_launchNSupdate - Cannot contact with named, trying in posthook
2012/11/26 22:32:15 INFO> DNS.pm:89 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2012/11/26 22:32:17 ERROR> Sudo.pm:233 EBox::Sudo::_rootError - root command nsupdate -l -t 10 /var/lib/zentyal/tmp/546vFOo2ZB failed.
Error output: update failed: REFUSED

Command output: .
Exit value: 2
2012/11/26 22:32:17 ERROR> Service.pm:776 EBox::Module::Service::__ANON__ - Error restarting service: root command nsupdate -l -t 10 /var/lib/zentyal/tmp/546vFOo2ZB failed.
Error output: update failed: REFUSED

Command output: .
Exit value: 2
2012/11/26 22:32:17 ERROR> RestartService.pm:67 EBox::CGI::SysInfo::RestartService::__ANON__ - Restart of File Sharing from dashboard failed: root command nsupdate -l -t 10 /var/lib/zentyal/tmp/546vFOo2ZB failed.
Error output: update failed: REFUSED

Command output: .

check-ict

  • Zen Apprentice
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: Samba Unable to start
« Reply #2 on: November 26, 2012, 10:44:48 pm »
This is after a clean install, only trying to install a simple Samba fileserver.

Back to Zentyal 2 with Samba 3 for me, I've tried too many hours to get 3.0 working.

mxu

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Samba Unable to start
« Reply #3 on: November 27, 2012, 04:20:28 pm »
Just tried another clean install myself based on Ubuntu Server 12.04.1, pulling Zentyal in with PPA.

This is really frustrating - a couple of weeks ago I got samba working but couldn't join the domain with my clients, now after a couple of fixes, samba doesn't start anymore. Is this still beta? I followed all instructions in the installation manual.

I'm using the following Zentyal packages:
Core 3.0.7
DNS Service 3.0.2
File Sharing and Domain Services 3.0.9
Users and Groups 3.0.6
« Last Edit: November 27, 2012, 06:13:51 pm by mxu »