I followed the tutorial:https://www.howtoforge.com/tutorial...pureftpd-bind-postfix-doveot-and-ispconfig/2/ and apache2 will not start. What did I do wrong? My error: service apache2 restart Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details. journalctl -xe Dec 10 01:44:01 zuroot CRON[7137]: pam_unix(cron:session): session opened for us Dec 10 01:44:01 zuroot CRON[7138]: (root) CMD (/usr/local/ispconfig/server/serve Dec 10 01:44:02 zuroot CRON[7137]: pam_unix(cron:session): session closed for us Dec 10 01:44:10 zuroot pkexec[7154]: pam_unix(polkit-1:session): session opened Dec 10 01:44:10 zuroot pkexec[7154]: pam_systemd(polkit-1:session): Cannot creat Dec 10 01:44:10 zuroot pkexec[7154]: zuroot: Executing command [TTY= Dec 10 01:44:11 zuroot com.ubuntu.OneConf[1830]: WARNING:oneconf.hosts:Error in Dec 10 01:45:01 zuroot CRON[7183]: pam_unix(cron:session): session opened for us Dec 10 01:45:01 zuroot CRON[7184]: (root) CMD (/usr/local/ispconfig/server/serve Dec 10 01:45:01 zuroot CRON[7182]: pam_unix(cron:session): session opened for us Dec 10 01:45:01 zuroot CRON[7187]: (getmail) CMD (/usr/local/bin/run-getmail.sh Dec 10 01:45:01 zuroot CRON[7182]: pam_unix(cron:session): session closed for us Dec 10 01:45:01 zuroot pure-ftpd[7217]: ([email protected]) [INFO] New connection from Dec 10 01:45:01 zuroot pure-ftpd[7217]: ([email protected]) [INFO] Logout. Dec 10 01:45:01 zuroot dovecot[3429]: imap-login: Disconnected (disconnected bef Dec 10 01:45:01 zuroot dovecot[3429]: pop3-login: Disconnected (no auth attempts Dec 10 01:45:01 zuroot postfix/smtpd[7219]: connect from localhost[127.0.0.1] Dec 10 01:45:01 zuroot postfix/smtpd[7219]: lost connection after CONNECT from l Dec 10 01:45:01 zuroot postfix/smtpd[7219]: disconnect from localhost[127.0.0.1] Dec 10 01:45:02 zuroot CRON[7183]: pam_unix(cron:session): session closed for us Dec 10 01:46:01 zuroot CRON[7245]: pam_unix(cron:session): session opened for us Dec 10 01:46:01 zuroot CRON[7246]: (root) CMD (/usr/local/ispconfig/server/serve Dec 10 01:46:01 zuroot CRON[7245]: pam_unix(cron:session): session closed for us
Try to get the full error message incl. the file name where the error is by e.g. by making the terminal window larger.
IncludeOptional mods-enabled/*.load root@zuroot:~# systemctl status apache2.service -l ● apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2) Active: failed (Result: exit-code) since Thu 2015-12-10 02:16:32 CST; 35s ago Docs: man:systemd-sysv-generator(8) Process: 8299 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE) Dec 10 02:16:32 zuroot apache2[8299]: * Dec 10 02:16:32 zuroot apache2[8299]: * The apache2 configtest failed. Dec 10 02:16:32 zuroot apache2[8299]: Output of config test was: Dec 10 02:16:32 zuroot apache2[8299]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/fastcgi.load: Cannot load /usr/lib/apache2/modules/mod_fastcgi.so into server: /usr/lib/apache2/modules/mod_fastcgi.so: cannot open shared object file: No such file or directory Dec 10 02:16:32 zuroot apache2[8299]: Action 'configtest' failed. Dec 10 02:16:32 zuroot apache2[8299]: The Apache error log may have more information. Dec 10 02:16:32 zuroot systemd[1]: apache2.service: Control process exited, code=exited status=1 Dec 10 02:16:32 zuroot systemd[1]: Failed to start LSB: Apache2 web server. Dec 10 02:16:32 zuroot systemd[1]: apache2.service: Unit entered failed state. Dec 10 02:16:32 zuroot systemd[1]: apache2.service: Failed with result 'exit-code'.
I didn't have any problems with ubuntu 12.04 . I may have to go back to ubuntu 12.04.Does ispconfig work on lxc containers? https://newspaint.wordpress.com/2015/02/14/lxc-tutorial-on-ubuntu-precise-12-04/ so I won't have to keep reinstalling my os? openvz doesn't work on ubuntu 12.04. Unless there tutorial I don't know about.
The mod_fastcgi module is not installed correctly. Please reinstall it. There are no problems with newer Ubuntu versions as well, there is just a apache module not fully installed on your server. Ubuntu 12.04 is outdated, it should not be used anymore for new servers. yes.
root@zuroot:~# systemctl status apache2.service -l ● apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2) Active: failed (Result: exit-code) since Thu 2015-12-10 15:52:31 CST; 34s ago Docs: man:systemd-sysv-generator(8) Process: 31722 ExecStart=/etc/init.d/apache2 start (code=exited, status=1/FAILURE) Dec 10 15:52:30 zuroot apache2[31722]: * Dec 10 15:52:30 zuroot apache2[31722]: * The apache2 configtest failed. Dec 10 15:52:30 zuroot apache2[31722]: Output of config test was: Dec 10 15:52:30 zuroot apache2[31722]: apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/fcgid.load: Cannot load /usr/lib/apache2/modules/mod_fcgid.so into server: /usr/lib/apache2/modules/mod_fcgid.so: cannot open shared object file: No such file or directory Dec 10 15:52:30 zuroot apache2[31722]: Action 'configtest' failed. Dec 10 15:52:30 zuroot apache2[31722]: The Apache error log may have more information. Dec 10 15:52:31 zuroot systemd[1]: apache2.service: Control process exited, code=exited status=1 Dec 10 15:52:31 zuroot systemd[1]: Failed to start LSB: Apache2 web server. Dec 10 15:52:31 zuroot systemd[1]: apache2.service: Unit entered failed state. Dec 10 15:52:31 zuroot systemd[1]: apache2.service: Failed with result 'exit-code'. root@zuroot:~#
Any errors while you reinstalled the package with apt? Does the file /usr/lib/apache2/modules/mod_fcgid.so exist on your server?
I'm going to install ubuntu 13.04 so I can use openvz so that I won't have to keep installing my os. Does Installing OpenVZ + Management Of VMs Through ISPConfig 3 (Debian 6.0) tutorial work with ubuntu 13.04?