Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache Start Error On Solaris 8

Status
Not open for further replies.

slen

IS-IT--Management
Jun 6, 2002
10
CA
I have compiled apache 1.3.24 with the latest PHP on a brand new Soalris 8 install....everything went fine, but I am now getting an error on the apache start as follows....

./apachectl start
httpd: Cannot find ELF
Killed
./apachectl start: httpd could not be started

I cannot find anything in regards to this error...anyone got any suggestions?
 
This seems to have something to do with running GNU strip on the executables. Try either re-running strip on the apachectl and other apache executables, or not running it during the initial make.
 
Further to Dobbyn's mail - I had exactly the same problem - Apache 1.3.28 source install on SPARC Solaris 8 (02/02).

I was stumped, and am a non-programmer.

In my kind of language it's apparently to do with a mix of some GNU C compiler stuff and SUN's own C libraries in Solaris 8.

There's an error like this on the GNU archives:

Not knowing anything about strip I found it in
/usr/local/bin
and ran it on the httpd executable file which was failing, ie normally in /usr/local/apache/bin
ie run
/usr/local/bin/strip /usr/local/apache/bin/httpd

Hey presto, apache works!

Is anything straightforward on Solaris though? :)
Best wishes,
Alun
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top