Frequently-Asked Questions for afick
Author: Gerbier

# Afick's Frequently-Asked Questions

FAQ Revised: Friday 11 April 2008 11:21:18

## Table of Contents

1. windows
  - 1.1. why is uid (owner) empty?
  - 1.2. Why is afick so slow ?
  - 1.3. Error handling error: 123, GetFileSecurity ...
  - 1.4. sdbm store returned -1, errno 22
2. installation
  - 2.1. can I install afick on my computer ?
  - 2.2. Makefile does not work on AIX
  - 2.3. can afick be compiled ?
3. webmin
  - 3.1. Can't locate CGI.pm in ...
4. report
  - 4.1. Why the date/time in cron.daily is GTM and not in local timezone?

## 1. windows

1.1. why is uid (owner) empty?
  I use the standard perl module Win32::Filesecurity, which gives access to ntfs acl, but not the owner.
  I find another perl module for that : Win32::Perms, but it is not commonly installed
1.2. Why is afick so slow ?
  I had some a test on 2 operating systems (linux and windows XP) on the same host, on the same number of files, and it is much slowier on windows ( x5 ).
  I do not know if it comes from perl interpreter or from windows it-self (ntfs).
1.3. Error handling error: 123, GetFileSecurity ...
  The problem come from files without acl !. it is fixed in 2.1 release.
1.4. sdbm store returned -1, errno 22
  This warning is emitted when you try to store a key or a value that is too long. There are a number of limits on the size of the data that you can store in the SDBM file. The most important is that the length of a key, plus the length of its associated value, may not exceed 1008 bytes. A clean way is too change the database backend, but the choice is reduced on some operating system (Windows). In this case, another way is to reduce the size of the data : on Windows, remove the "g" flag for example.

## 2. installation

2.1. can I install afick on my computer ?
  afick just use perl, so can work on any unix* computer, and even on windows. it does not need any compilation.
2.2. Makefile does not work on AIX
  AIX only use 'short' command options, and 'install' program has not the same options as gnu program.
  fixed in 2.4.0
2.3. can afick be compiled ?
  I had some try with perlcc (provided by perl-devel package), but perlcc exit with a core dump ... I then try pp (from PAR module, look at http://search.cpan.org/dist/PAR), and it seems to work

## 3. webmin

3.1. Can't locate CGI.pm in ...
  The CGI.pm perl module is not used (it is in afick-lib.pl from a a bad copy and paste). You can comment the "use CGI qw(:standard param);" line in /usr/libexec/webmin/afick/afick-lib.pl file. it is fixed in 1.4 release

## 4. report

4.1. Why the date/time in cron.daily is GTM and not in local timezone?
  because I was using only GMT at work ...
  I changes it to localtime in 2.4.0 release

Copyright (c) 2002 Dan York

This list of questions and answers was generated by makefaq.
back to main page