Author Topic: samba4 145  (Read 2657 times)

peterpugh

  • Guest
samba4 145
« on: March 13, 2014, 10:57:16 pm »
Got an error on save.

2014/03/13 21:51:13 ERROR> GlobalImpl.pm:747 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: samba  at Trace begun at /usr/share/perl5/EBox/Exceptions/Base.pm line 79
EBox::Exceptions::Base::stacktrace('EBox::Exceptions::Internal=HASH(0x52001a0)') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 119
EBox::Exceptions::Base::log('EBox::Exceptions::Internal=HASH(0x52001a0)') called at /usr/share/perl5/EBox/Exceptions/Internal.pm line 35
EBox::Exceptions::Internal::new('EBox::Exceptions::Internal', 'The following modules failed while saving their changes, their state is unknown: samba ') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 91
EBox::Exceptions::Base::throw('EBox::Exceptions::Internal', 'The following modules failed while saving their changes, their state is unknown: samba ') called at /usr/share/perl5/EBox/GlobalImpl.pm line 747
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x23d07a0)', 'progress', 'EBox::ProgressIndicator=HASH(0x67c668)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x23cfff0)', 'progress', 'EBox::ProgressIndicator=HASH(0x67c668)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30

Going to just reboot and see how things go.

2014/03/13 22:07:49 ERROR> Service.pm:998 EBox::Module::Service::restartService - Error restarting service: Error provisioning database. Output: , error:lpcfg_load: refreshing parameters from /etc/samba/smb.conf
 params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
 ERROR(<class 'samba.provision.ProvisioningError'>): Provision failed - ProvisioningError: guess_names: Domain 'ZENTYAL' must not be equal to short host name 'ZENTYAL'!
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 398, in run
     use_rfc2307=use_rfc2307, skip_sysvolacl=False)
   File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1988, in provision
     sitename=sitename, rootdn=rootdn, domain_names_forced=(samdb_fill == FILL_DRS))
   File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 616, in guess_names
     raise ProvisioningError("guess_names: Domain '%s' must not be equal to short host name '%s'!" % (domain, netbiosname))
2014/03/13 22:07:49 ERROR> Service.pm:1000 EBox::Module::Service::restartService - Error provisioning database. Output: , error:lpcfg_load: refreshing parameters from /etc/samba/smb.conf
2014/03/13 22:07:49 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of File Sharing and Domain Services from dashboard failed: Error provisioning database. Output: , error:lpcfg_load: refreshing parameters from /etc/samba/smb.conf
 params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
 ERROR(<class 'samba.provision.ProvisioningError'>): Provision failed - ProvisioningError: guess_names: Domain 'ZENTYAL' must not be equal to short host name 'ZENTYAL'!
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 398, in run
     use_rfc2307=use_rfc2307, skip_sysvolacl=False)
   File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1988, in provision
     sitename=sitename, rootdn=rootdn, domain_names_forced=(samdb_fill == FILL_DRS))
   File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 616, in guess_names
     raise ProvisioningError("guess_names: Domain '%s' must not be equal to short host name '%s'!" % (domain, netbiosname))

Bugger always use zent1 as a hostname and over did my zentyals

Good job I have a clone.
« Last Edit: March 13, 2014, 11:12:29 pm by peterpugh »

peterpugh

  • Guest
Re: samba4 145
« Reply #1 on: March 13, 2014, 11:39:37 pm »
Apologies Euston, somebody farted in my spacesuit.

Hostname change from zentyal to zent1, domain still zentyal.lan. All OK.


PS I don't know if anybody is interested in Ubuntu-Touch (Glad it has changed from Ubuntu-Phone)
Anyway its pretty exciting for me that cheap devices can run Ubuntu-Touch and occasionally you can plug them into a HDMI monitor or TV and get a full ubuntu desktop.
Cheap and in that 80/20 rule absolutely perfect.

Anyway wondering what the state of play was I joined the #ubuntu-touch IRC room.

Any images for RK3188 tabs or phabs I ask.

!!!Devices was the only reply

:)
« Last Edit: March 13, 2014, 11:43:10 pm by peterpugh »