Swap log problem

From: John P. Pagano <jpagano@dont-contact.us>
Date: Thu, 15 Jan 1998 17:33:24 -0500 (EST)

Okay, this time it's for real.

I have created the cache directory hierarchy with squid -z, however, when
I attempt to run RunCache, I get a number of error messages that state
that the file

/usr/local/squid/cache/log

doesn't exist. When I touch that file into existence, making sure it is
owned by squid and has the proper permissions set, RunCache fails because
there is no

/usr/local/squid/cache/log.new

I go through the same touch process with that file, and there is then a
third error, whose output is more interesting and cryptic:

Jan 15 17:27:25 ahab squid[4875]: Ready to Serve Requests.
Jan 15 17:27:25 ahab squid[4875]: Ready to Serve Requests.
Jan 15 17:27:25 ahab squid[4875]: Ready to Serve Requests.
Jan 15 17:27:25 ahab squid[4875]: storeRebuiltFromDisk:
   /usr/local/squid/cache/log.new,/usr/local/squid/cache/log: (13)
   Permission denied
Jan 15 17:27:25 ahab squid[4875]: storeRebuiltFromDisk:
   /usr/local/squid/cache/log.new,/usr/local/squid/cache/log: (13)
   Permission denied
Jan 15 17:27:25 ahab squid[4875]: storeRebuiltFromDisk:
   /usr/local/squid/cache/log.new,/usr/local/squid/cache/log: (13)
   Permission denied
Jan 15 17:27:25 ahab squid[4875]: storeRebuiltFromDisk: rename failed
Jan 15 17:27:25 ahab squid[4875]: storeRebuiltFromDisk: rename failed
Jan 15 17:27:25 ahab squid[4875]: storeRebuiltFromDisk: rename failed
Jan 15 17:27:25 ahab squid[4875]: storeWriteCleanlog: rename failed (13)
   Permission denied
Jan 15 17:27:25 ahab squid[4875]: storeWriteCleanlog: rename failed (13)
   Permission denied
Jan 15 17:27:25 ahab squid[4875]: storeWriteCleanlog: rename failed (13)
   Permission denied

It looks like a vanilla file permissions problem, but again I have the
permissions set properly, and the two log files in question

/usr/local/squid/cache/log
/usr/local/squid/cache/log.new

have been created.

Does anyone know what I can do or check? Thanks very much.

--
John P. Pagano
jpagano@allegro.cs.tufts.edu
--
If nothing within you stays rigid, outward things will disclose themselves.
Moving, be like water.  Still, be like a mirror.  Respond like an echo.
--
Received on Thu Jan 15 1998 - 14:34:27 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:26 MST