Modify

Ticket #4650 (closed defect: fixed)

Opened 12 months ago

Last modified 10 months ago

Failed to enable: Error provisioning database: root command /usr/share/samba/setup/provision

Reported by: chuchuaguilera@… Owned by: scabrero@…
Milestone: 3.0 Component: samba
Severity: normal Keywords:
Cc:

Description (last modified by jamor@…) (diff)

error al instalar samba4, compartir archios y algo del dns: Failed to enable: Error provisioning database: root command /usr/share/samba/setup/provision --domain=ZENTYAL-DOMAIN --workgroup=ZENTYAL-DOMAIN --realm=RALG64.COM --dns-backend=BIND9_FLATFILE --server-role=dc --users=USERS --host-name=RALG64LinuxServer --adminpass=Zentyal1234 failed. Error output: Traceback (most recent call last): File '/usr/share/samba/setup/provision', line 262, in useeadb=eadb, next_rid=opts.next_rid, lp=lp) File '/usr/lib/python2.7/dist-packages/samba/provision/init.py', line 1620, in provision sitename=sitename, rootdn=rootdn) File '/usr/lib/python2.7/dist-packages/samba/provision/init.py', line 471, in guess_names raise InvalidNetbiosName?(netbiosname) samba.provision.InvalidNetbiosName?: The name RALG64LINUXSERVER is not a valid NetBIOS name Command output: . Exit value: 1

Error

Failed to enable: Error provisioning database: root command /usr/share/samba/setup/provision --domain=ZENTYAL-DOMAIN --workgroup=ZENTYAL-DOMAIN --realm=RALG64.COM --dns-backend=BIND9_FLATFILE --server-role=dc --users=__USERS__ --host-name=RALG64LinuxServer --adminpass=Zentyal1234 failed. 
Error output: Traceback (most recent call last):
   File '/usr/share/samba/setup/provision', line 262, in <module>
     useeadb=eadb, next_rid=opts.next_rid, lp=lp)
   File '/usr/lib/python2.7/dist-packages/samba/provision/__init__.py', line 1620, in provision
     sitename=sitename, rootdn=rootdn)
   File '/usr/lib/python2.7/dist-packages/samba/provision/__init__.py', line 471, in guess_names
     raise InvalidNetbiosName(netbiosname)
 samba.provision.InvalidNetbiosName: The name ''RALG64LINUXSERVER'' is not a valid NetBIOS name

Command output: . 
Exit value: 1

Trace

Failed to enable: Error provisioning database: root command /usr/share/samba/setup/provision --domain=ZENTYAL-DOMAIN --workgroup=ZENTYAL-DOMAIN --realm=RALG64.COM --dns-backend=BIND9_FLATFILE --server-role=dc --users=__USERS__ --host-name=RALG64LinuxServer --adminpass=Zentyal1234 failed. 
Error output: Traceback (most recent call last):
   File '/usr/share/samba/setup/provision', line 262, in <module>
     useeadb=eadb, next_rid=opts.next_rid, lp=lp)
   File '/usr/lib/python2.7/dist-packages/samba/provision/__init__.py', line 1620, in provision
     sitename=sitename, rootdn=rootdn)
   File '/usr/lib/python2.7/dist-packages/samba/provision/__init__.py', line 471, in guess_names
     raise InvalidNetbiosName(netbiosname)
 samba.provision.InvalidNetbiosName: The name ''RALG64LINUXSERVER'' is not a valid NetBIOS name

Command output: . 
Exit value: 1 at /usr/share/perl5/EBox/CGI/ServiceModule/ConfigureModuleController.pm line 72
	EBox::CGI::ServiceModule::ConfigureModuleController::_process('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0x7f...') called at /usr/share/perl5/EBox/CGI/Base.pm line 274
	EBox::CGI::Base::run('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0x7f...') called at /usr/share/perl5/EBox/CGI/Run.pm line 132
	EBox::CGI::Run::run('EBox::CGI::Run', 'ServiceModule/ConfigureModuleController', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7f4e8363fc48)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f4e8363e768)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f4e8363e768)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f4e8363fc48)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (88.0 KB) - added by anonymous 12 months ago.
zentyal.log
software.log Download (167.6 KB) - added by anonymous 12 months ago.
software.log

Change History

Changed 12 months ago by anonymous

zentyal.log

Changed 12 months ago by anonymous

software.log

comment:1 Changed 12 months ago by jamor@…

  • Owner changed from jamor@… to scabrero@…
  • Component changed from base to samba
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to Failed to enable: Error provisioning database: root command /usr/share/samba/setup/provision

comment:2 Changed 12 months ago by jamor@…

Another example in #4660 :

 samba.provision.InvalidNetbiosName: The name ''SUPER-PROLIANT-ML350-G4'' is not a valid NetBIOS name

comment:3 Changed 10 months ago by jamor@…

  • Status changed from new to closed
  • Resolution set to fixed

This is fixed in the current version of zentyal-samba

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.