LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2004, 04:54 AM   #1
Joe_Zhu
Member
 
Registered: Dec 2003
Distribution: Debian, RedHat
Posts: 32

Rep: Reputation: 15
Question Can't creat file in /var/log


Hi i am using horde. after i installed all the things, i found horde can't create the log file in /var/log/. the error message shown below

Warning: touch(): Unable to create file /var/log/horde.log because Permission denied in /usr/share/pear/Log/file.php on line 119

Warning: chmod(): No such file or directory in /usr/share/pear/Log/file.php on line 120

i would like to know which permission it talking about ? the permission of pear log module or horde.log file ??

pls. help!!
Thanks!!
Joseph
 
Old 08-18-2004, 05:12 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
The permission being denied is that of the /var/log directory.

The best way to solve this problem depends on the setup (I don't know anything about horde), but creating a file (as root) called /var/log/horde.log, and then chown-ing it to the appropriate user should fix it.

Code:
su
touch /var/log/horde.log
chown hordeuser.hordegroup /var/log/horde.log
Where hordeuser is the user trying to create the file, and hordegroup is the group hordeuser belongs to.
 
  


Reply



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
my nVidia log file from /var paulinimus Linux - General 1 09-02-2004 07:55 AM
horde can't creat log file Joe_Zhu Linux - Software 2 08-05-2004 10:17 AM
How to control log file size in /var/log? yan Linux - General 2 10-13-2003 05:00 PM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM
/var/log/messages file jimval7 Linux - Security 5 07-22-2002 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:29 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration