system Users didn't get removed after site delete

Discussion in 'General' started by xerophyte, Dec 19, 2007.

  1. xerophyte

    xerophyte ISPConfig Developer ISPConfig Developer

    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 :
    Code:
    [[email protected] 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
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     
  3. xerophyte

    xerophyte ISPConfig Developer ISPConfig Developer

    I don't see anything in there, do i have to uninstall it and reinstall it again .. how can i go ahead installing again
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Did you run
    Code:
    crontab -e
    as root?

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

    xerophyte ISPConfig Developer ISPConfig Developer

    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
     

Share This Page