Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
privoxy won't start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mcg
n00b
n00b


Joined: 03 Jan 2006
Posts: 3

PostPosted: Tue Jan 03, 2006 10:38 am    Post subject: privoxy won't start Reply with quote

hi

i can not make the privoxy work

privoxy user and group exist

/var/log/privoxy belong to user privoxy and group privoxy
/etc/privoxy belong to user privoxy and group privoxy

when i start /etc/init.d/privoxy start it won't start.config file is exist and belong to privoxy and i only added to config forward-socks4a / localhost:9050 .

when i run as root it runs, but i do't want to run it as root. i tried to run it from /etc/privoxy with command privoxy --pidfile /var/run/privoxy.pid --user privoxy.privoxy it complained that "fatal /etc/privoxy/config permission denied" this is insane all files belog to privoxy and readable plus writeable.what else should i try?can anyone help please?thanks
Back to top
View user's profile Send private message
kommissar
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2005
Posts: 78

PostPosted: Tue Jan 03, 2006 7:19 pm    Post subject: Reply with quote

You should start privoxy using '/etc/init.d/privoxy start' as root. It should drop to the proper user/group automatically.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Jan 03, 2006 7:44 pm    Post subject: Reply with quote

Check this thread.
Back to top
View user's profile Send private message
mcg
n00b
n00b


Joined: 03 Jan 2006
Posts: 3

PostPosted: Wed Jan 04, 2006 8:25 pm    Post subject: Reply with quote

PaulBredbury wrote:
Check this thread.



hi

thanks for the answers, but i searched the forum b4 i post and i tried all your advices,result same it just won't start
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Jan 04, 2006 8:32 pm    Post subject: Re: privoxy won't start Reply with quote

mcg wrote:
"fatal /etc/privoxy/config permission denied" this is insane all files belog to privoxy and readable plus writeable.

Check that the privoxy user can access the directories
Code:
su - privoxy
cd /etc/privoxy/
cat config
Back to top
View user's profile Send private message
mcg
n00b
n00b


Joined: 03 Jan 2006
Posts: 3

PostPosted: Wed Jan 04, 2006 9:10 pm    Post subject: Reply with quote

success to cd /etc/privoxy & command cat config without any problem :(
Back to top
View user's profile Send private message
cbpowell
n00b
n00b


Joined: 27 Mar 2004
Posts: 2

PostPosted: Thu Feb 23, 2006 5:47 am    Post subject: Reply with quote

On a new machine installation I was having weird "permission denied" problems with multiple programs, including sudo and privoxy. The issue was the permission setting of /.

Code:
ls -ld /


The result should be:
Code:
drwxr-xr-x  19 root root 480 Feb 21 17:25 /


My incorrect setting was:

Code:
d-wxr----t  19 root root 480 Feb 21 17:25 /


To correct was simple, and things began working properly:

Code:
chmod 755 /


I hope that this helps you.
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Tue Apr 25, 2006 11:44 am    Post subject: Reply with quote

I also have the same permission on /.
I think those permissions are less relaxed than 755, and I would like to maintain them (it's a server).
What I cannot understand is why only privoxy doesn't work.

I start apache, and it works.
I start tor, and it works.
I start cups, and it works.
I start ssh and it works.

Now, form that all of this daemons have their conf files in /etc/$daemon_name/ ...

Why only privoxy seems to be unable to read its config file... :?

Coda
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Tue Apr 25, 2006 12:38 pm    Post subject: Reply with quote

Run su - privoxy, then have a look around the filesystem to see what the privoxy user has access to.

Edit: For su to work, you'd need to change the privoxy line in /etc/passwd from /bin/false to /bin/sh
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5362
Location: Bavaria

PostPosted: Thu Mar 06, 2008 6:53 pm    Post subject: Reply with quote

Hi,

I had the same problem today. AND Privoxy was running without a problem before.

What I did ? I copied /etc with "unison" to another PC. And I made a little mistake with the result that the permission for /etc was wrong after.

So check the permissions for /etc also !
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum