[MacPorts] #29510: Apache won't start after Macport install on Snow Leopard
#29510: Apache won't start after Macport install on Snow Leopard --------------------------------+------------------------------------------- Reporter: dforrest@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: --------------------------------+------------------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/29510> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 --------------------------------+------------------------------------------- Comment(by dforrest@…): Yes, the path to the modules was the issue. Thank you Soooooo much! -- Ticket URL: <https://trac.macports.org/ticket/29510#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29510: apache2: Cannot load /usr/libexec/apache2/mod_authz_owner.so into server ---------------------------------+------------------------------------------ Reporter: dforrest@… | Owner: macports-tickets@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: apache2 | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: 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. -- Ticket URL: <https://trac.macports.org/ticket/29510#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts