You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sean Correia <Se...@eaw.com> on 2002/07/18 20:45:18 UTC

apachectl problem

I upgraded to Apache to 1.3.26 and am now having a problem restarting the server. I am running 2 instances, apache-light & apache-perl.

Servers are in:
/usr/local/apache-light/
/usr/local/apache-perl/

[root@stevie bin]# /usr/local/apache-perl/bin/apachectl start
fopen: No such file or directory
httpd: could not open document config file /usr/local/apache/conf/httpd.conf
/usr/local/apache-perl/bin/apachectl start: httpd could not be started

I get the same error when starting either version.

Here is the contents of apachectl (apache-light is the same, but with correct path):
# |||||||||||||||||||| START CONFIGURATION SECTION  ||||||||||||||||||||
# --------------------                              --------------------
#
# the path to your PID file
PIDFILE=/var/run/httpd/httpd.pid
#
# the path to your httpd binary, including options if necessary
HTTPD=/usr/local/apache-perl/bin/httpd
#
# a command that outputs a formatted text version of the HTML at the
# url given on the command line.  Designed for lynx, however other
# programs may work.
LYNX="lynx -dump"
#
# the URL to your server's mod_status status page.  If you do not
# have one, then status and fullstatus will not work.
STATUSURL="http://localhost/server-status"
#
# --------------------                              --------------------
# ||||||||||||||||||||   END CONFIGURATION SECTION  ||||||||||||||||||||

When I compiled the new version, did I hork something and is there a way to fix this without doing this all over?

Cheers,
Sean

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: apachectl problem

Posted by Jack Nerad <jn...@cimedia.com>.
Sean Correia wrote:
> I upgraded to Apache to 1.3.26 and am now having a problem restarting the server. I am running 2 instances, apache-light & apache-perl.
> 
> Servers are in:
> /usr/local/apache-light/
> /usr/local/apache-perl/
> 
> [root@stevie bin]# /usr/local/apache-perl/bin/apachectl start
> fopen: No such file or directory
> httpd: could not open document config file /usr/local/apache/conf/httpd.conf
> /usr/local/apache-perl/bin/apachectl start: httpd could not be started
> 
> I get the same error when starting either version.
> 
> Here is the contents of apachectl (apache-light is the same, but with correct path):
> # |||||||||||||||||||| START CONFIGURATION SECTION  ||||||||||||||||||||
> # --------------------                              --------------------
> #
> # the path to your PID file
> PIDFILE=/var/run/httpd/httpd.pid
> #
> # the path to your httpd binary, including options if necessary
> HTTPD=/usr/local/apache-perl/bin/httpd
> #

Try

HTTPD=/usr/local/apache-perl/bin/httpd -f /path/to/perl/conf

> # a command that outputs a formatted text version of the HTML at the
> # url given on the command line.  Designed for lynx, however other
> # programs may work.
> LYNX="lynx -dump"
> #
> # the URL to your server's mod_status status page.  If you do not
> # have one, then status and fullstatus will not work.
> STATUSURL="http://localhost/server-status"
> #
> # --------------------                              --------------------
> # ||||||||||||||||||||   END CONFIGURATION SECTION  ||||||||||||||||||||
> 
> When I compiled the new version, did I hork something and is there a way to fix this without doing this all over?
> 
> Cheers,
> Sean
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: apachectl problem

Posted by Jeff Beard <je...@cyberxape.com>.
Interesting. Did you use the --prefix switch with configure and point it 
to the final home of the apache instance which you were upgrading? 
Doesn't look that way.

--Jeff

Sean Correia wrote:
> I upgraded to Apache to 1.3.26 and am now having a problem restarting the server. I am running 2 instances, apache-light & apache-perl.
> 
> Servers are in:
> /usr/local/apache-light/
> /usr/local/apache-perl/
> 
> [root@stevie bin]# /usr/local/apache-perl/bin/apachectl start
> fopen: No such file or directory
> httpd: could not open document config file /usr/local/apache/conf/httpd.conf
> /usr/local/apache-perl/bin/apachectl start: httpd could not be started
> 
> I get the same error when starting either version.
> 
> Here is the contents of apachectl (apache-light is the same, but with correct path):
> # |||||||||||||||||||| START CONFIGURATION SECTION  ||||||||||||||||||||
> # --------------------                              --------------------
> #
> # the path to your PID file
> PIDFILE=/var/run/httpd/httpd.pid
> #
> # the path to your httpd binary, including options if necessary
> HTTPD=/usr/local/apache-perl/bin/httpd
> #
> # a command that outputs a formatted text version of the HTML at the
> # url given on the command line.  Designed for lynx, however other
> # programs may work.
> LYNX="lynx -dump"
> #
> # the URL to your server's mod_status status page.  If you do not
> # have one, then status and fullstatus will not work.
> STATUSURL="http://localhost/server-status"
> #
> # --------------------                              --------------------
> # ||||||||||||||||||||   END CONFIGURATION SECTION  ||||||||||||||||||||
> 
> When I compiled the new version, did I hork something and is there a way to fix this without doing this all over?
> 
> Cheers,
> Sean
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org