Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

disk_cache: rename tempfile to hdrsfile failed ERROR

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
pb with cache_module and disk_cache_module / index.html - Hi, I am running under FreeBSD 6.1 and Apache2. If i am loading this two modules, my apache do not want to use the ... If i comment this two modules, apache2 work properly .... My config:

Apache 2.0.48 disk_cache_module problem: Directory index f.. - After hours running apache, suddenly causes my root directory index file (htm) not to load anymore. So I get the error: index forbidden by rule:' when trying to access without That's right, I forbid root..

Apache 2.0.48 disk_cache_module: Directory index forbidden.. - - GNU/Linux - Apache2 2.0.48 I've borrowed the subject from Bernhard Georg Enders, who had the same problem and solved it by cleaning the My server has dozens of and has been working fine for more than a year. Our webs..

Keep Getting Error: php_network_getaddresses: getaddrinfo .. - Hi - I am using this function: to check whether files exist on other peoples (before allowing my users to add the site to their directory of rss feeds). On my current shared hosting (running Apache 1.3.29 Red Hat Linux PHP 4.3.10)..

Newbie failed to start apache error - Hello, I have just purchased a dedicated server with linux fedora core3. I have just installed apache 2.2 by doing --enable proxy make make install i then edited the module config for apache using webmin with the..
Author Message
Mitch McBride

External


Since: Oct 18, 2007
Posts: 4



(Msg. 1) Posted: Wed Oct 17, 2007 11:56 pm
Post subject: disk_cache: rename tempfile to hdrsfile failed ERROR
Archived from groups: alt>apache>configuration (more info?)

Hello,

I recently implemented disk caching on my apache server. As the
server serves content and that content is cached, the following
message becomes more and more frequent in the error log:

[error] (2)No such file or directory: disk_cache: rename tempfile to
hdrsfile failed: /usr/local/apache6/cache//aptmpvRnbm6 -> /usr/local/
apache6/cache//kxh/qau/zdc/1hF/rj@/h1qn0xA.header

to the point where they are a few dozen or so such errors per minute.
Any help resolving this would be appreciated.

Thanks,
Mitch

Cache Config:
CacheRoot /usr/local/apache6/cache/
CacheEnable disk /images
CacheDirLevels 5
CacheDirLength 3


Build:
Server version: Apache/2.2.6 (Unix)
Server built: Oct 7 2007 23:39:11
Server's Module Magic Number: 20051115:5
Server loaded: APR 1.2.11, APR-Util 1.2.10
Compiled using: APR 1.2.11, APR-Util 1.2.10
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local/apache6/"
-D SUEXEC_BIN="/usr/local/apache6//bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"


System:
Linux imp-web05 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005
x86_64 x86_64 x86_64 GNU/Linux

 >> Stay informed about: disk_cache: rename tempfile to hdrsfile failed ERROR 
Back to top
Login to vote
Mitch McBride

External


Since: Oct 18, 2007
Posts: 4



