[BlueOnyx:21407] Re: cmuImport Error

Aaron Greenspan aarong at thinkcomputer.com
Thu Sep 21 23:20:15 -05 2017


All,

It looks like I was able to solve my own problem by following the procedure outlined here:

http://mail.blueonyx.it/pipermail/blueonyx/2015-November/055755.html

1. First turn off quota:
/sbin/quotaoff -ug /home/

2. Then remove quota database
rm /home/aquota.user
rm /home/aquota.group

3. Then run quotacheck to get the quota back in sync (this can take some time):
/sbin/quotacheck /home/ -vugm

4. Finally turn back on quota:
/sbin/quotaon -ug /home/

5. And restore the values in the CODB database:
/usr/sausalito/sbin/disk_restorequotas.pl

It looks like there may not have been a quota database in the first place, even on a fresh install of 5209R (maybe an install script bug?) I checked, and quotas were enabled in /etc/fstab on my ext4 filesystem. Nonetheless, after this procedure, the /home/aquota.user and /home/aquota.group files were definitely there and cmuImport stopped complaining.

Aaron

> On Sep 21, 2017, at 6:24 PM, Aaron Greenspan <aarong at thinkcomputer.com> wrote:
> 
> Hi,
> 
> When I run...
> 
> /usr/sbin/cmuImport -a -s -d /home/kermit/kermit.thinkcomputer.com/
> 
> ...I’m receiving the following errors, found in /home/cmu/cmu.log:
> 
> INFO: /usr/sbin/cmuImport called
> INFO: /usr/sbin/cmuImport started on Thu Sep 21 21:20:55 2017
> INFO: /usr/sbin/cmuImport running version: 2.94
> INFO: Session ID is 14987
> INFO: Modified files will be renamed filename.14987
> INFO: /usr/sbin/cmuImport running in directory: /home/kermit/kermit.thinkcomputer.com/
> INFO: Adjustment : Platform = 5108R build = 5209R
> INFO: AdjustCommand = /usr/cmu/scripts/5207Radjust.pl
> INFO: AdjustCommand = /usr/cmu/scripts/5208Radjust.pl
> INFO: AdjustCommand = /usr/cmu/scripts/5209Radjust.pl
> Scanout: INFO: We exported 0 vsites, 0 users, 0 lists
> ScanIn: Calling /usr/cmu/scripts/5209Rscanin.pl -f /home/kermit/kermit.thinkcomputer.com//cmu.xml.14987
> ScanIn: INFO: Creating virtual site: www.thinkcomputer.com
> ScanIn: Error2: = {};
> ScanIn:
> ScanIn: Error2: = '305 WARN [[base-disk.couldNotSetQuota,name=site1]]
> ScanIn: ';
> ScanIn:
> ScanIn: INFO: ERROR: Vsite www.thinkcomputer.com was not created properly.
> ScanIn: INFO: Creating virtual site: www.facecash.com
> ScanIn: ERROR Dumping debug to /home/cmu/cmu.log at /usr/cmu/perl/CmuCfg.pm line 169, <GEN0> line 57.
> ScanIn: WARN No info in Debug
> ScanIn: ERROR Exiting...
> INFO: /usr/sbin/cmuImport ended at Thu Sep 21 21:21:09 2017
> INFO: cmuImport complete
> 
> The first error appears to be null "{}" and the second suggests that there’s a problem with quotas, but I’m not sure how to fix that. It’s a fresh install of BlueOnyx 5209R, and everything appears to be normal.
> 
> Any help would be appreciated.
> 
> Thanks,
> 
> Aaron




More information about the Blueonyx mailing list