You won't be able to move swap.state unless you configure a different
directory in squid.conf (same with the others as well--but I;ll guess
you've figured that out).
I don't recall if you've mentioned what OS you are using? If using Red
Hat Linux or a dirivative, you'll want to look at the man page for
logrotate. It's a nice little daemon that handles your problems with
ease. Otherwise, I don't know where to point you for information, maybe
someone else will know.
Dr. Edgar Alwers wrote:
> You wrote on Son, 08 Apr 2001 :
>
>> Is the object storage (cache_dir) on the same disk as your logs, or user
>> home directories?
>
>
> It is on the same disk. Meanwhile, I moved the .log files ( access, cache,
> store ) to a second disk, but I could not move swap.state: a message tells me
> that a lot of directorys have to be initialised ( 00,01,02....) and I am not
> authorized to do so ( ?? ) So I put swap.state back to the former directory.
> Now, the system is working again. I made place.
> But I would like to know how "rotate" works and how I could manage to put a
> working rotate let me say in "cron". I did "squid rotate -k " in a console, but
> this was rejected: "squid: ERROR: Could not send signal 10 to process 373: (3)
> No such process"
> My informations arebased on "Squid: A User's Guide", from the Internet. This
> instructions does not handle "rotate". Do you know other sources ?
>
> Thank you very much for hints. I hope, you are recovering from Baltimore and
> "eager" to answer questions comming from Germany. ;-)
>
> Have a good time,
> Edgar
--
Joe Cooper <joe@swelltech.com>
Affordable Web Caching Proxy Appliances
http://www.swelltech.com
Received on Tue Apr 10 2001 - 03:17:50 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:14 MST