You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 2000/12/28 23:38:18 UTC

httpd: syntax error at line 1: `(' unexpected

I'm trying to help someone with httpd on Solaris, but I
don't know from that platform.  My best WAG is that there's
either something wrong with the binary, or it's the wrong
binary for the platform.

The error is:

# /usr/local/web/apache/bin/apachectl configtest
/usr/local/web/apache/bin/httpd: syntax error at line 1: `(' unexpected

o Package downloaded was: apache_1.3.14-i86pc-sun-solaris2.260.gz
o Installed on: Solaris 2.6
o 'file /usr/local/web/apache/bin/httpd' says:
  /usr/local/web/apache/bin/httpd:
        ELF 32-bit LSB executable 80386 Version 1, dynamically linked,
        not stripped
o The failing command in apachectl is:
  /usr/local/web/apache/bin/httpd -d /usr/local/web/apache \
      -R /usr/local/web/apache/libexec -t

Anyone have any ideas?
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>