Opened 13 years ago

Closed 13 years ago

#29510 closed submission (invalid)

apache2: Cannot load /usr/libexec/apache2/mod_authz_owner.so into server

Reported by: dforrest@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
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 (4)

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.

comment:3 Changed 13 years ago by dforrest@…

Yes, the path to the modules was the issue. Thank you Soooooo much!

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

Resolution: invalid
Status: newclosed

Great! That was easy. :)

I also just updated apache2 to 2.2.18, so if you "sudo port selfupdate" in awhile then you can "sudo port upgrade apache2" to get it.

Note: See TracTickets for help on using tickets.