[BlueOnyx:25071] Re: New 5210R install - admin user not created?

dickdolby at gmail.com dickdolby at gmail.com
Tue Aug 24 11:34:10 -05 2021


Hi Michael,

>The CCE-Constructor /usr/sausalito/constructor/base/user/50_addAdmin.pl
>creates the "admin" user when CCEd is restarted and the user doesn't exist
yet. 
>You can also run it manually at any time.

Running 50_addAdmin.pl gives me:

# /usr/sausalito/constructor/base/user/50_addAdmin.pl
Use of uninitialized value $_ in pattern match (m//) at
/usr/sausalito/perl/CCE.pm line 341, <GEN0> line 5.
Use of uninitialized value $text in split at /usr/sausalito/perl/CCE.pm line
201, <GEN0> line 5.
Use of uninitialized value $text in split at /usr/sausalito/perl/CCE.pm line
201, <GEN0> line 6.


>However: If user "admin" isn't there at the stage you're currently are at,
>then this indicates that the server doesn't have working disk quota.

The /home partition appears to have the required quotas: 

# cat /etc/fstab
/dev/sda2       /               ext3    defaults,noatime        1 1
/dev/sda3       none            swap    sw
/dev/vg00/usr   /usr            ext4    defaults,noatime        0 2
/dev/vg00/var   /var            ext4    defaults,usrquota,noatime       0 2
/dev/vg00/home  /home           ext4    defaults,grpquota,usrquota,noatime
0 2
#opt /dev/vg00/opt  /opt            ext4    defaults,usrquota,noatime
0 2
devpts          /dev/pts        devpts  gid=5,mode=620  0 0
none            /proc           proc    defaults        0 0
none            /tmp    tmpfs   noexec,nosuid,rw        0 0

..and..

# mount|grep quota
/dev/mapper/vg00-var on /var type ext4 (rw,noatime,quota,usrquota,stripe=16)
/dev/mapper/vg00-home on /home type ext4
(rw,noatime,quota,usrquota,grpquota,stripe=16)

This is a dedicated server btw.

Kind regards,


DD





More information about the Blueonyx mailing list