#41464: apache2 @2.2.25_0+preforkmpm (active) httpd not working (Cannot execute binary file) ----------------------------------+-------------------------- Reporter: bastien.guillaume@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: apache2 | ----------------------------------+-------------------------- Changes (by ryandesign@…): * priority: Not set => Normal * owner: macports-tickets@… => ryandesign@… * port: => apache2 Old description:
I cannot manage to make macports' built apache2 work under 10.5.8 PPC
new-host:~ User$ sudo bash -x /opt/local/apache2/bin/apachectl -k start + ARGV='-k start' + HTTPD=/opt/local/apache2/bin/httpd + test -f /opt/local/apache2/bin/envvars + . /opt/local/apache2/bin/envvars ++ test x '!=' x ++ DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib ++ export DYLD_FALLBACK_LIBRARY_PATH + LYNX='lynx -dump' + STATUSURL=http://localhost:80/server-status + ULIMIT_MAX_FILES= + '[' x '!=' x ']' + ERROR=0 + '[' 'x-k start' = x ']' + case $ARGV in + /opt/local/apache2/bin/httpd -k start + ERROR=1 + exit 1 new-host:~ User$ sudo bash -x /opt/local/apache2/bin/httpd -k start /opt/local/apache2/bin/httpd: /opt/local/apache2/bin/httpd: cannot execute binary file
new-host:~ User$ file /opt/local/apache2/bin/httpd /opt/local/apache2/bin/httpd: Mach-O executable ppc
New description: I cannot manage to make macports' built apache2 work under 10.5.8 PPC {{{ new-host:~ User$ sudo bash -x /opt/local/apache2/bin/apachectl -k start + ARGV='-k start' + HTTPD=/opt/local/apache2/bin/httpd + test -f /opt/local/apache2/bin/envvars + . /opt/local/apache2/bin/envvars ++ test x '!=' x ++ DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib ++ export DYLD_FALLBACK_LIBRARY_PATH + LYNX='lynx -dump' + STATUSURL=http://localhost:80/server-status + ULIMIT_MAX_FILES= + '[' x '!=' x ']' + ERROR=0 + '[' 'x-k start' = x ']' + case $ARGV in + /opt/local/apache2/bin/httpd -k start + ERROR=1 + exit 1 new-host:~ User$ sudo bash -x /opt/local/apache2/bin/httpd -k start /opt/local/apache2/bin/httpd: /opt/local/apache2/bin/httpd: cannot execute binary file }}} {{{ new-host:~ User$ file /opt/local/apache2/bin/httpd /opt/local/apache2/bin/httpd: Mach-O executable ppc }}} -- Comment: I've updated the port to 2.2.26; please wait 30 minutes, then run "`sudo port selfupdate`" and "`sudo port upgrade outdated`" and then try again and let me know if that changes anything. Apache worked fine for me last time I used it on Leopard and on PowerPC but that was several years ago. I'm not familiar with "`bash -x`"... what does it do and why is it needed here? -- Ticket URL: <https://trac.macports.org/ticket/41464#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X