Hello, I'm trying to configure syslog-ng to log messages from local0 into a directory under the /usr tree. I'm sure that my configuration is correct, but the syslog-ng cannot write the file. When I switch to logging in /var tree, it works. My question is: Cannot I log into another directory? -- Att. Marcus Vinícius S. Mendes Pré-Processamento CPTEC/INPE Ramal 8676
Hello, I'm trying to configure syslog-ng to log messages from local0 into a directory under the /usr tree. I'm sure that my configuration is correct, but the syslog-ng cannot write the file. When I switch to logging in /var tree, it works. My question is: Cannot I log into another directory? -- Att. Marcus Vinícius S. Mendes Cachoeira Paulista / SP - Brazil National Institute for Space Research - INPE Center for Weather Forecast and Climatic Analysis - CPTEC (+55) 3186-8676
On Wed, 2007-02-14 at 12:48 +0000, "Marcus Vinícius S. Mendes" wrote:
Hello, I'm trying to configure syslog-ng to log messages from local0 into a directory under the /usr tree. I'm sure that my configuration is correct, but the syslog-ng cannot write the file. When I switch to logging in /var tree, it works. My question is: Cannot I log into another directory?
are you sure it has the proper permissions? -- Bazsi
On Fri, 16 Feb 2007 11:24:07 +0100, Balazs Scheidler said:
On Wed, 2007-02-14 at 12:48 +0000, "Marcus Vinícius S. Mendes" wrote:
Hello, I'm trying to configure syslog-ng to log messages from local0 into a directory under the /usr tree. I'm sure that my configuration is correct, but the syslog-ng cannot write the file. When I switch to logging in /var tree, it works. My question is: Cannot I log into another directory?
are you sure it has the proper permissions?
Another possible gotcha is that the listed permissions are correct, but the system has /usr/local (or /usr, if /usr/local isn't a separate filesystem) is mounted R/O.
participants (3)
-
"Marcus Vinícius S. Mendes"
-
Balazs Scheidler
-
Valdis.Kletnieks@vt.edu