Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  [OpenIDC/mod_auth_openidc] Permission Denied (13)

    Posted Tue September 05, 2023 01:56 AM

    Hey All,

    Stuck again, with thanks to Ranjan I got the mod_auth_openidc module built.

    I have added it to Apache httpd.conf,

    LoadModule auth_openidc_module modules/mod_auth_openidc.so

    When hitting port 80 on the server im getting some permission denied (13) errors in the error_log file for Apache,

    [Mon Sep 04 13:18:19.676990 2023] [auth_openidc:error] [pid 6816176:tid 515] oidc_cache_mutex_lock: apr_global_mutex_lock() failed: Permission denied (13)
    [Mon Sep 04 13:18:19.710943 2023] [auth_openidc:error] [pid 6816176:tid 515] oidc_cache_mutex_unlock: apr_global_mutex_unlock() failed: Permission denied (13)

    The apachectl start is run as root and the User Group in httpd.conf is http : www

    Many thanks for any pointers please...

    Cheers Brad



    ------------------------------
    Bradley Wells
    ------------------------------

    #AIXOpenSource


  • 2.  RE: [OpenIDC/mod_auth_openidc] Permission Denied (13)

    Posted Thu September 21, 2023 02:04 AM

    Hi ,
    We were able to compile mod_auth_openidc module and perform some basic testing successfully in our environment.
    Can you share the error_log file and output of the following command?
    /opt/freeware/sbin/httpd -M



    ------------------------------
    RESHMA KUMAR
    ------------------------------



  • 3.  RE: [OpenIDC/mod_auth_openidc] Permission Denied (13)

    Posted Thu September 21, 2023 02:24 AM

    Hiya,

    Sure, please see output below,

    # ./httpd -M
    Loaded Modules:
     core_module (static)
     so_module (static)
     http_module (static)
     mpm_worker_module (shared)
     authn_file_module (shared)
     authn_core_module (shared)
     authz_host_module (shared)
     authz_groupfile_module (shared)
     authz_user_module (shared)
     authz_core_module (shared)
     access_compat_module (shared)
     auth_basic_module (shared)
     socache_shmcb_module (shared)
     reqtimeout_module (shared)
     filter_module (shared)
     mime_module (shared)
     log_config_module (shared)
     env_module (shared)
     headers_module (shared)
     setenvif_module (shared)
     version_module (shared)
     unixd_module (shared)
     status_module (shared)
     autoindex_module (shared)
     dir_module (shared)
     alias_module (shared)
     rewrite_module (shared)
     auth_openidc_module (shared)
     ssl_module (shared)
     perl_module (shared)

    Thanks,

    Brad



    ------------------------------
    Bradley Wells
    ------------------------------