apache 1.2.0 log files won't be created

apache 1.2.0 log files won't be created

Post by Luuk de Bo » Sat, 14 Jun 1997 04:00:00



Hello
I just installed apache 1.2.0 and hoped that would solve the problem
that I discovered with apache 1.1.1.
We have about 60 or 70 virtualdomains running.
Every virtual domain has a TransferLog entry which is piped to
cronolog with a date stamp at the end of the file.
I am running redhat 4.1 at a pentium 75 system (bit small but it's
running fine). (kernel 2.0.27)
I looked with ulimit -a and -n and it was 256 (max files open I
believe). I tried to update it but I couldn't do it because of an
error.
At some virtual domains there aren't any logs anymore. When I go to
the virtual domain it should make the log file and generate one hit in
the log file but nothing appear no file and so no hit ...

I tried also the page out of the manual of apache 1.2.0
(virtual-host.html) but that's also not working ...

Does anybody know if the restriction of max open files is the problem
and with what commando I should great more open files on a redhat
linux machine.

Greetz...

Luuk

 
 
 

apache 1.2.0 log files won't be created

Post by Scott Goodma » Sat, 14 Jun 1997 04:00:00



> Hello
> I just installed apache 1.2.0 and hoped that would solve the problem
> that I discovered with apache 1.1.1.
> We have about 60 or 70 virtualdomains running.
> Every virtual domain has a TransferLog entry which is piped to
> cronolog with a date stamp at the end of the file.
> At some virtual domains there aren't any logs anymore. When I go to
> the virtual domain it should make the log file and generate one hit in
> the log file but nothing appear no file and so no hit ...

The best way to solve this is to use a single log file for all your
virtual hosts, then split them out later if you need to. I use the
following directive to do this:

LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\"
%v"

Basically this gives me a common log format combined with referer,
browser, and virtual host.

Hope this helps.

Scott

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Scott Goodman                       http://www.uniserve.com/
UNIServe Online                        Main # (604) 856-6281
WWW Division                            WWW # (604) 684-8996
=-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
             UNIServe WWW Support Mailing List


 
 
 

1. Apache won't restart after log file move

Hi,

Our Apache servers occasionally (every few days) will not restart
after the "kill -1" used after moving the log files.  When I attempt
to restart the servers I get "bind: address already in use" and
"httpd: could not bind to address ... port ..."  My only recourse
is to shutdown the server, which is a Sparc 20 running Solaris 2.4
with no updates.

Any ideas???

Thank you.
Ken.

2. pppd: timeout sending Config-Requests

3. Why won't apache put the host name in log files

4. Sendmail question...

5. Logrotate won't create new log with proper permissions

6. Why does dhclient bind to port 68?

7. Apache creating log files in the wrong place.

8. Parallel Interface Info?

9. Apache Gzip Log Pipe Creates Empty File

10. CERN HTTPD 3.0 -- Can't create logs and pid file

11. Creating log file with today's date (newbie alert!)

12. Can I create a file that won't be saved if not closed properly?

13. Why am I not 'Logged in' ?