Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: brijendrasial on March 17, 2015, 10:19:40 PM

Title: CWP 0.9.3 Error Removing Account
Post by: brijendrasial on March 17, 2015, 10:19:40 PM
Deleting account gave this error. Host file and DNS got deleted but entry not deleting from user account.

DNS Zone File removed from the server.
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
Title: Re: CWP 0.9.3 Error Removing Account
Post by: Administrator on March 18, 2015, 12:36:34 AM
can you clarify what wasn't removed and did you added manually any changes in the configuration files ?
Title: Re: CWP 0.9.3 Error Removing Account
Post by: brijendrasial on March 18, 2015, 08:12:12 AM
Hello nothing was manually added. DNS and virtual host entry got deleted but account setup is still showing under "User Account" section
Title: Re: CWP 0.9.3 Error Removing Account
Post by: Administrator on March 18, 2015, 04:52:28 PM
have you tested on that for the other users or adding a test user and then removing it ?
Title: Re: CWP 0.9.3 Error Removing Account
Post by: andrewmlove on April 16, 2015, 12:58:27 PM
I had the same symptoms.  There was one user account that I just could not delete. 

I could create a new account and then delete it without trouble.

Eventually I found that I had an outstanding ssh session still logged on to the rogue account from another terminal.  When I closed that session I could delete the account successfully.
Title: Re: CWP 0.9.3 Error Removing Account
Post by: tfbpa on July 04, 2015, 06:48:19 AM
Same thing is still happening in CWP version: 0.9.8.8

Whenever you automatically add a new user account and then try to automatically delete that user account, it doesn't works and gives above mentioned error, meaning the user is still there and that name cannot be used anymore.

Up until now I simply created new users, although very annoying, it worked. Only today in version 0.9.8.8 I had some more problems as they continued to be displayed in user account list, different usernames for the same domain name, which is ofcourse very confusing.

I did not know I had a session open, but thanks to the previous poster and I rebooted the whole server and after that it was possible to delete both accounts and re-create another one.

So there seems to be a problem with sessions somewhere, hope you can fix it.

Thanks.
Title: Re: CWP 0.9.3 Error Removing Account
Post by: Stormlord on July 07, 2015, 07:23:24 PM
Same error here. I try to delete a cpanel import user.  (Last version 9.8.8)

DNS Zone File removed from the server.
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
Title: Re: CWP 0.9.3 Error Removing Account
Post by: Stormlord on July 07, 2015, 07:24:44 PM
I remove it manuelly from database.
Title: Re: CWP 0.9.3 Error Removing Account
Post by: Administrator on July 08, 2015, 09:02:33 PM
hmm. strange, you all had ssh session ?
Title: Re: CWP 0.9.3 Error Removing Account
Post by: Stormlord on July 09, 2015, 01:33:32 PM
the user was correctly deleted from the system, but stil exist in the mysql database (centos web panel)
I just remove it.
Title: Re: CWP 0.9.3 Error Removing Account
Post by: Administrator on July 09, 2015, 04:06:41 PM
additional check is added for that kind of issue, as usual it will be with new version 0.9.8.9