Modify

Ticket #3353 (closed defect: worksforme)

Opened 20 months ago

Last modified 19 months ago

Error creating home directory

Reported by: lcarloslealsilva@… Owned by: jamor@…
Milestone: 2.2.X Component: base
Severity: normal Keywords:
Cc:

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

Error

root command set -e
mkdir -p `dirname /home/regina`
cp -dR --preserve=mode /etc/skel /home/regina
chown -R regina:__USERS__ /home/regina
chmod 0700 /home/regina failed. 
Error output: chown: invalid user: `regina:__USERS__'

Command output: . 
Exit value: 1

Trace

root command set -e
mkdir -p `dirname /home/regina`
cp -dR --preserve=mode /etc/skel /home/regina
chown -R regina:__USERS__ /home/regina
chmod 0700 /home/regina failed. 
Error output: chown: invalid user: `regina:__USERS__'

Command output: . 
Exit value: 1 at /usr/share/perl5/Error.pm line 182
	Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', 'set -e\x{a}mkdir -p `dirname /home/regina`\x{a}cp -dR --preserve=mode...', 'output', 'ARRAY(0xbbb14bf0)', 'error', 'ARRAY(0xb905e890)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 213
	EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/1GYqz4jNqN.cmd 2>...', 'set -e\x{a}mkdir -p `dirname /home/regina`\x{a}cp -dR --preserve=mode...', 256, 'ARRAY(0xbbb14bf0)', 'ARRAY(0xb905e890)') called at /usr/share/perl5/EBox/Sudo.pm line 182
	EBox::Sudo::_root(1, 'mkdir -p `dirname /home/regina`', 'cp -dR --preserve=mode /etc/skel /home/regina', 'chown -R regina:__USERS__ /home/regina', 'chmod 0700 /home/regina') called at /usr/share/perl5/EBox/Sudo.pm line 136
	EBox::Sudo::root('mkdir -p `dirname /home/regina`', 'cp -dR --preserve=mode /etc/skel /home/regina', 'chown -R regina:__USERS__ /home/regina', 'chmod 0700 /home/regina') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 857
	EBox::UsersAndGroups::initUser('EBox::UsersAndGroups=HASH(0xbb39f388)', 'regina', 'Lure251008') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 1063
	EBox::UsersAndGroups::addUser('EBox::UsersAndGroups=HASH(0xbb39f388)', 'HASH(0xbbb03578)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/AddUser.pm line 77
	EBox::CGI::UsersAndGroups::AddUser::_process('EBox::CGI::UsersAndGroups::AddUser=HASH(0xbbb34740)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
	EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::AddUser=HASH(0xbbb34740)') 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(0xbbb0ead8)') 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(0xbbaf6ee8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xbbaf6ee8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xbbb0ead8)') called at -e line 0
	eval {...} called at -e line 0

Attachments

zentyal.log Download (19.4 KB) - added by anonymous 20 months ago.
zentyal.log

Change History

Changed 20 months ago by anonymous

zentyal.log

comment:1 Changed 19 months ago by jacalvo@…

  • Owner changed from jacalvo@… to jamor@…
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to Error creating home directory

comment:2 Changed 19 months ago by jamor@…

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

Hello lcarloslealsilva ,

The problem here it is that you not have the default group. What users mode are you using?.

If you are using master of ad-sync it must be some error in the setup process. Reisntall with the command /usr/share/zentyal-users/reinstall , setup the LDAP again and try again. If you get again this error, reopen the ticekt and provide more details.

If you are running slave-mode, please reopen the ticket and tell me which UI operations raised this error.

Thanks for your report,

Javier

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.