A few hours ago, I completed an install of the latest ISPConfig on Ubuntu 11.04 Server. Followed the Perfect Server guide and with the addition of an iptables rule to allow access on port 8080, everything seemed to be working fine.
However, several hours later I found myself unable to connect to the admin interface. netstat -tap reveals that apache2 is no longer listening on port 8080 and the iptables rules appear to have vanished.
/var/log/ispconfig/ispconfig.log is empty, but the cron.log is full of this message:
PHP Fatal error: Call to a member function connect() on a non-object in /usr/local/ispconfig/server/server.php on line 43
If I try and start the server manually as root using the provided shell script, I get exactly the same error in my terminal. I had a look at the php script and it would appear to be an error that originates with something in app.inc.php not loading properly.
I have tentatively ruled out non-loading of the include files as there's no error relating to that anywhere (and I would expect PHP to throw an error if a require_once file wasn't found.
Running the update script (just in case) yielded this error:
PHP Notice: Undefined variable: conf in /tmp/ispconfig3_install/install/update.php on line 76
Unable to resolve hostname
and then dumped back into terminal.
I am officially stumped, especially as everything was working fine before and then just suddenly stopped. I have rebooted the server and nothing has changed. Any suggestions?
Thanks in advance!