--- Pada Sab, 23/1/10, Andre Iskandar <andre_i2...@yahoo.com> menulis:
> Dari: Andre Iskandar <andre_i2...@yahoo.com> > Judul: Re: [squid-users] (0) Success but FATAL: failed to find or read error > text file [SOLVED] > Kepada: "Chris Robertson" <crobert...@gci.net> > Tanggal: Sabtu, 23 Januari, 2010, 7:17 AM > Chris, > I did run "chown nobody -R /usr/local/squid/" before > running squid, I think it had the access to the folder. > > I found the problem and I dont know why. It is the > "-malign-double". I tried to reinstall by adding flag by > flag, again and again ^_^. After I omit the flag, it runs > smoothly. > May be anybody can explain? > > TIA, > Andre > > --- Pada Sab, 23/1/10, Chris Robertson <crobert...@gci.net> > menulis: > > > Dari: Chris Robertson <crobert...@gci.net> > > Judul: Re: [squid-users] (0) Success but FATAL: failed > to find or read error text file > > Kepada: squid-users@squid-cache.org > > Tanggal: Sabtu, 23 Januari, 2010, 4:27 AM > > Andre Iskandar wrote: > > > Hallo, > > > I compile squid 2.7 stable7 using this command: > > > CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -pipe > > -fomit-frame-pointer -funroll-loops -ffast-math > > -fno-exceptions -fforce-addr -malign-double" > ./configure > > --enable-gnuregex --enable-async-io=60 > > --with-aufs-threads=60 --with-pthreads --with-aio > --with-dl > > --enable-storeio=ufs,aufs,coss,diskd,null > > --enable-removal-policies=lru,heap > --disable-ident-lookups > > --enable-delay-pools --enable-kill-parent-hack > > --disable-wccp --disable-wccpv2 --enable-snmp > > --enable-cache-digests --enable-linux-netfilter > > --enable-ssl --enable-htcp --disable-poll > > --enable-epoll --enable-http-violations > > --disable-internal-dns --with-maxfd=65536 > --enable-icmp > > --enable-unlinkd --enable-follow-x-forwarded-for > > --with-large-files --with-openssl > --enable-useragent-log > > --enable-err-languages=English > > --enable-default-err-language=English > > > > > > It runs smooth, no warning, no error and > successfull > > through make and make install. > > > But when I run this: > > > rFATAL: failed to find or read error text file. > > > 2010/01/22 17:12:54| Starting Squid Cache > version > > 2.7.STABLE7-20100122 for i686-pc-linux-gnu... > > > 2010/01/22 17:12:54| Process ID 26103 > > > 2010/01/22 17:12:54| With 1024 file descriptors > > available > > > 2010/01/22 17:12:54| Using epoll for the IO loop > > > 2010/01/22 17:12:54| Performing DNS Tests... > > > 2010/01/22 17:12:54| Successful DNS name lookup > > tests... > > > 2010/01/22 17:12:54| helperOpenServers: Starting > 5 > > 'dnsserver' processes > > > 2010/01/22 17:12:54| User-Agent logging is > disabled. > > > 2010/01/22 17:12:54| errorTryLoadText: failed to > fully > > read: > > > '/usr/local/squid/share/errors/English/ERR_READ_TIMEOUT': > > (0) Success > > > 2010/01/22 17:12:54| errorTryLoadText: > > '/usr/local/squid/etc/errors/ERR_READ_TIMEOUT': (2) No > such > > file or directory > > > FATAL: failed to find or read error text file. > > > > > > I tried to : > > > 1. make '/usr/local/squid/etc/errors/' soft > linked to > > /usr/local/squid/etc/errors/' > > > 2. also tried to make > '/usr/local/squid/etc/errors/' > > directory and copy the files from > > /usr/local/squid/share/errors/English/. > > > > > > But it didnt solve the problem. Just change '(2) > > .......' to '(0) Success' with the same FATAL error. > > > > > > Please help. > > > > > > > Does the account that Squid runs as have permission to > read > > files in > > either "/usr/local/squid/etc/errors/" or > > "/usr/local/squid/share/errors/English/"? Are you > > running SELinux or > > AppArmor? > > > > > TIA, > > > Andre > > > > Chris > > > > > > > Yahoo! Mail Kini Lebih Cepat dan Lebih > Bersih. Rasakan bedanya sekarang! http://id.mail.yahoo.com > Yahoo! Mail Kini Lebih Cepat dan Lebih Bersih. Rasakan bedanya sekarang! http://id.mail.yahoo.com