httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hongliang Wang" <loudw...@msn.com>
Subject [users@httpd] How to install Apache without a root account?
Date Fri, 27 Apr 2007 10:34:10 GMT
Dear all,

I am a newbie to apache and encountered a problem when installing it.

I was asked to install Apache 1.3.37 on a Solaris 8 machine with my own 
account, which does not have privilige to write to /usr/local/. So I updated 
the Makefile and made those directories pointing to my own directory. for 
example

prefix = /usr/local/apache

was changed by myself to

prefix = $(HOME)/apache

then I run

$./configure
$make
$make install

The result was good and I saw the success message.

+--------------------------------------------------------+
| You now have successfully built and installed the      |
| Apache 1.3 HTTP server. To verify that Apache actually |
| works correctly you now should first check the         |
| (initially created or preserved) configuration files   |
|                                                        |
|   /home/hwg300/apache/conf/httpd.conf
|                                                        |
| and then you should be able to immediately fire up     |
| Apache the first time by running:                      |
|                                                        |
|   /home/hwg300/apache/bin/apachectl start
|                                                        |
| Thanks for using Apache.       The Apache Group        |
|                                http://www.apache.org/  |
+--------------------------------------------------------+

But when I start the server, an error occured.

$ /home/hwg300/apache/bin/apachectl start
fopen: No such file or directory
httpd: could not open document config file /usr/local/apache/conf/httpd.conf
/home/hwg300/apache/bin/apachectl start: httpd could not be started

Could anybody tell me what I should do ?

Thanks !

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message