[Freeipa-users] ipa-adtrust-install fails with Bad talloc magic value - wrong talloc version used/mixed on FreeIPA 4.3.0
Nathan Peters
Nathan.Peters at globalrelay.net
Mon Jan 18 00:01:17 UTC 2016
I have no idea how to troubleshoot this. I am trying to run ipa-adtrust-install on FreeIPA 4.3.0 Fedora 23 domain.
Samba4-command and all other samba4 packages necessary are installed.
It fails at step 3 for apparently no reason. Googling reveals pretty much nothing about what a talloc magic value is or why it would be bad or why the installer would crash when attempting to do something with one.
[root at dc2-ipa-dev-van ~]# ipa-adtrust-install
The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will setup components needed to establish trust to AD domains for
the FreeIPA Server.
This includes:
* Configure Samba
* Add trust related objects to FreeIPA LDAP server
To accept the default shown in brackets, press the Enter key.
IPA generated smb.conf detected.
Overwrite smb.conf? [no]: yes
Do you want to enable support for trusted domains in Schema Compatibility plugin?
This will allow clients older than SSSD 1.9 and non-Linux clients to work with trusted users.
Enable trusted domains support in slapi-nis? [no]: yes
Configuring cross-realm trusts for IPA server requires password for user 'admin'.
This user is a regular system account used for IPA server administration.
admin password:
WARNING: 664 existing users or groups do not have a SID identifier assigned.
Installer can run a task to have ipa-sidgen Directory Server plugin generate
the SID identifier for all these users. Please note, the in case of a high
number of users and groups, the operation might lead to high replication
traffic and performance degradation. Refer to ipa-adtrust-install(1) man page
for details.
Do you want to run the ipa-sidgen task? [no]: no
The following operations may take some minutes to complete.
Please wait until the prompt is returned.
Configuring CIFS
[1/22]: stopping smbd
[2/22]: creating samba domain object
Samba domain object already exists
[3/22]: creating samba config registry
[error] CalledProcessError: Command '/usr/bin/net conf import /tmp/tmpxOhsCm' return ed non-zero exit status -6
Unexpected error - see /var/log/ipaserver-install.log for details:
CalledProcessError: Command '/usr/bin/net conf import /tmp/tmpxOhsCm' returned non-zer o exit status -6
Here is the last part of the log file :
2016-01-17T23:55:15Z DEBUG Samba domain object already exists
2016-01-17T23:55:15Z DEBUG duration: 0 seconds
2016-01-17T23:55:15Z DEBUG [3/22]: creating samba config registry
2016-01-17T23:55:15Z DEBUG Starting external process
2016-01-17T23:55:15Z DEBUG args=/usr/bin/net conf import /tmp/tmpglJmwT
2016-01-17T23:55:15Z DEBUG Process finished, return code=-6
2016-01-17T23:55:15Z DEBUG stdout=
2016-01-17T23:55:15Z DEBUG stderr=Bad talloc magic value - wrong talloc version used/mixed
PANIC: Bad talloc magic value - wrong talloc version used/mixed
2016-01-17T23:55:15Z DEBUG Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 447, in start_creation
run_step(full_msg, method)
File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 437, in run_step
method()
File "/usr/lib/python2.7/site-packages/ipaserver/install/adtrustinstance.py", line 520, in __write_smb_registry
ipautil.run(args)
File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line 481, in run
raise CalledProcessError(p.returncode, arg_string, str(output))
CalledProcessError: Command '/usr/bin/net conf import /tmp/tmpglJmwT' returned non-zero exit status -6
2016-01-17T23:55:15Z DEBUG [error] CalledProcessError: Command '/usr/bin/net conf import /tmp/tmpglJmwT' returned non-zero exit status -6
2016-01-17T23:55:15Z DEBUG File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 736, in run_script
return_value = main_function()
File "/usr/sbin/ipa-adtrust-install", line 389, in main
smb.create_instance()
File "/usr/lib/python2.7/site-packages/ipaserver/install/adtrustinstance.py", line 888, in create_instance
self.start_creation(show_service_name=False)
File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 447, in start_creation
run_step(full_msg, method)
File "/usr/lib/python2.7/site-packages/ipaserver/install/service.py", line 437, in run_step
method()
File "/usr/lib/python2.7/site-packages/ipaserver/install/adtrustinstance.py", line 520, in __write_smb_registry
ipautil.run(args)
File "/usr/lib/python2.7/site-packages/ipapython/ipautil.py", line 481, in run
raise CalledProcessError(p.returncode, arg_string, str(output))
2016-01-17T23:55:15Z DEBUG The ipa-adtrust-install command failed, exception: CalledProcessError: Command '/usr/bin/net conf import /tmp/tmpglJmwT' returned non-zero exit status -6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20160118/2f6e5850/attachment.htm>
More information about the Freeipa-users
mailing list