You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mario libraro <m....@fulltrading.it> on 2001/06/13 20:29:01 UTC

[Fwd: Re: Apache don't starts.. :(]

Dmitri Colebatch wrote:
> 
> and if in one window you have "tail -f logs/*" whilst trying to start it is
> there any meaningful output in the logs?


ok :) whe're going near the solution..

when i start tomcat all seems ok.. tomcat now works on port 8080
(servlet and jsp examples work too)... OK

now, when i try to start apache...

	root@lintest:/var/lib/apache/sbin# ./apachectl start
	./apachectl start: httpd could not be started

The error_logs file contains:

	root@lintest:/var/lib/apache/sbin# cat /var/log/error_log
	[Wed Jun 13 17:02:31 2001] [emerg] JServ: Error setting defaults:
ApJServLogFile
	: file '/var/lib/apache/./logs/mod_jserv.log' can't be opened
	[Wed Jun 13 17:02:31 2001] [crit] (2)No such file or directory: Apache
JServ enc
	ountered a fatal error; check your ApJServLogFile for details if none
are presen
	t in this file.  Exiting.

because src/native/apache/jserv/jserv.h at line 117 contains:

#define JSERV_DEFAULT_LOGFILE "./logs/mod_jserv.log"

so it searches a logs subdir in /var/lib/apache... I simply created it
and now..........

root@lintest:/var/lib/apache# sbin/apachectl start
sbin/apachectl start: httpd started

IT WORKS!!!!! :)) and tomcat integration too... 

Thanks a lot :)))))



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mario Libraro
Progettazione & Sviluppo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Fulltrading S.p.A.

amm.:  50121 Firenze - Viale Matteotti, 9
sede:  00153 Roma - Via Rosazza, 58
cell.: +39 338 9753 962
       +39 347 5205 752
tel.:  +39 066 573 170
fax:   +39 066 573 529
email: m.libraro@fulltrading.it
       m.libraro@tiresia.it
web:   www.fulltrading.it
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

"Grande disordine sotto il cielo...
...la situazione รจ ottima"

                            Mao Tse-Tung