Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started 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
-
can you clarify what wasn't removed and did you added manually any changes in the configuration files ?
-
Hello nothing was manually added. DNS and virtual host entry got deleted but account setup is still showing under "User Account" section
-
have you tested on that for the other users or adding a test user and then removing it ?
-
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.
-
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.
-
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
-
I remove it manuelly from database.
-
hmm. strange, you all had ssh session ?
-
the user was correctly deleted from the system, but stil exist in the mysql database (centos web panel)
I just remove it.
-
additional check is added for that kind of issue, as usual it will be with new version 0.9.8.9