> On 30 Sep 2014, at 18:35, Benjamin Kaduk <[email protected]> wrote:
> 
> On Tue, 30 Sep 2014, Dan Van Der Ster wrote:
> 
>> Hi all,
>> Today when I attempt to create an IP user I get a DB inconsistent error:
>> 
>> # pts createuser 188.184.140.136
>> pts: database is inconsistent ; unable to create user 188.184.140.136
>> 
>> Then I noticed that our max user id is currently 2^31-1:
>> 
>> # pts listmax
>> Max user id is 2147483647 and max group id is -111717.
>> 
>> And excuse my ignorance but according to this thread:
>>  https://www.mail-archive.com/[email protected]/msg37254.html
>> “pts maxid is just a number that would be better called nextid"
>> 
>> The workaround described for this issue would be to
>>  pts setmax 1000000
>> 
>> which would let pts createuser find some unused IDs for new IP users.
>> 
>> Does this all sound reasonable?
> 
> Yes.

Thanks Ben -- that worked (we dumped the pts db and setmax to the “correct” 
next value).
We’re not sure which process ran up the max user id to maxint. Still 
investigating that…

Cheers, Dan

Reply via email to