Logging, Syslog and Log Anaylsys Forums
»
Forums
»
Syslog & syslogd
Error opening file for writing
Username:
1 Hour
1 Day
1 Week
1 Month
Forever
Password:
Home
Help
Search
Quick Search
Advanced Search
Login
Register
News
:
« previous
next »
Pages: [
1
]
0 Members and 1 Guest are viewing this topic.
Topic Tools
Topic Tools
Print
October 06, 2008, 04:52:51 am
#0
o5tech
o5tech
Show o5tech's last posts.
Show general stats for o5tech.
Newbie
Posts: 2
Error opening file for writing
Hi!
I have a strange error on my syslog-ng server.
Everything was ok until I used a different hard disk for logs destination.
Now if I restart syslog-ng service, I can read the following error on /var/log/messages:
syslog-ng[1626]: Error opening file for writing; filename='/secondDisk/device', error='Permission denied (13)'
syslog-ng service is running as root, and /secondDisk/device has all permissions (777).
It is possible to create new files and directories, and I can write on /secondDisk/device log file.
Do you have some ideas about it?
Thanks in advance!
October 06, 2008, 07:22:10 pm
#1
mutex
mutex
Show mutex's last posts.
Show general stats for mutex.
Administrator
Newbie
Posts: 782
Re: Error opening file for writing
That is odd. What operating system?
October 08, 2008, 08:58:32 am
#2
o5tech
o5tech
Show o5tech's last posts.
Show general stats for o5tech.
Newbie
Posts: 2
Re: Error opening file for writing
It is a Red Hat EL5.
I have done some tests, just stopping and starting syslog-ng service (#service syslog-ng stop #service syslog-ng start).
And sometimes the error appears (the server do not receive anything) and sometimes not (the server receives logs with no problem).
Somebody has the same problem?
Pages: [
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forums
-----------------------------
=> Syslog & syslogd
===> syslog-ng
=> Log Data and Analysis
=> Windows Event Log
=> Web Server Logs
=> Security
=> General Discussion
=> Red Light District
=> Logs, Sarbanes Oxley and Compliance
GoogleTagged:
opening file writing for
error opening file writing
error opening writing for
error opening file writing for
syslog-ng permission denied
windows error opening file
error openig file writing for
opening file for
error opening files writing for
error opening file writing for
error opening file write for
error opening writing var log messages for
syslog-ng opening file for
error opening file denied for
syslog-ng disk error
error opening
dvdinfo pro error opening file writing for
problem opening log file writing there was the for
denied syslog-ng
error opening file for
Information Security News
|
Jerry Bell's blog
|
Enterprise IT
|
Tropical Fish Information
|
Tropical Fish Forums
Loading...