backup failed bacause "User php has unknown usertype"

tincboy

Verified User
Joined
Aug 14, 2009
Messages
126
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?
 
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
?
 
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
 
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.
 
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.
 
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/
 
Back
Top