Hello, I have two VPS servers. Both systems have Ubuntu 14.04 and I wanted to upgrade the old server to a better performance one so I installed the same OS, the same things exactly like here https://www.howtoforge.com/perfect-...2-php-mysql-pureftpd-bind-dovecot-ispconfig-3 . After moving all the stuff by this tutorial https://www.howtoforge.com/community/threads/ispconfig-3-move-to-another-server.41643/ and the ones related from it I have a problem. If I add a new client and them a new website for that client ISPConfig doesn’t make the users in Ubuntu so I get a vhost.err and first time the apache crashed. I deleted all things for that user ( web20) and then tried again and again vhost.err file. But this time the apache is nor dead. the user is web21 and is also not present in the users table from Ubuntu. The error that I get is like this: 11.01.2016-21:34 - WARNING - Reason for Apache restart failure: * Restarting web server apache2 ...fail! * The apache2 configtest failed. Output of config test was: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:62 AH00543: apache2: bad user name web21 Action 'configtest' failed. The Apache error log may have more information. and then : 11.01.2016-21:34 - WARNING - Apache did not restart after the configuration change for website xxx.com. Reverting the configuration. Saved non-working config as /etc/apache2/sites-availableilable/xxx.com.vhost.err Please can someone help me out on this? I searched all the forum and all google and I can't figured out. If I'm not posting correct sorry for that, please advice where to post. Thank you
Yes, but I don't know how the command should look like?! I don't want to damages anything in ispconfig
Did you move all web* users from /etc/passwd and /etc/group file of the old server to the new server? And did you do the same for all client* groups in /etc/group and /etc/gshadow?
I think so. I can't remember exactly because I did this before Christmas. It there a way I can check? Do you know some command?
Look into the files with an editor, e.g. nano. or use the cat command to display the content: cat /etc/passwd Additionally you might want to check the consistency of the files with the commands: pwck and grpck
On pcwk I get allot of duplicates http://pastebin.com/QPUBS9xG and also on grpck http://pastebin.com/vxahF86K. Should I delete de duplicates? UPDATE -> deleted the duplicates on pwck and grpck UPDATE 2 -> all back to normal, thank you again!!! On the cat /etc/passwd should I compare the new one with the old one? Thank you