Migration from ispCP to i-MSCP

  • Have still some problems to get my php webpages running.
    Every site except the panel itself ends in Error -> No input file specified.


    I rechecked the fcgid config which looks good so far. Then i checked the permissions and found double entries in /etc/passwd and /etc/group.


    /etc/passwd

    Code
    1. root@srv01:/var/log/imscp# cat /etc/passwd | grep mydomainvu2012:x:2012:2012:virtual-user:/var/www/virtual/mydomain.de:/bin/falsevu2014:x:2115:2115:iMSCP virtual user:/var/www/virtual/mydomain.de:/bin/false


    So there exist the old ispcp entry with vu2012 and the new one after the migration vu2014
    /etc/group

    Code
    1. root@srv01:/var/log/imscp# cat /etc/group | grep 2012
    2. vu2012:x:2012:
    3. root@srv01:/var/log/imscp# cat /etc/group | grep 2014
    4. vu2014:x:2115:
    5. root@srv01:/var/log/imscp#


    I used rsync to copy the whole virtual-dir from the old ispcp server AFTER the iMSCP migration script. So i changed the vu2012 user to 2014 for the htdocs directory and the site works. May this is the problem and i have to do this before.


    But this has nothing todo with the double entries in my eyes.
    Is there a workaround to get the old vu20xy users as before ?
    Because the vu2014 user is also already assigned to another site.


    Thanks & Greez
    BeNe

  • just remove all users from /etc/passwd, /etc/shadow, /etc/groups and /etc/groupshadow and run setup. all will be fixed by setup