T tincboy Verified User Joined Aug 14, 2009 Messages 126 Nov 6, 2012 #1 Today I got backup failed and in messages I can see this error "User php has unknown usertype" What is it? and how to fix it?
Today I got backup failed and in messages I can see this error "User php has unknown usertype" What is it? and how to fix it?
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,417 Location www.poralix.com Nov 7, 2012 #2 Hello, Do you have a user in Directadmin panel with such a name?
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,417 Location www.poralix.com Nov 7, 2012 #4 But directadmin thinks you do... What do you when you run this: Code: ls -1 /usr/local/directadmin/data/users/ | grep ^php$ -c ? Code: # grep ^php= /usr/local/directadmin/data/admin/show_all_users.cache -c ?
But directadmin thinks you do... What do you when you run this: Code: ls -1 /usr/local/directadmin/data/users/ | grep ^php$ -c ? Code: # grep ^php= /usr/local/directadmin/data/admin/show_all_users.cache -c ?
T tincboy Verified User Joined Aug 14, 2009 Messages 126 Nov 7, 2012 #5 Here it's the output Code: # ls -1 /usr/local/directadmin/data/users/ | grep ^php$ -c 1 # grep ^php= /usr/local/directadmin/data/admin/show_all_users.cache -c 0
Here it's the output Code: # ls -1 /usr/local/directadmin/data/users/ | grep ^php$ -c 1 # grep ^php= /usr/local/directadmin/data/admin/show_all_users.cache -c 0
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,417 Location www.poralix.com Nov 7, 2012 #6 So, it seems you've got: /usr/local/directadmin/data/users/php/ What is in there? Code: ls -la /usr/local/directadmin/data/users/php/ you might need to delete it.
So, it seems you've got: /usr/local/directadmin/data/users/php/ What is in there? Code: ls -la /usr/local/directadmin/data/users/php/ you might need to delete it.
T tincboy Verified User Joined Aug 14, 2009 Messages 126 Nov 7, 2012 #7 it's a php.ini file with this content. Code: [PHP] open_basedir = /home//:/tmp:/var/tmp:/usr/local/lib/php/ I guess it has been created by my own bash script which was responsible for fixing open_basedir of all my accounts.
it's a php.ini file with this content. Code: [PHP] open_basedir = /home//:/tmp:/var/tmp:/usr/local/lib/php/ I guess it has been created by my own bash script which was responsible for fixing open_basedir of all my accounts.
zEitEr Super Moderator Joined Apr 11, 2005 Messages 15,417 Location www.poralix.com Nov 7, 2012 #8 Yes, I guess no username was passed to the script, that is why it was created in /usr/local/directadmin/data/users/ So you can safely remove /usr/local/directadmin/data/users/php/
Yes, I guess no username was passed to the script, that is why it was created in /usr/local/directadmin/data/users/ So you can safely remove /usr/local/directadmin/data/users/php/