PDA

View Full Version : system Users didn't get removed after site delete


xerophyte
19th December 2007, 09:59
I have setup sample site after fresh ISPConfig 2.2.18 on centos 5.x server. Then deleted site, but ispconfig didnt' delete the system user or /var/www/webxx folder


What i did :
1) created the site
2) removed the site as admin
3) Empty the recycle bin and made sure there is no items available under any of the recycle bin


The issue i have :

[root@web www]# ls -l
total 48
drwxr-xr-x 2 root root 4096 Nov 11 01:46 cgi-bin
drwxr-xr-x 3 root root 4096 Dec 5 04:26 error
drwxr-xr-x 2 root root 4096 Nov 11 01:46 html
drwxr-xr-x 3 root root 4096 Dec 5 20:48 icons
drwxr-xr-x 2 root root 4096 Dec 7 10:22 sharedip
drwxr-xr-x 2 webalizer root 4096 Dec 6 03:46 usage
drwxr-xr-x 8 apache web1 4096 Dec 7 10:49 web1
drwxr-xr-x 8 apache web11 4096 Dec 14 13:48 web11
lrwxrwxrwx 1 apache web11 14 Dec 14 13:48 www.domain.com -> /var/www/web11
lrwxrwxrwx 1 apache web1 13 Dec 7 10:49 www.domain2.com -> /var/www/web1


Please note the actually directory and sym link exits even after i have delete the site and cleared the recycle bin

ntp:x:38:38::/etc/ntp:/sbin/nologin
admispconfig:x:101:101:Administrator ISPConfig:/home/admispconfig:/bin/bash
web1_domain:x:10002:10001:Tiger:/var/www/web1/user/web1_hk3p:/dev/nul

and /etc/passwd also has the user in there


id web1_doma
uid=10002(web1_doma) gid=10001(web1) groups=10001(web1)


just wondering how can i clean this user and folder


i am not able to located any cron which will clean it either

till
19th December 2007, 10:06
Please login as root user (no sudo) and execute "crontab -e" to see the cron records. If you dont see any cron records, then ISPConfig is not fully installed on your system.

xerophyte
19th December 2007, 10:25
I don't see anything in there, do i have to uninstall it and reinstall it again .. how can i go ahead installing again

falko
20th December 2007, 17:03
Did you run crontab -e as root?

Are there any erorrs or warnings in /home/admispconfig/ispconfig/ispconfig.log?

xerophyte
20th December 2007, 19:50
My server installed missed the vixie-cron and caching-nameserver , after i have installed that and i have uninstalled and then reran the setup script. That seems to fixed the issue.

setup script should complain if there is crond not installed i guess.

let me see if i can fix the setup script



thanks for the responses