Opened 13 years ago

Last modified 13 years ago

#29510 closed submission

apache2: Cannot load /usr/libexec/apache2/mod_authz_owner.so into server — at Version 2

Reported by: dforrest@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign@…
Port: apache2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (2)

comment:1 Changed 13 years ago by dforrest@…

Cc: dforrest@… added

Cc Me!

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; dforrest@… removed
Description: modified (diff)
Port: apache2 added
Summary: Apache won't start after Macport install on Snow Leopardapache2: Cannot load /usr/libexec/apache2/mod_authz_owner.so into server

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.

Note: See TracTickets for help on using tickets.