Modify

Ticket #3505 (closed defect: worksforme)

Opened 19 months ago

Last modified 19 months ago

Problem creating profile directories

Reported by: especialistaspalmira@… Owned by: cperez@…
Milestone: 2.2.X Component: users
Severity: normal Keywords:
Cc:

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

Fresh 2.2 install, creating a new user, when Zentyal tries to create the directory structure this error pops up:

root command set -e /bin/mkdir '/home/samba/profiles/olga' /bin/chown 2002:513 '/home/samba/profiles/olga' /bin/chmod 0700 '/home/samba/profiles/olga' failed. Error output: /bin/mkdir: cannot create directory `/home/samba/profiles/olga': No such file or directory Command output: . Exit value: 1

Error

root command set -e
/bin/mkdir '/home/samba/profiles/olga'
/bin/chown 2002:513 '/home/samba/profiles/olga'
/bin/chmod 0700 '/home/samba/profiles/olga' failed. 
Error output: /bin/mkdir: cannot create directory `/home/samba/profiles/olga': No such file or directory

Command output: . 
Exit value: 1

Trace

root command set -e
/bin/mkdir '/home/samba/profiles/olga'
/bin/chown 2002:513 '/home/samba/profiles/olga'
/bin/chmod 0700 '/home/samba/profiles/olga' failed. 
Error output: /bin/mkdir: cannot create directory `/home/samba/profiles/olga': No such file or directory

Command output: . 
Exit value: 1 at /usr/share/perl5/Error.pm line 182
	Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', 'set -e\x{a}/bin/mkdir \'/home/samba/profiles/olga\'\x{a}/bin/chown 20...', 'output', 'ARRAY(0x7ffc326c5ad0)', 'error', 'ARRAY(0x7ffc31d72b88)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 213
	EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/GZlzcxwQJR.cmd 2>...', 'set -e\x{a}/bin/mkdir \'/home/samba/profiles/olga\'\x{a}/bin/chown 20...', 256, 'ARRAY(0x7ffc326c5ad0)', 'ARRAY(0x7ffc31d72b88)') called at /usr/share/perl5/EBox/Sudo.pm line 182
	EBox::Sudo::_root(1, '/bin/mkdir \'/home/samba/profiles/olga\'', '/bin/chown 2002:513 \'/home/samba/profiles/olga\'', '/bin/chmod 0700 \'/home/samba/profiles/olga\'') called at /usr/share/perl5/EBox/Sudo.pm line 136
	EBox::Sudo::root('/bin/mkdir \'/home/samba/profiles/olga\'', '/bin/chown 2002:513 \'/home/samba/profiles/olga\'', '/bin/chmod 0700 \'/home/samba/profiles/olga\'') called at /usr/share/perl5/EBox/SambaLdapUser.pm line 487
	EBox::SambaLdapUser::_createDir('EBox::SambaLdapUser=HASH(0x7ffc33227338)', '/home/samba/profiles/olga', 2002, 513, 0700) called at /usr/share/perl5/EBox/SambaLdapUser.pm line 224
	EBox::SambaLdapUser::_addUser('EBox::SambaLdapUser=HASH(0x7ffc33227338)', 'olga', 'eldorado') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 881
	EBox::UsersAndGroups::initUser('EBox::UsersAndGroups=HASH(0x7ffc2e108af0)', 'olga', 'eldorado') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 1071
	EBox::UsersAndGroups::addUser('EBox::UsersAndGroups=HASH(0x7ffc2e108af0)', 'HASH(0x7ffc331b5ed0)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/AddUser.pm line 77
	EBox::CGI::UsersAndGroups::AddUser::_process('EBox::CGI::UsersAndGroups::AddUser=HASH(0x7ffc330a3ed0)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
	EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::AddUser=HASH(0x7ffc330a3ed0)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
	EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/AddUser', '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(0x7ffc3306bce8)') 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(0x7ffc3272e810)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7ffc3272e810)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7ffc3306bce8)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (74.0 KB) - added by anonymous 19 months ago.
zentyal.log

Change History

Changed 19 months ago by anonymous

zentyal.log

comment:1 Changed 19 months ago by jacalvo@…

  • Owner changed from jacalvo@… to jamor@…
  • Component changed from base to users
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to Problem creating profile directories

comment:2 Changed 19 months ago by jacalvo@…

We are not able to reproduce this, but it has been also reported in the forum:

 http://forum.zentyal.org/index.php/topic,8734

Did you select the File Sharing module at the beginning of the installation or did you install it later? Are you using master-slave?

Any other information about any particularity of your installation could be useful. Thanks.

comment:3 Changed 19 months ago by jacalvo@…

  • Owner changed from jamor@… to cperez@…

comment:4 Changed 19 months ago by cperez@…

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

Sorry, I couldn't reproduce this problem, please reopen if you can provide more information

Best regards

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.