Unable to remove user

Started by Eli, May 18, 2015, 10:54:52 PM

Previous topic - Next topic

Eli

Hello everyone,

This is a very powerful and really awesome control panel, thank you for creating it, planning to donate very soon, I have a question though, today I made a spelling mistake while creating an account and I spelled the wrong domain name, now when I try to delete the user to recreate it with the right domain name I keep getting this error:

Confing not found in named.conf ....
Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/modules/list_accounts.php(1) : eval()'d code(1) : eval()'d code on line 4
Removing config from named.conf

Notice: Undefined offset: 1 in /usr/local/cwpsrv/htdocs/resources/admin/modules/list_accounts.php(1) : eval()'d code(1) : eval()'d code on line 6
Confing not found in vHosts .... Removing config from vHosts
Data Updated

The user stays there and no files are deleted, I tried logging to the VPS Shell and attempted to delete the user manually using command: userdel <username> and it took it but the account is still present on CWP and the files are still there too, anyway to correct this?

Thanks a lot in advance!

erm3nda

#1
If you really deleted user and it's files, go to PHPMyAdmin and delete it.

You can enter by navigating http://your_ip/phpMyAdmin or using the SQL Services menu from CWP

Database: root_cwp
Table: user
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Eli

Thanks, I actually just deleted the user's home directory using:  rm –rf   directory, then went into CWP user's menu and this time it deleted the user, it seems like CWP was unable to remove the user's home directory or something, once that was gone the user is no longer listed anywhere in CWP nor can anything related to it be accessed so I think it's really gone :-)

erm3nda

Glad you was able to solve it.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

jnet

I have similar problem but you need to have a look at dns  and remove it manually too
not sure where else I need to remove things manually