New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

CWP 0.9.3 Error Removing Account

Started by brijendrasial, March 17, 2015, 10:19:40 PM

Previous topic - Next topic

brijendrasial

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

Administrator

can you clarify what wasn't removed and did you added manually any changes in the configuration files ?

brijendrasial

Hello nothing was manually added. DNS and virtual host entry got deleted but account setup is still showing under "User Account" section

Administrator

have you tested on that for the other users or adding a test user and then removing it ?

andrewmlove

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.

tfbpa

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.

Stormlord

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

Stormlord

#7
I remove it manuelly from database.

Administrator

hmm. strange, you all had ssh session ?

Stormlord

the user was correctly deleted from the system, but stil exist in the mysql database (centos web panel)
I just remove it.

Administrator

additional check is added for that kind of issue, as usual it will be with new version 0.9.8.9