Read Error Text File
Date: Fri, 22 Jan 2010 18:23:34 +0800 (SGT) 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. TIA, Andre Bersenang-senang di Yahoo! Messenger dengan semua teman. Tambahkan mereka dari email atau jaringan sosial Anda sekarang! http://id.messenger.yahoo.com/invite/ Received on Fri Jan 22 2010 - 10:23:44 MST This message: [ Message body ] Next message: Jose Lopes: "Re: [squid-users] Re: Re: Re: Re: squid_kerb_auth problem" Previous message: Ralf Hildebrandt: "[squid-users] How to block teamviewer in squid" Next in thread: Chris Roberts
This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug117560 - squid refuses to start Summary: squid refuses to start Status: CLOSED CURRENTRELEASE Aliases: None Product: Fedora Classification: Fedora Component: squid (Show other bugs) Sub Component: --- Version: rawhide Hardware: All Linux Priority medium Severity medium TargetMilestone: --- TargetRelease: --- Assigned To: Jay Fenlason QA Contact: Docs Contact: URL: Whiteboard: http://www.squid-cache.org/mail-archive/squid-users/201001/0410.html Keywords: Depends On: Blocks: FC2Blocker Show dependency tree /graph Reported: 2004-03-05 07:54 EST by Neal Becker Modified: 2014-08-31 19:26 EDT (History) CC List: 4 users (show) jfeeney lordmorgul oliva wtogami See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2004-06-09 12:18:57 EDT Type: --- https://bugzilla.redhat.com/show_bug.cgi?id=117560 Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description Neal Becker 2004-03-05 07:54:04 EST From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko) Description of problem: squid no longer starts after today's update. Log says: Mar 5 07:50:00 rpppc1 (squid): failed to find or read error text file. Mar 5 07:50:00 rpppc1 squid[18221]: Squid Parent: child process 18247 started Mar 5 07:50:00 rpppc1 squid[18221]: Squid Parent: child process 18247 exited due to signal 6 Mar 5 07:50:01 rpppc1 squid: . Version-Release number of selected component (if applicable): squid-2.5.STABLE5-1 How reproducible: Always Steps to Reproduce: 1.boot with squid enabled 2. 3. Additional info: Comment 1 Neal Becker 2004-03-05 08:23:32 EST Problem is default squid.conf says: error_directory /etc/squid/errors I changed it to: error_directory /etc/squid/errors/English Now squid starts Comment 2 Warren Togami 2004-04-17 06:55:35 EDT squid-2.5.STABL
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company http://stackoverflow.com/questions/29775218/file-read-error-in-c Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up File Read Error in C up vote 0 down vote favorite This code does not read the full text file.namely,first 30-40 does not read error read the word. why ? word source : http://www.cs.hmc.edu/~geoff/classes/hmc.cs070.200009/homework10/simple.dict #include