Search squid archive

Re: Problem writing squid PID file when tproxy is enabled.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I am using squid-2.6.STABLE9 on linux-2.6.19.1 When
I enable "tproxy" option
in squid, the squid is not able to write the PID
file and I get the
following error message in squid.

    2007/02/03 16:07:22|
/usr/local/squid26s9TP/var/logs/squid.pid: (1)
Operation not permitted
    2007/02/03 16:07:22| WARNING: Could not write
pid file.

But without "tproxy" option it works without any
issues.  Is it a known
issue?

tproxy needs root capability, so you must allow it to
read and write, like chmod 666 or .. you may choose to
move the pid into /var/run


I dont get what you are saying. The squid goes to privileged mode while writing the pid file and why does it require more than 755 to /usr/local/squid26s9TP/var/logs/ directory (this is ownened by nobody:nobody which is the squid user and group).

-logu


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux