<div dir="ltr"><br><div class="gmail_extra">Hello Yuri,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks, but this patch is for squid-4.0.8, right??</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">If applied to 3.5.16, the compilation fails as follows:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">depbase=`echo mem/Segment.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/bash ../../libtool  --tag=CXX    --mode=compile g++ -DHAVE_CONFIG_H -DDEFAULT_STATEDIR=\"/opt/squid-3.5/var/run/squid\"    -I../.. -I../../include  -I../../lib -I../../src  -I../../include  -I/usr/include  -I/usr/include  -I../../libltdl -I/usr/include -I/usr/local/include/libxml2  -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror -pipe -D_REENTRANT -I/usr/local/include  -g -O2 -march=native -I/usr/local/include -MT mem/Segment.lo -MD -MP -MF $depbase.Tpo -c -o mem/Segment.lo mem/Segment.cc && mv -f $depbase.Tpo $depbase.Plo</div><div class="gmail_extra">libtool: compile:  g++ -DHAVE_CONFIG_H -DDEFAULT_STATEDIR=\"/opt/squid-3.5/var/run/squid\" -I../.. -I../../include -I../../lib -I../../src -I../../include -I/usr/include -I/usr/include -I../../libltdl -I/usr/include -I/usr/local/include/libxml2 -I/usr/local/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror -pipe -D_REENTRANT -I/usr/local/include -g -O2 -march=native -I/usr/local/include -MT mem/Segment.lo -MD -MP -MF mem/.deps/Segment.Tpo -c mem/Segment.cc  -fPIC -DPIC -o mem/.libs/Segment.o</div><div class="gmail_extra">mem/Segment.cc: In member function 'void Ipc::Mem::Segment::create(off_t)':</div><div class="gmail_extra">mem/Segment.cc:95: error: no matching function for call to 'Ipc::Mem::Segment::createFresh()'</div><div class="gmail_extra">../../src/ipc/mem/Segment.h:57: note: candidates are: bool Ipc::Mem::Segment::createFresh(int&)</div><div class="gmail_extra">mem/Segment.cc:97: error: no matching function for call to 'Ipc::Mem::Segment::createFresh()'</div><div class="gmail_extra">../../src/ipc/mem/Segment.h:57: note: candidates are: bool Ipc::Mem::Segment::createFresh(int&)</div><div class="gmail_extra">mem/Segment.cc:107: error: 'xerrno' was not declared in this scope</div><div class="gmail_extra">*** Error code 1</div><div class="gmail_extra"><br></div><div class="gmail_extra">Stop in /usr/home/wash/Tools/Squid/3.5/squid-3.5.16/src/ipc.</div><div class="gmail_extra">*** Error code 1</div><div class="gmail_extra"><br></div><div class="gmail_extra">Stop in /usr/home/wash/Tools/Squid/3.5/squid-3.5.16/src.</div><div class="gmail_extra">*** Error code 1</div><div class="gmail_extra"><br></div><div class="gmail_extra">Stop in /usr/home/wash/Tools/Squid/3.5/squid-3.5.16/src.</div><div class="gmail_extra">*** Error code 1</div><div class="gmail_extra"><br></div><div class="gmail_extra">Stop in /usr/home/wash/Tools/Squid/3.5/squid-3.5.16.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 7 April 2016 at 22:15, Yuri Voinov <span dir="ltr"><<a href="mailto:yvoinov@gmail.com" target="_blank">yvoinov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
<a href="http://bugs.squid-cache.org/show_bug.cgi?id=4486" rel="noreferrer" target="_blank">http://bugs.squid-cache.org/show_bug.cgi?id=4486</a><br>
<br>
07.04.16 20:16, Amos Jeffries пишет:<br>
<div><div class="h5">> On 7/04/2016 3:16 a.m., Odhiambo Washington wrote:<br>
>> I am getting the following error in cache.log:<br>
>><br>
>> Squid Cache (Version 3.5.16): Terminated abnormally.<br>
>> CPU Usage: 0.082 seconds = 0.052 user + 0.030 sys<br>
>> Maximum Resident Size: 54992 KB<br>
>> Page faults with physical i/o: 0<br>
>> FATAL: Ipc::Mem::Segment::create failed to<br>
>> shm_open(/opt/squid-3.5/var/run/squid/cf__metadata.shm): (17) File exists<br>
>><br>
>><br>
>> However, that file doesn't exist.<br>
>><br>
><br>
> This can happen if you have a startup script the runs 'squid -z' or<br>
> similar just prior to starting the main proxy, and not waiting<br>
> sufficiently long for the -z run to finish.<br>
><br>
> Amos<br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
<br>
</div></div>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2<br>
<br>
iQEcBAEBCAAGBQJXBrHTAAoJENNXIZxhPexGyn8IALAK0K2WLF3NfRX/fszUr/X/<br>
6syPQWbGXUkw/ktauWB4HqegDEoDHMdRI5+EDUKNS8eFdfMgC8HY0EOVMowsw2RL<br>
6hyKSwWzmVV0p+OzC77dzeAPC2MqlLa5kb8yCTHC1ZDtQv5ZJmgaHsMixzTHCCfj<br>
fAme3vRG/HCJnQ4BbdybTz1XhYduB8aF91cRTQtQyGCYhkuRKYdVWpxDn1t2/+3D<br>
lQrqymKFS34C5eqcm1HiaIoXLdiPUUcmLyY8QjXfaAQbrRR6yKLa613pjU6XFYP+<br>
Aj7WthR4zHJgGPx65QLyEyHvyzAdgYCbjhRnyT7K4yonFvrEBC4a3DV6tePEzZg=<br>
=+50D<br>
-----END PGP SIGNATURE-----<br>
<br>
<br>_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223<br>"<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">"</span></div></div></div>
</div></div>