Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-18-2004, 04:54 AM   #1
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!!
Old 08-18-2004, 05:12 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

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.

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.


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
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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:00 PM.

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