#47880: squid3 @3.5.5 run fails with "cannot change current directory to /opt/local/var/squid/cache/squid" ----------------------+-------------------- Reporter: ni-27@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: squid3 | ----------------------+-------------------- Comment (by ni-27@…): Replying to [comment:9 jmr@…]:
Yes the default should work in a fresh environment, but the default was wrong. That’s what I fixed. Updating the port will not touch an existing squid.conf, so if you have a reference to /opt/local/var/squid/cache/squid in there (rather than /opt/local/var/squid/cache) you will need to either change it or create that directory. I can’t tell you what series of events led to the current state of your squid.conf, but your log output is very clear that it is referencing /opt/local/var/squid/cache/squid.
Thank you very much. This helped. With the 3.5.5_1 patch I was able to upgrade the 3.4.11 squid environment without trouble on my second machine. Your observations on the logs are correct. Unfortunately, I was missing the point by using a fresh startup and did not take the effort to dig for the original logs and squid.conf on the first machine. -- Ticket URL: <https://trac.macports.org/ticket/47880#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X