Ok - first I have to apologize - I dont have a set of steps to reproduce this
What I'd been doing is modifying the bind templates so that sites would generate with the 2 external name servers I want to use, then rerunning the setup script. Somewhere in the middle of this, I noticed that the .db files being produced were being written with SOA records that looked like
when I would have expected them to be
So I started deleting and re-adding the website.
That worked a couple times. And my templates looked better (still only produced one NS line - but thats another question)
And then, for no apparent reason, after deleting the domain, re-adding it and running the imscp-setup, setup failed with this error
- [Sun Oct 20 14:35:26 2013] [debug] iMSCP::Execute::execute: Execute /etc/init.d/apache2 start[Sun Oct 20 14:35:26 2013] [debug] iMSCP::Execute::getExitCode: External command exited with value 1[Sun Oct 20 14:35:26 2013] [debug] Servers::httpd::apache_fcgi::start: Starting web server: apache2Action 'start' failed.The Apache error log may have more information. failed![Sun Oct 20 14:35:12 2013] [debug] iMSCP::Execute::execute: Execute /usr/bin/dialog --backtitle 'i-MSCP - internet Multi Server Control Panel' --title 'i-MSCP Setup Dialog' --colors --msgbox '\Z1[ERROR]\ZnError while performing step:Rebuilding customers filesError was:\Z1main::setupRebuildCustomerFiles:[ERROR]Servers::httpd::apache_fcgi::restart: apache2: bad user name vu2006iMSCP::Debug::END: Exit code: 1 \Zn
When I try and start Apache, it gives me this error
but this is set in the envvars
I can roll back to a snapshot to get around this - but there's something weird going on with either setup or deletion...