[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Who hast to build the notices.log?



03.03.09, 12:56, "glinka fjodor" <fjodor.glinka@xxxxx>:
I have installed tor rom the sources via ./configure / make / make install. From what i see it went well. I have enabled 

Log notice file /var/log/tor/notices.log

in my torrc. When i start tor i get the error 

Mar 03 10:43:56.377 [warn] Couldn't open file for 'Log notice file /var/log/tor/notices.log': Permission denied
Mar 03 10:43:56.377 [notice] Closing partially-constructed listener Socks listener on 127.0.0.1:9050
Mar 03 10:43:56.377 [warn] Failed to parse/validate config: Failed to init Log options. See logs for details.
Mar 03 10:43:56.377 [err] Reading config failed--see warnings above.

Ok, the folder doesn' t exist. I` ve created the folder /var/log/tor

drwxr-x--- 2 root staff 4096 2. Mär 11:00 tor

This is a 755 On my system the standard would be a 750.

Anyway, on next startup i got the same error message. So i created a notices.log with a chmod 742 (!). Now i am getting notices.

BUT is this the normal way to install tor from sources? I assumed that tor would create a log folder and a log file. Maybe i simple ./configure wasn' t enough?

I haven ' t tried it, but is a make uninstall possible?



The directory /var/log/tor mast be owned by  special tor user (cat /etc/passwd|grep tor): chown _tor /var/log/tor/
-