On 10/01/2008, Mark Hindley <[EMAIL PROTECTED]> wrote:
> On Thu, Jan 10, 2008 at 05:14:51PM -0600, Raphael wrote:
> > Right now trying to use apt-cacher is completely useless, nothing is
> received.
> > I just turned debug=1 and 'restarted' (I had to SIGKILL the processes
> > because not even after 20 SIGTERMs in a period of five minutes stopped
> > them) apt-cacher, but neither access.log nor error.log log anything
> > now (turning debug=0 doesn't make any difference), it just doesn't
> > work at all.
>
> Have I read this right -- with debug=1 there is nothing in error.log at
> all? If there is nothing, this is hanging very early

Yes, that's right

>
> Are the permissions on the logfiles correct? Which user are they owned
> by?

Everything is right with the perms:
$ lh /var/log/apt-cacher/{access,error}.log
-rw-r--r-- 1 www-data www-data 2.6M 2008-01-10 18:03
/var/log/apt-cacher/access.log
-rw-r--r-- 1 www-data www-data 403K 2008-01-10 18:03
/var/log/apt-cacher/error.log

>
> Also what are the permissions/ownership in /var/cache/apt-cacher?

$ lh -a /var/cache/apt-cacher
total 52M
drwxr-xr-x  7 www-data www-data 4.0K 2008-01-08 14:49 .
drwxr-xr-x 28 root     root     4.0K 2007-12-05 17:24 ..
-rw-r--r--  1 www-data www-data  24K 2008-01-08 14:49 __db.001
-rw-r--r--  1 www-data www-data 128K 2008-01-08 14:49 __db.002
-rw-r--r--  1 www-data www-data 264K 2008-01-08 14:49 __db.003
-rw-r--r--  1 www-data www-data 352K 2008-01-08 14:49 __db.004
drwxr-xr-x  2 www-data www-data 1.2M 2008-01-10 18:03 headers
drwxr-xr-x  2 www-data www-data 4.0K 2007-05-15 15:29 import
-rw-r--r--  1 www-data www-data  10M 2008-01-06 16:39 log.0000000001
-rw-r--r--  1 www-data www-data  24M 2008-01-05 14:51 md5sums.sl3
drwxr-xr-x  2 www-data www-data 1.1M 2008-01-10 18:03 packages
drwxr-xr-x  2 www-data www-data 1.4M 2008-01-10 18:03 private
-rw-r--r--  1 www-data www-data  25M 2008-01-09 16:16 sums.db
drwxr-xr-x  2 www-data www-data  20K 2008-01-08 15:51 temp


>
> Which working version did you upgrade from?

>From 1.5.5

>
> Presumably you are running in standalone daemon mode?

Yes, I am

>
> Mark
>

I just upgraded to 1.6.1 and nothing changed at all, the same problems occur.
I also disabled the daemon_addr option and nothing changed either, but
turning checksuming off did get apt-cacher back to work again
(retrieval, log files, etc).
So I guess there must be some problem with checksuming.

Sincerely,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Say NO to Microsoft Office broken standard.
See http://www.noooxml.org/petition



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to