Dataskq Not Running & Username Errors

bobsthename

Verified User
Joined
Sep 23, 2009
Messages
42
Location
NZ
I was informed that user backups were not running so i tried to run the dataskq manually, however it runs and eventually times out and not sure why all these random usernames are showing, as far as I know they shouldn't be on the system:-

Code:
Username krejczinger is 11 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username krejczinger is 11 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username krejczinger is 11 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username krejczinger is 11 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username krejczinger is 11 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username echoice-dev is 11 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username echoice-dev is 11 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username echoice-dev is 11 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username echoice-dev is 11 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username echoice-dev is 11 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username shantanu.kadam is 14 characters long, but the directadmin.conf has this setting 'max_username_length=10
'
Username shantanu.kadam is 14 characters long, but the directadmin.conf has this setting 'max_username_length=10
'
Username shantanu.kadam is 14 characters long, but the directadmin.conf has this setting 'max_username_length=10
'
Username shantanu.kadam is 14 characters long, but the directadmin.conf has this setting 'max_username_length=10
'
Username shantanu.kadam is 14 characters long, but the directadmin.conf has this setting 'max_username_length=10
'
Username mandar.shirhatti is 16 characters long, but the directadmin.conf has this setting 'max_username_length=
10'
Username mandar.shirhatti is 16 characters long, but the directadmin.conf has this setting 'max_username_length=
10'
Username mandar.shirhatti is 16 characters long, but the directadmin.conf has this setting 'max_username_length=
10'
Username mandar.shirhatti is 16 characters long, but the directadmin.conf has this setting 'max_username_length=
10'
Username mandar.shirhatti is 16 characters long, but the directadmin.conf has this setting 'max_username_length=
10'
Username raghu.iyengar is 13 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username raghu.iyengar is 13 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username raghu.iyengar is 13 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username raghu.iyengar is 13 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username raghu.iyengar is 13 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username coolpad_kernel is 14 characters long, but the directadmin.conf has this setting 'max_username_length=10
'
Username coolpad_kernel is 14 characters long, but the directadmin.conf has this setting 'max_username_length=10
'
Username coolpad_kernel is 14 characters long, but the directadmin.conf has this setting 'max_username_length=10
'
Username coolpad_kernel is 14 characters long, but the directadmin.conf has this setting 'max_username_length=10
'
Username coolpad_kernel is 14 characters long, but the directadmin.conf has this setting 'max_username_length=10
'
Username subramaniyan is 12 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username subramaniyan is 12 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username subramaniyan is 12 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username subramaniyan is 12 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username subramaniyan is 12 characters long, but the directadmin.conf has this setting 'max_username_length=10'
Username xxxxxxxxxxxxxxxxxxxxxxxxxxxxx is 29 characters long, but the directadmin.conf has this setting 'max_use
rname_length=10'

Disconnected... [Cause: The current connection has been aborted by the network or intermediate services.]

I get this in my syslog:-

Code:
/usr/sbin/cron[26165]: (*system*) WRONG FILE OWNER (/etc/crontab)
/usr/sbin/cron[26165]: (*system*directadmin_cron) WRONG FILE OWNER (/etc/cron.d/directadmin_cron)
/usr/sbin/cron[26165]: (*system*mdadm) WRONG FILE OWNER (/etc/cron.d/mdadm)
/usr/sbin/cron[26165]: (*system*installatron) WRONG FILE OWNER (/etc/cron.d/installatron)
/usr/sbin/cron[26165]: (*system*php5) WRONG FILE OWNER (/etc/cron.d/php5)
/usr/sbin/cron[26165]: (root) INSECURE MODE (mode 0600 expected) (crontabs/root)

Is this some sort of permissions or security issue going on? I also got an email from the server:-

Code:
root : /etc/sudoers is owned by uid 111, should be 0 ; TTY=pts/4 ; PWD=/ ;
 
Thanks, so the max_username_length is probably nothing to worry about, but mayb the main issue is coming from cron?
I checked /etc/crontab and the file owner is diradmin - any idea what the file owner is supposed to be?
 
I checked two of my servers now, and /etc/crontab has these file owner/permissons:

Group: root
Owner: root
Permissions: 0644

Please note that I have not yet upgraded to the newest DirectAdmin version, my servers are still on DirectAdmin 1.45.4 (so maybe its a bug in the newest version?), also my servers is CentOS 6.5 64bit.
 
Great, I changed the permissions to root and when i run /usr/local/directadmin/dataskq d so I don't get any hangs anymore.
I think a script has changed all the owner permissions on the server to diradmin, so looks like i'm going to have to move users to a new server for peace of mind, even though everything else seems to work ok.
 
Back
Top