Empty error_log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm running Apache 2.2.11 on Solaris 10_x86. I'm using webmin/ virtualmin to configure virtual hosts and there created fine. But al the error_logs are empty. Below is an example of the log lines in a config file of a virtualhost.

ErrorLog "|/etc/webmin/virtual-server/writelogs.pl 121992855025460 / home/massageafspraak.nl/logs/error_log" CustomLog "|/etc/webmin/virtual-server/writelogs.pl 121992855025460 / home/massageafspraak.nl/logs/access_log" combined

When I restart the server the error_log file is created when it does not exist. But it stays empty forever, even I force an internal server error or a 404. The access_log works as aspected. I also tried to use the ErrorLog without the pipe, that doesn't work either. Permissions on both files are the same:

-rw-rw---- 1 massageafspraak.nl nobody 168075 Sep 19 2008 access_log -rw-rw---- 1 massageafspraak.nl nobody 0 Apr 6 15:59 error_log

Apache is running as nobody:

nobody 12520 9559 0 15:14:43 ? 0:00 /opt/csw/apache2/ sbin/httpd -k start -DSSL

and the user nobody has the primary group nobody.

When I restart apache these lines appear in the error_log of the server (/var/opt/csw/apache2/log/error_log)

[Sun Apr 19 15:20:06 2009] [notice] suEXEC mechanism enabled (wrapper: /opt/csw/apache2/sbin/suexec) [Sun Apr 19 15:20:11 2009] [notice] FastCGI: wrapper mechanism enabled (wrapper: /opt/csw/apache2/sbin/suexec) [Sun Apr 19 15:20:11 2009] [notice] FastCGI: process manager initialized (pid 14175) [Sun Apr 19 15:20:11 2009] [notice] Digest: generating secret for digest authentication ...
[Sun Apr 19 15:20:11 2009] [notice] Digest: done
[Sun Apr 19 15:20:11 2009] [notice] mod_python: Creating 8 session mutexes based on 256 max processes and 0 max threads. [Sun Apr 19 15:20:11 2009] [notice] mod_python: using mutex_directory / tmp [Sun Apr 19 15:20:11 2009] [notice] Apache/2.2.11 (Unix) mod_fastcgi/ 2.4.2 DAV/2 SVN/1.4.5 mod_ssl/2.2.11 OpenSSL/0.9.8g mod_python/3.3.1 Python/2.5.1 mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations [Sun Apr 19 15:20:11 2009] [warn] FastCGI: (dynamic) server "/opt/csw/ apache2/share/htdocs/suexec/loopbaankamer.nl/php5-cgi" (uid 1035, gid 1043) started (pid 14182) [Sun Apr 19 15:20:27 2009] [warn] FastCGI: (dynamic) server "/opt/csw/ apache2/share/htdocs/suexec/noordzuidbevrijdingsfestival.nl/php5- cgi" (uid 1071, gid 1066) started (pid 14198) [Sun Apr 19 15:20:27 2009] [warn] FastCGI: (dynamic) server "/opt/csw/ apache2/share/htdocs/suexec/boerplay.com/php5-cgi" (uid 1027, gid 1035) started (pid 14199)

I really don't know why the error_logs of the virtualhosts stay empty. I don't have any clues where to look for :(

Any ideas?

regards,
Martijn

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux