Re: [squid-users] squid.pid (squid-2.5.STABLE4)

This is a discussion on Re: [squid-users] squid.pid (squid-2.5.STABLE4) within the Squid Users forums, part of the Web Server and Related Forums category; Henrik Nordstrom wrote: >>With a softlink I could solve the problem: >>ln -s /var/run/squid....


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-08-2004
Oliver Zimmermann
 
Posts: n/a
Default Re: [squid-users] squid.pid (squid-2.5.STABLE4)



Henrik Nordstrom wrote:
>>With a softlink I could solve the problem:
>>ln -s /var/run/squid.pid /usr/local/squid/var/logs/squid.pid

>
>
>
> There is one important clue above. When you start Squid you specified that
> /etc/squid.conf should be used as configuration file, but the "squid -k
> rotate" did not specify which configuration file to use and will thus use
> the default configuration file location for that Squid binary. This
> configuration file most likely does not specify the same pid_filename.
>
> Regards
> Henrik
>


You've got it! Thanks very much!

I had "/usr/local/squid/sbin/squid -k rotate" in my crontab, so squid
falls back to the default location /usr/local/squid/etc/squid.conf. This
squid.conf uses the default /usr/local/squid/var/logs/ for the
squid.pid-file, and not the one I defined in /etc/squid.conf.

I checked this with "/usr/local/squid/sbin/squid -f /etc/squid.conf -k
check", which is without error now.

Thanks for your solution,
Oliver




Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0