(Msg. 2) Posted: Thu Oct 18, 2007 12:49 am
Post subject: Re: disk_cache: rename tempfile to hdrsfile failed ERROR [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 17, 8:58 pm, David McKenzie <dav... DeleteThis @cia.com.au> wrote:
> Mitch McBride wrote:
> > Hello,
>
> > I recently implemented disk caching on my apache server. As the
> > server serves content and that content is cached, the following
> > message becomes more and more frequent in the error log:
>
> > [error] (2)No such file or directory: disk_cache: rename tempfile to
> > hdrsfile failed: /usr/local/apache6/cache//aptmpvRnbm6 -> /usr/local/
> > apache6/cache//kxh/qau/zdc/1hF/rj@/h1qn0xA.header
>
> > to the point where they are a few dozen or so such errors per minute.
> > Any help resolving this would be appreciated.
>
> > Thanks,
> > Mitch
>
> > Cache Config:
> > CacheRoot /usr/local/apache6/cache/
> > <snip>
>
> Remove the trailing slash and try again. As you can see from the error
> messages, it is adding a slash itself, so it is superfluous and will
> fail on most systems.
>
> --
> DM dav... DeleteThis @cia.com.au
>
> 'It would go against respecting principles and truth if you have to
> respect and accept anything just because it is the other side's view.'
> - Kim Jung Ill- Hide quoted text -
>
> - Show quoted text -

After updating the confige, the problem persists:

(2)No such file or directory: disk_cache: rename tempfile to hdrsfile
failed: /usr/local/apache6/cache/aptmpRTj1cY -> /usr/local/apache6/
cache/0@l/JjP/cYk/Zot/iX@/OlK0EJw.header

There are gigs of cache that have correctly saved to disk. It looks
like an intermittent problem. Could this be a file system problem
regard a maximum number of directories or files per directory?

Thanks,
Mitch

 >> Stay informed about: disk_cache: rename tempfile to hdrsfile failed ERROR 
Back to top
Login to vote
David McKenzie

External


Since: Jul 18, 2007
Posts: 22



(Msg. 3) Posted: Thu Oct 18, 2007 12:56 am
Post subject: Re: disk_cache: rename tempfile to hdrsfile failed ERROR [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mitch McBride wrote:
> Hello,
>
> I recently implemented disk caching on my apache server. As the
> server serves content and that content is cached, the following
> message becomes more and more frequent in the error log:
>
> [error] (2)No such file or directory: disk_cache: rename tempfile to
> hdrsfile failed: /usr/local/apache6/cache//aptmpvRnbm6 -> /usr/local/
> apache6/cache//kxh/qau/zdc/1hF/rj@/h1qn0xA.header
>
> to the point where they are a few dozen or so such errors per minute.
> Any help resolving this would be appreciated.
>
> Thanks,
> Mitch
>
> Cache Config:
> CacheRoot /usr/local/apache6/cache/
> <snip>
Remove the trailing slash and try again. As you can see from the error
messages, it is adding a slash itself, so it is superfluous and will
fail on most systems.

--
DM davidm.RemoveThis@cia.com.au

'It would go against respecting principles and truth if you have to
respect and accept anything just because it is the other side's view.'
- Kim Jung Ill
 >> Stay informed about: disk_cache: rename tempfile to hdrsfile failed ERROR 
Back to top
Login to vote
HansH

External


Since: Dec 08, 2006
Posts: 112



(Msg. 4) Posted: Thu Oct 18, 2007 10:05 am
Post subject: Re: disk_cache: rename tempfile to hdrsfile failed ERROR [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Mitch McBride" <mitch.mcbride DeleteThis @gmail.com> schreef in bericht
news:1192693763.976252.156160@z24g2000prh.googlegroups.com...
>> > [error] (2)No such file or directory: disk_cache: rename tempfile to
>> > hdrsfile failed: /usr/local/apache6/cache//aptmpvRnbm6 -> /usr/local/
>> > apache6/cache//kxh/qau/zdc/1hF/rj@/h1qn0xA.header
>>
> After updating the confige, the problem persists:
>
> (2)No such file or directory: disk_cache: rename tempfile to hdrsfile
> failed: /usr/local/apache6/cache/aptmpRTj1cY -> /usr/local/apache6/
> cache/0@l/JjP/cYk/Zot/iX@/OlK0EJw.header
>
> There are gigs of cache that have correctly saved to disk. It looks
> like an intermittent problem. Could this be a file system problem
> regard a maximum number of directories or files per directory?

Or is the @ a common character on all failures?
- It need escaping on a manual move ...-


HansH
 >> Stay informed about: disk_cache: rename tempfile to hdrsfile failed ERROR 
Back to top
Login to vote
Mitch McBride

External


Since: Oct 18, 2007
Posts: 4



(Msg. 5) Posted: Thu Oct 18, 2007 1:58 pm
Post subject: Re: disk_cache: rename tempfile to hdrsfile failed ERROR [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 18, 1:41 am, "HansH" <ha....DeleteThis@invalid.invalid> wrote:
> "Mitch McBride" <mitch.mcbr....DeleteThis@gmail.com> schreef in berichtnews:1192693763.976252.156160@z24g2000prh.googlegroups.com...
>
> >> > [error] (2)No such file or directory: disk_cache: rename tempfile to
> >> > hdrsfile failed: /usr/local/apache6/cache//aptmpvRnbm6 -> /usr/local/
> >> > apache6/cache//kxh/qau/zdc/1hF/rj@/h1qn0xA.header
>
> > After updating the confige, the problem persists:
>
> > (2)No such file or directory: disk_cache: rename tempfile to hdrsfile
> > failed: /usr/local/apache6/cache/aptmpRTj1cY -> /usr/local/apache6/
> > cache/0@l/JjP/cYk/Zot/iX@/OlK0EJw.header
>
> > There are gigs of cache that have correctly saved to disk. It looks
> > like an intermittent problem. Could this be a file system problem
> > regard a maximum number of directories or files per directory?
>
> Or is the @ a common character on all failures?
> - It need escaping on a manual move ...-
>
> HansH

No, the filenames and directories have a variety of character
patterns:

[Thu Oct 18 09:58:18 2007] [error] (2)No such file or directory:
disk_cache: rename tempfile to hdrsfile failed: /usr/local/apache6/
cache/aptmpXskfeU -> /usr/local/apache6/cache/kR2/MPl/IuD/AUo/zNI/
cLxYQ3w.header
[Thu Oct 18 09:58:19 2007] [error] (2)No such file or directory:
disk_cache: rename tempfile to hdrsfile failed: /usr/local/apache6/
cache/aptmpNZqtzp -> /usr/local/apache6/cache/fDV/5Qr/uxb/qfB/JWT/
Et2W_Yw.header
[Thu Oct 18 09:58:20 2007] [error] (2)No such file or directory:
disk_cache: rename tempfile to hdrsfile failed: /usr/local/apache6/
cache/aptmpoDMVOF -> /usr/local/apache6/cache/oBr/zRa/Ns2/OjD/Lth/
uOfqxow.header

It looks like the top-level directory within the cache directory
doesn't exist:

stat /usr/local/apache6/cache/kR2
stat: cannot stat `/usr/local/apache6/cache/kR2': No such file or
directory

Thanks,
Mitch
 >> Stay informed about: disk_cache: rename tempfile to hdrsfile failed ERROR 
Back to top
Login to vote
Mitch McBride

External


Since: Oct 18, 2007
Posts: 4



(Msg. 6) Posted: Thu Oct 25, 2007 1:58 pm
Post subject: Re: disk_cache: rename tempfile to hdrsfile failed ERROR [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 18, 10:02 am, Mitch McBride <mitch.mcbr....DeleteThis@gmail.com> wrote:
> On Oct 18, 1:41 am, "HansH" <ha....DeleteThis@invalid.invalid> wrote:
>
>
>
> > "Mitch McBride" <mitch.mcbr....DeleteThis@gmail.com> schreef in berichtnews:1192693763.976252.156160@z24g2000prh.googlegroups.com...
>
> > >> > [error] (2)No such file or directory: disk_cache: rename tempfile to
> > >> > hdrsfile failed: /usr/local/apache6/cache//aptmpvRnbm6 -> /usr/local/
> > >> > apache6/cache//kxh/qau/zdc/1hF/rj@/h1qn0xA.header
>
> > > After updating the confige, the problem persists:
>
> > > (2)No such file or directory: disk_cache: rename tempfile to hdrsfile
> > > failed: /usr/local/apache6/cache/aptmpRTj1cY -> /usr/local/apache6/
> > > cache/0@l/JjP/cYk/Zot/iX@/OlK0EJw.header
>
> > > There are gigs of cache that have correctly saved to disk. It looks
> > > like an intermittent problem. Could this be a file system problem
> > > regard a maximum number of directories or files per directory?
>
> > Or is the @ a common character on all failures?
> > - It need escaping on a manual move ...-
>
> > HansH
>
> No, the filenames and directories have a variety of character
> patterns:
>
> [Thu Oct 18 09:58:18 2007] [error] (2)No such file or directory:
> disk_cache: rename tempfile to hdrsfile failed: /usr/local/apache6/
> cache/aptmpXskfeU -> /usr/local/apache6/cache/kR2/MPl/IuD/AUo/zNI/
> cLxYQ3w.header
> [Thu Oct 18 09:58:19 2007] [error] (2)No such file or directory:
> disk_cache: rename tempfile to hdrsfile failed: /usr/local/apache6/
> cache/aptmpNZqtzp -> /usr/local/apache6/cache/fDV/5Qr/uxb/qfB/JWT/
> Et2W_Yw.header
> [Thu Oct 18 09:58:20 2007] [error] (2)No such file or directory:
> disk_cache: rename tempfile to hdrsfile failed: /usr/local/apache6/
> cache/aptmpoDMVOF -> /usr/local/apache6/cache/oBr/zRa/Ns2/OjD/Lth/
> uOfqxow.header
>
> It looks like the top-level directory within the cache directory
> doesn't exist:
>
> stat /usr/local/apache6/cache/kR2
> stat: cannot stat `/usr/local/apache6/cache/kR2': No such file or
> directory
>
> Thanks,
> Mitch

I changed CacheDirLength 3 to CacheDirLength 2 and haven't received
the error in days. It must have been a file system issue with the
number of subdirectories in the 1st level of the cache directory.
 >> Stay informed about: disk_cache: rename tempfile to hdrsfile failed ERROR 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]