Localhost not displaying webpages
fossist
Status: New User - Welcome
Joined: 17 Mar 2014
Posts: 2
Reply Quote
I'm using Debian Jessie. After normal system update, localhost not displaying any webpages which already exists in localhost(/var/www/).



Can anybody help me...

# /usr/sbin/apache2 -V

:: Code ::
[Tue Mar 11 21:41:55.901363 2014] [core:warn] [pid 19737] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined
[Tue Mar 11 21:41:55.901541 2014] [core:warn] [pid 19737] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Tue Mar 11 21:41:55.901569 2014] [core:warn] [pid 19737] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[Tue Mar 11 21:41:55.901583 2014] [core:warn] [pid 19737] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[Tue Mar 11 21:41:55.901616 2014] [core:warn] [pid 19737] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Tue Mar 11 21:41:55.932506 2014] [core:warn] [pid 19737] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Tue Mar 11 21:41:55.932942 2014] [core:warn] [pid 19737] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Tue Mar 11 21:41:55.932966 2014] [core:warn] [pid 19737] 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}

# ps -ef | grep apache
:: Code ::

root     16811     1  0 20:47 ?        00:00:00 /usr/sbin/apache2 -k start
www-data 16815 16811  0 20:47 ?        00:00:00 /usr/sbin/apache2 -k start
www-data 16816 16811  0 20:47 ?        00:00:00 /usr/sbin/apache2 -k start
www-data 16817 16811  0 20:47 ?        00:00:00 /usr/sbin/apache2 -k start
www-data 16818 16811  0 20:47 ?        00:00:00 /usr/sbin/apache2 -k start
www-data 16819 16811  0 20:47 ?        00:00:00 /usr/sbin/apache2 -k start
www-data 16820 16811  0 20:47 ?        00:00:00 /usr/sbin/apache2 -k start

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4126
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
You obviously let debian overwrite your configuration files, during upgrrrades there is a question that asks, keep local version - use maintainers - see differences

so you probably picked the maintainer version and so immediately removed all your apache configurations, including the paths to the sites.
Back to top
fossist
Status: New User - Welcome
Joined: 17 Mar 2014
Posts: 2
Reply Quote
Thank you for your reply.
I've this problem since a month but miracle happened today.
After few efforts till date, Finally I decided to upgrade my system to SID before that I got few updates. So I finished the update and checked the localhost.

Boom, It works.

There are no apache package updates, only phpmyadmin.
I'm not sure where it went wrong, finally it works.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours