These are the errors I experience after I performed my upgdrade on Ubuntu from 13.4 to 13.10, which in effect upgraded my Apache from 2.2 to 2.4 - Apache no longer works:
On the browser, I get the following: Error Not Found: vhost: localhost /mywebapplication/ On command line I get the following when I try to start Apache: * Starting web server Apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80 (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down AH00015: Unable to open logs Action 'start' failed. The Apache error log may have more information. When I try to restart Apache instead, I get the following: [Fri Nov 01 13:42:41.144233 2013] [core:warn] [pid 31751] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined [Fri Nov 01 13:42:41.144351 2013] [core:warn] [pid 31751] AH00111: Config variable ${APACHE_PID_FILE} is not defined [Fri Nov 01 13:42:41.144402 2013] [core:warn] [pid 31751] AH00111: Config variable ${APACHE_RUN_USER} is not defined [Fri Nov 01 13:42:41.144417 2013] [core:warn] [pid 31751] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined [Fri Nov 01 13:42:41.144447 2013] [core:warn] [pid 31751] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Fri Nov 01 13:42:41.154570 2013] [core:warn] [pid 31751] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Fri Nov 01 13:42:41.154822 2013] [core:warn] [pid 31751] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Fri Nov 01 13:42:41.154849 2013] [core:warn] [pid 31751] AH00111: Config variable ${APACHE_LOG_DIR} is not defined AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf: Invalid Mutex directory in argument file:${APACHE_LOCK_DIR} Finally, when I type the full application path on my browser with the particular page name such as */index.html or */index.php, the browser brings up the page but php codes are not parsed. I have gone through several forums and websites for s fix on the internet, non seem to have the right solution for the problem. I even uninstalled and re-installed Apache and PHP all to no avail. Can anyone help? On Saturday, November 2, 2013 3:56 PM, Good Guy <xfs...@hotmail.com> wrote: On 02/11/2013 04:15, Jasvir Singh wrote: > Hello everyone. > Recently I have installed Apache web server on my Ubuntu 13.10, but > it's not working properly. Installed version in 2.4.6. > when I restart apache it gives following error. > http://tinypic.com/r/242ivih/5 > > Here is my default.conf file > http://pastebin.com/zZmxhaxG > > Please help me to solve this error. > Make sure your first 5 lines look like this: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/ </virtualhost> Notice the last closing tag for vitualhost. Good luck. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org