problem with evm : evmlog_cleanup

From: Malek Shabou <Malek.Shabou_at_nic.fr>
Date: Tue, 24 Jul 2001 16:48:40 +0200

  Hi manager,
  i have a problem with evmlog_cleanup: the script which clean
/var/evm/evmlog/, and i wander if any one has the some problem.
  i have a ds20 with TU 5.1, i have 3491 file in /var/evm/evmlog and when i
call /usr/share/evm/channels/evmlog/evmlog_cleanup to purge it i have this
error:

/usr/share/evm/channels/evmlog/evmlog_cleanup: /sbin/find: arg list too long
/usr/share/evm/channels/evmlog/evmlog_cleanup: /sbin/find: arg list too long

it is caused by these lines:
        eval ${FIND} * -prune -type f -mtime +$ARCHIVE_DAYS -print |
                    ^^^^
...
        eval ${FIND} * -prune -type f -mtime +$EXPIRE_DAYS -print |
                   ^^^^


normaly i can fix this problem by changing the * by .
are there any side effects to this.


Regards,


-- 
Malek Shabou				    E-mail: nic_at_nic.fr
AFNIC 				            Tel: +33 1 39 30 83 39
Immeuble international, 2 rue Stephenson    Fax: +33 1 39 30 83 01 
Saint-Quentin-En-Yvelines 78180 Montigny-Le-Bretonneux
Received on Tue Jul 24 2001 - 14:49:32 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT