Re: squid wont start due to missing log_file_daemon.
On 5/19/2013 3:19 PM, Amos Jeffries wrote: I have figured out why this is happening. The log-daemon-helpers handling was significantly different to all the other helpers options and the default was to build none of the available ones. Patch going into 3.HEAD soon which makes it work identically to the other options. Amos Thanks!!! I am starting a new testing server that will work with StoreID on it. I am planning after implementing this server(takes a lot of time) to sit a bit on the ICAP reasearch. Eliezer
Re: squid wont start due to missing log_file_daemon.
On 14/05/2013 3:57 p.m., Amos Jeffries wrote: On 14/05/2013 5:19 a.m., Eliezer Croitoru wrote: On 5/13/2013 4:13 PM, Amos Jeffries wrote: A while ago as in before or after the change to configure auto-detection of helpers build capability? (1-5 May 2013) YES After this change a ./bootstrap.sh and ./configure is required on trunk / HEAD checkouts. Please check your ./cofnigure output for Log daemon helper messages. as like: checking for ldap.h... (cached) yes checking for winldap.h... (cached) no configure: Digest auth helper eDirectory ... found but cannot be built configure: Digest auth helpers to be built: LDAP file configure: Log daemon helpers to be built: Thats the one. Not even trying to build it. Strange. I have figured out why this is happening. The log-daemon-helpers handling was significantly different to all the other helpers options and the default was to build none of the available ones. Patch going into 3.HEAD soon which makes it work identically to the other options. Amos
squid wont start due to missing log_file_daemon.
I compiled new head from two days ago and while starting it up it would complain: ##start /usr/local/squid/sbin/squid 2013/05/13 13:56:07| Processing Configuration File: /usr/local/squid/etc/squid.conf (depth 0) 2013/05/13 13:56:07| ERROR: logfile_daemon /usr/local/squid/libexec/log_file_daemon: (2) No such file or directory 2013/05/13 13:56:07| storeDirWriteCleanLogs: Starting... 2013/05/13 13:56:07| Finished. Wrote 0 entries. 2013/05/13 13:56:07| Took 0.00 seconds ( 0.00 entries/sec). FATAL: logfile_daemon /usr/local/squid/libexec/log_file_daemon: (2) No such file or directory Squid Cache (Version 3.HEAD-20130512-r12806): Terminated abnormally. CPU Usage: 0.008 seconds = 0.004 user + 0.004 sys Maximum Resident Size: 18272 KB Page faults with physical i/o: 0 ##end The os is ubuntu 13.04 which squid compiled with basic build essentials. squid 3.1.20 works just fine. Just note that squid 3.head a while ago worked fine. Eliezer
Re: squid wont start due to missing log_file_daemon.
On 13/05/2013 11:00 p.m., Eliezer Croitoru wrote: I compiled new head from two days ago and while starting it up it would complain: ##start /usr/local/squid/sbin/squid 2013/05/13 13:56:07| Processing Configuration File: /usr/local/squid/etc/squid.conf (depth 0) 2013/05/13 13:56:07| ERROR: logfile_daemon /usr/local/squid/libexec/log_file_daemon: (2) No such file or directory 2013/05/13 13:56:07| storeDirWriteCleanLogs: Starting... 2013/05/13 13:56:07| Finished. Wrote 0 entries. 2013/05/13 13:56:07| Took 0.00 seconds ( 0.00 entries/sec). FATAL: logfile_daemon /usr/local/squid/libexec/log_file_daemon: (2) No such file or directory Squid Cache (Version 3.HEAD-20130512-r12806): Terminated abnormally. CPU Usage: 0.008 seconds = 0.004 user + 0.004 sys Maximum Resident Size: 18272 KB Page faults with physical i/o: 0 ##end The os is ubuntu 13.04 which squid compiled with basic build essentials. squid 3.1.20 works just fine. Just note that squid 3.head a while ago worked fine. A while ago as in before or after the change to configure auto-detection of helpers build capability? (1-5 May 2013) After this change a ./bootstrap.sh and ./configure is required on trunk / HEAD checkouts. Please check your ./cofnigure output for Log daemon helper messages. Also if you are building local objects inside the checkout directory a bzr clean-tree --ignored would probably be worthwhile as well before the bootstrap. Amos
Re: squid wont start due to missing log_file_daemon.
On 5/13/2013 4:13 PM, Amos Jeffries wrote: A while ago as in before or after the change to configure auto-detection of helpers build capability? (1-5 May 2013) YES After this change a ./bootstrap.sh and ./configure is required on trunk / HEAD checkouts. Please check your ./cofnigure output for Log daemon helper messages. as like: checking for ldap.h... (cached) yes checking for winldap.h... (cached) no configure: Digest auth helper eDirectory ... found but cannot be built configure: Digest auth helpers to be built: LDAP file configure: Log daemon helpers to be built: checking for krb5-config... yes checking for gssapi.h... (cached) yes checking for gssapi/gssapi.h... (cached) yes checking gssapi/gssapi_krb5.h usability... yes checking gssapi/gssapi_krb5.h presence... yes checking for gssapi/gssapi_krb5.h... yes ... Also if you are building local objects inside the checkout directory a bzr clean-tree --ignored would probably be worthwhile as well before the bootstrap. I have used the tar.bz from squid site. I can try the bzr checkout if it's better. Eliezer Amos
Re: squid wont start due to missing log_file_daemon.
On 14/05/2013 5:19 a.m., Eliezer Croitoru wrote: On 5/13/2013 4:13 PM, Amos Jeffries wrote: A while ago as in before or after the change to configure auto-detection of helpers build capability? (1-5 May 2013) YES After this change a ./bootstrap.sh and ./configure is required on trunk / HEAD checkouts. Please check your ./cofnigure output for Log daemon helper messages. as like: checking for ldap.h... (cached) yes checking for winldap.h... (cached) no configure: Digest auth helper eDirectory ... found but cannot be built configure: Digest auth helpers to be built: LDAP file configure: Log daemon helpers to be built: Thats the one. Not even trying to build it. Strange. Also if you are building local objects inside the checkout directory a bzr clean-tree --ignored would probably be worthwhile as well before the bootstrap. I have used the tar.bz from squid site. I can try the bzr checkout if it's better. In that case you should not have had to do anything. BUG! Amos