Home > Cannot Open > Cannot Open Logfile /var/log/messages Permission Denied

Cannot Open Logfile /var/log/messages Permission Denied

How to migrate to a new iRedMail server More documents: http://www.iredmail.org/docs/. I just started my first real job, and have been asked to organize the office party. After it reaches a specified size, I want the old one to be zipped up, and a new one created with the current date and time. Report a bug This report contains Public information Edit Everyone can see this information. Source

Name: image001.gif Type: image/gif Size: 1173 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... mkdir /var/log/postgresql; chmod 0600 /var/log/postgresql; chown postgres:postgres /var/log/postgresql. Is it anti-pattern if a class property creates and returns a new instance of a class? How about buying me a cup of coffee ($5) as an encouragement? 16 Reply by ZhangHuangbin 2011-05-10 23:21:26 ZhangHuangbin iRedMail Developers Offline Registered: 2009-05-06 Posts: 19,105 Re: Can't open log file read the full info here

The email campaign mailer program resides on the same server as the iRedMail server. What seems to be happening is logrotate makes a new /var/log/messages file and changes the permissions on the file. You can change that. How can you make that log file writable before it even exists?

After chmod i implement chown to folder with root:root and no further problems were found, so SQUID is now working and configured successfully. Or given your user the permissions to do so?I've tried to start the daemon as root but yet the output is the sameCouldn't open file for 'Log debug file /var/log/tor/debug.log': Permission William Pechter 2015-09-14 15:49:16 UTC PermalinkRaw Message _______________________________________________Xymon mailing listhttp://lists.xymon.com/mailman/listinfo/xymonYou may need to use the group of the apache web server user instead ofxymon. Unfortunately, my temporary solution is to hard-code a filename e.g.

The campaign mailer program is functioning fine and sends out all emails. You run tor using systemd, correct? Or are people manually creating the log file first and then changing its permissions? http://lists.xymon.com/archive/2015-September/042259.html Browse other questions tagged postgresql configuration logs or ask your own question.

On your hobbit server, you have to add : > > --extra-script=/Soft/HOBBIT-4.1.2p1/server/ext/extragrph.sh > --extra-tests=sar > > into hobbitlaunch.cfg at [rrdstatus] and [rrddata] sections. > > Here is my server-side script called I was thinking I could add xymon user tosplunk group and that would allow xymon to read /var/log/messages aswell, but it doesn't seem to be working. Why is looping over find's output bad practice? E-mails are susceptible to alteration.

Howto graph wio and rq Hello Marco, absolutely ! I can read /var/log/messages as the xymon user but the msgs web page is still showingCannot open logfile /var/log/messages : Permission deniedAny ideas on what else I can do to allow Sincerly, Thomas "Marco Avvisano" a écrit sur 20/05/2006 11:36:39 : > Hi, > > Do you use bb-sar script from deadcat? > > Marco > > ----- Original Message ----- as super user (sudo vim /var/log/tor/debug.log)Kartious wrote:I would also look at ls -l /var/log/tor/ as wellHere's the output$ ls -la /var/log/tor total 4 -rw-r--r-- 1 root root 4 May 20 13:19

I can read /var/log/messagesas the xymon user but the msgs web page is still showingCannot open logfile /var/log/messages : Permission deniedAny ideas on what else I can do to allow xymon http://sauvblog.com/cannot-open/cannot-open-file-for-writing-permission-denied.html Affecting: squid (Ubuntu) Filed here by: Evgeniy When: 2009-08-28 Confirmed: 2009-11-23 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Draw a hollow square of # with given width Count trailing truths Real numbers which are writable as a differences of two transcendental numbers Would we find alien music meaningful? Such information may be protected from disclosure by law.

I don't know how to use diff files. Learn how to be safe at https://www.torproject.org/download/download#warning May 20 11:53:10 arch tor[21726]: May 20 11:53:10.877 [notice] Read configuration file "/etc/tor/torrc". The tor service *should* run as the tor user. have a peek here Squid Cache (Version 2.6.STABLE18): Terminated abnormally.

Thanks chuck Changed in squid (Ubuntu): importance: Undecided → Low status: New → Incomplete Evgeniy (edgecrus) wrote on 2009-09-01: Re: [Bug 420729] Re: squid stable permissions problems with log files #5 URL: Previous message: [Xymon] reading /var/log/messages Next message: [Xymon] Oracle monitoring with dbcheck fails Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More maí 2008 06:56 To: hobbit at hswn.dk Subject: Re: [hobbit] /var/log/messages permission denied chgrp HOBBITUSER /var/log/messages chmod g+r /var/log/messages Taken from: http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Administration_Guide/Compiling_on_CentOS On Fri, May 16, 2008 at 2:51 AM, Gavin

Hencechown tor:tor /var/log/torNow launching the daemon works, and the /var/log/tor/debug.log is correctly written.Adding [SOLVED] to the main post title.Thanks to everyone, Last edited by giuscri (2014-05-20 12:20:40) Offline #9 2014-05-20 12:20:05

Edit /etc/logrotate.d/syslog and add/edit the following line create 640 root "name of group" Then hobbit/bb should be able to read the file. I was thinking I could add xymon user to > splunk group and that would allow xymon to read /var/log/messages as > well, but it doesn't seem to be working. Looks correct, applied. So, if you want these two graphs, you > have to write a server-side script and use a client test (tested on aix, > hpux, linux, sunos).

Do humans have an obligation to prevent animal on animal violence? systemd starts the service as the tor user (see /usr/lib/systemd/system/tor.service). affects: firefox-3.0 (Ubuntu) → squid (Ubuntu) Evgeniy (edgecrus) wrote on 2009-08-30: #3 issue was resolved with chmod 777 for /var/log folder and after that debug mode was started and service started http://sauvblog.com/cannot-open/cannot-open-for-write-permission-denied.html Make a new goup and add the hobbit/bb user to the grp. 2.

asked 1 year ago viewed 1629 times active 1 year ago Related 4PostgreSQL: Change log file location3How do I configure PostgreSQL 8.3 to log bind parameters?3Recover from Postgres FATAL: could not