View Single Post
  #1  
Old 12th December 2012, 18:10
lusso64 lusso64 is offline
Junior Member
 
Join Date: Dec 2008
Posts: 15
Thanks: 3
Thanked 2 Times in 2 Posts
Default Production Server "httpd is down! Rescue will not help!"

Hi all,

I have a production server that until this morning was stable and trouble free. Ubuntu 10.10, ISPConfig 3.0.4.6

I can login to the control panel and view the "httpd is down! Rescue will not help!" error in the ISPConfig Log.

websites are down
email is down
FTP is up

Status of Services tab shows everything working.

I am a little lost on where to start with this problem. I have tried to restart apache and get the following:

Code:
root@websrv:/home/administrator# apache2 -k restart
apache2: bad user name ${APACHE_RUN_USER}
I have checked /etc/apache2/apache2.conf and it refers me to /etc/apache2/envvars which is as follows:

Code:
# envvars - default environment variables for apache2ctl

# this won't be correct after changing uid
unset HOME

# for supporting multiple apache2 instances
if [ "${APACHE_CONFDIR##/etc/apache2-}" != "${APACHE_CONFDIR}" ] ; then
        SUFFIX="-${APACHE_CONFDIR##/etc/apache2-}"
else
        SUFFIX=
fi

# Since there is no sane way to get the parsed apache2 config in scripts, some
# settings are defined via environment variables and then used in apache2ctl,
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
export APACHE_PID_FILE=/var/run/apache2$SUFFIX.pid
export APACHE_RUN_DIR=/var/run/apache2$SUFFIX
export APACHE_LOCK_DIR=/var/lock/apache2$SUFFIX
# Only /var/log/apache2 is handled by /etc/logrotate.d/apache2.
export APACHE_LOG_DIR=/var/log/apache2$SUFFIX

## The locale used by some modules like mod_dav
export LANG=C
## Uncomment the following line to use the system default locale instead:
#. /etc/default/locale

export LANG

## The command to get the status for 'apache2ctl status'.
## Some packages providing 'www-browser' need '--dump' instead of '-dump'.
#export APACHE_LYNX='www-browser -dump'
I'm kinda lost so any help would be gratefully appreciated!

Thanks, Dave
Reply With Quote
Sponsored Links