[MacPorts] #41464: apache2 @2.2.25_0+preforkmpm (active) httpd not working (Cannot execute binary file)
#41464: apache2 @2.2.25_0+preforkmpm (active) httpd not working (Cannot execute binary file) ---------------------------------+-------------------------------- Reporter: bastien.guillaume@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Not set | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: ---------------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/41464> MacPorts <http://www.macports.org/> Ports system for OS X
#41464: apache2 @2.2.25_0+preforkmpm (active) httpd not working (Cannot execute binary file) ----------------------------------+-------------------------------- Reporter: bastien.guillaume@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Not set | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: | ----------------------------------+-------------------------------- Comment (by bastien.guillaume@…): 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/41464#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 | ----------------------------------+-------------------------- Comment (by bastien.guillaume@…): Thanks for your prompt answer Ryan. I might have bothered you for no reason anyway. I should have checked the error_log before posting. There was this error there : {{{ [alert] (EAI 8)nodename nor servname provided, or not known: mod_unique_id: unable to find IPv4 address of "new-host.home" Configuration Failed }}} which seems to be related (according to [http://comments.gmane.org/gmane.os.apple.macports.user/18648 this thread]) to getaddrinfo() and that can be fixed by modifying the hosts file. -- Ticket URL: <https://trac.macports.org/ticket/41464#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41464: apache2 @2.2.25_0+preforkmpm (active) httpd not working (Cannot execute binary file) ----------------------------------+-------------------------- Reporter: bastien.guillaume@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: apache2 | ----------------------------------+-------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => worksforme Comment: I'm hoping the above means you were able to fix the problem. -- Ticket URL: <https://trac.macports.org/ticket/41464#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts