Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fedora 28 Fresh Install - install errors. #50

Open
HeneryH opened this issue May 13, 2018 · 0 comments
Open

Fedora 28 Fresh Install - install errors. #50

HeneryH opened this issue May 13, 2018 · 0 comments

Comments

@HeneryH
Copy link

HeneryH commented May 13, 2018

I reached a first error that Alexander solved for me by having me load python2 libraries being that the new install only had python 3.

The second error I am still stuck at.

Error #1 - Install Documentation - create-portal-user error

[  ]$ ./create-portal-user
    Traceback (most recent call last):
      File "./create-portal-user", line 27, in <module>
        from ipalib import api
    ImportError: No module named ipalib      <-- This is the error



# then tried to manuall load the lib and got this:

[]$ sudo pip install ipalib
    WARNING: Running pip install with root privileges is generally not a

    good idea. Try `pip install --user` instead.
    Collecting ipalib
    Complete output from command python setup.py egg_info:
    In distributed package, building from C files...
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-rcBXhA/gssapi/setup.py", line 109, in <module>
        raise Exception("Could not find main GSSAPI shared library.  Please "
    Exception: Could not find main GSSAPI shared library.  Please try
      setting GSSAPI_MAIN_LIB yourself or setting ENABLE_SUPPORT_DETECTION

      to 'false'  <-- and again another error
   
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-rcBXhA/gssapi/

Solved by installing the following package:
sudo dnf install python2-ipaclient

Error #2

[me@portal ~]$ create-portal-user
Created privilege 'Portal management privilege'
    Added permission 'System: Add Stage User' to privilege
    Added permission 'System: Read Stage User' to privilege
    Added permission 'System: Change User password' to privilege
    Cannot add permission 'System: Read User Standard Attributes' to privilege
ipa: WARNING:     Cannot add permission 'System: Read User Standard Attributes' to privilege
    Cannot add permission 'System: Read User Addressbook Attributes' to privilege
ipa: WARNING:     Cannot add permission 'System: Read User Addressbook Attributes' to privilege
Created role 'Portal management'
Added privilege 'Portal management privilege' to role 'Portal management'
Created user 'portal'
Added role 'Portal management' to user 'portal'
Retrieving keytab...
    ipa-getkeytab -s prime.ipa.kkgpitt.org -p [email protected] -k /etc/ipa/portal.keytab
Failed to add key to the keytab
Traceback (most recent call last):
  File "/home/me/.local/bin/create-portal-user", line 207, in <module>
    main()
  File "/home/me/.local/bin/create-portal-user", line 197, in main
    create_keytab(args.username, args.keytab, args.keytab_owner)
  File "/home/me/.local/bin/create-portal-user", line 180, in create_keytab
    subprocess.check_call(cmd)
  File "/usr/lib64/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ipa-getkeytab', '-s', u'prime.ipa.kkgpitt.org', '-p', u'[email protected]', '-k', '/etc/ipa/portal.keytab']' returned non-zero exit status 11

I tried manually running the command and then changing the pw and running again and got varying errors:

[jjflynn22@portal ~]$ ipa-getkeytab  -s prime.ipa.kkgpitt.org -p <new pw> -k /etc/ipa/portal.keytab
Failed to parse result: PrincipalName not found.

Retrying with pre-4.0 keytab retrieval method...
Failed to parse result: PrincipalName not found.

Failed to get keytab!
Failed to get keytab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant