Delete user does not work
|
Author |
Message |
srdjan
Posts: 4
Joined: Apr 2010
Reputation: 0
|
Delete user does not work
Hi,
I saw this issue on a couple of posts but still cannot make what's going on. I tried to delete a user, and this happened:
* got to delete screen, asked if I really wanted to do it
* clicked yes, submitted, and got redirected back to the user maint, domain status two blue arrows
* after refreshing red stop sign in the status, and user is sitting there; edit user redirects back to the user maint
Is the interface just a scheduler? If yes, how can we check the results of the real execution?
Can you please help. Thanks.
|
|
04-15-2010 11:33 AM |
|
srdjan
Posts: 4
Joined: Apr 2010
Reputation: 0
|
RE: Delete user does not work
Hi joximu,
Thank you for your reply. I did read some of the documentation, enough to get an idea what is going on, but now that I have a problem I need to go deeper. I could not find any relevant info for my particular problem in the documentation section, and as i said I couldn't really make anything out of the posts so far - some of them say SOLVED, but the solution is not very clear.
Have looked at /var/log/ispcp/, but there's a huge number of log files, most of them empty. At least all stdout and stderr are.
I can make a ticket, but I would like to know what is going on. I can maybe provide some debugging hours. So any pointer and help is much appreciated.
Thanks,
Srdjan
|
|
04-15-2010 10:57 PM |
|
srdjan
Posts: 4
Joined: Apr 2010
Reputation: 0
|
RE: Delete user does not work
domain_status field:
del_file() | ERROR: File '/etc/ispcp/bind/working/bowmor.com.db' does not exist !
This is probably a consequence of trying to delete it again. I can touch that file and see what happens if you think it is useful. But I don't think that should be a show stopping error anyway.
I'm not sure if there's any other status worth looking into.
On the subject of logs, this is only thing vaguely useful in there:
/var/log/ispcp/ispcp-vrl-traff.log:
Use of uninitialized value in concatenation (.) or string at /var/www/ispcp/engine/traffic/ispcp-vrl-traff line 279.
/var/log/ispcp/ispcp-apache-logger.stderr:
Use of uninitialized value $local_vhost in hash element at /var/www/ispcp/engine/ispcp-apache-logger line 203, <STDIN> line 865.
Use of uninitialized value $vhost in hash element at /var/www/ispcp/engine/ispcp-apache-logger line 130, <STDIN> line 865.
all other tings are ispcp-iptables-*.log, or site traffic logs
Srdjan
|
|
04-16-2010 09:40 AM |
|
srdjan
Posts: 4
Joined: Apr 2010
Reputation: 0
|
RE: Delete user does not work
Touched, and the same error occurred. Which may indicate that some bit of code is being called twice. Also, as I suggested earlier, not finding file that needs to be deleted probably should not throw an exception.
Deleting it from the database worked, thanks.
Do you want me to experiment more/try something else?
Srdjan
|
|
04-19-2010 04:15 PM |
|
joximu
helper
Posts: 7,024
Joined: Jan 2007
Reputation: 92
|
RE: Delete user does not work
Hm, maybe I try this at my test server.
which version of ispcp do you have?
Of course you may also remove the user and group which belong to the deleted user (see /etc/passwd, /etc/shadow, /etc/groups, /etc/gshadow). And of course the folders in /var/www/fcgi, /var/www/virtual, /var/mail/virtual, maybe the bind files and the files from awstats, the apache logfiles, the apache include files... - wow alot of stuf :-)
/J
|
|
04-19-2010 05:48 PM |
|
User(s) browsing this thread: 5 Guest(s)