Hi,

     I'm trying to set the logmaxdiskspace to -1 (infinite) whit this
another parameters:

nsslapd-accesslog-maxlogsperdir: 100
nsslapd-accesslog-maxlogsize: 100
nsslapd-accesslog-logrotationtimeunit: day
nsslapd-accesslog-logrotationtime:1
nsslapd-accesslog-logrotationsync-enable: on
nsslapd-accesslog-logrotationsynchour: 23
nsslapd-accesslog-logrotationsyncmin: 59

Actually, the attached ldif...

     When I try to apply the config I get this error:

me@myhost:~$ ldapmodify -H ldaps://ldaphost -D "cn=Directory Manager" -x -W
-f logs.ldif
Enter LDAP Password:
modifying entry "cn=config"
ldap_modify: Operations error (1)
    additional info: nsslapd-errorlog-logmaxdiskspace: maxdiskspace "-1
(MB)" is less than max log size "100 (MB)"

     My ldap version is 1.2.5, SO CentOS 5.5 x86

     If I try to make this changes with the admin console also mark this
error.

¿Is there a way to set the logmaxdiskspace to -1 in this version or have I
to set a maxlogsperdir to a high value?

Regards,
Moses.
dn: cn=config
changetype: modify
replace: nsslapd-accesslog-logmaxdiskspace
nsslapd-accesslog-logmaxdiskspace: -1
-
replace: nsslapd-accesslog-maxlogsperdir
nsslapd-accesslog-maxlogsperdir: 100
-
replace: nsslapd-accesslog-maxlogsize
nsslapd-accesslog-maxlogsize: 100
-
replace: nsslapd-accesslog-logrotationtimeunit
nsslapd-accesslog-logrotationtimeunit: day
-
replace: nsslapd-accesslog-logrotationtime
nsslapd-accesslog-logrotationtime:1
-
replace: nsslapd-accesslog-logrotationsync-enable
nsslapd-accesslog-logrotationsync-enable: on
-
replace: nsslapd-accesslog-logrotationsynchour
nsslapd-accesslog-logrotationsynchour: 23
-
replace: nsslapd-accesslog-logrotationsyncmin
nsslapd-accesslog-logrotationsyncmin: 59   
-
replace: nsslapd-errorlog-logmaxdiskspace
nsslapd-errorlog-logmaxdiskspace: -1
-
replace: nsslapd-errorlog-maxlogsperdir
nsslapd-errorlog-maxlogsperdir: 100
-
replace: nsslapd-errorlog-maxlogsize
nsslapd-errorlog-maxlogsize: 100
-
replace: nsslapd-errorlog-logrotationtimeunit
nsslapd-errorlog-logrotationtimeunit: day
-
replace: nsslapd-errorlog-logrotationtime
nsslapd-errorlog-logrotationtime:1
-
replace: nsslapd-errorlog-logrotationsync-enable
nsslapd-errorlog-logrotationsync-enable: on
-
replace: nsslapd-errorlog-logrotationsynchour
nsslapd-errorlog-logrotationsynchour: 23
-
replace: nsslapd-errorlog-logrotationsyncmin
nsslapd-errorlog-logrotationsyncmin: 59
-
--
389 users mailing list
389-us...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Reply via email to