[MacPorts] #29510: apache2: Cannot load /usr/libexec/apache2/mod_authz_owner.so into server (was: Apache won't start after Macport install on Snow Leopard)

MacPorts noreply at macports.org
Thu May 19 16:49:15 PDT 2011


#29510: apache2: Cannot load /usr/libexec/apache2/mod_authz_owner.so into server
--------------------------------+-------------------------------------------
 Reporter:  dforrest@…          |       Owner:  macports-tickets@…                   
     Type:  submission          |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.9.2                                
 Keywords:                      |        Port:  apache2                              
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

 * cc: dforrest@… (removed)
 * cc: ryandesign@… (added)
  * port:  => apache2


Old description:

> Hello,
>
> Getting this "Cannot load" message when trying to start the macports
> version of Apache that's was installed on Snow Leopard:
>
> sudo /opt/local/apache2/bin/apachectl -k start
> Password: xxxxx
> httpd: Syntax error on line 63 of /opt/local/apache2/conf/httpd.conf:
> Cannot load /usr/libexec/apache2/mod_authz_owner.so into server:
> dlopen(/usr/libexec/apache2/mod_authz_owner.so, 10): Symbol not found:
> _apr_stat$INODE64\n  Referenced from:
> /usr/libexec/apache2/mod_authz_owner.so\n  Expected in: flat namespace\n
> in /usr/libexec/apache2/mod_authz_owner.so
>
> If I comment out that line, then other modules throw the same error as I
> go down the list commenting them out in http.conf.
>
> Is there a directory permission I missed changing after install? Any help
> appreciated.
> Thanks

New description:

 Hello,

 Getting this "Cannot load" message when trying to start the macports
 version of Apache that's was installed on Snow Leopard:

 {{{
 sudo /opt/local/apache2/bin/apachectl -k start
 Password: xxxxx
 httpd: Syntax error on line 63 of /opt/local/apache2/conf/httpd.conf:
 Cannot load /usr/libexec/apache2/mod_authz_owner.so into server:
 dlopen(/usr/libexec/apache2/mod_authz_owner.so, 10): Symbol not found:
 _apr_stat$INODE64\n  Referenced from:
 /usr/libexec/apache2/mod_authz_owner.so\n  Expected in: flat namespace\n
 in /usr/libexec/apache2/mod_authz_owner.so
 }}}

 If I comment out that line, then other modules throw the same error as I
 go down the list commenting them out in http.conf.

 Is there a directory permission I missed changing after install? Any help
 appreciated. [[br]]
 Thanks

--

Comment:

 Why is /usr/libexec/apache2 appearing in the error message? That directory
 is not part of MacPorts, and MacPorts apache2 should not be looking there
 for anything. Have you modified your httpd.conf to instruct it to look
 there? If so, undo that change, and let it look in the usual place for its
 modules -- /opt/local/apache2/modules.

-- 
Ticket URL: <https://trac.macports.org/ticket/29510#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list