[NBLUG/talk] Apache2 + cronolog problems

Augie Schwer augie.schwer at gmail.com
Mon May 16 13:54:28 PDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 5/15/05, Rob Orsini <orsini at sonic.net> wrote:
> i'm trying to get a little more organized about my access logs and have
> them in directories like: [logs]/2005/May/15/access.log and can't seem
> to get it cooking.
> as a test, my CustomLog directive for my vhost looks like this:
> <vhost...>
> CustomLog "|/www/sbin/cronolog /var/log/www/orsini.us/%Y/bob" combined
> </vhost>
> and attempting to restart apache gives:
> "unable to start piped log program '/www/sbin/cronolog
> /var/log/www/orsini.us/%Y/bob': No such file or directory
> Unable to open logs"
> i've tried opening up file/directory permissions all with no effect.

Well that all looks good from the documentation:

http://httpd.apache.org/docs/mod/mod_log_config.html

Check out this guys examples; maybe they will help:

http://builder.com.com/5100-6372-5092424.html

Otherwise su to the user that httpd runs as and try and run the script.

Augie.


- -- 
Registered Linux user #229905
GPG Public Key: http://www.schwer.us/schwer.asc
Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iQEVAwUBQokIeMcjCXa2d7m4AQh2fQgAnwpIqrec+bVvOAkQOtOLczOVLjMPN3S5
scQZ10ZyMR9n2xJB74SYqz6pJ3CjaJILwsQxvRjNVGxYPhudsc3vwe15EYUGlaXS
0RUUz1uZaRoOdWR62oct610tqGR2Kzbb+jeEktt+hZOrOzaL5DGNflCjvArVmI2p
SKn2euzPC2+D6GT3H/6gLmzaUycMBorimwNePjfg5Z0bGROucqmO/N6wOYKgq8y3
2Ctezm4OHiNNrLg/lJVBypxufDaCZdjqwsYh5Kkx7GiupOD4wKJJREfRctIPJ3d0
IVfb6WCRhRhinsqumYVA66hpmckxqN8y0YS/9uTQvjgJ4G0uBLxp5Q==
=jyST
-----END PGP SIGNATURE-----



More information about the talk mailing list