LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-12-2014, 09:49 AM   #1
coldbeer
Member
 
Registered: May 2006
Distribution: Slackware 14.1 + multilib
Posts: 109

Rep: Reputation: 21
Slackware 14.1 Symptom: Apache not logging errors - Kate was my problem.


Just wanted to document this issue that caused me grief.

Apache wasn't logging errors or warnings even though my setup was the same as Slackware 14.0, 13.37.

Slackware 13.37 used Kate v3.5.5
Slackware 14.0 used Kate v3.8.5
Slackware 14.1 uses Kate 4.10.5

Sometime after Kate 3.8.5, they changed the way Kate saves the file to use a temporary file in the same directory as the one being edited, then MV the temp file over the old file. This causes the file to have the same owner:group as the user who saved it - regardless of what it was prior.

So on my machine I set the /var/log/httpd/error_log permissions to root:root-666 so I could have error_log open in Kate and as I'm developing I would clear the file and save it. With the owner changed Apache couldn't write to it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Losing Net Neutrality Is The Symptom, Not The Problem: Now Is The Time To Focus On Real Compet LXer Syndicated Linux News 0 01-17-2014 10:51 AM
LXer: Kate/KDevelop October Sprint: What's new in Kate LXer Syndicated Linux News 0 11-24-2012 10:20 PM
[SOLVED] problem logging on slackware 13.1 linux/unix87 Linux - Newbie 12 02-08-2011 10:35 PM
LXer: Getting Started With the Kate Text Editor: Kate For Coders LXer Syndicated Linux News 0 04-01-2009 11:40 PM
Problem Logging into a fresh Slackware install behi Slackware - Installation 6 08-07-2005 04:01 PM


All times are GMT -5. The time now is 03:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration